Skip to content

Releases: bkeepers/dotenv

3.0.1

14 Feb 19:45
09caa4d
Compare
Choose a tag to compare

What's Changed

  • Disable autorestore if using climate_control or ice_age by @bkeepers in #483
  • Join files to Rails.root at load time by @bkeepers in #484
  • Manually check optional Rails dependency version by @bkeepers in #481

Full Changelog: v3.0.0...v3.0.1

3.0.0

12 Feb 16:38
dd40e1c
Compare
Choose a tag to compare

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

  • All changes to ENV will be logged in Rails apps. #473
  • Fixed an issue where rake loaded development files (.env*development) for test-related tasks. #470
  • Add -i/--ignore option to dotenv CLI to optionally ignore missing files. @stevenharman #463
  • You can customize which files get loaded by setting Dotenv::Rails.files. #468

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: v2.8.1...v3.0.0.beta

3.0.0.beta

25 Jan 17:34
ea47bef
Compare
Choose a tag to compare
3.0.0.beta Pre-release
Pre-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

  • All changes to ENV will be logged in Rails apps. #473
  • Fixed an issue where rake loaded development files (.env*development) for test-related tasks. #470
  • Add -i/--ignore option to dotenv CLI to optionally ignore missing files. @stevenharman #463
  • You can customize which files get loaded by setting Dotenv::Rails.files. #468

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: v2.8.1...v3.0.0.beta

v2.8.1

27 Jul 14:47
45b712a
Compare
Choose a tag to compare

What's Changed

  • Restore support for EOL'd Ruby versions (2.5, 2.6) (#458)[https://github.com//pull/458]

Full Changelog: v2.8.0...v2.8.1

Dotenv 2.8.0

26 Jul 17:53
Compare
Choose a tag to compare

What's Changed

  • Drop support for Ruby 2.4, 2.5, and 2.6, which are EOL
  • Fix template (-t) handling of export declarations #416
  • Unescape escaped characters when value is not quoted #421
  • Add overload option for the CLI ($ dotenv --overload -f .env.local) #445

New Contributors

Full Changelog: v2.7.6...v2.8.0

Dotenv 2.7.6

11 Jul 13:54
Compare
Choose a tag to compare

2.7.6 - July 11, 2020

  • Add a Dotenv::Railtie.overload method #403
  • Support for more Rails versions #404
  • Fix template handling of blank lines and comments #413
  • Fix for dotenv-rails Rake task environment allocation#405

Dotenv 2.7.5

31 Jul 14:42
Compare
Choose a tag to compare

2.7.5 - July 31st, 2019

  • Fix for \s after separator #399
  • README formatting updates #398

Dotenv 2.7.4

24 Jun 04:42
Compare
Choose a tag to compare

2.7.4 - June 23rd, 2019

Changes in this release:

  • Fix NoMethodError in non-Rails environments #394

Dotenv 2.7.3

22 Jun 19:30
Compare
Choose a tag to compare

2.7.3 - June 22nd, 2019

Changes in this release:

  • Fix for parallel spec tasks initializing in development #384
  • Test against updated rubies #383, #387
  • Conditional branch cleanup for clarity of intent #385
  • Fix for load order issue with Railties #391
  • NEW: dotenv-templates using the -t flag #377, #393

Dotenv 2.7.2

25 Mar 22:50
Compare
Choose a tag to compare

Changes in this release:

  • Cleaned up CLI while resolving regressions in 2.7.1 #382