v0.9.6 #263
pantoniou
announced in
Announcements
v0.9.6
#263
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
libfyaml v0.9.6
A release focused on API completeness and robustness: the public header is split into focused sub-headers, a new sequence sort API is added, the entire public API is hardened against NULL arguments, and a range of emitter, parser, walk, and threading bugs are fixed.
Major: Public Header Split
The monolithic
libfyaml.hhas been reorganized into focused sub-headers underinclude/libfyaml/. Existing code requires no changes — the main header still includes everything. Projects that want faster compilation can now include only the parts they need:All previously missing API documentation has been filled in as part of this work.
New API
fy_node_sequence_sort()Sort a sequence node's items using a custom comparator, mirroring
fy_node_mapping_sort()added in v0.9.5:API Hardening
The public API is now consistently guarded against NULL arguments throughout
fy_token_*,fy_emit_*, andfy_doc_*functions. Previously, passing NULL to certain functions could cause crashes. This is now handled gracefully.Fixes #252, #254, #255.
Bug Fixes
Emitter
fy_emit_mapping()Parser
<<: ~)fy_parser_event_resolve_hook_merge_key_start()error pathfy_reader_fetch_flow_scalar_handle()Walk (YPath)
Document API
fy_node_copy_to_scalar()handlingfy_node_by_path_internal()Threading
fy-tool Improvements
Build / Portability
DESTDIRwhen creating symlinks to fy-tool.gitattributes: Mark all text files as LF-terminatedPlatform Support
Supported platforms: Linux, macOS, FreeBSD, OpenBSD, NetBSD, and Windows.
Statistics
lenppointer validation across different APIs #252, Inconsistentfydpointer validation across different APIs (leads to Segfault) #254, Inconsistentbufpointer validation across different APIs #255)Installation
From Source
Using CMake
Resources
This discussion was created from the release v0.9.6.
Beta Was this translation helpful? Give feedback.
All reactions