From 8bbd87803c72007585a81d508f689ae83e81f980 Mon Sep 17 00:00:00 2001 From: QEDK <1994constant@gmail.com> Date: Mon, 7 Jun 2021 08:06:09 +0530 Subject: [PATCH] :new: Ready for 2.1.0 release --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- README.md | 15 +++++++-------- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 649044b..fb68541 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,5 +70,11 @@ - 0.12.0 (**BETA 8**) - New function added, `writes()` to support writing configuration to a string. - More doctests passed. +- 0.13.0 (**BETA 9**) + - New functions added, `clear()` and `remove_section()` to make handling similar to hashmaps. + - Docs fixed. On track to stable. +- 0.13.1 (yanked) + - New function added, `remove_key()` to remove a key from a section + - All doctests passing! Older changelogs are preserved here, current changelog is present in [README.md](README.md). diff --git a/Cargo.toml b/Cargo.toml index e76f5d1..3d9cbf0 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "configparser" -version = "2.0.1" +version = "2.1.0" authors = ["QEDK "] edition = "2018" description = "A simple configuration parsing utility with no dependencies that allows you to parse INI and ini-style syntax. You can use this to write Rust programs which can be customized by end users easily." diff --git a/README.md b/README.md index 664d1b9..c767d7b 100755 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ strings as well as files. You can install this easily via `cargo` by including it in your `Cargo.toml` file like: ```TOML [dependencies] -configparser = "2.0.1" +configparser = "2.1.0" ``` ## ➕ Supported datatypes @@ -178,12 +178,6 @@ additional terms or conditions. ## 🆕 Changelog Old changelogs are in [CHANGELOG.md](CHANGELOG.md). -- 0.13.0 (**BETA 9**) - - New functions added, `clear()` and `remove_section()` to make handling similar to hashmaps. - - Docs fixed. On track to stable. -- 0.13.1 (yanked) - - New function added, `remove_key()` to remove a key from a section - - All doctests passing! - 0.13.2 (**FINAL BETA**) - Erroneous docs fixed. - Final release before stable. @@ -194,9 +188,14 @@ Old changelogs are in [CHANGELOG.md](CHANGELOG.md). - **BREAKING** Added Python-esque support for `:` as a delimiter. - :new: Add support for case-sensitive maps with automatic handling under the hood. - :hammer: Fixed buggy setters which went uncaught, to preserve case-insensitive nature. -- 2.0.1 (**STABLE**) +- 2.0.1 - Add first-class support for setting, loading and reading defaults - New available struct `IniDefault` for fast templating +- 2.1.0 (**STABLE**) + - 😯 **BREAKING** Parse keys with higher priority, both brackets `[` and `]` can be part of values now. + - ℹ Only affects current behaviour **iff** your section headers had comments in front of them like, `comment[HEADER]`, you can fix it by adding the comment after the header like `[HEADER]#comment` or otherwise. + - 🚀 `load()` and `write()` work with `Path`-like arguments now. + - 📜 Add docs for new struct ### 🔜 Future plans