Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New versions + stop using pre-release versioning #464

Merged
merged 6 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions 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/block-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unstable-objfw = []
unstable-docsrs = ["objc-sys", "objc-sys/unstable-docsrs"]

[dependencies]
objc-sys = { path = "../objc-sys", version = "0.3.0", default-features = false, optional = true }
objc-sys = { path = "../objc-sys", version = "0.3.1", default-features = false, optional = true }

[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
Expand Down
6 changes: 6 additions & 0 deletions crates/block2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased - YYYY-MM-DD


## 0.2.0 - 2023-06-20

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


## 0.2.0-alpha.8 - 2023-02-07

### Changed
Expand Down
4 changes: 2 additions & 2 deletions crates/block2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "block2"
# Remember to update html_root_url in lib.rs and README.md
version = "0.2.0-alpha.8"
version = "0.2.0"
authors = ["Steven Sheldon", "Mads Marquart <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down 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.3.0-beta.5", default-features = false }
objc2 = { path = "../objc2", version = "0.4.0", 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/block2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
#![warn(clippy::cargo)]
#![warn(clippy::ptr_as_ptr)]
// Update in Cargo.toml as well.
#![doc(html_root_url = "https://docs.rs/block2/0.2.0-alpha.8")]
#![doc(html_root_url = "https://docs.rs/block2/0.2.0")]

extern crate alloc;
extern crate std;
Expand Down
5 changes: 5 additions & 0 deletions crates/icrate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## icrate Unreleased - YYYY-MM-DD


## icrate 0.0.3 - 2023-06-20

### Added
* Added the following frameworks:
- `HealthKit`
Expand Down Expand Up @@ -86,6 +89,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `iter_values` -> `values`.
* **BREAKING**: `NSDictionary::keys_retained` and
`NSDictionary::values_retained` now return an iterator instead.
* **BREAKING**: Updated `objc2` to `v0.4.0`.
* **BREAKING**: Updated `block2` to `v0.2.0`.

### Removed
* **BREAKING**: Removed various redundant `NSProxy` methods.
Expand Down
6 changes: 3 additions & 3 deletions crates/icrate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "icrate"
version = "0.0.2" # Remember to update html_root_url in lib.rs
version = "0.0.3" # Remember to update html_root_url in lib.rs
authors = ["Mads Marquart <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand All @@ -20,8 +20,8 @@ documentation = "https://docs.rs/icrate/"
license = "MIT"

[dependencies]
objc2 = { path = "../objc2", version = "=0.3.0-beta.5", default-features = false, optional = true }
block2 = { path = "../block2", version = "=0.2.0-alpha.8", default-features = false, optional = true }
objc2 = { path = "../objc2", version = "0.4.0", default-features = false, optional = true }
block2 = { path = "../block2", version = "0.2.0", default-features = false, optional = true }
dispatch = { version = "0.2.0", optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#![allow(clippy::identity_op)]
#![allow(clippy::missing_safety_doc)]
// Update in Cargo.toml as well.
#![doc(html_root_url = "https://docs.rs/icrate/0.0.2")]
#![doc(html_root_url = "https://docs.rs/icrate/0.0.3")]
#![recursion_limit = "512"]

#[cfg(feature = "alloc")]
Expand Down
6 changes: 6 additions & 0 deletions crates/objc-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased - YYYY-MM-DD


## 0.3.1 - 2023-06-20

### Added
* Improved documentation slightly.

### Changed
* Internal optimizations.


## 0.3.0 - 2023-02-07

Expand Down
2 changes: 1 addition & 1 deletion crates/objc-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "objc-sys"
#
# Also, beware of using pre-release versions here, since because of the
# `links` key, two pre-releases requested with `=...` are incompatible.
version = "0.3.0"
version = "0.3.1"
authors = ["Mads Marquart <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down
2 changes: 1 addition & 1 deletion crates/objc-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(non_snake_case)]
#![doc(html_root_url = "https://docs.rs/objc-sys/0.3.0")]
#![doc(html_root_url = "https://docs.rs/objc-sys/0.3.1")]
#![cfg_attr(feature = "unstable-c-unwind", feature(c_unwind))]
#![cfg_attr(feature = "unstable-docsrs", feature(doc_auto_cfg, doc_cfg_hide))]
#![cfg_attr(feature = "unstable-docsrs", doc(cfg_hide(doc)))]
Expand Down
6 changes: 6 additions & 0 deletions crates/objc2-encode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased - YYYY-MM-DD


## 2.0.0 - 2023-06-20

### Added
* Improved documentation slightly.


## 2.0.0-pre.4 - 2023-02-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion crates/objc2-encode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "objc2-encode"
# Remember to update html_root_url in lib.rs and README.md
version = "2.0.0-pre.4"
version = "2.0.0"
authors = ["Steven Sheldon", "Mads Marquart <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down
2 changes: 1 addition & 1 deletion crates/objc2-encode/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#![warn(clippy::cargo)]
#![warn(clippy::ptr_as_ptr)]
// Update in Cargo.toml as well.
#![doc(html_root_url = "https://docs.rs/objc2-encode/2.0.0-pre.4")]
#![doc(html_root_url = "https://docs.rs/objc2-encode/2.0.0")]
#![cfg_attr(feature = "unstable-c-unwind", feature(c_unwind))]

#[cfg(doctest)]
Expand Down
4 changes: 4 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.4.0 - 2023-06-20

### Added
* Added `objc2::rc::autoreleasepool_leaking`, and improve performance of
objects `Debug` impls.
Expand Down Expand Up @@ -77,6 +80,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Relaxed a `fmt::Debug` bound on `WeakId`'s own `fmt::Debug` impl.
* Changed `Debug` impl for `runtime::Class`, `runtime::Sel` and
`runtime::Protocol` to give more information.
* **BREAKING**: Updated `encode` module to `objc2-encode v2.0.0`.

### Fixed
* Fixed using autorelease pools on 32bit macOS and older macOS versions.
Expand Down
6 changes: 3 additions & 3 deletions crates/objc2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "objc2"
version = "0.3.0-beta.5" # Remember to update html_root_url in lib.rs
version = "0.4.0" # Remember to update html_root_url in lib.rs
authors = ["Steven Sheldon", "Mads Marquart <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down Expand Up @@ -77,8 +77,8 @@ unstable-compiler-rt = ["apple"]

[dependencies]
malloc_buf = { version = "1.0", optional = true }
objc-sys = { path = "../objc-sys", version = "0.3.0", default-features = false }
objc2-encode = { path = "../objc2-encode", version = "=2.0.0-pre.4", default-features = false }
objc-sys = { path = "../objc-sys", version = "0.3.1", default-features = false }
objc2-encode = { path = "../objc2-encode", version = "2.0.0", default-features = false }
objc2-proc-macros = { path = "../objc2-proc-macros", version = "0.1.1", optional = true }

[dev-dependencies]
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.3.0-beta.5")]
#![doc(html_root_url = "https://docs.rs/objc2/0.4.0")]

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