Skip to content

Commit 31a7b74

Browse files
committed
Merge changes from objc2-0.6.4 and dispatch2-0.3.1
2 parents 0dc236c + 8852b42 commit 31a7b74

File tree

8 files changed

+26
-11
lines changed

8 files changed

+26
-11
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/dispatch2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2424
- **BREAKING**: Removed incorrect `TryFrom<Duration>` impl on `DispatchTime`.
2525
- **BREAKING**: Removed deprecated aliases.
2626

27+
28+
## [0.3.1] - 2025-04-19
29+
[0.3.1]: https://github.com/madsmtm/objc2/compare/dispatch2-0.3.0...dispatch2-0.3.1
30+
2731
### Fixed
2832
- Fixed reference counting in `DispatchSemaphoreGuard::release`.
2933
- Inlined more functions. This should allow using this library on macOS 10.12 with `crate-type = ["dylib"]`.

crates/dispatch2/Cargo.modified.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
version = "0.3.0" # Remember to update html_root_url in lib.rs
2+
version = "0.3.1" # Remember to update html_root_url in lib.rs
33
description = "Bindings and wrappers for Apple's Grand Central Dispatch (GCD)"
44
keywords = ["gcd", "macos", "ios", "dispatch", "libdispatch"]
55
authors = ["Mads Marquart <mads@marquart.dk>", "Mary <mary@mary.zone>"]

crates/dispatch2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[package]
55
name = "dispatch2"
6-
version = "0.3.0" # Remember to update html_root_url in lib.rs
6+
version = "0.3.1" # Remember to update html_root_url in lib.rs
77
description = "Bindings and wrappers for Apple's Grand Central Dispatch (GCD)"
88
edition.workspace = true
99
rust-version.workspace = true

crates/dispatch2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#![warn(clippy::undocumented_unsafe_blocks)]
2424
#![warn(clippy::missing_safety_doc)]
2525
// Update in Cargo.toml as well.
26-
#![doc(html_root_url = "https://docs.rs/dispatch2/0.3.0")]
26+
#![doc(html_root_url = "https://docs.rs/dispatch2/0.3.1")]
2727

2828
#[cfg(not(feature = "alloc"))]
2929
compile_error!("The `alloc` feature currently must be enabled.");

crates/objc2/CHANGELOG.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1414
* Allow returning `Result<T, Retained<NSError>>` from `define_class!`.
1515

1616
## Changed
17-
* **BREAKING** (very slightly): `define_class!` now rejects non-static and
18-
non-unique class names.
1917
* **BREAKING**: Changed syntax for `define_class!` ivars (instance variables).
2018

2119
Note in particular the new `Ivars::<Self> { ... }` syntax, when
@@ -100,12 +98,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
10098
* Fixed encoding check when using SIMD types in signatures.
10199
* Fixed encoding check when using decaying arrays in signatures.
102100
* Allow declaring classes with ivars that require high alignment.
103-
* Allow classes created with `define_class!` to be used in multiple shared
104-
dynamic libraries in the same process.
105101
* Allow `return` in methods defined in `define_class!`.
106102
* Improved Rust-Analyzer support in `define_class!`.
107103

108104

105+
## [0.6.4] - 2026-02-26
106+
[0.6.3]: https://github.com/madsmtm/objc2/compare/objc2-0.6.3...objc2-0.6.4
107+
108+
## Added
109+
* Added support for the unstable `darwin_objc` feature.
110+
111+
## Changed
112+
* **BREAKING** (very slightly): `define_class!` now rejects non-static and
113+
non-unique class names.
114+
115+
## Fixed
116+
* Allow classes created with `define_class!` to be used in multiple shared
117+
dynamic libraries in the same process.
118+
119+
109120
## [0.6.3] - 2025-10-04
110121
[0.6.3]: https://github.com/madsmtm/objc2/compare/objc2-0.6.2...objc2-0.6.3
111122

crates/objc2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "objc2"
3-
version = "0.6.3" # Remember to update html_root_url in lib.rs
3+
version = "0.6.4" # Remember to update html_root_url in lib.rs
44
description = "Objective-C interface and runtime bindings"
55
keywords = ["objective-c", "macos", "ios", "objc_msgSend", "objc"]
66
categories = [

crates/objc2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
#![warn(clippy::missing_panics_doc)]
126126
#![allow(clippy::needless_doctest_main)]
127127
// Update in Cargo.toml as well.
128-
#![doc(html_root_url = "https://docs.rs/objc2/0.6.3")]
128+
#![doc(html_root_url = "https://docs.rs/objc2/0.6.4")]
129129
#![recursion_limit = "10240"] // TEMPORARY
130130

131131
#[cfg(not(feature = "alloc"))]

0 commit comments

Comments
 (0)