diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2022-02-19 11:02:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 11:02:26 +0100 |
commit | b6753ad8b15d34e1fd223ae5b5d0db8e18a06bc3 (patch) | |
tree | 1aba7b1eb9747c4347c085d255c97b14e30b2c1c | |
parent | bae775fc78b94ff5c9f29aeda4ade3baf3037a3d (diff) | |
parent | a7c6cc7daab224ff653d2b908ed9590ce3f6934b (diff) |
Merge pull request #288 from matthiasbeyer/prepare-0.120.12.0
Prepare 0.12
-rw-r--r-- | .github/workflows/msrv.yml | 10 | ||||
-rw-r--r-- | CHANGELOG.md | 48 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.md | 4 |
4 files changed, 53 insertions, 11 deletions
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 25fc2f2..b2d4b8b 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.49.0 - stable - beta - nightly @@ -45,7 +45,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.49.0 - stable - beta - nightly @@ -61,14 +61,14 @@ jobs: override: true - name: Run cargo test - if: matrix.rust != 'nightly' && matrix.rust != '1.46.0' + if: matrix.rust != 'nightly' && matrix.rust != '1.49.0' uses: actions-rs/cargo@v1 with: command: test args: --all-features - name: Run cargo test (nightly) - if: matrix.rust == '1.46.0' + if: matrix.rust == '1.49.0' continue-on-error: true uses: actions-rs/cargo@v1 with: @@ -145,7 +145,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.49.0 - stable steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ec4096..6d4bfc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,51 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## 0.12.0 - - Introduce `Format` trait [#219] +## Unreleased + + +## 0.12.0 - 2022-02-10 + +### Format support changes in this version + + - HJSON support was removed [#230] + - JSON5 format support [#206] + - RON format support [#202] + +### Other noteworthy changes + + - A new ConfigBuilder interface for building configuration objects [#196] + - Asynchronous sources [#207] + - Custom ENV separators are now supported [#185] + - Loads of dependency updates and bugfixes of course + - Preserved map order [#217] + - Support for parsing numbers from the environment [#137] + - Support for unsigned integers [#178] + - `Format` trait for (custom) file formats [#219] + +### Deprecated + + - `Environment::new()` - see [#235] + - Large parts of the `Config` interface - see [#196] + - `Config::merge()` + - `Config::with_merged()` + - `Config::refresh()` + - `Config::set_default()` + - `Config::set()` + - `Config::set_once()` + - `Config::deserialize()` + +[#137]: https://github.com/mehcode/config-rs/pull/137 +[#178]: https://github.com/mehcode/config-rs/pull/178 +[#185]: https://github.com/mehcode/config-rs/pull/185 +[#196]: https://github.com/mehcode/config-rs/pull/196 +[#202]: https://github.com/mehcode/config-rs/pull/202 +[#206]: https://github.com/mehcode/config-rs/pull/206 +[#207]: https://github.com/mehcode/config-rs/pull/207 +[#217]: https://github.com/mehcode/config-rs/pull/217 +[#219]: https://github.com/mehcode/config-rs/pull/219 +[#230]: https://github.com/mehcode/config-rs/pull/230 +[#235]: https://github.com/mehcode/config-rs/pull/235 ## 0.11.0 - 2021-03-17 - The `Config` type got a builder-pattern `with_merged()` method [#166]. @@ -19,7 +62,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). [#172]: https://github.com/mehcode/config-rs/pull/172 [#169]: https://github.com/mehcode/config-rs/pull/169 [#175]: https://github.com/mehcode/config-rs/pull/169 -[#219]: https://github.com/mehcode/config-rs/pull/219 ## 0.10.1 - 2019-12-07 - Allow enums as configuration keys [#119] @@ -1,6 +1,6 @@ [package] name = "config" -version = "0.11.0" +version = "0.12.0" description = "Layered configuration system for Rust applications." homepage = "https://github.com/mehcode/config-rs" repository = "https://github.com/mehcode/config-rs" @@ -30,7 +30,7 @@ values back to the configuration file(s)! ```toml [dependencies] -config = "0.11" +config = "0.12" ``` ### Feature flags @@ -56,7 +56,7 @@ more usage information. ## MSRV -We currently support Rust 1.46.0 and newer. +We currently support Rust 1.49.0 and newer. ## License |