Skip to content

Commit

Permalink
Release v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jan 22, 2022
1 parent deda23c commit 31ae8d1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

[Unreleased]: https://github.com/fastobo/fastobo-owl/compare/v0.1.1...HEAD
[Unreleased]: https://github.com/fastobo/fastobo-owl/compare/v0.1.2...HEAD


## [v0.1.2] - 2022-01-22

[v0.1.2]: https://github.com/fastobo/fastobo-owl/compare/v0.1.1...v0.1.2

### Added
- `Syntax` variant to the `Error` enum returned when an invalid URL was created in `IntoOwl`.

### Fixed
- Uncaught panic when converting an `OboDoc` missing an `ontology` header clause.

### Changed
- Detect duplicate `ontology` header clause when converting an `OboDoc`.


## [v0.1.1] - 2022-01-20
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastobo-owl"
version = "0.1.1"
version = "0.1.2"
authors = ["Martin Larralde <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Add `fastobo-owl` to the `[dependencies]` sections of your `Cargo.toml`
manifest:
```toml
[dependencies]
fastobo-owl = "0.1.1"
fastobo-owl = "0.1.2"
```

Then use the `IntoOwl` trait to convert an [`OboDoc`] into any OWL ontology
Expand All @@ -51,6 +51,7 @@ let obo = fastobo::from_file("tests/data/ms.obo").expect("failed to read OBO fil

// extract prefixes from the OBO header, so that they can be used
// to build abbreviated IRIs when serializing the OWL output
// (note: this contains OBO default prefixes such as xsd, rdf, or oboInOwl)
let prefixes = obo.prefixes();

// convert the ontology to OBO (the ontology type is implied by the later
Expand Down

0 comments on commit 31ae8d1

Please sign in to comment.