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)