aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md29
1 files changed, 21 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e699e5..7ccab9e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,16 +5,24 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## 0.3.3
+## 0.5.0 - 2020-01-19
-Fixed
+ - Add support for retrieving entire sections as a `dict` with `get()`.
- - `TypeError` when setting the key/value pairs since configparser requires the option
- to be a string. The parser now just converts the value to a string if it is not one
- and then adds the key/value pair. It would still be parsed correctly when retrieving
- it.
+## 0.4.0 - 2020-01-19
+
+ - Add `reset()` and `save()` methods to `ConfigFile`. This allows you to reset your
+ configuration file to an "original state," given the original config file path.
+ However, say you have a `config/config.json` file. Then it will automatically try
+ to look for `config/config.original.json` if no file path is specified. The `save()`
+ method should be called after your changes to the config file. It will write them
+ back out.
+
+ - Raise test coverage to 93% (`BaseParser` is abstract so it isn't tested and some
+ methods in `ConfigFile` simply use the same method in the parser so it doesn't make
+ sense to test those methods.)
-## 0.3.3 - 2020-01-18 - 2020-01-17
+## 0.3.3 - 2020-01-18
Changed
@@ -24,6 +32,11 @@ Changed
Fixed
- `ConfigFile` was trying to use `_split_on_dot`, but it no longer inherited from base parser.
+
+ - `TypeError` when setting the key/value pairs since configparser requires the option
+ to be a string. The parser now just converts the value to a string if it is not one
+ and then adds the key/value pair. It would still be parsed correctly when retrieving
+ it.
## 0.3.1 - 2020-01-17
@@ -69,4 +82,4 @@ Added
- bump2version for easily upgrading versions of config file
- - pytest to dev dependencies for testing later on \ No newline at end of file
+ - pytest to dev dependencies for testing later on