Important: This is the last release supporting Go 1.15.
What's Changed
Exciting New Features 馃帀
- Add etcd3 to supported remote providers by @franklinkim in https://github.com/spf13/viper/pull/1371
Enhancements 馃殌
- Fix go-staticcheck failures (ST1005) by @mjmaisey in https://github.com/spf13/viper/pull/1373
- Use jsonc in markdown codeblocks for better readability by @HurSungYun in https://github.com/spf13/viper/pull/1393
- Add Go 1.19 support by @sagikazarmark in https://github.com/spf13/viper/pull/1424
- Adds support for uint16 with
GetUint16by @oxisto in https://github.com/spf13/viper/pull/1405 - Add a DebugTo convenience funtion by @bcrochet in https://github.com/spf13/viper/pull/1414
Bug Fixes 馃悰
- Recurse into arrays when converting keys to lowercase by @awrichar in https://github.com/spf13/viper/pull/1387
Dependency Updates 猬嗭笍
- build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in https://github.com/spf13/viper/pull/1374
- build(deps): bump github.com/subosito/gotenv from 1.3.0 to 1.4.0 by @dependabot in https://github.com/spf13/viper/pull/1375
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2 by @dependabot in https://github.com/spf13/viper/pull/1378
- build(deps): bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 by @dependabot in https://github.com/spf13/viper/pull/1360
- build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 by @dependabot in https://github.com/spf13/viper/pull/1381
- build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 by @dependabot in https://github.com/spf13/viper/pull/1384
- build(deps): bump mheap/github-action-required-labels from 1 to 2 by @dependabot in https://github.com/spf13/viper/pull/1383
- build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 by @dependabot in https://github.com/spf13/viper/pull/1395
- build(deps): bump github.com/subosito/gotenv from 1.4.0 to 1.4.1 by @dependabot in https://github.com/spf13/viper/pull/1420
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.2 to 2.0.5 by @dependabot in https://github.com/spf13/viper/pull/1422
- build(deps): bump gopkg.in/ini.v1 from 1.66.4 to 1.67.0 by @dependabot in https://github.com/spf13/viper/pull/1412
New Contributors
- @mjmaisey made their first contribution in https://github.com/spf13/viper/pull/1373
- @HurSungYun made their first contribution in https://github.com/spf13/viper/pull/1393
- @franklinkim made their first contribution in https://github.com/spf13/viper/pull/1371
- @awrichar made their first contribution in https://github.com/spf13/viper/pull/1387
- @oxisto made their first contribution in https://github.com/spf13/viper/pull/1405
- @bcrochet made their first contribution in https://github.com/spf13/viper/pull/1414
Full Changelog: https://github.com/spf13/viper/compare/v1.12.0...v1.13.0