diff --git a/CHANGELOG.md b/CHANGELOG.md index abd0d89..19cc9d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## `0.8.2` + +* (@teohanhui) Add the `missing=` annotation which allows the user to specify a + function to call to construct a value if no value was found in the document +* (@teohanhui) Add the `MaybeMissing` which tracks whether a value was present + in the document at all + ## `0.8.1` * Improvements to macro hygiene courtesy of @teohhanhui diff --git a/autosurgeon-derive/Cargo.toml b/autosurgeon-derive/Cargo.toml index d877f6e..23240b9 100644 --- a/autosurgeon-derive/Cargo.toml +++ b/autosurgeon-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "autosurgeon-derive" -version = "0.7.1" +version = "0.8.0" authors = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } diff --git a/autosurgeon/Cargo.toml b/autosurgeon/Cargo.toml index 756ebe2..692dcfe 100644 --- a/autosurgeon/Cargo.toml +++ b/autosurgeon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "autosurgeon" -version = "0.8.1" +version = "0.8.2" authors = { workspace = true } edition = { workspace = true } rust-version = { workspace = true } @@ -11,7 +11,7 @@ license = { workspace = true } [dependencies] automerge = { workspace = true } -autosurgeon-derive = { path = "../autosurgeon-derive", version = "0.7.1" } +autosurgeon-derive = { path = "../autosurgeon-derive", version = "0.8.0" } similar = "2.2.1" thiserror = "1.0.37" uuid = { version = "1.2.2", optional = true }