Skip to content

Commit

Permalink
Releases v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tpt committed Dec 18, 2022
1 parent dd43dd3 commit 3f7eb15
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 20 deletions.
43 changes: 32 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<Subject>` and `From<Term>` for `GeneralizedTerm`, `TryFrom<GeneralizedTerm>` 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<GraphName>` (union of `NamedNode`, `BlankNode` and the default graph).
- Small optimization in formatters.
Expand Down Expand Up @@ -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<str>` 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
Expand All @@ -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
Expand All @@ -149,6 +169,7 @@
- Do not allow "[] ." lines in Turtle.
- Minor optimisations to the Turtle parser.


## [0.1.0] - 2019-07-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rio_api"
version = "0.7.1"
version = "0.8.0"
authors = ["Tpt <[email protected]>", "Pierre-Antoine Champin <[email protected]>"]
license = "Apache-2.0"
readme = "../README.md"
Expand Down
8 changes: 4 additions & 4 deletions testsuite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rio_testsuite"
version = "0.7.1"
version = "0.8.0"
authors = ["Tpt <[email protected]>"]
license = "Apache-2.0"
readme = "../README.md"
Expand All @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions turtle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rio_turtle"
version = "0.7.1"
version = "0.8.0"
authors = ["Tpt <[email protected]>", "Pierre-Antoine Champin <[email protected]>"]
license = "Apache-2.0"
readme = "../README.md"
Expand All @@ -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" }
4 changes: 2 additions & 2 deletions xml/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rio_xml"
version = "0.7.3"
version = "0.8.0"
authors = ["Tpt <[email protected]>"]
license = "Apache-2.0"
readme = "../README.md"
Expand All @@ -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"

0 comments on commit 3f7eb15

Please sign in to comment.