All Versions
30
Latest Version
Avg Release Cycle
111 days
Latest Release
-

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 and EnvSource instances in Config.load_files and Config.load_and_set_settings. (#315). There are a few subtle breaking changes:
      • Previously, Config.load_files (called from Config.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 to Config.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 to Config.
      • Before this change, Config.load_files would call uniq 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 to Config.load_files.
  • 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 is true for backwards-compatibility. (#303)
  • v3.0.0 Changes

    ๐Ÿ’ฅ BREAKING CHANGES

    • After upgrade behaviour of to_h would change and match behaviour of to_hash. Check #217 for more details.
    • Config::Options#load_env! and Config::Options#reload_env! have been removed. If you need to reload settings after modifying the ENV hash, use Config.reload! or Config::Options#reload! instead.

    ๐Ÿ› Bug fixes

    • Added alias to_h for to_hash (#277)

    ๐Ÿ”„ Changes

    • โž• Add Config::Sources::EnvSource for loading settings from flat Hashes with String keys and String values, such as from AWS SecretsManager (#299)
  • v2.2.3 Changes

    ๐Ÿ› Bug fixes

    • Revert added alias to_h for to_hash (#277)

    ๐Ÿ”„ Changes

    • ๐Ÿš… Raise explicit error on environment variable conflicts (#293)
  • v2.2.2 Changes

    December 08, 2020

    ๐Ÿ› Bug fixes

    • Added alias to_h for to_hash (#277)
    • ๐Ÿ’Ž Prevent unnecessary doubled loading of environment variables (#291)
    • ๐Ÿ’Ž Return Hash from Config::Options#as_json instead of Array of pairs when using ActiveSupport Core Extensions (#292)

    ๐Ÿ”„ Changes

    • โž• Add JRuby 9.2 to the test matrix (#228)
    • โž• Add exit! to reserved keywords (#289)
  • 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 to rubyconfig (#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

    • ๐Ÿ›  Fix warnings when running tests in Rails 5 scope (#240
    • ๐Ÿ’Ž Do not run incompatible code coverage on truffleruby (#242
  • 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

    • โฌ†๏ธ Upgraded dry-validation dependency to dry-schema 1.0 (#224)
    • ๐Ÿšš Moved constant to be defined on Object instead of Kernel (#227)
    • โž• Add TruffleRuby to the test matrix (#229)