From a7bda0e166bca975435236ac262390f1d8f4f797 Mon Sep 17 00:00:00 2001 From: Chris LaRose Date: Sun, 13 Feb 2022 14:03:35 -0800 Subject: [PATCH] Bump to version 4.0.0 --- CHANGELOG.md | 6 +++--- lib/config/version.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfc31e31..e13ca464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ # Changelog -## Unreleased +## 4.0.0 ### BREAKING CHANGES -* Rails versions `< 5.2` are no longer supported -* Ruby versions `< 2.6` are no longer supported +* Rails versions `< 5.2` are no longer supported ([#316](https://github.com/rubyconfig/config/pull/316)) +* Ruby versions `< 2.6` are no longer supported ([#316](https://github.com/rubyconfig/config/pull/316)) * Support `HashSource` and `EnvSource` instances in `Config.load_files` and `Config.load_and_set_settings`. ([#315](https://github.com/rubyconfig/config/pull/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`. diff --git a/lib/config/version.rb b/lib/config/version.rb index ebcac3a6..0478ee77 100644 --- a/lib/config/version.rb +++ b/lib/config/version.rb @@ -1,3 +1,3 @@ module Config - VERSION = '3.1.1'.freeze + VERSION = '4.0.0'.freeze end