bkeepers/dotenv (dotenv-rails)
### [`v3.1.2`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#312)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.1.1...v3.1.2)
- Fix: "can't modify frozen Hash" when stubbing ENV by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/504](https://togithub.com/bkeepers/dotenv/pull/504)
**Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.1.1...v3.1.2
### [`v3.1.1`](https://togithub.com/bkeepers/dotenv/releases/tag/v3.1.1): 3.1.1
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.1.0...v3.1.1)
#### What's Changed
- Require version file so VERSION is available by [@javierjulio](https://togithub.com/javierjulio) in [https://github.com/bkeepers/dotenv/pull/495](https://togithub.com/bkeepers/dotenv/pull/495)
- Fix template (-t) handling of multi-line variables by [@maxjacobson](https://togithub.com/maxjacobson) in [https://github.com/bkeepers/dotenv/pull/502](https://togithub.com/bkeepers/dotenv/pull/502)
- Guard against restore being called with no previously saved state by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/503](https://togithub.com/bkeepers/dotenv/pull/503)
#### New Contributors
- [@javierjulio](https://togithub.com/javierjulio) made their first contribution in [https://github.com/bkeepers/dotenv/pull/495](https://togithub.com/bkeepers/dotenv/pull/495)
- [@maxjacobson](https://togithub.com/maxjacobson) made their first contribution in [https://github.com/bkeepers/dotenv/pull/502](https://togithub.com/bkeepers/dotenv/pull/502)
**Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.1.0...v3.1.1
### [`v3.1.0`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#310)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.3...v3.1.0)
**What's Changed**
- Fix regression with semantic-logger, allow setting custom logger by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/494](https://togithub.com/bkeepers/dotenv/pull/494)
```ruby
```
### [`v3.0.3`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#303)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.2...v3.0.3)
**What's Changed**
- Solve circular require warning by [@martijnbolhuis](https://togithub.com/martijnbolhuis) in [https://github.com/bkeepers/dotenv/pull/491](https://togithub.com/bkeepers/dotenv/pull/491)
- Use tagged logger already configured on Rails by [@kriansa](https://togithub.com/kriansa) in [https://github.com/bkeepers/dotenv/pull/489](https://togithub.com/bkeepers/dotenv/pull/489)
- Fix exception on startup for Rails 7.1.0 by [@bkeepers](https://togithub.com/bkeepers) and [@zspencer](https://togithub.com/zspencer) in [https://github.com/bkeepers/dotenv/pull/492](https://togithub.com/bkeepers/dotenv/pull/492)
**New Contributors**
- [@zspencer](https://togithub.com/zspencer) made their first contribution in [https://github.com/bkeepers/dotenv/pull/492](https://togithub.com/bkeepers/dotenv/pull/492)
- [@martijnbolhuis](https://togithub.com/martijnbolhuis) made their first contribution in [https://github.com/bkeepers/dotenv/pull/491](https://togithub.com/bkeepers/dotenv/pull/491)
- [@kriansa](https://togithub.com/kriansa) made their first contribution in [https://github.com/bkeepers/dotenv/pull/489](https://togithub.com/bkeepers/dotenv/pull/489)
**Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.0.2...v3.0.3
### [`v3.0.2`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#302)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.1...v3.0.2)
- Fix: Restore ability to mutate Dotenv::Rails.files by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/486](https://togithub.com/bkeepers/dotenv/pull/486)
### [`v3.0.1`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#301)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.0...v3.0.1)
**What's Changed**
- Disable autorestore if using climate_control or ice_age by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/483](https://togithub.com/bkeepers/dotenv/pull/483)
- Join files to Rails.root at load time by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/484](https://togithub.com/bkeepers/dotenv/pull/484)
- Manually check optional Rails dependency version by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/481](https://togithub.com/bkeepers/dotenv/pull/481)
**Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.0.0...v3.0.1
### [`v3.0.0`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#300)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v2.8.1...v3.0.0)
**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. [https://github.com/bkeepers/dotenv/pull/466](https://togithub.com/bkeepers/dotenv/pull/466), [https://github.com/bkeepers/dotenv/pull/471](https://togithub.com/bkeepers/dotenv/pull/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](https://togithub.com/nitsujri) [https://github.com/bkeepers/dotenv/pull/423](https://togithub.com/bkeepers/dotenv/pull/423)
- `ENV` will be [automatically restored between tests](https://togithub.com/bkeepers/dotenv#autorestore-in-tests) (`ActiveSupport::TestCase` and `Rspec`). [https://github.com/bkeepers/dotenv/pull/472](https://togithub.com/bkeepers/dotenv/pull/472), [https://github.com/bkeepers/dotenv/pull/475](https://togithub.com/bkeepers/dotenv/pull/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](https://togithub.com/eriklovmo) - [https://github.com/bkeepers/dotenv/pull/460](https://togithub.com/bkeepers/dotenv/pull/460)
- The instrumentation event `dotenv.load` has been renamed to `load.dotenv` to properly make use of namespaces in [ActiveSupport::Notifications](https://guides.rubyonrails.org/v7.0/active_support_instrumentation.html#creating-custom-events) [https://github.com/bkeepers/dotenv/pull/473](https://togithub.com/bkeepers/dotenv/pull/473)
**Other improvements**
- All changes to ENV will be logged in Rails apps. [https://github.com/bkeepers/dotenv/pull/473](https://togithub.com/bkeepers/dotenv/pull/473)
- Fixed an issue where `rake` loaded development files (`.env*development`) for test-related tasks. [https://github.com/bkeepers/dotenv/pull/470](https://togithub.com/bkeepers/dotenv/pull/470)
- Add `-i`/`--ignore` option to `dotenv` CLI to optionally ignore missing files. [@stevenharman](https://togithub.com/stevenharman) [https://github.com/bkeepers/dotenv/pull/463](https://togithub.com/bkeepers/dotenv/pull/463)
- You can [customize which files get loaded](https://togithub.com/bkeepers/dotenv#customizing-rails) by setting `Dotenv::Rails.files`. [https://github.com/bkeepers/dotenv/pull/468](https://togithub.com/bkeepers/dotenv/pull/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. [https://github.com/bkeepers/dotenv/pull/468](https://togithub.com/bkeepers/dotenv/pull/468)
- `Dotenv::Railtie` has been deprecated. Use `Dotenv::Rails`. [https://github.com/bkeepers/dotenv/pull/468](https://togithub.com/bkeepers/dotenv/pull/468)
- `Dotenv.overload` has been replaced with `overwrite`. `overload` will still work and is not technically deprecated, but documentation refers to `Dotenv.overwrite` now. [https://github.com/bkeepers/dotenv/pull/469](https://togithub.com/bkeepers/dotenv/pull/469)
**New Contributors**
- [@stevenharman](https://togithub.com/stevenharman) made their first contribution in [https://github.com/bkeepers/dotenv/pull/463](https://togithub.com/bkeepers/dotenv/pull/463)
- [@eriklovmo](https://togithub.com/eriklovmo) made their first contribution in [https://github.com/bkeepers/dotenv/pull/460](https://togithub.com/bkeepers/dotenv/pull/460)
- [@nitsujri](https://togithub.com/nitsujri) made their first contribution in [https://github.com/bkeepers/dotenv/pull/423](https://togithub.com/bkeepers/dotenv/pull/423)
**Full Changelog**: https://github.com/bkeepers/dotenv/compare/v2.8.1...v3.0.0
### [`v2.8.1`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#281---July-27-2022)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v2.8.0...v2.8.1)
- Restore support for EOL'd Ruby versions (2.5, 2.6) ([#458](https://togithub.com/bkeepers/dotenv/issues/458))\[https://github.com/bkeepers/dotenv/pull/458](https://togithub.com/bkeepers/dotenv/pull/458)8]
### [`v2.8.0`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#280---July-26-2022)
[Compare Source](https://togithub.com/bkeepers/dotenv/compare/v2.7.6...v2.8.0)
- Drop support for Ruby 2.4, 2.5, and 2.6, which are EOL
- Fix template (-t) handling of export declarations [#416](https://togithub.com/bkeepers/dotenv/pull/416)
- Unescape escaped characters when value is not quoted [#421](https://togithub.com/bkeepers/dotenv/pull/421)
- Add overload option for the CLI (`$ dotenv --overload -f .env.local`) [#445](https://togithub.com/bkeepers/dotenv/pull/445)
Configuration
📅 Schedule: 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 becomes conflicted, 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 contains the following updates:
'~> 2.7.0'
->'~> 3.1.2'
Release Notes
bkeepers/dotenv (dotenv-rails)
### [`v3.1.2`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#312) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.1.1...v3.1.2) - Fix: "can't modify frozen Hash" when stubbing ENV by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/504](https://togithub.com/bkeepers/dotenv/pull/504) **Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.1.1...v3.1.2 ### [`v3.1.1`](https://togithub.com/bkeepers/dotenv/releases/tag/v3.1.1): 3.1.1 [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.1.0...v3.1.1) #### What's Changed - Require version file so VERSION is available by [@javierjulio](https://togithub.com/javierjulio) in [https://github.com/bkeepers/dotenv/pull/495](https://togithub.com/bkeepers/dotenv/pull/495) - Fix template (-t) handling of multi-line variables by [@maxjacobson](https://togithub.com/maxjacobson) in [https://github.com/bkeepers/dotenv/pull/502](https://togithub.com/bkeepers/dotenv/pull/502) - Guard against restore being called with no previously saved state by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/503](https://togithub.com/bkeepers/dotenv/pull/503) #### New Contributors - [@javierjulio](https://togithub.com/javierjulio) made their first contribution in [https://github.com/bkeepers/dotenv/pull/495](https://togithub.com/bkeepers/dotenv/pull/495) - [@maxjacobson](https://togithub.com/maxjacobson) made their first contribution in [https://github.com/bkeepers/dotenv/pull/502](https://togithub.com/bkeepers/dotenv/pull/502) **Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.1.0...v3.1.1 ### [`v3.1.0`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#310) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.3...v3.1.0) **What's Changed** - Fix regression with semantic-logger, allow setting custom logger by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/494](https://togithub.com/bkeepers/dotenv/pull/494) ```ruby ``` ### [`v3.0.3`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#303) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.2...v3.0.3) **What's Changed** - Solve circular require warning by [@martijnbolhuis](https://togithub.com/martijnbolhuis) in [https://github.com/bkeepers/dotenv/pull/491](https://togithub.com/bkeepers/dotenv/pull/491) - Use tagged logger already configured on Rails by [@kriansa](https://togithub.com/kriansa) in [https://github.com/bkeepers/dotenv/pull/489](https://togithub.com/bkeepers/dotenv/pull/489) - Fix exception on startup for Rails 7.1.0 by [@bkeepers](https://togithub.com/bkeepers) and [@zspencer](https://togithub.com/zspencer) in [https://github.com/bkeepers/dotenv/pull/492](https://togithub.com/bkeepers/dotenv/pull/492) **New Contributors** - [@zspencer](https://togithub.com/zspencer) made their first contribution in [https://github.com/bkeepers/dotenv/pull/492](https://togithub.com/bkeepers/dotenv/pull/492) - [@martijnbolhuis](https://togithub.com/martijnbolhuis) made their first contribution in [https://github.com/bkeepers/dotenv/pull/491](https://togithub.com/bkeepers/dotenv/pull/491) - [@kriansa](https://togithub.com/kriansa) made their first contribution in [https://github.com/bkeepers/dotenv/pull/489](https://togithub.com/bkeepers/dotenv/pull/489) **Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.0.2...v3.0.3 ### [`v3.0.2`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#302) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.1...v3.0.2) - Fix: Restore ability to mutate Dotenv::Rails.files by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/486](https://togithub.com/bkeepers/dotenv/pull/486) ### [`v3.0.1`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#301) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v3.0.0...v3.0.1) **What's Changed** - Disable autorestore if using climate_control or ice_age by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/483](https://togithub.com/bkeepers/dotenv/pull/483) - Join files to Rails.root at load time by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/484](https://togithub.com/bkeepers/dotenv/pull/484) - Manually check optional Rails dependency version by [@bkeepers](https://togithub.com/bkeepers) in [https://github.com/bkeepers/dotenv/pull/481](https://togithub.com/bkeepers/dotenv/pull/481) **Full Changelog**: https://github.com/bkeepers/dotenv/compare/v3.0.0...v3.0.1 ### [`v3.0.0`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#300) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v2.8.1...v3.0.0) **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. [https://github.com/bkeepers/dotenv/pull/466](https://togithub.com/bkeepers/dotenv/pull/466), [https://github.com/bkeepers/dotenv/pull/471](https://togithub.com/bkeepers/dotenv/pull/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](https://togithub.com/nitsujri) [https://github.com/bkeepers/dotenv/pull/423](https://togithub.com/bkeepers/dotenv/pull/423) - `ENV` will be [automatically restored between tests](https://togithub.com/bkeepers/dotenv#autorestore-in-tests) (`ActiveSupport::TestCase` and `Rspec`). [https://github.com/bkeepers/dotenv/pull/472](https://togithub.com/bkeepers/dotenv/pull/472), [https://github.com/bkeepers/dotenv/pull/475](https://togithub.com/bkeepers/dotenv/pull/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](https://togithub.com/eriklovmo) - [https://github.com/bkeepers/dotenv/pull/460](https://togithub.com/bkeepers/dotenv/pull/460) - The instrumentation event `dotenv.load` has been renamed to `load.dotenv` to properly make use of namespaces in [ActiveSupport::Notifications](https://guides.rubyonrails.org/v7.0/active_support_instrumentation.html#creating-custom-events) [https://github.com/bkeepers/dotenv/pull/473](https://togithub.com/bkeepers/dotenv/pull/473) **Other improvements** - All changes to ENV will be logged in Rails apps. [https://github.com/bkeepers/dotenv/pull/473](https://togithub.com/bkeepers/dotenv/pull/473) - Fixed an issue where `rake` loaded development files (`.env*development`) for test-related tasks. [https://github.com/bkeepers/dotenv/pull/470](https://togithub.com/bkeepers/dotenv/pull/470) - Add `-i`/`--ignore` option to `dotenv` CLI to optionally ignore missing files. [@stevenharman](https://togithub.com/stevenharman) [https://github.com/bkeepers/dotenv/pull/463](https://togithub.com/bkeepers/dotenv/pull/463) - You can [customize which files get loaded](https://togithub.com/bkeepers/dotenv#customizing-rails) by setting `Dotenv::Rails.files`. [https://github.com/bkeepers/dotenv/pull/468](https://togithub.com/bkeepers/dotenv/pull/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. [https://github.com/bkeepers/dotenv/pull/468](https://togithub.com/bkeepers/dotenv/pull/468) - `Dotenv::Railtie` has been deprecated. Use `Dotenv::Rails`. [https://github.com/bkeepers/dotenv/pull/468](https://togithub.com/bkeepers/dotenv/pull/468) - `Dotenv.overload` has been replaced with `overwrite`. `overload` will still work and is not technically deprecated, but documentation refers to `Dotenv.overwrite` now. [https://github.com/bkeepers/dotenv/pull/469](https://togithub.com/bkeepers/dotenv/pull/469) **New Contributors** - [@stevenharman](https://togithub.com/stevenharman) made their first contribution in [https://github.com/bkeepers/dotenv/pull/463](https://togithub.com/bkeepers/dotenv/pull/463) - [@eriklovmo](https://togithub.com/eriklovmo) made their first contribution in [https://github.com/bkeepers/dotenv/pull/460](https://togithub.com/bkeepers/dotenv/pull/460) - [@nitsujri](https://togithub.com/nitsujri) made their first contribution in [https://github.com/bkeepers/dotenv/pull/423](https://togithub.com/bkeepers/dotenv/pull/423) **Full Changelog**: https://github.com/bkeepers/dotenv/compare/v2.8.1...v3.0.0 ### [`v2.8.1`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#281---July-27-2022) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v2.8.0...v2.8.1) - Restore support for EOL'd Ruby versions (2.5, 2.6) ([#458](https://togithub.com/bkeepers/dotenv/issues/458))\[https://github.com/bkeepers/dotenv/pull/458](https://togithub.com/bkeepers/dotenv/pull/458)8] ### [`v2.8.0`](https://togithub.com/bkeepers/dotenv/blob/HEAD/Changelog.md#280---July-26-2022) [Compare Source](https://togithub.com/bkeepers/dotenv/compare/v2.7.6...v2.8.0) - Drop support for Ruby 2.4, 2.5, and 2.6, which are EOL - Fix template (-t) handling of export declarations [#416](https://togithub.com/bkeepers/dotenv/pull/416) - Unescape escaped characters when value is not quoted [#421](https://togithub.com/bkeepers/dotenv/pull/421) - Add overload option for the CLI (`$ dotenv --overload -f .env.local`) [#445](https://togithub.com/bkeepers/dotenv/pull/445)Configuration
📅 Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.