From f668c4c170b14f72ad24d1cae706c705e2e6b62d Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Mon, 31 Jul 2023 11:29:48 +0200 Subject: [PATCH] Bump objc2 version 0.4.0 -> 0.4.1 --- Cargo.lock | 2 +- crates/block2/Cargo.toml | 2 +- crates/icrate/Cargo.toml | 2 +- crates/objc2/CHANGELOG.md | 11 +++++++++-- crates/objc2/Cargo.toml | 2 +- crates/objc2/src/lib.rs | 2 +- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b38dab6fd..c8af9ab41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ dependencies = [ [[package]] name = "objc2" -version = "0.4.0" +version = "0.4.1" dependencies = [ "iai", "malloc_buf", diff --git a/crates/block2/Cargo.toml b/crates/block2/Cargo.toml index 7f308a943..aa9e67fa6 100644 --- a/crates/block2/Cargo.toml +++ b/crates/block2/Cargo.toml @@ -35,7 +35,7 @@ gnustep-2-0 = ["gnustep-1-9", "block-sys/gnustep-2-0", "objc2/gnustep-2-0"] gnustep-2-1 = ["gnustep-2-0", "block-sys/gnustep-2-1", "objc2/gnustep-2-1"] [dependencies] -objc2 = { path = "../objc2", version = "0.4.0", default-features = false } +objc2 = { path = "../objc2", version = "0.4.1", default-features = false } block-sys = { path = "../block-sys", version = "0.2.0", default-features = false } [package.metadata.docs.rs] diff --git a/crates/icrate/Cargo.toml b/crates/icrate/Cargo.toml index 46ea56424..2c229e088 100644 --- a/crates/icrate/Cargo.toml +++ b/crates/icrate/Cargo.toml @@ -20,7 +20,7 @@ documentation = "https://docs.rs/icrate/" license = "MIT" [dependencies] -objc2 = { path = "../objc2", version = "0.4.0", default-features = false, optional = true } +objc2 = { path = "../objc2", version = "0.4.1", default-features = false, optional = true } block2 = { path = "../block2", version = "0.2.0", default-features = false, optional = true } dispatch = { version = "0.2.0", optional = true } diff --git a/crates/objc2/CHANGELOG.md b/crates/objc2/CHANGELOG.md index e7b2237d9..fff46341f 100644 --- a/crates/objc2/CHANGELOG.md +++ b/crates/objc2/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## Unreleased - YYYY-MM-DD + +## 0.4.1 - 2023-07-31 + ### Added * Allow using `MainThreadMarker` in `extern_methods!`. * Added the feature flag `"relax-void-encoding"`, which when enabled, allows @@ -22,8 +25,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). under the old names as deprecated aliases. ### Fixed -* Updated `encode` types to those from `objc2-encode v3.0.0`. Should allow - this crate can be compiled together with pre-release versions. +* **BREAKING**: Updated `encode` types to those from `objc2-encode v3.0.0`. + + This is technically a breaking change, but it should allow this crate to be + compiled together with pre-release versions of it, meaning that in practice + strictly more code out there will compile because of this. Hence it was + deemed the better trade-off. ## 0.4.0 - 2023-06-20 diff --git a/crates/objc2/Cargo.toml b/crates/objc2/Cargo.toml index c9161e4a9..3daf326c2 100644 --- a/crates/objc2/Cargo.toml +++ b/crates/objc2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "objc2" -version = "0.4.0" # Remember to update html_root_url in lib.rs +version = "0.4.1" # Remember to update html_root_url in lib.rs authors = ["Steven Sheldon", "Mads Marquart "] edition = "2021" rust-version = "1.60" diff --git a/crates/objc2/src/lib.rs b/crates/objc2/src/lib.rs index 12077f1e3..716f477cc 100644 --- a/crates/objc2/src/lib.rs +++ b/crates/objc2/src/lib.rs @@ -166,7 +166,7 @@ #![warn(clippy::cargo)] #![warn(clippy::ptr_as_ptr)] // Update in Cargo.toml as well. -#![doc(html_root_url = "https://docs.rs/objc2/0.4.0")] +#![doc(html_root_url = "https://docs.rs/objc2/0.4.1")] #[cfg(not(feature = "alloc"))] compile_error!("The `alloc` feature currently must be enabled.");