diff --git a/CHANGELOG.md b/CHANGELOG.md index 2106703..8320612 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.5] - 2026-01-30 + +### Changed + +- Removed `Sized` bound from `Patchable` trait, restoring dynamic dispatch compatibility. + +## [0.5.4] - 2026-01-30 + +### Added + +- Added `cloneable` feature (enabled by default) to optionally derive `Clone` for generated patch types. + +### Changed + +- **Breaking**: Removed the `Clone` bound from the `Patchable::Patch` associated type. + ## [0.5.3] - 2026-01-30 ### Added @@ -80,6 +96,8 @@ Early development, and you shouldn't use these versions for your projects. - Automatic patch type generation - Basic field patching functionality +[0.5.5]: https://github.com/ShapelessCat/patchable/releases/tag/v0.5.5 +[0.5.4]: https://github.com/ShapelessCat/patchable/releases/tag/v0.5.4 [0.5.3]: https://github.com/ShapelessCat/patchable/releases/tag/v0.5.3 [0.5.2]: https://github.com/ShapelessCat/patchable/releases/tag/v0.5.2 [0.5.1]: https://github.com/ShapelessCat/patchable/releases/tag/v0.5.1 diff --git a/Cargo.lock b/Cargo.lock index d7ce264..d2587f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -44,7 +44,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "patchable" -version = "0.5.4" +version = "0.5.5" dependencies = [ "anyhow", "patchable-macro", @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "patchable-macro" -version = "0.5.4" +version = "0.5.5" dependencies = [ "proc-macro-crate", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 95a14c8..1abbd21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["patchable", "patchable-macro"] resolver = "3" [workspace.package] -version = "0.5.4" +version = "0.5.5" rust-version = "1.85" edition = "2024" repository = "https://github.com/ShapelessCat/patchable" diff --git a/README.md b/README.md index 34ea2b1..49228a8 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -patchable = "0.5.4" # You can use the latest version +patchable = "0.5.5" # You can use the latest version ``` Check this project's Cargo feature flags to see what you want to enable or disable. diff --git a/patchable/Cargo.toml b/patchable/Cargo.toml index 25c8b59..e7b80db 100644 --- a/patchable/Cargo.toml +++ b/patchable/Cargo.toml @@ -15,7 +15,7 @@ readme.workspace = true path = "src/lib.rs" [dependencies] -patchable-macro = { version = "0.5.4", path = "../patchable-macro" } +patchable-macro = { version = "0.5.5", path = "../patchable-macro" } serde.workspace = true serde_json.workspace = true anyhow.workspace = true