All Versions
30
Latest Version
Avg Release Cycle
111 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v4.0.0 Changes
๐ฅ BREAKING CHANGES
- ๐ Rails versions
< 5.2
are no longer supported (#316) - ๐ Ruby versions
< 2.6
are no longer supported (#316) - Support
HashSource
andEnvSource
instances inConfig.load_files
andConfig.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_s
on 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_s
call for some other type of object, you'll now need to call.to_s
on that object before passing it toConfig
. - Before this change,
Config.load_files
would calluniq
on 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,
- ๐ Rails versions
-
v3.1.1 Changes
๐ Bug fixes
- ๐ Allow the use of unsafe YAML parsing features when using psych >= 4 (#306)
-
v3.1.0 Changes
๐ New features
- Evaluating ERB in YAML files can now be disabled with
Config.evaluate_erb_in_yaml = false
. The default value for this option istrue
for backwards-compatibility. (#303)
- Evaluating ERB in YAML files can now be disabled with
-
v3.0.0 Changes
๐ฅ BREAKING CHANGES
- After upgrade behaviour of
to_h
would 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 theENV
hash, useConfig.reload!
orConfig::Options#reload!
instead.
๐ Bug fixes
- Added alias
to_h
forto_hash
(#277)
๐ Changes
- โ Add
Config::Sources::EnvSource
for loading settings from flatHash
es withString
keys andString
values, such as from AWS SecretsManager (#299)
- After upgrade behaviour of
-
v2.2.2 Changes
December 08, 2020 -
v2.2.1 Changes
January 08, 2020๐ Performance improvements
- ๐ Get rid of unused Rails Engine class definition (#247)
- ๐ Require dry-validation only when schema is specified (#253)
- ๐ Defer modification of
ActionController::Base
to 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
railsconfig
torubyconfig
(#268)
-
v2.2.0
January 08, 2020 -
v2.1.0 Changes
January 03, 2020๐ 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
-
v2.0.0 Changes
June 22, 2019๐ฅ 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_arrays
as a configuration option (#214)
๐ Changes
- Add