Skip to content

Add flow style, anchors, tags, comments, and quoting - #189

Merged
eneshoxha merged 1 commit into
v3.0/releasefrom
v3/feature/188
Jan 29, 2026
Merged

Add flow style, anchors, tags, comments, and quoting#189
eneshoxha merged 1 commit into
v3.0/releasefrom
v3/feature/188

Conversation

@eneshoxha

Copy link
Copy Markdown
Contributor

Major feature release:

  • Support flow style collections ([...], {...}) in parser/emitter
  • Add anchors (&), aliases (*), and merge keys (<<) with resolution
  • Preserve and emit comments; attach to nodes for round-trip
  • Parse and emit custom tags (!tag, !!type)
  • Robust quoting/escaping for scalars; support all YAML scalar styles
  • Refactor scanner/parser for advanced YAML features
  • Expose new settings: PreferFlowStyle, EmitComments, PreserveComments, ResolveAnchors
  • Update docs and add comprehensive tests for new features
  • Backward compatible: block style YAML and previous settings remain default

Major feature release:
- Support flow style collections ([...], {...}) in parser/emitter
- Add anchors (&), aliases (*), and merge keys (<<) with resolution
- Preserve and emit comments; attach to nodes for round-trip
- Parse and emit custom tags (!tag, !!type)
- Robust quoting/escaping for scalars; support all YAML scalar styles
- Refactor scanner/parser for advanced YAML features
- Expose new settings: PreferFlowStyle, EmitComments, PreserveComments, ResolveAnchors
- Update docs and add comprehensive tests for new features
- Backward compatible: block style YAML and previous settings remain default
@eneshoxha eneshoxha added this to the Cortex v3.0 milestone Jan 29, 2026
@eneshoxha eneshoxha self-assigned this Jan 29, 2026
@eneshoxha eneshoxha added enhancement New feature or request feature This label is in use for minor version increments labels Jan 29, 2026
@eneshoxha
eneshoxha merged commit 959f802 into v3.0/release Jan 29, 2026
@eneshoxha
eneshoxha deleted the v3/feature/188 branch January 29, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature This label is in use for minor version increments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Extend Cortex.Serialization.Yaml to Support Full YAML Features

1 participant