Releases: JeremyLoy/config
Releases · JeremyLoy/config
v1.5.0
18 Nov 16:50
Compare
Sorry, something went wrong.
No results found
FromOptional(file) API for easier local dev without ignoring/parsing err
support for *url.URL fields
internal rearchitecture. If any bugs were introduced please open an issue.
v1.4.0
27 Jul 17:29
Compare
Sorry, something went wrong.
No results found
Adds new Sub method on Builder which populates the target struct starting at the provided prefix
Added support for time.Duration
17 Mar 18:43
Compare
Sorry, something went wrong.
No results found
time.Duration values are now parsed using the time.ParseDuration ruleset!
v1.2.1
31 Oct 04:44
Compare
Sorry, something went wrong.
No results found
fixed bug where zero values for ints and bools would falsely error.
v1.2.0
31 Oct 04:14
Compare
Sorry, something went wrong.
No results found
Error handling!
To(*struct) now returns an error.
Bad file i/o no longer panics.
conversion errors are no longer ignored
I know this was a much requested feature, I too wanted idiomatic error handling. I just needed to sit on it a bit to find the right solution.
Hoping to improve it in the near future with a concrete and inspectable error type, keep an eye out for that.
v1.1.1
30 Oct 20:01
Compare
Sorry, something went wrong.
No results found
Clearer error messages
Better handling of file i/o errors
v1.1.0
07 Apr 19:10
Compare
Sorry, something went wrong.
No results found
Added struct tag support!
type MyConfig struct {
DatabaseURL string `config:"DATABASE_URL"`
}
v1.0.1
04 Apr 13:21
Compare
Sorry, something went wrong.
No results found
Fixed typo where Int16 was being parsed as Int26
v1.0.0
03 Apr 21:18
Compare
Sorry, something went wrong.
No results found