Release 0.3.0

This commit is contained in:
Noah Hellman 2023-05-16 20:25:02 +02:00
parent e4569f5c3e
commit 0173db178a
4 changed files with 34 additions and 4 deletions

View file

@ -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

4
Cargo.lock generated
View file

@ -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",

View file

@ -2,7 +2,7 @@
name = "jotdown"
description = "A parser for the Djot markup language"
authors = ["Noah Hellman <noah@hllmn.net>"]
version = "0.2.1"
version = "0.3.0"
license = "MIT"
edition = "2021"
keywords = ["djot", "markup"]

View file

@ -3,7 +3,7 @@ name = "jotdown_wasm"
description = "Web demo of Jotdown"
authors = ["Noah Hellman <noah@hllmn.net>"]
license = "MIT"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
homepage = "https://hllmn.net/projects/jotdown"
repository = "https://github.com/hellux/jotdown"