From c90a571cfb4a5ee970262d6b16bd9127fe2a67fd Mon Sep 17 00:00:00 2001 From: Mirko Westermeier Date: Tue, 27 Jul 2021 13:16:13 +0200 Subject: [PATCH] Prepare release --- CHANGELOG.md | 6 +++++- README.md | 2 +- trivialini.cabal | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e33bdb1..353417b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ # Revision history for trivialini -## TODO +## 0.3.1.0 -- 2021-07-27 * Allow whitespace in keys (Alexander Pankoff @ccntrq) +* Make section headers a little bit more strict +* Improve test suite +* Add Haddock API docs generation to GitHub Pages +* Improve parser readability ## 0.3.0.0 -- 2021-07-14 diff --git a/README.md b/README.md index 4a5e722..1011684 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ answer = 42 name = Boaty McBoatface ``` -There are two *sections* (inbetween `[` and `]`) defined, `something` and `something else`. These sections contain a dictionary of Strings each, the keys being some string followed by `=`, and anything else until end of the line as values. +There are two *sections* (inbetween `[` and `]`) defined, `something` and `something else`. These sections contain a dictionary of Strings each, the keys being some string followed by `=`, and anything else until end of the line as values. The leading and trailing spaces in section headers, keys and values are trimmed. **trivialini** parses this data structure as an `Ini`, which is simply a map of maps of strings: diff --git a/trivialini.cabal b/trivialini.cabal index f02dbda..4932bd9 100644 --- a/trivialini.cabal +++ b/trivialini.cabal @@ -1,5 +1,5 @@ name: trivialini -version: 0.3.0.0 +version: 0.3.1.0 synopsis: Ultra light weight ini file parser homepage: https://github.com/memowe/trivialini license: MIT