Skip to content

Update dependency dotenv to v3 - #230

Merged
silug merged 1 commit into
masterfrom
renovate/dotenv-3.x
Nov 23, 2026
Merged

silug merged 1 commit into
masterfrom
renovate/dotenv-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dotenv (changelog) '~> 2' → '~> 3' age confidence

Release Notes

bkeepers/dotenv (dotenv)

v3.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: bkeepers/dotenv@v3.1.8...v3.2.0

v3.1.8

Compare Source

Thanks to Stoked Seagull Software for sponsoring this release of dotenv!
Need help with a software project but don't know where to begin? Stoked Seagull can help.

Interested in sponsoring dotenv?

What's Changed

New Contributors

Full Changelog: bkeepers/dotenv@v3.1.7...v3.1.8

v3.1.7

Compare Source

What's Changed

Full Changelog: bkeepers/dotenv@v3.1.6...v3.1.7

v3.1.6: 3.1.6

Compare Source

What's Changed

  • Fix: Restore previous parser behavior of returning existing variables by @​bkeepers in #​519

Full Changelog: bkeepers/dotenv@v3.1.5...v3.1.6

v3.1.5

Compare Source

What's Changed

New Contributors

Full Changelog: bkeepers/dotenv@v3.1.4...v3.1.5

v3.1.4: 3.1.4

Compare Source

What's Changed

New Contributors

Full Changelog: bkeepers/dotenv@v3.1.3...v3.1.4

v3.1.3

Compare Source

v3.1.2: 3.1.2

Compare Source

What's Changed

Full Changelog: bkeepers/dotenv@v3.1.1...v3.1.2

v3.1.1: 3.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: bkeepers/dotenv@v3.1.0...v3.1.1

v3.1.0: 3.1.0

Compare Source

What's Changed

  • Fix regression with semantic-logger, allow setting custom logger by @​bkeepers in #​494
    # config/application.rb
    
    # Set a custom dotenv logger
    Dotenv::Rails.logger = MyCustomLogger.new
    
    module YourApp
      class Application < Rails::Application
        # …
      end
    end

Full Changelog: bkeepers/dotenv@v3.0.3...v3.1.0

v3.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: bkeepers/dotenv@v3.0.2...v3.0.3

v3.0.2: 3.0.2

Compare Source

What's Changed

Full Changelog: bkeepers/dotenv@v3.0.1...v3.0.2

v3.0.1: 3.0.1

Compare Source

What's Changed

Full Changelog: bkeepers/dotenv@v3.0.0...v3.0.1

v3.0.0: 3.0.0

Compare Source

See #​476 for more details and to discuss this release.

Breaking Changes

  • Ruby >= 3.0 and Rails >= 6.1 are now required. Lock dotenv to ~> 2.0 if you are using an outdated Ruby or Rails version. #​466, #​471
  • \n is no longer expanded into a newline in quoted strings. Use multi-line strings with real line breaks, or set DOTENV_LINEBREAK_MODE=legacy to preserve the old behavior. @​nitsujri #​423
  • ENV will be automatically restored between tests (ActiveSupport::TestCase and Rspec). #​472, #​475
  • Fixed precedence when using Dotenv::Rails.overload. So now .env.development.local will overwrite .env.local, which will overwrite .env.development, which will overwrite .env. @​eriklovmo - #​460
  • The instrumentation event dotenv.load has been renamed to load.dotenv to properly make use of namespaces in ActiveSupport::Notifications #​472

Other improvements

Deprecations

  • The dotenv-rails gem is now superfluous. It's not technically deprecated yet and will continue to work, but the dotenv gem does the same thing. #​468
  • Dotenv::Railtie has been deprecated. Use Dotenv::Rails. #​468
  • Dotenv.overload has been replaced with overwrite. overload will still work and is not technically deprecated, but documentation refers to Dotenv.overwrite now. #​469

New Contributors

Full Changelog: bkeepers/dotenv@v2.8.1...v3.0.0.beta


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/dotenv-3.x branch 4 times, most recently from 325c982 to 8daf756 Compare November 18, 2026 16:40
@renovate
renovate Bot force-pushed the renovate/dotenv-3.x branch from 8daf756 to fff5142 Compare November 23, 2026 16:04
@silug
silug enabled auto-merge (rebase) November 23, 2026 18:54
@renovate
renovate Bot force-pushed the renovate/dotenv-3.x branch from fff5142 to f4a3ecd Compare November 23, 2026 18:54
@silug
silug merged commit 27444c1 into master Nov 23, 2026
6 checks passed
@silug
silug deleted the renovate/dotenv-3.x branch November 23, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant