π Version 1.2.0 is now available!
β¨ Key highlights
In this release, thanks to @Kamsiy we enabled dynamic styling without the need to rebuild the CLI binary. Both YAML and JSON files are supported. Configure options:
- Enable loading style from environment variable via
version.WithPrettyStyleFromEnv("ENV_NAME_FOR_FILE_PATH")
, - Load a style file directly using Go function,
version.WithPrettyStyleFile("file_path")
.
Read more at:
- https://version.szostok.io/customization/pretty/layout/#config-file
- https://version.szostok.io/customization/pretty/format/#config-file
What's Changed
Enhancements π
- Add example with global upgrade notice for cobra CLI by @mszostok in #61
- Add option to load config from file by @Kamsiy in #92
- Update docs, port bash script to Go, add example by @mszostok in #104
Other Changes β¨
- Update homepage with fixed typo by @mszostok in #59
- Update dependencies by @mszostok in #63
- Update dependencies by @mszostok in #82
- update test files by @Kamsiy in #95
- Bump all dependencies reported by Dependabot by @mszostok in #96
- Bump all dependencies, add target to refresh all go mods by @mszostok in #103
New Contributors
Full Changelog: v1.1.0...v1.2.0