Releases: goccy/go-yaml
Releases · goccy/go-yaml
1.11.0
1.10.1
What's Changed
- Quote YAML 1.1 bools at encoding time for compatibility with other legacy parsers by @mumoshu in #354
- Update CI by @goccy in #364
- Update Go Version by @goccy in #365
- Don't trim all space characters in SequenceNode.blockStyleString by @martin-sucha in #361
- Add support of 32-bit architecture by @ozraru in #350
- Support strings starting with @ by @10io in #339
New Contributors
- @mumoshu made their first contribution in #354
- @ozraru made their first contribution in #350
- @10io made their first contribution in #339
Full Changelog: v1.10.0...v1.10.1
1.10.0
1.9.8
What's Changed
- ast: append new line at the end of file by @kurochan in #329
- Fix custom marshaler by @goccy in #333
- Care map node by @goccy in #334
- Fix behavior when struct fields conflicted by @goccy in #335
- scanner: fix position calculation for literal, folded and raw folded strings by @efd6 in #330
New Contributors
Full Changelog: v1.9.7...v1.9.8
1.9.7
1.9.6
What's Changed
- UTF-8 Support by @nervo in #294
- Update golang.org/x/sys by @nervo in #289
- fix incorrect const type by @chanxuehong in #284
- Update Go version in CI by @goccy in #295
- yaml: typeError implements PrettyPrinter interface by @braydonk in #280
- path tests: add missing keys to struct literals by @marco-m in #300
- Introduce MapKeyNode interface to limit node types for map key by @itchyny in #312
- Fix large literals type inference on 32 bits by @jrisc in #293
- fix: insert a separator between each encoded document by @zoncoen in #318
- Handle unmarshall unknown aliases by @nervo in #317
- Quote strings with special characters in flow mode. by @igorpeshansky in #270
New Contributors
- @chanxuehong made their first contribution in #284
- @braydonk made their first contribution in #280
- @marco-m made their first contribution in #300
- @itchyny made their first contribution in #312
- @jrisc made their first contribution in #293
- @igorpeshansky made their first contribution in #270
Full Changelog: v1.9.5...v1.9.6
1.9.5
What's Changed
New Features
- Add UseSingleQuote option by @vikstrous2 in #265
Fixed bugs
- Escape single quotes in single-quoted string by @martin-sucha in #256
- Fix minor typo in decodeInit error by @hasheddan in #264
- Preserve defaults while decoding nested structs by @Al2Klimov in #260
- Handle empty sequence entries by @tnthornton in #275
- Fix encoding of sequence with multiline string by @goccy in #276
- Fix encoding of BytesMarshaler type by @goccy in #277
- Fix indentState logic for multi-line value by @goccy in #278
New Contributors
- @martin-sucha made their first contribution in #256
- @hasheddan made their first contribution in #264
- @Al2Klimov made their first contribution in #260
- @tnthornton made their first contribution in #275
Full Changelog: v1.9.4...v1.9.5
1.9.4
1.9.3
New Features
- Support encoding and decoding
time.Duration
fields ( #246 ) - Allow reserved characters for key name in YAMLPath ( #251 )
- Support getting YAMLPath from ast.Node ( #252 )
- Support CommentToMap option ( #253 )
Fix bugs
- Fix encoding nested sequences with
yaml.IndentSequence
( #241 ) - Fix error reporting on inline structs in strict mode ( #244, #245 )
- Fix encoding of large floats ( #247 )