Skip to content

Commit fcb3e1d

Browse files
authored
Merge pull request #601 from madsmtm/new-versions
New versions
2 parents 9ffff8b + 8c44634 commit fcb3e1d

File tree

76 files changed

+168
-136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+168
-136
lines changed

Cargo.lock

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

crates/block2/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## Unreleased - YYYY-MM-DD
88

9+
10+
## 0.5.0 - 2024-04-17
11+
912
### Added
1013
* **BREAKING**: Added `Block::copy` to convert blocks to `RcBlock`. This
1114
replaces `StackBlock::copy`, but since `StackBlock` implements `Deref`, this

crates/block2/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "block2"
33
# Remember to update html_root_url in lib.rs
4-
version = "0.4.0"
4+
version = "0.5.0"
55
authors = ["Steven Sheldon", "Mads Marquart <mads@marquart.dk>"]
66
edition = "2021"
77
rust-version = "1.60"
@@ -54,7 +54,7 @@ unstable-private = []
5454
unstable-docsrs = []
5555

5656
[dependencies]
57-
objc2 = { path = "../objc2", version = "0.5.0", default-features = false }
57+
objc2 = { path = "../objc2", version = "0.5.1", default-features = false }
5858

5959
[package.metadata.docs.rs]
6060
default-target = "aarch64-apple-darwin"

crates/block2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
#![warn(clippy::missing_errors_doc)]
305305
#![warn(clippy::missing_panics_doc)]
306306
// Update in Cargo.toml as well.
307-
#![doc(html_root_url = "https://docs.rs/block2/0.4.0")]
307+
#![doc(html_root_url = "https://docs.rs/block2/0.5.0")]
308308
#![cfg_attr(feature = "unstable-docsrs", feature(doc_auto_cfg, doc_cfg_hide))]
309309
#![cfg_attr(feature = "unstable-docsrs", doc(cfg_hide(doc)))]
310310

crates/header-translator/src/default_cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ license = "MIT"
2121
workspace = true
2222

2323
[dependencies]
24-
objc2 = { path = "../../crates/objc2", version = "0.5.0", default-features = false, features = ["apple"] }
24+
objc2 = { path = "../../crates/objc2", version = "0.5.1", default-features = false, features = ["apple"] }
2525

2626
[package.metadata.docs.rs]
2727
default-target = "UNSET"

crates/header-translator/src/library.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ see that for related crates.", self.data.krate, self.link_name)?;
199199

