openSUSE / osem

Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
http://osem.io
MIT License
872 stars 492 forks source link

Update dotenv-rails 2.8.1 → 3.1.0 (major) #3308

Closed depfu[bot] closed 5 months ago

depfu[bot] commented 6 months ago

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ dotenv-rails (2.8.1 → 3.1.0) · Repo · Changelog

Release Notes

3.1.0

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: v3.0.3...v3.1.0

3.0.3

What's Changed

New Contributors

Full Changelog: v3.0.2...v3.0.3

3.0.2

What's Changed

  • Restore ability to mutate Dotenv::Rails.files by @bkeepers in #486

Full Changelog: v3.0.1...v3.0.2

3.0.1

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

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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ dotenv (indirect, 2.8.1 → 3.1.0) · Repo · Changelog

Release Notes

3.1.0

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: v3.0.3...v3.1.0

3.0.3

What's Changed

New Contributors

Full Changelog: v3.0.2...v3.0.3

3.0.2

What's Changed

  • Restore ability to mutate Dotenv::Rails.files by @bkeepers in #486

Full Changelog: v3.0.1...v3.0.2

3.0.1

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

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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
hennevogel commented 6 months ago

@depfu rebase