OSDN Git Service

Hulk did something
[bytom/vapor.git] / vendor / github.com / magiconair / properties / CHANGELOG.md
1 ## Changelog
2
3 ### Unreleased
4
5  * [PR #24](https://github.com/magiconair/properties/pull/24): Update keys when DisableExpansion is enabled
6    Thanks to @mgurov for the fix.
7
8 ### [1.7.3](https://github.com/magiconair/properties/tags/v1.7.3) - 10 Jul 2017
9
10  * [Issue #17](https://github.com/magiconair/properties/issues/17): Add [SetValue()](http://godoc.org/github.com/magiconair/properties#Properties.SetValue) method to set values generically
11  * [Issue #22](https://github.com/magiconair/properties/issues/22): Add [LoadMap()](http://godoc.org/github.com/magiconair/properties#LoadMap) function to load properties from a string map
12
13 ### [1.7.2](https://github.com/magiconair/properties/tags/v1.7.2) - 20 Mar 2017
14
15  * [Issue #15](https://github.com/magiconair/properties/issues/15): Drop gocheck dependency
16  * [PR #21](https://github.com/magiconair/properties/pull/21): Add [Map()](http://godoc.org/github.com/magiconair/properties#Properties.Map) and [FilterFunc()](http://godoc.org/github.com/magiconair/properties#Properties.FilterFunc)
17
18 ### [1.7.1](https://github.com/magiconair/properties/tags/v1.7.1) - 13 Jan 2017
19
20  * [PR #16](https://github.com/magiconair/properties/pull/16): Keep gofmt happy
21  * [PR #18](https://github.com/magiconair/properties/pull/18): Fix Delete() function
22
23 ### [1.7.0](https://github.com/magiconair/properties/tags/v1.7.0) - 20 Mar 2016
24
25  * [Issue #10](https://github.com/magiconair/properties/issues/10): Add [LoadURL,LoadURLs,MustLoadURL,MustLoadURLs](http://godoc.org/github.com/magiconair/properties#LoadURL) method to load properties from a URL.
26  * [Issue #11](https://github.com/magiconair/properties/issues/11): Add [LoadString,MustLoadString](http://godoc.org/github.com/magiconair/properties#LoadString) method to load properties from an UTF8 string.
27  * [PR #8](https://github.com/magiconair/properties/pull/8): Add [MustFlag](http://godoc.org/github.com/magiconair/properties#Properties.MustFlag) method to provide overrides via command line flags. (@pascaldekloe)
28
29 ### [1.6.0](https://github.com/magiconair/properties/tags/v1.6.0) - 11 Dec 2015
30
31  * Add [Decode](http://godoc.org/github.com/magiconair/properties#Properties.Decode) method to populate struct from properties via tags.
32
33 ### [1.5.6](https://github.com/magiconair/properties/tags/v1.5.6) - 18 Oct 2015
34
35  * Vendored in gopkg.in/check.v1
36
37 ### [1.5.5](https://github.com/magiconair/properties/tags/v1.5.5) - 31 Jul 2015
38
39  * [PR #6](https://github.com/magiconair/properties/pull/6): Add [Delete](http://godoc.org/github.com/magiconair/properties#Properties.Delete) method to remove keys including comments. (@gerbenjacobs)
40
41 ### [1.5.4](https://github.com/magiconair/properties/tags/v1.5.4) - 23 Jun 2015
42
43  * [Issue #5](https://github.com/magiconair/properties/issues/5): Allow disabling of property expansion [DisableExpansion](http://godoc.org/github.com/magiconair/properties#Properties.DisableExpansion). When property expansion is disabled Properties become a simple key/value store and don't check for circular references.
44
45 ### [1.5.3](https://github.com/magiconair/properties/tags/v1.5.3) - 02 Jun 2015
46
47  * [Issue #4](https://github.com/magiconair/properties/issues/4): Maintain key order in [Filter()](http://godoc.org/github.com/magiconair/properties#Properties.Filter), [FilterPrefix()](http://godoc.org/github.com/magiconair/properties#Properties.FilterPrefix) and [FilterRegexp()](http://godoc.org/github.com/magiconair/properties#Properties.FilterRegexp)
48
49 ### [1.5.2](https://github.com/magiconair/properties/tags/v1.5.2) - 10 Apr 2015
50
51  * [Issue #3](https://github.com/magiconair/properties/issues/3): Don't print comments in [WriteComment()](http://godoc.org/github.com/magiconair/properties#Properties.WriteComment) if they are all empty
52  * Add clickable links to README
53
54 ### [1.5.1](https://github.com/magiconair/properties/tags/v1.5.1) - 08 Dec 2014
55
56  * Added [GetParsedDuration()](http://godoc.org/github.com/magiconair/properties#Properties.GetParsedDuration) and [MustGetParsedDuration()](http://godoc.org/github.com/magiconair/properties#Properties.MustGetParsedDuration) for values specified compatible with
57    [time.ParseDuration()](http://golang.org/pkg/time/#ParseDuration).
58
59 ### [1.5.0](https://github.com/magiconair/properties/tags/v1.5.0) - 18 Nov 2014
60
61  * Added support for single and multi-line comments (reading, writing and updating)
62  * The order of keys is now preserved
63  * Calling [Set()](http://godoc.org/github.com/magiconair/properties#Properties.Set) with an empty key now silently ignores the call and does not create a new entry
64  * Added a [MustSet()](http://godoc.org/github.com/magiconair/properties#Properties.MustSet) method
65  * Migrated test library from launchpad.net/gocheck to [gopkg.in/check.v1](http://gopkg.in/check.v1)
66
67 ### [1.4.2](https://github.com/magiconair/properties/tags/v1.4.2) - 15 Nov 2014
68
69  * [Issue #2](https://github.com/magiconair/properties/issues/2): Fixed goroutine leak in parser which created two lexers but cleaned up only one
70
71 ### [1.4.1](https://github.com/magiconair/properties/tags/v1.4.1) - 13 Nov 2014
72
73  * [Issue #1](https://github.com/magiconair/properties/issues/1): Fixed bug in Keys() method which returned an empty string
74
75 ### [1.4.0](https://github.com/magiconair/properties/tags/v1.4.0) - 23 Sep 2014
76
77  * Added [Keys()](http://godoc.org/github.com/magiconair/properties#Properties.Keys) to get the keys
78  * Added [Filter()](http://godoc.org/github.com/magiconair/properties#Properties.Filter), [FilterRegexp()](http://godoc.org/github.com/magiconair/properties#Properties.FilterRegexp) and [FilterPrefix()](http://godoc.org/github.com/magiconair/properties#Properties.FilterPrefix) to get a subset of the properties
79
80 ### [1.3.0](https://github.com/magiconair/properties/tags/v1.3.0) - 18 Mar 2014
81
82 * Added support for time.Duration
83 * Made MustXXX() failure beha[ior configurable (log.Fatal, panic](https://github.com/magiconair/properties/tags/vior configurable (log.Fatal, panic) - custom)
84 * Changed default of MustXXX() failure from panic to log.Fatal
85
86 ### [1.2.0](https://github.com/magiconair/properties/tags/v1.2.0) - 05 Mar 2014
87
88 * Added MustGet... functions
89 * Added support for int and uint with range checks on 32 bit platforms
90
91 ### [1.1.0](https://github.com/magiconair/properties/tags/v1.1.0) - 20 Jan 2014
92
93 * Renamed from goproperties to properties
94 * Added support for expansion of environment vars in
95   filenames and value expressions
96 * Fixed bug where value expressions were not at the
97   start of the string
98
99 ### [1.0.0](https://github.com/magiconair/properties/tags/v1.0.0) - 7 Jan 2014
100
101 * Initial release