Skip to content

Releases: goccy/go-yaml

1.9.1

20 Jul 01:43
Compare
Choose a tag to compare

Fix DecodeFromNode ( #237 )

  • Fix YAML handling where anchor exists

1.9.0

19 Jul 13:14
Compare
Choose a tag to compare

New features

  • Support encoding of comment node ( #233 )
  • Support yaml.NodeToValue(ast.Node, interface{}, ...DecodeOption) error ( #236 )
    • Can convert a AST node to a value directly

Fix decoder for comment

  • Fix parsing of literal with comment ( #234 )

Rename API ( #235 )

  • Rename MarshalWithContext to MarshalContext
  • Rename UnmarshalWithContext to UnmarshalContext

1.8.10

02 Jul 07:00
Compare
Choose a tag to compare

Fixed bugs

  • Fix searching anchor by alias name ( #212 )
  • Fixing Issue 186, scanner should account for newline characters when processing multi-line text. Without this source annotations line/column number (for this and all subsequent tokens) is inconsistent with plain text editors. e.g. #186. This addresses the issue specifically for single and double quote text only. ( #210 )
  • Add error for unterminated flow mapping node ( #213 )
  • Handle missing required field validation ( #221 )
  • Nicely format unexpected node type errors ( #229 )
  • Support to encode map which has defined type key ( #231 )

New features

  • Support sequence indentation by EncodeOption ( #232 )

1.8.9

01 Mar 10:27
Compare
Choose a tag to compare

Fix bugs

  • Fix origin buffer for DocumentHeader and DocumentEnd and Directive
  • Fix origin buffer for anchor value
  • Fix syntax error about map value
  • Fix parsing MergeKey ('<<') characters
  • Fix encoding of float value
  • Fix incorrect column annotation when single or double quotes are used

New feature

  • Support to encode/decode of ast.Node directly

1.8.8

02 Feb 09:27
868d322
Compare
Choose a tag to compare
Merge pull request #196 from nakabonne/avoid-panic

Allow -0 as an octet integer value

1.8.7

02 Feb 06:48
607728c
Compare
Choose a tag to compare

Changes

#194 #195

  • Return error when path not found
  • Support a new feature to help compare error instance

1.8.6

29 Jan 08:30
f6ab5cc
Compare
Choose a tag to compare
Merge pull request #192 from goccy/feature/fix-read-length

Reset read length at finished reading

1.8.5

21 Jan 12:18
7c371c2
Compare
Choose a tag to compare
Merge pull request #190 from go-vela/master

Allow ending document delimiter within tag values

1.8.4

13 Nov 04:32
bdb73b4
Compare
Choose a tag to compare
Merge pull request #179 from goccy/feature/fix-recursive-flow-style

Fix flow style for composite type

1.8.3

26 Oct 10:14
c48b2e8
Compare
Choose a tag to compare
v1.8.3

Merge pull request #167 from goccy/feature/support-json-marshaler-unm…