Skip to content

yj v5.1.0

Latest
Compare
Choose a tag to compare
@sclevine sclevine released this 12 Apr 01:58

Changes

  • The -t flag now parses/emits TOML v1.0.0 instead of v1.0.0-rc.1.
  • Escaped quotes in TOML keys are now supported (#20).
  • The major version is now reflected in the module path (#22).
  • gopkg.in/yaml.v3 is upgraded to 496545a.
  • TOML again uses github.com/BurntSushi/toml (v1.1.0), fixing several upstream bugs.

Notes

  • The TOML encoder/decoder use new strategies for maintaining order (dynamic struct generation & key tracking).

Installation

Available for macOS via Homebrew:

$ brew install yj

Binaries for Linux, macOS, and Windows are attached below.

Alternatively, you may also install yj via go get:

$ go get github.com/sclevine/yj/[email protected]

yj is also available as a Docker image.