diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f818f2..005ee7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +## [0.3.0](https://github.com/hellux/jotdown/releases/tag/0.3.0) - 2023-05-16 + +### Added + +- Source maps, via `Parser::into_offset_iter` (#39). + +### Changed + +- (breaking) `Render::render_event` has been removed (#36), + `Render::{push,write}{,_borrowed}` take non-mutable reference of self. +- (breaking) Link definitions events are emmited (#36). +- (breaking) Footnote events are emitted as they are encountered (#36), instead + of at the end of the document. +- Empty spans are parsed as spans when followed by URL, label or attributes. +- (breaking) Div class is non-optional, no class yields empty class string. +- (breaking) `Container::CodeBlock.lang` renamed to `language`. +- (breaking) Code block language is non-optional, no specfier yields empty + string. +- Only ASCII whitespace is considered whitespace (#40). +- Performance improved, up to 20% faster (#40). + +### Fixed + +- Unclosed attributes after verbatim. +- Referenced headings with whitespace. +- Order of heading ids during lookup. +- Closing of math containers that end with backticks. +- Sole math containers in table cells. +- Attributes inside verbatim (#41). + ## [0.2.1](https://github.com/hellux/jotdown/releases/tag/0.2.1) - 2023-04-25 ### Changed diff --git a/Cargo.lock b/Cargo.lock index 5232ccb..c27d81a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -263,11 +263,11 @@ dependencies = [ [[package]] name = "jotdown" -version = "0.2.1" +version = "0.3.0" [[package]] name = "jotdown_wasm" -version = "0.2.1" +version = "0.3.0" dependencies = [ "git2", "jotdown", diff --git a/Cargo.toml b/Cargo.toml index 53604af..2fe74dd 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.2.1" +version = "0.3.0" license = "MIT" edition = "2021" keywords = ["djot", "markup"] diff --git a/examples/jotdown_wasm/Cargo.toml b/examples/jotdown_wasm/Cargo.toml index 762af3c..5f0c3fb 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.2.1" +version = "0.3.0" edition = "2021" homepage = "https://hllmn.net/projects/jotdown" repository = "https://github.com/hellux/jotdown"