From 6e6c28ed5a5944f237e13e4d41a091bf623f30ae Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Sat, 24 Aug 2024 11:59:44 +0200 Subject: [PATCH] Release 0.5.0 --- CHANGELOG.md | 23 +++++++++++++++++++++++ Cargo.lock | 4 ++-- Cargo.toml | 2 +- examples/jotdown_wasm/Cargo.toml | 2 +- tests/afl/Cargo.lock | 2 +- 5 files changed, 28 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd466e3..240a0f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## [0.5.0](https://github.com/hellux/jotdown/releases/tag/0.5.0) - 2024-08-24 + +### Added + +- (breaking) `Attributes` events for dangling attribute sets (#56). +- Implement TryFrom<&str> for `Attributes`, allowing to use the attributes + parser on its own (#56). +- More examples in documentation (#56). +- `AttributeValue::new`, `AttributeValue::default` (#56). + +### Changed + +- (breaking) Replace `Render::push_borrowed`, `Render::write_borrowed` with + `RenderRef::push_ref`, `RenderRef::write_ref`. +- (breaking) Turn map-like opaque `Attributes` into wrapper of Vec<"AttributeElem"> (#56). +- (breaking) Preserve comments and duplicate values in attributes (#55, #56) + (but still do not render). +- (breaking) Block attributes followed by a blank line are not attached to the next block. + +### Fixed + +- Remove extra whitespaces in attribute values (#56). + ## [0.4.1](https://github.com/hellux/jotdown/releases/tag/0.4.1) - 2024-07-02 ### Added diff --git a/Cargo.lock b/Cargo.lock index 77b30ba..1aba777 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,11 +273,11 @@ dependencies = [ [[package]] name = "jotdown" -version = "0.4.1" +version = "0.5.0" [[package]] name = "jotdown_wasm" -version = "0.4.1" +version = "0.5.0" dependencies = [ "git2", "jotdown", diff --git a/Cargo.toml b/Cargo.toml index d91cab3..dfaea2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "jotdown" description = "A parser for the Djot markup language" authors = ["Noah Hellman "] -version = "0.4.1" +version = "0.5.0" license = "MIT" edition = "2021" rust-version = "1.56" diff --git a/examples/jotdown_wasm/Cargo.toml b/examples/jotdown_wasm/Cargo.toml index e308f54..90e5951 100644 --- a/examples/jotdown_wasm/Cargo.toml +++ b/examples/jotdown_wasm/Cargo.toml @@ -3,7 +3,7 @@ name = "jotdown_wasm" description = "Web demo of Jotdown" authors = ["Noah Hellman "] license = "MIT" -version = "0.4.1" +version = "0.5.0" edition = "2021" homepage = "https://hllmn.net/projects/jotdown" repository = "https://github.com/hellux/jotdown" diff --git a/tests/afl/Cargo.lock b/tests/afl/Cargo.lock index 5bc92f0..04ff321 100644 --- a/tests/afl/Cargo.lock +++ b/tests/afl/Cargo.lock @@ -120,7 +120,7 @@ dependencies = [ [[package]] name = "jotdown" -version = "0.4.1" +version = "0.5.0" [[package]] name = "jotdown-afl"