- 0.1.0 (yanked)
- First experimental version with only a public-facing load() function.
- 0.1.1
configparser
module renamed toini
.
- 0.2.1
Ini
struct is added along with file-loading, parsing and hashmap functions. Documentation is added.
- 0.2.2
- Fixed docs.
- 0.3.0
- Added
get()
for getting values from the map directly. Docs expanded as well. - Mark
ini::load()
for deprecation.
- Added
- 0.3.1
- Updated docs.
- All parameters now trimmed before insertion.
- Converted
ini::load()
into a wrapper aroundIni
.
- 0.4.0
- Changed
Ini::load()
to return anOk(map)
with a clone of the storedHashMap
.
- Changed
- 0.4.1
- Fixed and added docs.
- 0.5.0 (BETA) (yanked)
- Changelog added.
- Support for value-less keys.
HashMap
values are nowOption<String>
instead ofString
to denote empty values vs. no values.- Documentation greatly improved.
- Syntax docs provided.
new()
andget()
methods are simplified.
- 0.5.1
- Fixed erroneous docs
- 0.6.0 (BETA 2)
- Tests added
get_map_ref()
andget_mut_map()
are now added to allow directHashMap
index access making things greatly easier.
- 0.6.1 (yanked)
- Fixed tests
- 0.6.2
- Fixed accidental binary delivery increasing crate size by ~20x
- 0.7.0 (BETA 3)
- Handy getter functions introduced such as
getint()
,getuint()
,getfloat()
,getbool()
- Fixed docs
- Fixed tests
- Handy getter functions introduced such as
- 0.7.1
- Enable
Eq
andPartialEq
traits - Improve docs
- Enable
- 0.8.0 (BETA 4)
- Added feature to set default headers.
- Added feature to parse from a
String
.
- 0.8.1
- Added support for comments
- Improved docs
- 0.9.0 (BETA 5)
- Comment customization is here! (note: defaults are now changed to
#
and;
) - Fixed some docs
- Make more docs pass tests
- 0.9.1
- Hotfix to change getters to return
Ok(None)
instead of failing parsing forNone
values
- Hotfix to change getters to return
- 0.9.2
- Added
getboolcoerce()
function to parse morebool
-like values. - Convert some snippets to doctests.
- Added
- 0.10.0 (BETA 6)
- Added
set()
andsetstr()
methods to add section, key, values to the configuration. - Added more test, minor doc fixes.
- Added
- 0.11.0 (BETA 7)
- Writing to file is here! (
write()
). - More doctests and docs fixed, next release is planned to be stable.
- Writing to file is here! (
- 0.11.1
- Hotfix to remove hardcoded default section and use set default section.
- Enabled auto-trait implementation of
Default
for empty inits. - Added the
sections()
method to get a vector of sections.
- 0.12.0 (BETA 8)
- New function added,
writes()
to support writing configuration to a string. - More doctests passed.
- New function added,
- 0.13.0 (BETA 9)
- New functions added,
clear()
andremove_section()
to make handling similar to hashmaps. - Docs fixed. On track to stable.
- New functions added,
- 0.13.1 (yanked)
- New function added,
remove_key()
to remove a key from a section - All doctests passing!
- New function added,
- 0.13.2 (FINAL BETA)
- Erroneous docs fixed.
- Final release before stable.
- 1.0.0
- Dropped support for
ini::load()
- Updated tests
- Dropped support for
- 2.0.0
- BREAKING Added Python-esque support for
:
as a delimiter. - 🆕 Add support for case-sensitive maps with automatic handling under the hood.
- 🔨 Fixed buggy setters which went uncaught, to preserve case-insensitive nature.
- BREAKING Added Python-esque support for
- 2.0.1
- Add first-class support for setting, loading and reading defaults
- New available struct
IniDefault
for fast templating
- 2.1.0
- 😯 BREAKING Parse keys with higher priority, both brackets
[
and]
can be part of values now. - ℹ Only affects current behaviour iff your section headers had comments in front of them like,
comment[HEADER]
, you can fix it by adding the comment after the header like[HEADER]#comment
or otherwise. - 🚀
load()
andwrite()
work withPath
-like arguments now. - 📜 Add docs for new struct
- 😯 BREAKING Parse keys with higher priority, both brackets
Older changelogs are preserved here, current changelog is present in README.md.