v1.20.0-alpha.1
版本发布时间: 2024-06-06 21:13:03
spf13/viper最新发布版本:v1.20.0-alpha.3(2024-06-24 23:24:09)
The upcoming 1.20.0 release contains quite a few, large changes, so I decided to tag a few alpha/beta releases first.
Please give it a try and report back any issues. Thanks! ❤️
What's Changed
Enhancements 🚀
- Drop Go 1.20 support by @sagikazarmark in https://github.com/spf13/viper/pull/1846
- Drop slog shim by @sagikazarmark in https://github.com/spf13/viper/pull/1848
- Replace file searching API with a finder by @sagikazarmark in https://github.com/spf13/viper/pull/1849
- Finder feature flag by @sagikazarmark in https://github.com/spf13/viper/pull/1852
- Allow setting options on the global Viper instance by @sagikazarmark in https://github.com/spf13/viper/pull/1856
- Add experimental flag for bind struct by @sagikazarmark in https://github.com/spf13/viper/pull/1854
- Make the remote package a separate module by @sagikazarmark in https://github.com/spf13/viper/pull/1860
Bug Fixes 🐛
- Fix missing config type when reading from a buffer by @sagikazarmark in https://github.com/spf13/viper/pull/1857
Dependency Updates ⬆️
- chore: update mapstructure by @sagikazarmark in https://github.com/spf13/viper/pull/1723
- chore: update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1834
- build(deps): bump github/codeql-action from 3.25.7 to 3.25.8 by @dependabot in https://github.com/spf13/viper/pull/1853
Other Changes
- refactor: move remote code to separate file by @sagikazarmark in https://github.com/spf13/viper/pull/1847
Full Changelog: https://github.com/spf13/viper/compare/v1.19.0...v1.20.0-alpha.1