Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-09-08 | 3.4 kB | |
v1.21.0 source code.tar.gz | 2025-09-08 | 122.0 kB | |
v1.21.0 source code.zip | 2025-09-08 | 140.8 kB | |
Totals: 3 Items | 266.2 kB | 0 |
What's Changed
Enhancements 🚀
- Add support for flags pflag.BoolSlice, pflag.UintSlice and pflag.Float64Slice by @nmvalera in https://github.com/spf13/viper/pull/2015
- feat: use maintained yaml library by @sagikazarmark in https://github.com/spf13/viper/pull/2040
Bug Fixes 🐛
- fix(config): get config type from v.configType or config file ext by @GuillaumeBAECHLER in https://github.com/spf13/viper/pull/2003
- fix: config type check when loading any config by @sagikazarmark in https://github.com/spf13/viper/pull/2007
Dependency Updates ⬆️
- Update dependencies by @sagikazarmark in https://github.com/spf13/viper/pull/1993
- build(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0 by @dependabot[bot] in https://github.com/spf13/viper/pull/2017
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 by @dependabot[bot] in https://github.com/spf13/viper/pull/2013
- build(deps): bump github.com/sagikazarmark/locafero from 0.8.0 to 0.9.0 by @dependabot[bot] in https://github.com/spf13/viper/pull/2008
- build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /remote by @dependabot[bot] in https://github.com/spf13/viper/pull/2016
- build(deps): bump github.com/spf13/cast from 1.8.0 to 1.9.2 by @dependabot[bot] in https://github.com/spf13/viper/pull/2020
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 by @dependabot[bot] in https://github.com/spf13/viper/pull/2028
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spf13/viper/pull/2035
- build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 by @dependabot[bot] in https://github.com/spf13/viper/pull/2036
- build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 by @dependabot[bot] in https://github.com/spf13/viper/pull/2012
- build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in https://github.com/spf13/viper/pull/2052
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in /remote by @dependabot[bot] in https://github.com/spf13/viper/pull/2048
- build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 by @dependabot[bot] in https://github.com/spf13/viper/pull/2056
- chore: update dependencies by @sagikazarmark in https://github.com/spf13/viper/pull/2057
Other Changes
- Update update guide with
mapstructure
package replacement. by @aldas in https://github.com/spf13/viper/pull/2004 - refactor: use the built-in max/min to simplify the code by @yingshanghuangqiao in https://github.com/spf13/viper/pull/2029
New Contributors
- @GuillaumeBAECHLER made their first contribution in https://github.com/spf13/viper/pull/2003
- @aldas made their first contribution in https://github.com/spf13/viper/pull/2004
- @nmvalera made their first contribution in https://github.com/spf13/viper/pull/2015
- @yingshanghuangqiao made their first contribution in https://github.com/spf13/viper/pull/2029
- @ccoVeille made their first contribution in https://github.com/spf13/viper/pull/2046
- @spacez320 made their first contribution in https://github.com/spf13/viper/pull/2050
Full Changelog: https://github.com/spf13/viper/compare/v1.20.0...v1.21.0