v0.11.0
Highlights
Snake Case members possible with -z
in #56. Only slightly breaking change is a new #![allow(non_snake_case)]
line at top of file if not converting to snake_case. This can be turned off with -i
.
In general, the output format is a lot more controllable now with flags, and can read from stdin and files with -f
.
Also more bugfixes.
What's Changed
- Allow reading file from stdin with kopium -f - by @clux in #50
- Allow hiding kube derive instructions with --hide-kube by @clux in #51
- Allow deriving JsonSchema on structs by @clux in #53
- Add --schema flag to set kube-derive schema mode by @clux in #55
- Add optional snake_case conversion of member names by @clux in #56
- Add --auto shorthand for automation options by @clux in #58
- Fix --derive not adding derives to child structs by @clux in #59
- Fix Map of String case in ServiceMonitor by @clux in #62
Plus these from the 0.10.0 release that was only out for a few hours:
- Allow reading CRDs from yaml file by @clux in #46
- Fix generation for maps of integers by @clux in #47
Full Changelog: v0.10.0...v0.11.0