Skip to content

Releases: goccy/go-yaml

1.11.0

03 Apr 03:51
4052b05
Compare
Choose a tag to compare

What's Changed

  • Supports dynamically switch encode and decode processing for a given type by @goccy in #368

Full Changelog: v1.10.1...v1.11.0

1.10.1

28 Mar 09:08
1160c31
Compare
Choose a tag to compare

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

Full Changelog: v1.10.0...v1.10.1

1.10.0

01 Mar 08:03
11ad39b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.8...v1.10.0

1.9.8

19 Dec 05:38
6cdefc4
Compare
Choose a tag to compare

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

02 Dec 15:02
49dc308
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.6...v1.9.7

1.9.6

26 Oct 09:01
33858b4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.9.5...v1.9.6

1.9.5

12 Jan 10:53
e4f32a2
Compare
Choose a tag to compare

What's Changed

New Features

Fixed bugs

New Contributors

Full Changelog: v1.9.4...v1.9.5

1.9.4

12 Oct 08:53
b478465
Compare
Choose a tag to compare

What's Changed

  • Keep prev/next reference between tokens containing comments when filtering comment tokens by @goccy in #257
  • Supports escaping reserved keywords in PathBuilder by @goccy in #258

Full Changelog: v1.9.3...v1.9.4

1.9.3

07 Sep 12:00
bf7fe89
Compare
Choose a tag to compare

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 )

Improve workflow

  • Migrate CI from CircleCI to GitHub Action ( #249 )
  • Add workflow for ycat ( #250 )

1.9.2

26 Jul 05:05
Compare
Choose a tag to compare

Support WithComment option ( #238 )

yaml.WithComment is a option for encoding with comment.
The position where you want to add a comment is represented by YAMLPath, and it is the key of yaml.CommentMap.
Also, you can select Head comment or Line comment as the comment type.