Skip to content

Commit

Permalink
Bump objc2 version 0.4.0 -> 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jul 31, 2023
1 parent b1bbb2d commit f668c4c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 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.

2 changes: 1 addition & 1 deletion crates/block2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
11 changes: 9 additions & 2 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.4.1 - 2023-07-31

### Added
* Allow using `MainThreadMarker` in `extern_methods!`.
* Added the feature flag `"relax-void-encoding"`, which when enabled, allows
Expand All @@ -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
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.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 <mads@marquart.dk>"]
edition = "2021"
rust-version = "1.60"
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 @@ -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.");
Expand Down

0 comments on commit f668c4c

Please sign in to comment.