PyLD v1.0.0 Release Notes

Release Date: 2018-03-06 // about 6 years ago
  • Notes

    • 1.0.0!
    • Semantic Versioning is now past the "initial development" 0.x.y stage (after 6+ years!).
    • [Conformance](README.rst#conformance):
      • JSON-LD 1.0 + JSON-LD 1.0 errata
      • JSON-LD 1.1 drafts
    • Thanks to the JSON-LD and related communities and the many many people over the years who contributed ideas, code, bug reports, and support!

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Don't always use arrays for @graph. Fixes 1.0 compatibility issue.
    • ๐Ÿ–จ Process @type term contexts before key iteration.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ BREAKING: A dependency of pyld will not pull in [Requests][] anymore. One needs to define a dependency to pyld[requests] or create an explicit dependency on requests seperately. Use pyld[aiohttp] for [aiohttp][].
    • The default document loader is set to request_document_loader. If [Requests][] is not available, aiohttp_document_loader is used. When [aiohttp][] is not availabke, a dummy_document_loader is used.
    • ๐Ÿ‘‰ Use the W3C standard MIME type for N-Quads of "application/n-quads". Accept "application/nquads" for compatibility.

    โž• Added

    • ๐Ÿ‘Œ Support for asynchronous document loader library [aiohttp][].
    • Added dummy_document_loader which allows libraries to depend on pyld without depending on [Requests][] or [aiohttp][].
    • โœ… The test runner contains an additional parameter -l to specify the default document loader.
    • Expansion and Compaction using scoped contexts on property and @type terms.
    • Expansion and Compaction of nested properties.
    • Index graph containers using @id and @index, with @set variations.
    • Index node objects using @id and @type, with @set variations.
    • ๐Ÿ”€ Framing default and named graphs in addition to merged graph.
    • Value patterns when framing, allowing a subset of values to appear in the output.