Repository navigation
Releases
Releases · gookit/ini
v2.3.3
Change Log
Refactor
- refactor(parse): use strings.Contains for the var-open check 3a6b9bd
Fixed
- fix(parser): quote encoded values the parser corrupts on reload (#106) 8a6642d
- fix: preserve updated values when exporting environment settings (#109) 9b3a12f
- fix: resolve nested variable references with ParseVar (#110) 235d6f4
- fix(ini): parse uint values as unsigned (#115) d8da932
Other
- build(deps): bump github/codeql-action from 3 to 4 (#94) 4b9653b
- build(deps): bump actions/checkout from 5 to 6 (#96) 8e0b7c0
- build(deps): bump github.com/gookit/goutil from 0.7.1 to 0.7.2 (#95) 5379e56
- build(deps): bump github.com/gookit/goutil from 0.7.2 to 0.7.3 (#97) bdbef90
- chore(ci): Switch the Go environment settings from setup-go-faster to the official setup-go@v6 d2df70c
- build(deps): bump github.com/go-viper/mapstructure/v2 (#98) 3b77cab
- build(deps): bump github.com/gookit/goutil from 0.7.3 to 0.7.4 (#99) 9204274
- build(deps): bump softprops/action-gh-release from 2 to 3 (#100) d05cf22
- build(deps): bump github.com/gookit/goutil from 0.7.4 to 0.7.5 (#101) c8eaadd
- build(deps): bump github.com/gookit/goutil from 0.7.5 to 0.7.6 (#102) 7af9fa2
- build(deps): bump actions/checkout from 6 to 7 (#103) e1b45c8
- build(deps): bump github.com/gookit/goutil from 0.7.6 to 0.8.0 (#104) dfec148
- build(deps): bump actions/setup-go from 6 to 7 (#105) 441f84a
- build(deps): bump github.com/gookit/goutil from 0.8.0 to 0.8.3 (#112) a20c969
- test(ini): pin the var-ref depth limit, document the helpers and stop the testdata churn 74e17e9
- test: migrate the deprecated testutil/assert import to x/assert cfd4bae
- build(deps): bump github.com/gookit/goutil from 0.8.3 to 0.8.4 (#113) a1e38c7
- chore(deps): bump github.com/gookit/goutil to v0.8.6 4564995
- chore(deps): drop the stale go.sum entries of the old goutil version f54a261
- Encode integer arrays instead of dropping them (#114) cc0e00b
v2.3.2
v2.3.1
Change Log
- ⬆️ dep: upgrade gookit/goutil v0.6.18 to v0.7.0 c9fde5a
v2.3.0
Change Log
Feature
- ✨ feat: add LoadMatched support load multi env file by pattern 12b5eb0
- ✨ feat: dotenv.Load filename support simple glob pattern 52eacf5
- ✨ feat: parser - refactoring the encode logic, support add comments and raw value 6aecaf2
- ✨ feat: collect comments on parse, will revert it on export 2754b2a
Update
- ✨ up: now, will parse ENV var on parse. fix issues #88 62b461b
- 👔 up: move map struct logic to the internal package acb395b
Other
- build(deps): bump WillAbides/setup-go-faster from 1.13.0 to 1.14.0 (#85) c036124
- build(deps): bump softprops/action-gh-release from 1 to 2 (#86) 894af9f
- build(deps): bump github.com/gookit/goutil from 0.6.15 to 0.6.16 (#87) 1bfbdeb
- build(deps): bump github.com/gookit/goutil from 0.6.16 to 0.6.18 (#90) de0e76c
- 👷 ci: add run unit test on go>1.21 b8ac603
- 👷 test: add more test cases for parser a05eded
- ✅ test: add more test cases and update some docs 9ceaae1
v2.2.3
Change Log
Feature
- feat: Create codeql.yml action check 2c7f836
Other
- build(deps): bump github.com/gookit/goutil from 0.6.7 to 0.6.8 (#65) e58aa0f
- build(deps): bump morphy2k/revive-action from 2.5.1 to 2.5.2 (#66) c6bae3a
- build(deps): bump github.com/gookit/goutil from 0.6.8 to 0.6.9 (#67) ed3fd63
- build(deps): bump github.com/gookit/goutil from 0.6.9 to 0.6.10 (#68) 7e747c2
- build(deps): bump github.com/gookit/goutil from 0.6.10 to 0.6.11 (#69) d42e031
- build(deps): bump WillAbides/setup-go-faster from 1.8.0 to 1.9.0 (#71) 6200daa
- build(deps): bump WillAbides/setup-go-faster from 1.9.0 to 1.9.1 (#72) 27fbf47
- build(deps): bump WillAbides/setup-go-faster from 1.9.1 to 1.10.0 (#73) 1c79461
- build(deps): bump morphy2k/revive-action from 2.5.2 to 2.5.3 (#75) 209d248
- build(deps): bump actions/checkout from 3 to 4 (#76) 40e833e
- build(deps): bump WillAbides/setup-go-faster from 1.10.0 to 1.10.1 (#74) 4aff1f9
- build(deps): bump WillAbides/setup-go-faster from 1.10.1 to 1.11.0 (#77) b34ef8c
- build(deps): bump WillAbides/setup-go-faster from 1.11.0 to 1.12.0 (#78) e77d2f5
- build(deps): bump morphy2k/revive-action from 2.5.3 to 2.5.4 (#81) 7106adf
- build(deps): bump WillAbides/setup-go-faster from 1.12.0 to 1.13.0 (#82) 951e7ed
- build(deps): bump morphy2k/revive-action from 2.5.4 to 2.5.5 (#84) 0fdf1b3
- build(deps): bump github.com/gookit/goutil from 0.6.11 to 0.6.15 (#83) 48bea9b
- ⬆️ dep: update the go.mod version to go1.19 d5e63f5
- 👷 ci: move the go code check to alone action script e30e012
v2.2.2
Change Log
- build(deps): bump github.com/gookit/goutil from 0.6.4 to 0.6.6 (#60) 892df1d
- build(deps): bump github.com/gookit/goutil from 0.6.6 to 0.6.7 (#61) 89acd24
- build(deps): bump morphy2k/revive-action from 2.4.1 to 2.5.0 (#62) 53164b0
- build(deps): bump morphy2k/revive-action from 2.5.0 to 2.5.1 (#63) 7b66f3b
- Don't add comments with a hashtag (#64) cfa29b0
- chore: update some for export comments aecff2a
What's Changed
- Don't add comments with a hashtag by @JKJameson in #64
New Contributors
- @JKJameson made their first contribution in #64
Full Changelog: v2.2.1...v2.2.2
v2.2.1
v2.2.0
v2.1.3
Change Log
Feature
- feat: parser add option - ReplaceNl replace the "\n" to newline 4caa23d
- feat: ini add option - ReplaceNl replace the "\n" to newline 744ab7f
- feat: parser - support split inline comments on parse d22fc9c
Update
- up: add some new method, update some parse logic d9f3019
- up: update go mod limit 1.18, use any replace interface{} 6a9d2cc
- up: update some parse logic, add more unit tests 3cc63bb
- up: update the parse value collect logic 79cd0ea
- up: parser - update the encode data to INI text logic 48d287d
- up: ini - use the parser.Encode to dump data as INI text 9407aad
- up: ini - update some value get and parse logic ffa5c50
- up: parser - optimize the encoding data to INI logic c30fe5e
- up: dotenv - update some get value method logic 052e9b2
- up: use the goutil/strutil/textscan refator the parse logic 5dbc2f4
- up: add more unit tests and update readme f80370d
Other
v2.1.2
Change Log
Fixed
Update
- up: update some ini parse logic, add some new func ab40d42
- up: pref some read and write config logic 77c6467
- up: add more unit tests, remove dep stretchr/testify 7df8e94
Other
- build(deps): bump github.com/gookit/goutil from 0.5.3 to 0.5.4 b7aadc9
- build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 cc35f0a
- build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 8020172
- build(deps): bump github.com/gookit/goutil from 0.5.4 to 0.5.5 00533cc
- build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 0c4142d
- build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 46fca58
- build(deps): bump github.com/gookit/goutil from 0.5.5 to 0.5.6 30a4d4f
- build(deps): bump github.com/gookit/goutil from 0.5.6 to 0.5.7 135414d
- build(deps): bump morphy2k/revive-action from 2.3.1 to 2.4.0 f76012a
- build(deps): bump github.com/gookit/goutil from 0.5.7 to 0.5.8 cdfcc9b
- chore: update some for gh release action ef375a6
- build(deps): bump github.com/gookit/goutil from 0.5.8 to 0.5.9 78f120f
- build(deps): bump github.com/gookit/goutil from 0.5.9 to 0.5.10 8eb45c4
- build(deps): bump github.com/gookit/goutil from 0.5.10 to 0.5.11 8d7adaa
- build(deps): bump github.com/gookit/goutil from 0.5.11 to 0.5.12 92aee19
- chore: update readme and go version limit c8a8ab2