200200
for (krate, required) in &dependencies {
201201
let (path, version) = match *krate {
202-
"block2" => ("../../crates/block2".to_string(), "0.4.0"),
202+
"block2" => ("../../crates/block2".to_string(), "0.5.0"),
203203
krate => (format!("../{krate}"), VERSION),
204204
};
205205
let mut table = InlineTable::from_iter([

crates/objc-sys/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## Unreleased - YYYY-MM-DD
88

9+
10+
## 0.3.3 - 2024-04-17
11+
912
### Added
1013
* Added `free` method (same as `libc::free`).
1114
* Moved documentation from `README.md` to `docs.rs`.

crates/objc-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "objc-sys"
55
#
66
# Also, beware of using pre-release versions here, since because of the
77
# `links` key, two pre-releases requested with `=...` are incompatible.
8-
version = "0.3.2"
8+
version = "0.3.3"
99
authors = ["Mads Marquart <mads@marquart.dk>"]
1010
edition = "2021"
1111
rust-version = "1.60"

crates/objc-sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
#![allow(non_upper_case_globals)]
170170
#![allow(non_snake_case)]
171171
#![allow(missing_debug_implementations)]
172-
#![doc(html_root_url = "https://docs.rs/objc-sys/0.3.2")]
172+
#![doc(html_root_url = "https://docs.rs/objc-sys/0.3.3")]
173173
#![cfg_attr(feature = "unstable-c-unwind", feature(c_unwind))]
174174
#![cfg_attr(feature = "unstable-docsrs", feature(doc_auto_cfg, doc_cfg_hide))]
175175
#![cfg_attr(feature = "unstable-docsrs", doc(cfg_hide(doc)))]

crates/objc2-encode/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77
## Unreleased - YYYY-MM-DD
88

99

10+
## 4.0.1 - 2024-04-17
11+
12+
### Changed
13+
* Build documentation on docs.rs on more Apple platforms.
14+
15+
1016
## 4.0.0 - 2023-12-03
1117

1218
### Changed

crates/objc2-encode/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "objc2-encode"
33
# Remember to update html_root_url in lib.rs
4-
version = "4.0.0"
4+
version = "4.0.1"
55
authors = ["Steven Sheldon", "Mads Marquart <mads@marquart.dk>"]
66
edition = "2021"
77
rust-version = "1.60"

crates/objc2-encode/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#![warn(clippy::missing_errors_doc)]
4141
#![warn(clippy::missing_panics_doc)]
4242
// Update in Cargo.toml as well.
43-
#![doc(html_root_url = "https://docs.rs/objc2-encode/4.0.0")]
43+
#![doc(html_root_url = "https://docs.rs/objc2-encode/4.0.1")]
4444

4545
#[cfg(doctest)]
4646
#[doc = include_str!("../README.md")]

crates/objc2/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## Unreleased - YYYY-MM-DD
88

9+
10+
## 0.5.1 - 2024-04-17
11+
912
### Added
1013
* Made the following runtime methods available without the `"malloc"` feature
1114
flag:

crates/objc2/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "objc2"
3-
version = "0.5.0" # Remember to update html_root_url in lib.rs
3+
version = "0.5.1" # Remember to update html_root_url in lib.rs
44
authors = ["Steven Sheldon", "Mads Marquart <mads@marquart.dk>"]
55
edition = "2021"
66
rust-version = "1.60"
@@ -103,8 +103,8 @@ unstable-compiler-rt = ["apple"]
103103

104104
[dependencies]
105105
malloc_buf = { version = "1.0", optional = true }
106-
objc-sys = { path = "../objc-sys", version = "0.3.2", default-features = false }
107-
objc2-encode = { path = "../objc2-encode", version = "4.0.0", default-features = false }
106+
objc-sys = { path = "../objc-sys", version = "0.3.3", default-features = false }
107+
objc2-encode = { path = "../objc2-encode", version = "4.0.1", default-features = false }
108108
objc2-proc-macros = { path = "../objc2-proc-macros", version = "0.1.1", optional = true }
109109

110110
[dev-dependencies]

crates/objc2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
#![warn(clippy::missing_errors_doc)]
160160
#![warn(clippy::missing_panics_doc)]
161161
// Update in Cargo.toml as well.
162-
#![doc(html_root_url = "https://docs.rs/objc2/0.5.0")]
162+
#![doc(html_root_url = "https://docs.rs/objc2/0.5.1")]
163163

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

crates/objc2/src/topics/about_generated/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
7272
`NSWindow::convertRectToScreen` and `NSWindow::convertPointFromScreen` as
7373
safe.
7474
* Renamed the `block` and `objective-c` feature flags to `block2` and `objc2`.
75+
* **BREAKING**: Updated `block2` to `v0.5`.
7576

7677
### Deprecated
7778
* Deprecated `Foundation::MainThreadMarker::run_on_main`, use the new

crates/test-ui/ui/declare_class_invalid_type.stderr

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

crates/tests/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ all = [
2626
"objc2-foundation/NSDictionary",
2727
"objc2-foundation/NSValue",
2828
"objc2-foundation/NSObject",
29+
"objc2-foundation/NSEnumerator",
30+
"objc2-foundation/NSObjCRuntime",
2931
]
3032

3133
apple = ["block2/apple", "objc2/apple", "objc2-foundation/apple"]

framework-crates/objc2-accessibility/Cargo.toml

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

framework-crates/objc2-ad-services/Cargo.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

framework-crates/objc2-ad-support/Cargo.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

framework-crates/objc2-app-kit/Cargo.modified.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[dependencies]
2-
objc2 = { path = "../../crates/objc2", version = "0.5.0", default-features = false }
3-
block2 = { path = "../../crates/block2", version = "0.4.0", default-features = false, optional = true }
2+
objc2 = { path = "../../crates/objc2", version = "0.5.1", default-features = false }
3+
block2 = { path = "../../crates/block2", version = "0.5.0", default-features = false, optional = true }
44

55
[features]
66
default = ["std", "apple"]

framework-crates/objc2-app-kit/Cargo.toml

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

framework-crates/objc2-authentication-services/Cargo.toml

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

framework-crates/objc2-automatic-assessment-configuration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

framework-crates/objc2-automator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

framework-crates/objc2-background-assets/Cargo.toml

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

framework-crates/objc2-background-tasks/Cargo.toml

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

framework-crates/objc2-business-chat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

framework-crates/objc2-call-kit/Cargo.toml

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

framework-crates/objc2-class-kit/Cargo.toml

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

framework-crates/objc2-cloud-kit/Cargo.toml

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

framework-crates/objc2-contacts/Cargo.toml

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

framework-crates/objc2-core-data/Cargo.modified.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[dependencies]
2-
objc2 = { path = "../../crates/objc2", version = "0.5.0", default-features = false }
3-
block2 = { path = "../../crates/block2", version = "0.4.0", default-features = false, optional = true }
2+
objc2 = { path = "../../crates/objc2", version = "0.5.1", default-features = false }
3+
block2 = { path = "../../crates/block2", version = "0.5.0", default-features = false, optional = true }
44

55
[features]
66
default = ["std", "apple"]

0 commit comments

Comments
 (0)