aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:28:50 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:28:50 -0500
commit1c94adc3acd2133659b1cefa8327f654842890c4 (patch)
treed2d3da813b0e792021ef3f8c787bf7ab390beef3
parentMerge pull request #24 from eugenetriguba/dev (diff)
downloadconfig-file-1c94adc3acd2133659b1cefa8327f654842890c4.zip
Update changelog for v0.11.0
-rw-r--r--CHANGELOG.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0b288a1..77e1a55 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
As long as the extras (`yaml` and `toml`) are installed, those file types can also
be used.
+- `ConfigFile` can now be indexed into using an array notation to get, set, and delete keys.
+
+- `path` property to `ConfigFile`
+
+- `original_path` property to `ConfigFile`
+
+- `wild` optional argument to `has` on `ConfigFile` to check if the file has an
+ occurrence of the key anywhere in the file.
+
+### Removed
+
+- `BaseParser` from the public API.
+
+- `parser` optional argument from the `ConfigFile` constructor.
+
### Changed
- `path` on the `ConfigFile` is now a property that can only be retrieved. `contents` is now private
@@ -21,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `restore_original` in `ConfigFile` now raises a `FileNotFoundError` instead of an `OSError` if the original
file path does not exist.
+- `restore_original`'s optional argument is now called `original_path` rather than `original_file_path`.
+
### Fixed
- `default` in `ConfigFile`'s `get` method can now be `None`. Previously, it was defaulted to the