Releases
v2.2.10
Compare
Sorry, something went wrong.
No results found
Change Log
Refactor
refactor(config): run every data write under the data lock with its hook 1b04e49
refactor(read): name the slice-elem helper parseEnvString and document the contract c0ce4bb
refactor(read): walk the key path with maputil instead of a local copy 3fb41ba
Feature
feat(read): support array index path in Get, eg. parent.child[1] (#231 ) 87302e0
Fixed
fix(read): prevent panic on negative slice index in a key path (#221 ) c3e2b83
fix(export): return errors from configuration writes (#224 ) 621a487
fix(read): preserve the int64 range on 32-bit systems (#228 ) 46aa059
fix(read): bound check the int/uint conversion on 32-bit 226ec71
fix(read): parse the Uint value with the platform uint width 87608e8
fix: release the config lock before invoking set hooks (#225 ) e63f2c7
fix(config): keep the config data stable while a hook is running df5f568
fix: clear read caches when setting config values (#229 ) c4d38e6
fix: expand environment variables in string slices (#230 ) e7757e6
fix(read): parse env in StringMap for map[string]string values (#232 ) 4fdbc1c
fix(read): don't return the clamped value for an out of range int64 c9b0427
fix(read): parse env in Ints and IntMap before the conversion 5e44dc9
fix(read): reset the out of range float value like the int readers 1ab6cc9
Other
ci: run the unit tests with the race detector 994c46b
build(deps): bump github.com/gookit/goutil from 0.8.0 to 0.8.3 (#227 ) c947083
test: migrate the deprecated testutil/assert import to x/assert c272cf7
chore(config): drop the unused defaultValueTag const 3aaaf6c
test: cover the multi index path in the array index test 7ad4d86
test(read): pin the StringMap env contract for the cache and LoadData paths 629f1a1
build(deps): bump github.com/gookit/goutil from 0.8.3 to 0.8.4 (#234 ) 1200b6b
Lock configuration inspection reads during data replacement (#235 ) 88a1c0b
chore(deps): drop the stale go.sum entries of the old goutil version cb9a1db
Parse negative duration values during struct decoding (#236 ) 54bb633
Initialize the root map when writing after nil SetData (#237 ) d711809
chore(deps): upgrade github.com/gookit/ini/v2 to v2.3.3 32b93c0
test(config): dump TestIssues_59 into a temp dir 80e06d8
You can’t perform that action at this time.