Skip to content

Commit

Permalink
Bump objc2 0.5.2 -> 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 22, 2025
1 parent 33b06a8 commit 36cf342
Show file tree
Hide file tree
Showing 115 changed files with 119 additions and 112 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crates/block2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Added `RcBlock::as_ptr`.
* Added `RcBlock::into_raw`.

### Changed
* **BREAKING**: Updated `objc2` dependency to `v0.6.0`.

### Fixed
* **BREAKING**: Converted function signatures into using `extern "C-unwind"`.
This allows unwinding through blocks.
Expand Down
2 changes: 1 addition & 1 deletion crates/block2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ unstable-private = []
unstable-coerce-pointee = []

[dependencies]
objc2 = { path = "../objc2", version = "0.5.2", default-features = false, features = ["std"] }
objc2 = { path = "../objc2", version = "0.6.0", default-features = false, features = ["std"] }

[dev-dependencies]
objc2-foundation = { path = "../../framework-crates/objc2-foundation", default-features = false, features = [
Expand Down
2 changes: 1 addition & 1 deletion crates/dispatch2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ workspace = true
bitflags = { version = "2.5.0", default-features = false, features = ["std"] }
block2 = { path = "../block2", version = "0.5.1", default-features = false, optional = true, features = ["alloc"] }
libc = { version = "0.2.80", default-features = false, optional = true }
objc2 = { path = "../objc2", version = "0.5.2", default-features = false, optional = true, features = ["std"] }
objc2 = { path = "../objc2", version = "0.6.0", default-features = false, optional = true, features = ["std"] }

[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
Expand Down
2 changes: 1 addition & 1 deletion crates/header-translator/src/library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ see that for related crates.", self.data.krate)?;
]),
"objc2" => InlineTable::from_iter([
("path", Value::from(path)),
("version", Value::from("0.5.2")),
("version", Value::from("0.6.0")),
]),
"block2" => InlineTable::from_iter([
("path", Value::from(path)),
Expand Down
3 changes: 3 additions & 0 deletions crates/objc2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased - YYYY-MM-DD


## 0.6.0 - 2025-01-22

### Added
* Added `AnyClass::is_metaclass`.
* Added `MainThreadMarker` from `objc2-foundation`.
Expand Down
2 changes: 1 addition & 1 deletion crates/objc2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "objc2"
version = "0.5.2" # Remember to update html_root_url in lib.rs
version = "0.6.0" # Remember to update html_root_url in lib.rs
description = "Objective-C interface and runtime bindings"
keywords = ["objective-c", "macos", "ios", "objc_msgSend", "objc"]
categories = [
Expand Down
2 changes: 1 addition & 1 deletion crates/objc2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
#![warn(clippy::missing_errors_doc)]
#![warn(clippy::missing_panics_doc)]
// Update in Cargo.toml as well.
#![doc(html_root_url = "https://docs.rs/objc2/0.5.2")]
#![doc(html_root_url = "https://docs.rs/objc2/0.6.0")]

#[cfg(not(feature = "alloc"))]
compile_error!("The `alloc` feature currently must be enabled.");
Expand Down
1 change: 1 addition & 0 deletions crates/objc2/src/topics/about_generated/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* **BREAKING**: No longer automatically enable `std` and `alloc` features of
dependencies. If you want a certain framework crate to use `std` or `alloc`
features, you cannot rely on a higher-level crate to enable that for you.
* **BREAKING**: Updated `objc2` dependency to `v0.6.0`.

### Deprecated
* Moved `MainThreadMarker` from `objc2-foundation` to `objc2`.
Expand Down
2 changes: 1 addition & 1 deletion framework-crates/objc2-accessibility/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-accounts/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-ad-services/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-ad-support/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-app-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-ar-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-audio-toolbox/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-authentication-services/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-automator/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-av-foundation/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-av-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-av-routing/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-avf-audio/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-background-assets/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-background-tasks/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-business-chat/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-call-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-class-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-cloud-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-color-sync/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-compositor-services/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-contacts-ui/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-contacts/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-core-audio-types/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-core-audio/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-core-bluetooth/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion framework-crates/objc2-core-data/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 36cf342

Please sign in to comment.