From 3d5c3d38574871349d784d61a221e906036ff98f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Feb 2022 16:48:50 +0100 Subject: Add Changelog for 0.12.0 Signed-off-by: Matthias Beyer --- CHANGELOG.md | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) 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] -- cgit v1.2.3 From 7549ac4f21361c8e0f98332718861efdc1b9ca43 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Feb 2022 16:29:53 +0100 Subject: Update version in README Signed-off-by: Matthias Beyer --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 636e974..279ce9b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ values back to the configuration file(s)! ```toml [dependencies] -config = "0.11" +config = "0.12" ``` ### Feature flags -- cgit v1.2.3 From d1f97ece51de6b05fabdefdeca9a4dd4753ecd42 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Feb 2022 16:30:04 +0100 Subject: Update version in Cargo.toml Signed-off-by: Matthias Beyer --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e9ce307..f68ca28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" -- cgit v1.2.3 From c2840eae4ae27910687b429ad8e9ee834376694b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 19 Feb 2022 10:34:20 +0100 Subject: Update MSRV to 1.48.0 Signed-off-by: Matthias Beyer --- .github/workflows/msrv.yml | 10 +++++----- README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 25fc2f2..2f500eb 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.48.0 - stable - beta - nightly @@ -45,7 +45,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.48.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.48.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.48.0' continue-on-error: true uses: actions-rs/cargo@v1 with: @@ -145,7 +145,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.48.0 - stable steps: diff --git a/README.md b/README.md index 279ce9b..e7b5992 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ more usage information. ## MSRV -We currently support Rust 1.46.0 and newer. +We currently support Rust 1.48.0 and newer. ## License -- cgit v1.2.3 From a7c6cc7daab224ff653d2b908ed9590ce3f6934b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 19 Feb 2022 10:34:20 +0100 Subject: Update MSRV to 1.49.0 Signed-off-by: Matthias Beyer --- .github/workflows/msrv.yml | 10 +++++----- README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 2f500eb..b2d4b8b 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: rust: - - 1.48.0 + - 1.49.0 - stable - beta - nightly @@ -45,7 +45,7 @@ jobs: strategy: matrix: rust: - - 1.48.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.48.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.48.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.48.0 + - 1.49.0 - stable steps: diff --git a/README.md b/README.md index e7b5992..deee396 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ more usage information. ## MSRV -We currently support Rust 1.48.0 and newer. +We currently support Rust 1.49.0 and newer. ## License -- cgit v1.2.3