Skip to content

0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Jul 10:11
b2a5748

Breaking Changes

Generated Output Changes

  • Float interpolations now render with explicit decimal notation - Floats like 1.0 are now rendered as 1.0 instead of 1, and -0.0 is 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

Full Changelog: 0.2.2...0.3.0