rdf_core 0.6.4 copy "rdf_core: ^0.6.4" to clipboard
rdf_core: ^0.6.4 copied to clipboard

A type-safe, modular Dart library for modeling, parsing, and serializing RDF data.

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.6.4 - 2025-05-02 #

Fixed #

  • Fixed tests to use relative paths instead of absolute paths for better portability
  • Improved examples for handling broken Turtle syntax

0.6.3 - 2025-05-02 #

Added #

  • Enhanced Turtle parsing flexibility with configurable parsing flags in TurtleTokenizer
    • Added TurtleParsingFlag enum with options for handling non-standard Turtle syntax
    • Implemented support for digits in local names (allowDigitInLocalName)
    • Added support for missing dots after prefix declarations (allowMissingDotAfterPrefix)
    • Implemented auto-addition of common prefixes (autoAddCommonPrefixes)
    • Added support for prefix declarations without @ symbol (allowPrefixWithoutAtSign)
    • Improved handling of missing final dots (allowMissingFinalDot)
    • Implemented support for identifiers without colons (allowIdentifiersWithoutColon)
  • Improved error reporting with detailed position information and diagnostics
  • Added comprehensive logging to help diagnose parsing issues in real-world Turtle files
  • Support turtle literals for boolean, integer and decimal in turtle parser.
  • Support RDF collection turtle syntax in turtle parser.

Changed #

  • Refactored TurtleTokenizer for better maintainability and modularity
  • Improved documentation with practical examples of non-standard Turtle syntax handling

Fixed #

  • Made Turtle parser more robust when processing real-world datasets with syntax variations
  • Enhanced error messages to be more informative for debugging parsing issues

0.6.2 - 2025-05-01 #

Fixed #

  • Important fix: build.yaml should not have been committed, it breaks the build of user projects

0.6.1 - 2025-05-01 #

Changed #

  • Removed a deprecated annotation that was no longer needed after the vocabulary cleanup

0.6.0 - 2025-05-01 #

Removed #

  • BREAKING CHANGE: Removed all deprecated vocabulary classes from the vocab directory
    • Removed all previously deprecated vocabulary classes (SchemaProperties, SchemaTypes, SchemaPersonProperties, etc.)
    • Users should now use direct IriTerm instances instead of vocabulary classes
    • Example: replace SchemaProperties.name with IriTerm('https://schema.org/name')
  • Updated examples to use direct IriTerm instances rather than vocabulary constants

Added #

  • Improved documentation around IriTerm usage patterns
  • Added more comprehensive test coverage for core RDF functionality
  • Support for multiline strings in turtle files

0.5.1 - 2025-04-30 #

Fixed #

  • Fixed release script to correctly parse the changelog format with square brackets
  • Added missing development dependencies required for the release tooling

0.5.0 - 2025-04-30 #

  • BREAKING CHANGE: Marked all vocabulary classes as deprecated
    • Added @deprecated annotation to all classes in vocabulary modules (acl, dc, dc_terms, foaf, ldp, etc.)
    • Classes will be removed in a future release due to API design concerns
    • Users should migrate to the upcoming new vocabulary API
  • Improved code documentation
  • Enhanced developer warnings for approaching breaking changes

0.4.0 - 2025-04-29 #

  • BREAKING CHANGE: Reorganized API structure for better modularity and usability
  • Added RdfNamespaceMappings for improved namespace handling
  • Enhanced serializers to support custom namespace mappings
  • Improved documentation across the codebase
  • Updated API documentation to reflect new structure

0.3.1 #

  • Extended Schema.org vocabulary with postal address support
    • Added PostalAddress, ContactPoint, and Country classes
    • Added SchemaAddressProperties for complete address modeling
    • Added properties for street address, locality, region, postal code, country, etc.
  • Added comprehensive tests for new postal address components
  • Added example demonstrating postal address usage with Schema.org vocabulary

0.3.0 #

  • Enhanced blank node handling in RDF serialization and parsing
  • Refactored IriTerm usage with prevalidated constructor and improved validation logic
  • Refactored RDF Core Vocabulary: replaced constants with vocabulary modules
  • Added RDF vocabularies for RDFS, Schema.org, SKOS, Solid, and vCard
  • Improved documentation and consistency across RDF vocabularies
  • Added comprehensive tests for RDF exception handling and parsing
  • Enhanced test coverage for TurtleTokenizer and JsonLdFormat functionality
  • Fixed edge cases in blank node handling
  • Improved test assertions and documentation for various RDF vocabularies

0.2.0 #

  • Numerous improvements and new features since 0.1.2.
  • See commit history for details on all enhancements and fixes.

0.1.2 #

  • Cleaned up all library names for consistency (removed rdf_core. prefix, now use simple names like exceptions.base).
  • Minor formatting and style improvements in core files.
  • No breaking changes; all public APIs remain backward compatible.

0.1.1 #

  • Example and documentation now consistently use canonical RDF vocabularies (e.g., http://xmlns.com/foaf/0.1/) with http://, not https://.
  • Turtle and JSON-LD serializers automatically warn if non-canonical (https) namespaces are used when canonical (http) is available.
  • Added documentation and comments on best practices for prefixes and vocabularies.
  • Improved prefix handling and static analysis compliance.
  • Added and refined tests for prefix usage and serialization correctness.

0.1.0 #

  • Initial release of rdf_core: type-safe, extensible Dart library for RDF data manipulation.
  • Implements RDF graph, triple, term, and serialization/parsing for Turtle and JSON-LD.
  • Plugin architecture for formats and adapters.
  • Comprehensive test coverage.
4
likes
0
points
1.65k
downloads

Publisher

unverified uploader

Weekly Downloads

A type-safe, modular Dart library for modeling, parsing, and serializing RDF data.

Homepage
Repository (GitHub)
View/report issues

Topics

#rdf #linked-data #semantic-web #graph #serialization

Documentation

Documentation

License

unknown (license)

Dependencies

http, logging

More

Packages that depend on rdf_core