diff --git a/Cargo.lock b/Cargo.lock index d376cd1..f3653fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -317,7 +317,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "merde" -version = "6.2.1" +version = "8.0.0" dependencies = [ "ahash", "merde_core", @@ -329,7 +329,7 @@ dependencies = [ [[package]] name = "merde_core" -version = "7.0.0" +version = "8.0.0" dependencies = [ "compact_bytes", "compact_str", @@ -344,7 +344,7 @@ dependencies = [ [[package]] name = "merde_json" -version = "6.2.1" +version = "8.0.0" dependencies = [ "itoa", "lexical-parse-float", @@ -358,14 +358,14 @@ dependencies = [ [[package]] name = "merde_loggingserializer" -version = "0.1.0" +version = "8.0.0" dependencies = [ "merde_core", ] [[package]] name = "merde_msgpack" -version = "7.1.1" +version = "8.0.0" dependencies = [ "merde_core", "merde_loggingserializer", @@ -374,7 +374,7 @@ dependencies = [ [[package]] name = "merde_time" -version = "4.0.17" +version = "8.0.0" dependencies = [ "merde_core", "merde_json", @@ -383,7 +383,7 @@ dependencies = [ [[package]] name = "merde_yaml" -version = "7.1.1" +version = "8.0.0" dependencies = [ "merde_core", "yaml-rust2", diff --git a/merde/CHANGELOG.md b/merde/CHANGELOG.md index be1b987..9b2ae99 100644 --- a/merde/CHANGELOG.md +++ b/merde/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0](https://github.com/bearcove/merde/compare/merde-v6.2.1...merde-v8.0.0) - 2024-11-04 + +### Other + +- Make compact_str / compact_bytes non-optional +- Introduce Serialize trait +- Don't allow trivial UB via FieldSlot in safe code +- I made miri sad +- Add deserializer opinions, cf. [#89](https://github.com/bearcove/merde/pull/89) +- woops wrong examples +- Actually query the stack size, don't hardcode anything +- The trick actually works +- Add surprise example + ## [6.2.1](https://github.com/bearcove/merde/compare/merde-v6.2.0...merde-v6.2.1) - 2024-10-07 ### Fixed diff --git a/merde/Cargo.toml b/merde/Cargo.toml index b25cfc1..03adb56 100644 --- a/merde/Cargo.toml +++ b/merde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "merde" -version = "6.2.1" +version = "8.0.0" edition = "2021" authors = ["Amos Wenger "] description = "Serialize and deserialize with declarative macros" @@ -56,11 +56,11 @@ path = "examples/opinions.rs" required-features = ["json"] [dependencies] -merde_core = { version = "7.0.0", path = "../merde_core", optional = true } -merde_json = { version = "6.2.1", path = "../merde_json", optional = true } -merde_yaml = { version = "7.1.1", path = "../merde_yaml", optional = true } -merde_msgpack = { version = "7.1.1", path = "../merde_msgpack", optional = true } -merde_time = { version = "4.0.17", path = "../merde_time", optional = true, features = [ +merde_core = { version = "8.0.0", path = "../merde_core", optional = true } +merde_json = { version = "8.0.0", path = "../merde_json", optional = true } +merde_yaml = { version = "8.0.0", path = "../merde_yaml", optional = true } +merde_msgpack = { version = "8.0.0", path = "../merde_msgpack", optional = true } +merde_time = { version = "8.0.0", path = "../merde_time", optional = true, features = [ "merde", "deserialize", ] } diff --git a/merde_core/CHANGELOG.md b/merde_core/CHANGELOG.md index f7312ce..5c7813e 100644 --- a/merde_core/CHANGELOG.md +++ b/merde_core/CHANGELOG.md @@ -6,6 +6,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0](https://github.com/bearcove/merde/compare/merde_core-v7.0.0...merde_core-v8.0.0) - 2024-11-04 + +### Added + +- Impl WithLifetime for Value (woops) + +### Other + +- Make compact_str / compact_bytes non-optional +- Introduce Serialize trait +- As pointed out, FieldSlot must be invariant +- We did ask miri +- More tests around FieldSlot ([#101](https://github.com/bearcove/merde/pull/101)) +- Don't allow trivial UB via FieldSlot in safe code +- I made miri unsad +- I made miri sad +- Add deserializer opinions, cf. [#89](https://github.com/bearcove/merde/pull/89) +- Introduce deserialization opinions +- macOS fixes +- Fix infinite stack linux support +- Oh yeah our MSRV is 1.75 because AFIT +- fine let's not make msrv rust 1.82 +- Actually query the stack size, don't hardcode anything +- Comments-- +- The trick actually works +- Committing before something bad happens +- Start the trick +- Deserialize borrowed variants of cowstr + ## [7.0.0](https://github.com/bearcove/merde/compare/merde_core-v6.1.0...merde_core-v7.0.0) - 2024-10-06 ### Added diff --git a/merde_core/Cargo.toml b/merde_core/Cargo.toml index 7f33cfc..f885287 100644 --- a/merde_core/Cargo.toml +++ b/merde_core/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "merde_core" -version = "7.0.0" +version = "8.0.0" authors = ["Amos Wenger "] description = "Base types for merde" license = "Apache-2.0 OR MIT" diff --git a/merde_json/CHANGELOG.md b/merde_json/CHANGELOG.md index f665982..110bfbb 100644 --- a/merde_json/CHANGELOG.md +++ b/merde_json/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0](https://github.com/bearcove/merde/compare/merde_json-v6.2.1...merde_json-v8.0.0) - 2024-11-04 + +### Other + +- Introduce Serialize trait + ## [6.2.1](https://github.com/bearcove/merde/compare/merde_json-v6.2.0...merde_json-v6.2.1) - 2024-10-07 ### Fixed diff --git a/merde_json/Cargo.toml b/merde_json/Cargo.toml index 10a1619..7b8e41f 100644 --- a/merde_json/Cargo.toml +++ b/merde_json/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "merde_json" -version = "6.2.1" +version = "8.0.0" edition = "2021" authors = ["Amos Wenger "] description = "JSON serialization and deserialization for merde, via jiter" @@ -13,7 +13,7 @@ categories = ["encoding", "parser-implementations"] [dependencies] itoa = "1.0.11" lexical-parse-float = { version = "0.8.5", features = ["format"] } -merde_core = { version = "7.0.0", path = "../merde_core" } +merde_core = { version = "8.0.0", path = "../merde_core" } num-bigint = { version = "0.4.6", optional = true } num-traits = { version = "0.2.19", optional = true } ryu = "1.0.18" diff --git a/merde_loggingserializer/Cargo.toml b/merde_loggingserializer/Cargo.toml index d455187..178a560 100644 --- a/merde_loggingserializer/Cargo.toml +++ b/merde_loggingserializer/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "merde_loggingserializer" -version = "0.1.0" +version = "8.0.0" edition = "2021" publish = false [dependencies] -merde_core = { version = "7.0.0", path = "../merde_core" } +merde_core = { version = "8.0.0", path = "../merde_core" } diff --git a/merde_msgpack/CHANGELOG.md b/merde_msgpack/CHANGELOG.md index 6bf0002..5b716c4 100644 --- a/merde_msgpack/CHANGELOG.md +++ b/merde_msgpack/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0](https://github.com/bearcove/merde/compare/merde_msgpack-v7.1.1...merde_msgpack-v8.0.0) - 2024-11-04 + +### Other + +- Introduce Serialize trait + ## [7.1.1](https://github.com/bearcove/merde/compare/merde_msgpack-v7.1.0...merde_msgpack-v7.1.1) - 2024-10-07 ### Fixed diff --git a/merde_msgpack/Cargo.toml b/merde_msgpack/Cargo.toml index 3b13801..e924070 100644 --- a/merde_msgpack/Cargo.toml +++ b/merde_msgpack/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "merde_msgpack" -version = "7.1.1" +version = "8.0.0" edition = "2021" authors = ["Amos Wenger "] description = "msgpack serizliation/deserialization for merde" @@ -11,7 +11,7 @@ keywords = ["msgpack", "messagepack", "serialization", "deserialization"] categories = ["encoding", "parser-implementations"] [dependencies] -merde_core = { version = "7.0.0", path = "../merde_core" } +merde_core = { version = "8.0.0", path = "../merde_core" } rmp = "0.8.14" [dev-dependencies] diff --git a/merde_time/CHANGELOG.md b/merde_time/CHANGELOG.md index 201d17b..9df731e 100644 --- a/merde_time/CHANGELOG.md +++ b/merde_time/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0](https://github.com/bearcove/merde/compare/merde_time-v4.0.17...merde_time-v8.0.0) - 2024-11-04 + +### Other + +- Introduce Serialize trait +- Also run tests on macOS ([#99](https://github.com/bearcove/merde/pull/99)) + ## [4.0.17](https://github.com/bearcove/merde/compare/merde_time-v4.0.16...merde_time-v4.0.17) - 2024-10-07 ### Other diff --git a/merde_time/Cargo.toml b/merde_time/Cargo.toml index 7d9d69e..a540fd1 100644 --- a/merde_time/Cargo.toml +++ b/merde_time/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "merde_time" -version = "4.0.17" +version = "8.0.0" authors = ["Amos Wenger "] description = "Wrapper date-time types for merde" license = "Apache-2.0 OR MIT" @@ -11,8 +11,8 @@ keywords = ["merde", "serialization", "deserialization"] categories = ["encoding", "parser-implementations"] [dependencies] -merde_core = { version = "7.0.0", path = "../merde_core", optional = true } -merde_json = { version = "6.2.1", path = "../merde_json", optional = true } +merde_core = { version = "8.0.0", path = "../merde_core", optional = true } +merde_json = { version = "8.0.0", path = "../merde_json", optional = true } time = "0.3.36" [dev-dependencies] diff --git a/merde_yaml/CHANGELOG.md b/merde_yaml/CHANGELOG.md index b016932..dc0d4d4 100644 --- a/merde_yaml/CHANGELOG.md +++ b/merde_yaml/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [8.0.0](https://github.com/bearcove/merde/compare/merde_yaml-v7.1.1...merde_yaml-v8.0.0) - 2024-11-04 + +### Other + +- Introduce Serialize trait + ## [7.1.1](https://github.com/bearcove/merde/compare/merde_yaml-v7.1.0...merde_yaml-v7.1.1) - 2024-10-06 ### Other diff --git a/merde_yaml/Cargo.toml b/merde_yaml/Cargo.toml index 96c8da3..ec88cec 100644 --- a/merde_yaml/Cargo.toml +++ b/merde_yaml/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "merde_yaml" -version = "7.1.1" +version = "8.0.0" edition = "2021" authors = ["Amos Wenger "] description = "YAML deserialization for merde" @@ -11,5 +11,5 @@ keywords = ["yaml", "serialization", "deserialization"] categories = ["encoding", "parser-implementations"] [dependencies] -merde_core = { version = "7.0.0", path = "../merde_core" } +merde_core = { version = "8.0.0", path = "../merde_core" } yaml-rust2 = { version = "0.8.1", default-features = false }