aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-02-09 20:47:13 -0600
committerEugene Triguba <eugenetriguba@gmail.com>2020-02-09 20:47:13 -0600
commit74048486b37cda4dc9a252ed1415b6e136f65186 (patch)
tree705815f5dbb7f89cb1435e748b6407beac299dcc /CHANGELOG.md
parentMerge branch 'master' of github.com:eugenetriguba/config_file (diff)
downloadconfig-file-74048486b37cda4dc9a252ed1415b6e136f65186.zip
Add default + return_type param to get(), turn off automatic parsing
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7a8e5af..72cdaa6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,22 @@ Added
- `default` optional parameter to the `get()` method of `ConfigFile`.
The allows a default value to be fallen back to if the given key is missing.
+
+ - `return_type` optional parameter to `get()` method of `ConfigFile`. This
+ allows you to coerce the return type to one of your choosing by feeding it
+ the return value.
+
+Changed
+
+ - Automatic type parsing is now off by default. This is because of the addition of
+ the `return_type` optional parameter. After using the package more, I think
+ the explicitness of specifying the type you're after or that you'd like to
+ automatically parse the type to one of the basic types is more maintainable.
+ However, I think the option to automatically parse or parse a whole section of
+ values is still a useful one.
+
+ - The `parse_type` parameter to `ConfigFile`'s `get()` mothod is now cakked
+ `parse_types`.
## 0.8.0 - 2020-02-02