From 3f7eb15ad8aa204ee9f4577bc9ba9a7c17c05e2c Mon Sep 17 00:00:00 2001 From: Tpt Date: Sun, 18 Dec 2022 14:41:23 +0100 Subject: [PATCH] Releases v0.8.0 --- CHANGELOG.md | 43 ++++++++++++++++++++++++++++++++----------- api/Cargo.toml | 2 +- testsuite/Cargo.toml | 8 ++++---- turtle/Cargo.toml | 4 ++-- xml/Cargo.toml | 4 ++-- 5 files changed, 41 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1efca08..3351d6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,59 +1,73 @@ # Changelog +## [0.8.0] - 2022-12-18 + +### Added +- Generalized RDF: Quoted triples are now allowed to contain generalized terms. +- `GeneralizedNQuadsParser` for NQuads syntax with generalized RDF (all terms might be IRIs, blank nodes, literals, variables or quoted triples). +- XML: Properly resolves already declared entities in entity declarations. + +### Removed +- `From` and `From` for `GeneralizedTerm`, `TryFrom` for `Subject` and `Term`. Conversions between `Triple`, `Quad` and `GeneralizedQuad`. + +### Changed +- Upgrades `quick-xml` to 0.26 + + ## [0.7.3] - 2022-07-09 -## Changed +### Changed - Adds `RdfXmlParser::buffer_position`. ## [0.7.2] - 2022-06-11 -## Changed +### Changed - Upgrades `quick-xml` dependency of `rio_xml` to 0.23. ## [0.7.1] - 2022-03-25 -## Added +### Added - `TurtleParser::prefixes()` and `TriGParser::prefixes()` to fetch the list of IRI prefixes in the parsed file. ## [0.7.0] - 2022-03-05 -## Removed +### Removed - Adapters for [sophia_api](https://github.com/pchampin/sophia_rs). - Support of [oxiri](https://github.com/oxigraph/oxiri) 0.1. -## Changed +### Changed - Formatters now flushes when the `finish` method is called. - The `NTriplesFormatter` and `NQuadsFormatter` `finish` method is also now fallible. ## [0.6.2] - 2022-01-11 -## Added +### Added - Support of [oxiri](https://github.com/oxigraph/oxiri) 0.2. -## Changed +### Changed - The parsers now crashes before a possible stack overflow error when ready too many nested anonymous blank nodes, collections or RDF-star nested triples. ## [0.6.1] - 2021-07-28 -## Added +### Added - Support of [sophia_api](https://github.com/pchampin/sophia_rs) 0.7. -## Changed +### Changed - The Turtle/TriG parsers now enforce that named blank node identifiers do not collide with the identifiers auto generated by Rio. ## [0.6.0] - 2021-07-01 -## Added +### Added - Support of [RDF-star](https://w3c.github.io/rdf-star/cg-spec/) model. - Support of [RDF-star concrete syntaxes](https://w3c.github.io/rdf-star/cg-spec/#concrete-syntaxes): NTriples, NQuads, Turtle and TriG now support RDF-star by default. -## Changed +### Changed - The `Triple`s and `Quad` subject has the type `Subject` (union of `NamedNode`, `BlankNode` and `Triple`). - The `Quad` graph name has the type `Option` (union of `NamedNode`, `BlankNode` and the default graph). - Small optimization in formatters. @@ -101,26 +115,31 @@ - RDF/XML serializer now tries to extract predicate prefixes. - Use `u64` instead of `usize` to report file positions in order to support parsing big files on 32 bits systems. + ## [0.4.2] - 2020-04-04 - Normalizes all language tags to lowercase in the `rio_turtle` and `rio_xml` crates. - Introduces the `LanguageTag` struct to parse and normalize case of language tags. - Fixes Turtle parsing when the parser look ahead needs to span multiple lines. - Makes `Iri` implement `AsRef` and `FromStr`. + ## [0.4.1] - 2020-03-19 - Makes `Iri` allow resolving against base IRIs with not hierarchical path (like `file:foo`). - Upgrades `quick-xml` dependency to 0.18. + ## [0.4.0] - 2020-01-07 - Adds "generalized" RDF support and generalized Trig parser behind a "generalized" feature flag. - Allows to recover NTriples and NQuads parser errors, the parser jumps to the next line if the current line parsing fail. - Makes `Iri` parser do the full IRI validation. + ## [0.3.1] - 2019-09-02 ### Added - `Iri::as_str` and `Display` implementation to `rio_api`. + ## [0.3.0] - 2019-08-28 ### Added @@ -136,6 +155,7 @@ The same change have been applied to `QuadsParser`. - Literals formatting only escape the characters required by the canonical NTriples syntax. + ## [0.2.0] - 2019-08-11 ### Added @@ -149,6 +169,7 @@ - Do not allow "[] ." lines in Turtle. - Minor optimisations to the Turtle parser. + ## [0.1.0] - 2019-07-28 ### Added diff --git a/api/Cargo.toml b/api/Cargo.toml index 0ac85ac..1be9ae4 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rio_api" -version = "0.7.1" +version = "0.8.0" authors = ["Tpt ", "Pierre-Antoine Champin "] license = "Apache-2.0" readme = "../README.md" diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index 6204f38..18292d4 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rio_testsuite" -version = "0.7.1" +version = "0.8.0" authors = ["Tpt "] license = "Apache-2.0" readme = "../README.md" @@ -12,9 +12,9 @@ edition = "2018" publish = false [dependencies] -rio_api = { version = "0.7", path="../api" } -rio_turtle = { version = "0.7", path="../turtle" } -rio_xml = { version = "0.7", path="../xml" } +rio_api = { version = "0.8", path="../api" } +rio_turtle = { version = "0.8", path="../turtle" } +rio_xml = { version = "0.8", path="../xml" } oxiri = "0.2" permutohedron = "0.2" diff --git a/turtle/Cargo.toml b/turtle/Cargo.toml index 7cd3f74..6a4e4f6 100644 --- a/turtle/Cargo.toml +++ b/turtle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rio_turtle" -version = "0.7.1" +version = "0.8.0" authors = ["Tpt ", "Pierre-Antoine Champin "] license = "Apache-2.0" readme = "../README.md" @@ -21,4 +21,4 @@ generalized = ["rio_api/generalized"] [dependencies] oxilangtag = "0.1" oxiri = "0.2" -rio_api = { version = "0.7", path="../api" } +rio_api = { version = "0.8", path="../api" } diff --git a/xml/Cargo.toml b/xml/Cargo.toml index 33b224a..904f6ae 100644 --- a/xml/Cargo.toml +++ b/xml/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rio_xml" -version = "0.7.3" +version = "0.8.0" authors = ["Tpt "] license = "Apache-2.0" readme = "../README.md" @@ -20,5 +20,5 @@ default = [] [dependencies] oxilangtag = "0.1" oxiri = "0.2" -rio_api = { version = "0.7", path="../api" } +rio_api = { version = "0.8", path="../api" } quick-xml = "0.26"