Releases: goccy/go-yaml
Releases · goccy/go-yaml
1.19.1
1.19.0
What's Changed
- Revert "feat: Dont make copies of structs for validation" by @shuheiktgw in #763
- Add decode option that allows specific field prefixes by @cpuguy83 in #795
- Normalize CR and CRLF in multi-line strings by @shuheiktgw in #754
- Support non string map keys by @shuheiktgw in #756
- Skip directive in path operations by @shuheiktgw in #758
- Add indentation to flow values on new lines by @shuheiktgw in #759
- Add support for RawMessage, similar to json.RawMessage by @thanethomson in #790
New Contributors
- @cpuguy83 made their first contribution in #795
- @thanethomson made their first contribution in #790
Full Changelog: v1.18.0...v1.19.0
1.18.0
What's Changed
- feat: add global
OmitEmptyencoding option by @bwplotka in #691 - chore: clarify omitempty behaviour. by @bwplotka in #696
- Treat output from TextMarshaler as string by @shuheiktgw in #698
- Update golangci-lint to v2.1.2 by @shuheiktgw in #701
- Tidy benchmarks/go.mod by @eikemeier in #686
- Remove testmod task by @goccy in #715
- Clean up encoder.go by @shuheiktgw in #703
- Fix validation error position for container type by @goccy in #716
- Add nil checking for error handling by @goccy in #719
- Ignore validation for alias map key by @goccy in #720
- Avoid returning an error for null document by @shuheiktgw in #721
- Add Go 1.24 to test matrix by @shuheiktgw in #722
- Set null value for empty document by @goccy in #725
- Support implicit null by @goccy in #727
- Support omitzero by @goccy in #729
- feat: Dont make copies of structs for validation by @shuheiktgw in #737
- Prevent panic when decoding string named types by @shuheiktgw in #743
- Fix misaligned indentation in comments by @shuheiktgw in #734
- Add support for multi-line double-quoted strings with CRLF line endings by @shuheiktgw in #744
- Update custom marshaler and unmarshaler to accept context by @pgeiem in #745
New Contributors
- @bwplotka made their first contribution in #691
- @eikemeier made their first contribution in #686
- @pgeiem made their first contribution in #745
Full Changelog: v1.17.1...v1.18.0
1.17.1
1.17.0
1.16.0
What's Changed
- Keep reference of anchor's value by @goccy in #660
- Support smart anchor option by @goccy in #662
- Add AutoInt option by @shuheiktgw in #671
- encodeMap() error handling and TestEncoder_UnmarshallableTypes() by @dorencambia in #674
- Fix tab character handling ( if ignore the tab character, do not increment the column number ) by @goccy in #676
New Contributors
- @dorencambia made their first contribution in #674
Full Changelog: v1.15.23...v1.16.0
1.15.23
1.15.22
1.15.21
What's Changed
- Fix handling of TextUnmarshaler by @goccy in #649
- Fix string representation of MappingNode in flow style by @semihbkgr in #623
- Make UseSingleQuote compliant with the YAML spec by @mumoshu in #647
- Fix format indent by @goccy in #653
Full Changelog: v1.15.20...v1.15.21