Skip to content

Commit

Permalink
Release 1.0.10 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Sep 13, 2023
1 parent 675a178 commit bd770b3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 1.0.10
- Make bound deduction better for enums.
- Introduce `MaybeResolved`: a future that may already be resolved to handle "maybe async" functions.
- `stabby` now has support for custom allocators, and uses that to define truly ABI stable allocated types in the `realloc` module.
- While Rust's standard `Box` and `Arc` have stable layout, the default global allocator may change without `stabby` noticing,
they are therefore not truly ABI stable.
- `stabby::realloc`'s `Box`, `Arc` and `Vec` all support custom allocators, and prefix all allocations with the same layout,
this allows conversions between those types to never require a reallocation unless the target requires an allocation that the source
type didn't, like converting a `Vec` to an `Arc`.

# 1.0.9
- Introduce better matchers for pattern-matching emulations when at the borrrow checker would forbid the previously available ones:
`match_ref_ctx`, `match_mut_ctx` and `match_owned_ctx` all take a context, and one closure per variant; and only call the closure corresponding to the current variant, passing the context as first argument.
Expand Down
4 changes: 2 additions & 2 deletions stabby-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[package]
name = "stabby-abi"
version = "1.0.9"
version = "1.0.10"
edition = "2021"
authors = { workspace = true }
license = { workspace = true }
Expand All @@ -36,5 +36,5 @@ abi_stable = ["dep:abi_stable"]
abi_stable-channels = ["abi_stable", "abi_stable/channels"]

[dependencies]
stabby-macros = { path = "../stabby-macros/", version = "1.0.9" }
stabby-macros = { path = "../stabby-macros/", version = "1.0.10" }
abi_stable = { version = "0.11.2", optional = true }
2 changes: 1 addition & 1 deletion stabby-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[package]
name = "stabby-macros"
version = "1.0.9"
version = "1.0.10"
edition = "2021"
authors = { workspace = true }
license = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions stabby/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[package]
name = "stabby"
version = "1.0.9"
version = "1.0.10"
edition = "2021"
authors = { workspace = true }
license = { workspace = true }
Expand All @@ -32,7 +32,7 @@ libloading = ["dep:libloading", "std"]
libc = ["dep:libc"]

[dependencies]
stabby-abi = { path = "../stabby-abi/", version = "1.0.9" }
stabby-abi = { path = "../stabby-abi/", version = "1.0.10" }

lazy_static = "1.4.0"
libc = { version = "0.2", optional = true }
Expand Down

0 comments on commit bd770b3

Please sign in to comment.