# Changelog ## Unreleased ### New features * Add ability to validate config schema ([#155](https://github.com/railsconfig/config/pull/155) thanks to [@ok32](https://github.com/ok32)) ## 1.4.0 ### New features * Added support for passing a raw ruby hash into to both `Settings.add_source!` and `Settings.prepend_source!` ([#108](https://github.com/railsconfig/config/pull/159) thanks to [@halloffame](https://github.com/halloffame)) ### Bug fixes * Added new reserved name `test` ([#158](https://github.com/railsconfig/config/pull/158) thanks to [@milushov](https://github.com/milushov)) * `to_hash` should not replace nested config objects with Hash ([#160](https://github.com/railsconfig/config/issues/160) thanks to [@seikichi](https://github.com/seikichi)) ## 1.3.0 * **WARNING:** Overwrite arrays found in previously loaded settings file ([#137](https://github.com/railsconfig/config/pull/137) thanks to [@Fryguy](https://github.com/Fryguy) and [@dtaniwaki](https://github.com/dtaniwaki)) - this is a change breaking previous behaviour. If you want to keep Config to work as before, which is merging arrays found in following loaded settings file, please add `config.overwrite_arrays = false` to your Config initializer * Changed default ENV variables loading settings to downcase variable names and parse values * Added parsing ENV variables values to Float type * Change method definition order in Rails integration module to prevent undefined method `preload` error (based on [@YaroSpace](https://github.com/YaroSpace) suggestion in [#111](https://github.com/railsconfig/config/issues/111) ## 1.2.1 * Fixed support for multilevel settings loaded from ENV variables (inspired by [@cbeer](https://github.com/cbeer) in [#144](https://github.com/railsconfig/config/pull/144)) ## 1.2.0 * Add ability to load settings from ENV variables ([#108](https://github.com/railsconfig/config/issues/108) thanks to [@vinceve](https://github.com/vinceve) and [@spalladino](https://github.com/spalladino)) * Removed Rails 5 deprecation warnings for prepend_before_filter ([#141](https://github.com/railsconfig/config/pull/141)) ## 1.1.1 * Downgrade minimum ruby version to 2.0.0 ([#136](https://github.com/railsconfig/config/issues/136)) ## 1.1.0 * Add ability to specify knockout_prefix option for deep_merge * Minor code and documentation refactoring and cleanup ## 1.0.0 * `RailsConfig` is now officially renamed to `Config` * Fixed array descent when converting to hash ([#89](https://github.com/railsconfig/config/pull/89)) * Catch OpenStruct reserved keywords ([#95](https://github.com/railsconfig/config/pull/95) by [@dudo](https://github.com/dudo)) * Allows loading before app configuration process ([#107](https://github.com/railsconfig/config/pull/107) by [@Antiarchitect](https://github.com/Antiarchitect)) * `deep_merge` is now properly managed via gemspec ([#110](https://github.com/railsconfig/config/pull/110)) * Added `prepend_source!` ([#102](https://github.com/railsconfig/config/pull/102)) ## 0.99 * Released deprecated gem migrating to the new name ## 0.5.0.beta1 * Ability to use in Settings file keywords reserved for OpenStruct: select, collect ([#95](https://github.com/railsjedi/config/issues/95)) * Made config work without Rails as a hard dependency ([#86](https://github.com/railsjedi/config/issues/86), [#88](https://github.com/railsjedi/config/issues/88)) * Fix generate error when .gitignore is missing ([#85](https://github.com/railsjedi/config/issues/85)) * Fix deprecation warning on File.exists? ([#81](https://github.com/railsjedi/config/issues/81)) * Add a shortcut method for setting files ([#67](https://github.com/railsjedi/config/issues/67)) * Improve YAMLSource load error message by outputting offending file path ([#88](https://github.com/railsjedi/config/issues/88)) ## 0.4.2 * Ability to specify the app name when calling the Heroku rake task ([#75](https://github.com/railsjedi/config/issues/75)) ## 0.4.1 * Fixed compatibility with Rails 4.1 ([#72](https://github.com/railsjedi/config/issues/72)) * Testing suite verifies compatibility with Rails 3.2, 4.0 and 4.1 ## 0.4.0 * Compatibility with Heroku ([#64](https://github.com/railsjedi/config/issues/64)) ## 0.3.4 * Expose Settings in application.rb, so you don't have to duplicate configuration for each environment file ([#59](https://github.com/railsjedi/config/issues/59)) * Adding support for Rails 4.1.0.rc ([#70](https://github.com/railsjedi/config/issues/70))