From d5befbf64581a98224574826add03d0e332301b5 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Thu, 3 Oct 2024 16:50:53 +0200 Subject: [PATCH] Bump version --- CHANGELOG.md | 7 +++++++ Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 6 +++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54a3eac..3b7f412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 0.7.0 + +- **Breaking change:** `Entry::page_range` now returns + `Option<&MaybeTyped>` instead of `Option<&PageRanges>`. This fixes + a panic that occurred when a page range had an unknown format +- `MaybeTyped` now has an `as_typed` method + # 0.6.0 - **Breaking change:** Fix that the page range labels were not pluralized, diff --git a/Cargo.toml b/Cargo.toml index 8efd0bd..7a2aa21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hayagriva" -version = "0.6.0" +version = "0.7.0" authors = ["Martin Haug "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/README.md b/README.md index be4efcf..cb26469 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ default features by writing this in your `Cargo.toml`: ```toml [dependencies] -hayagriva = { version = "0.6", default-features = false } +hayagriva = { version = "0.7", default-features = false } ``` ### Selectors diff --git a/src/lib.rs b/src/lib.rs index c81eea9..2dfcc78 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,8 +13,8 @@ Language Association-style citation. Hayagriva supports all styles provided in the [official Citation Style Language repository](https://github.com/citation-style-language/styles), -currently over 2,600. You must provide your own style file, which can be -obtained there. +currently over 2,600. You can provide your own style files or use the ones +bundled with this library in the [`archive`] module. # Usage @@ -91,7 +91,7 @@ default features by writing this in your `Cargo.toml`: ```toml [dependencies] -hayagriva = { version = "0.6", default-features = false } +hayagriva = { version = "0.7", default-features = false } ``` # Selectors