rdf_xml 0.4.0
rdf_xml: ^0.4.0 copied to clipboard
A rdf/xml decoder and encoder for https://pub.dev/packages/rdf_core .
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.4.0] - 2025-05-14 #
Changed #
- Updated to support rdf_core 0.9.0, which comes with breaking changes
[0.3.0] - 2025-05-13 #
Changed #
- Updated to support breaking changes in rdf_core 0.8.1:
- Updated API from
parse
/serialize
todecode
/encode
- Updated from
RdfFormat
toRdfGraphCodec
- Changed from
withStandardFormats
towithStandardCodecs
- Updated from
withFormats
towithCodecs
- Updated API from
- Added global
rdfxml
codec instance for easier access (following dart:convert pattern) - Simplified API in examples and documentation to use direct
rdfxml.encode()
andrdfxml.decode()
calls - Restructured example files to demonstrate both direct usage and RdfCore integration
[0.2.3] - 2025-05-07 #
Fixed #
- Improved handling of objects that are also subjects in RDF/XML parsing
- Fixed parsing issue identified through new test case
[0.2.1] - 2025-05-06 #
Changed #
- rdf_core arrived at 0.7.x, make rdf_xml depend on the current minor version.
[0.2.0] - 2025-05-06 #
Added #
- Comprehensive example files demonstrating basic usage, configuration options, and file handling
- Improved API documentation with more detailed explanations and usage examples
- Added robust roundtrip tests to ensure consistency between parsing and serialization
Changed #
- Updated landing page (doc/index.html) with correct code examples that match the current API
- Replaced deprecated API usage in documentation with current recommended patterns
- Regenerated API documentation to reflect the latest implementation
- Optimized namespace handling: only needed namespaces are now written in serialized output
- Improved overall code quality with various cleanups and refactorings
Fixed #
- Fixed serialization of nested BlankNodes
- Corrected literal parsing in collections
- Improved baseUri handling in the parser
- Fixed lang attribute handling when XML namespace was not properly declared
- Removed illogical serializer options that could lead to invalid output
- Various edge case fixes to improve robustness and correctness