diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fa14c0..93165c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ ## Unreleased - ReleaseDate +- Add support in `cooklang::metadata` for [canonical + metadata](https://cooklang.org/docs/spec/#canonical-metadata), making it + easier to query these keys and expected values. +- Add warnings for missused canonical metadata keys. +- Improve custom checks for metadata keys. Now they can choose to skip the + included checks too. +- Fix ingredients aliases from aisle configuration not being merged in + `IngredientList`. (#24 @kaylee-kiako) + +## 0.14.0 - 2024/12/11 + +- Add YAML frontmatter for metadata. Deprecate old style metadata keys with the + `>>` syntax. This also comes with changes in the `cooklang::metadata` module. +- Add deprecation and how to fix warnings when using old style metadata. +- Remove `MULTILINE_STEPS`, `COMPONENT_NOTE`, `SECTIONS` and `TEXT_STEPS` + **extensions** as they are now part of the cooklang specification and are + always enabled. + ## 0.13.3 - 2024/08/12 - Replace `ariadne` dependency with `codesnake`. Because of this, errors may have some minor differences. diff --git a/Cargo.lock b/Cargo.lock index b54cd22..4547dea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,7 +273,6 @@ dependencies = [ "codesnake", "criterion", "either", - "emojis", "enum-map", "finl_unicode", "indoc", @@ -439,15 +438,6 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" -[[package]] -name = "emojis" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99e1f1df1f181f2539bac8bf027d31ca5ffbf9e559e3f2d09413b9107b5c02f4" -dependencies = [ - "phf", -] - [[package]] name = "enum-map" version = "2.7.3" @@ -957,24 +947,6 @@ dependencies = [ "sha2", ] -[[package]] -name = "phf" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" -dependencies = [ - "phf_shared", -] - -[[package]] -name = "phf_shared" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" -dependencies = [ - "siphasher", -] - [[package]] name = "pin-project-lite" version = "0.2.15" diff --git a/Cargo.toml b/Cargo.toml index 85e35a5..fe7958f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,6 @@ thiserror = "1" url = { version = "2", features = ["serde"] } pest = { version = "2", optional = true } pest_derive = { version = "2", optional = true } -emojis = "0.6" toml = { version = "0.8", optional = true } once_cell = "1" enum-map = { version = "2", features = ["serde"] } diff --git a/playground/index.html b/playground/index.html index 04d4cea..0d46481 100644 --- a/playground/index.html +++ b/playground/index.html @@ -174,9 +174,10 @@