0.3.0
Breaking Changes
Generated Output Changes
- Float interpolations now render with explicit decimal notation - Floats like
1.0are now rendered as1.0instead of1, and-0.0is now preserved as-0.0. This affects both YAML and TOML output when interpolating Python float values. (#46)value = 1.0 # Before: value: 1 # After: value: 1.0
- YAML plain scalar interpolations with structural characters are now quoted - When interpolated values concatenated with literal text produce content containing YAML structural characters (
:,#, newlines, or leading indicators like-,?,:,[,{, etc.), the result is now JSON-quoted to prevent parsing ambiguity. (#46)colon = "foo: bar" t"key: pre{colon}" # Before: key: prefoo: bar (ambiguous YAML) # After: key: "prefoo: bar"
What's Changed
- Harden YAML scalar rendering by @koxudaxi in #46
- Improve runtime compatibility by @koxudaxi in #47
- Publish packages from releases by @koxudaxi in #48
Full Changelog: 0.2.2...0.3.0