aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-01-26 17:17:38 -0600
committerEugene Triguba <eugenetriguba@gmail.com>2020-01-26 17:17:38 -0600
commit39cc3d5a0a717199783c292373e181e410608344 (patch)
treefa05b16c5e3de70d01695837b96545c8ae527315 /CHANGELOG.md
parentMerge branch 'master' of github.com:eugenetriguba/config_file (diff)
downloadconfig-file-39cc3d5a0a717199783c292373e181e410608344.zip
Rename reset() to restore_original()
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0005a05..5369103 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,17 @@ 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).
+## Unreleased
+
+Changed
+
+ - BREAKING: The `reset()` method on `ConfigFile` is now called `restore_original()`.
+ The behavior is the same. This was done to better describe what exactly that method
+ is doing. Since the file is not written back out with every `set()` or `delete()`
+ and calling `save()` explicitly is required, `reset()` may have been confused with
+ resetting the changes you've made rather than deleting and restoring the original
+ configuration file.
+
## 0.6.0 - 2020-01-24
Changed