Releases: magiconair/properties
Releases · magiconair/properties
v1.5.4
- Issue #5: Allow disabling of property expansion DisableExpansion. When property expansion is disabled Properties become a simple key/value store and don't check for circular references.
Full Changelog: v1.5.3...v1.5.4
v1.5.3
What's Changed
- Issue #4: Maintain key order in Filter(), FilterPrefix() and FilterRegexp()
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
- Issue #3: Don't print comments in WriteComment() if they are all empty
- Add clickable links to README
Full Changelog: v1.5.1...v1.5.2
v1.5.1
What's Changed
- Added GetParsedDuration() and MustGetParsedDuration() for values specified compatible with time.ParseDuration().
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
- Added support for single and multi-line comments (reading, writing and updating)
- The order of keys is now preserved
- Calling Set() with an empty key now silently ignores the call and does not create a new entry
- Added a MustSet() method
- Migrated test library from launchpad.net/gocheck to gopkg.in/check.v1
Full Changelog: v1.4.2...v1.5.0
v1.4.2
What's Changed
- Issue #2: Fixed goroutine leak in parser which created two lexers but cleaned up only one
Full Changelog: v1.4.1...v1.4.2
v1.4.1
What's Changed
- Issue #1: Fixed bug in Keys() method which returned an empty string
Full Changelog: v1.4.0...v1.4.1
v1.4.0
What's Changed
- Added Keys() to get the keys
- Added Filter(), FilterRegexp() and FilterPrefix() to get a subset of the properties
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- Added support for time.Duration
- Made MustXXX() failure beha[ior configurable (log.Fatal, panic](https://github.com/magiconair/properties/tree/vior configurable (log.Fatal, panic) - custom)
- Changed default of MustXXX() failure from panic to log.Fatal
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- Added MustGet... functions
- Added support for int and uint with range checks on 32 bit platforms
Full Changelog: v1.1.0...v1.2.0