Releases: rubyconfig/config
Releases · rubyconfig/config
4.1.0
4.0.0
BREAKING CHANGES
- Rails versions
< 5.2are no longer supported (#316) - Ruby versions
< 2.6are no longer supported (#316) - Support
HashSourceandEnvSourceinstances inConfig.load_filesandConfig.load_and_set_settings. (#315). There are a few subtle breaking changes:- Previously,
Config.load_files(called fromConfig.load_and_set_settings) would call.to_son each of its arguments. Now, this responsibility is defered to YAMLSource. In effect, if your application passes String or Pathname objects toConfig.load_files, no changes are necessary, but if you were somehow relying on the.to_scall for some other type of object, you'll now need to call.to_son that object before passing it toConfig. - Before this change,
Config.load_fileswould calluniqon its argument array. This call has been removed, so duplicate file paths are not removed before further processing. In some cases, this can cause differences in behavior since later config files override the values in earlier ones. In most cases, it's best to ensure that duplicate paths are not passed toConfig.load_files.
- Previously,
3.1.1
3.1.0
3.0.0
BREAKING CHANGES
- After upgrade behaviour of
to_hwould change and match behaviour ofto_hash. Check #217 for more details. Config::Options#load_env!andConfig::Options#reload_env!have been removed. If you need to reload settings after modifying theENVhash, useConfig.reload!orConfig::Options#reload!instead.
Bug fixes
- Added alias
to_hforto_hash(#277)
Changes
- Add
Config::Sources::EnvSourcefor loading settings from flatHashes withStringkeys andStringvalues, such as from AWS SecretsManager (#299)
2.2.3
2.2.2
2.2.1
Performance improvements
- Get rid of unused Rails Engine class definition (#247)
- Require dry-validation only when schema is specified (#253)
- Defer modification of
ActionController::Baseto when it is loaded in Rails integration (#250)
Bug fixes
- Fix missing new_ostruct_member in Ruby 2.7 (#255)
- Fix validation contract documentation (#260)
- Excluded test application's *.md files from the gem build (#267)
Changes
- Use sprockets 3.x when running unit tests for Rails 4.2 (#256)
- Cleanup example Rails application used for testing (#263)
- Upgrade markdown linter and fix errors (#265)
- Upgrade development dependencies and test matrix with latest Ruby and Rails versions (#264)
- Replace Travis CI with GitHub Actions (#266)
- Add Rails 6.0 to the test matrix (#258)
- Rename GitHub organization name from
railsconfigtorubyconfig(#268)
2.1.0
New features
- Add dry-validation contract support (#238)
Changes
- Get rid of activesupport dependency (#230)
- Ignore .local files in test environment (#135, #233)
- Execute default rspec against latest Rails app and load appropriate development dependencies dynamically (#241)
- Fix inconsistent documentation for ENV prefix and default value in generator (#246)
Bug fixes
2.0.0
BREAKING CHANGES
After upgrade to dry-schema 1.0 we had to drop support for Rails < 4.2 and Ruby < 2.4.
If you need older version of Ruby or Rails, please stick to 1.x version of this gem.
New features
- Add
merge_hash_arraysas a configuration option (#214)