Skip to content

Commit

Permalink
Release ndk-build-0.5.0, cargo-apk-0.9.0 (#269)
Browse files Browse the repository at this point in the history
* Release ndk-build-0.5.0, cargo-apk-0.9.0
  • Loading branch information
MarijnS95 authored May 7, 2022
1 parent 52b0b07 commit 16ae6bc
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
9 changes: 6 additions & 3 deletions cargo-apk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Unreleased

- Use `min_sdk_version` to select compiler target instead of `target_sdk_version`. ([#197](https://github.com/rust-windowing/android-ndk-rs/pull/197))
# 0.9.0 (2022-05-07)

- **Breaking:** Use `min_sdk_version` to select compiler target instead of `target_sdk_version`. ([#197](https://github.com/rust-windowing/android-ndk-rs/pull/197))
See https://developer.android.com/ndk/guides/sdk-versions#minsdkversion for more details.
- Default `target_sdk_version` to `30` or lower (instead of the highest supported SDK version by the detected NDK toolchain)
- **Breaking:** Default `target_sdk_version` to `30` or lower (instead of the highest supported SDK version by the detected NDK toolchain)
for more consistent interaction with Android backwards compatibility handling and its increasingly strict usage rules:
https://developer.android.com/distribute/best-practices/develop/target-sdk
([#203](https://github.com/rust-windowing/android-ndk-rs/pull/203))
- Allow manifest `package` property to be provided in `Cargo.toml`. ([#236](https://github.com/rust-windowing/android-ndk-rs/pull/236))
- Add `MAIN` intent filter in `from_subcommand` instead of relying on a custom serialization function in `ndk-build`. ([#241](https://github.com/rust-windowing/android-ndk-rs/pull/241))
- Export the sole `NativeActivity` (through `android:exported="true"`) to allow it to be started by default if targeting Android S or higher. ([#242](https://github.com/rust-windowing/android-ndk-rs/pull/242))
- `cargo-apk` version can now be queried through `cargo apk version`
- `cargo-apk` version can now be queried through `cargo apk version`. ([#218](https://github.com/rust-windowing/android-ndk-rs/pull/218))
- Environment variables from `.cargo/config.toml`'s `[env]` section are now propagated to the process environment. ([#249](https://github.com/rust-windowing/android-ndk-rs/pull/249))

# 0.8.2 (2021-11-22)
Expand Down
4 changes: 2 additions & 2 deletions cargo-apk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-apk"
version = "0.8.2"
version = "0.9.0"
authors = ["The Rust Windowing contributors"]
edition = "2018"
description = "Helps cargo build APKs"
Expand All @@ -16,7 +16,7 @@ cargo-subcommand = "0.7.0"
dunce = "1.0.1"
env_logger = "0.8.2"
log = "0.4.14"
ndk-build = { path = "../ndk-build", version = "0.4.3" }
ndk-build = { path = "../ndk-build", version = "0.5.0" }
serde = "1.0.123"
thiserror = "1.0.23"
toml = "0.5.8"
6 changes: 4 additions & 2 deletions ndk-build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Unreleased

- Default `target_sdk_version` to `30` or lower (instead of the highest supported SDK version by the detected NDK toolchain)
# 0.5.0 (2022-05-07)

- **Breaking:** Default `target_sdk_version` to `30` or lower (instead of the highest supported SDK version by the detected NDK toolchain)
for more consistent interaction with Android backwards compatibility handling and its increasingly strict usage rules:
https://developer.android.com/distribute/best-practices/develop/target-sdk
- Remove default insertion of `MAIN` intent filter through a custom serialization function, this is better filled in by
- **Breaking:** Remove default insertion of `MAIN` intent filter through a custom serialization function, this is better filled in by
the default setup in `cargo-apk`. ([#241](https://github.com/rust-windowing/android-ndk-rs/pull/241))
- Add `android:exported` attribute to the manifest's `Activity` element. ([#242](https://github.com/rust-windowing/android-ndk-rs/pull/242))
- Add `android:sharedUserId` attribute to the manifest's top-level `manifest` element. ([#252](https://github.com/rust-windowing/android-ndk-rs/pull/252))
Expand Down
2 changes: 1 addition & 1 deletion ndk-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ndk-build"
version = "0.4.3"
version = "0.5.0"
authors = ["The Rust Windowing contributors"]
edition = "2018"
description = "Utilities for building Android binaries"
Expand Down
2 changes: 1 addition & 1 deletion ndk-glue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# 0.6.0 (2022-01-05)

- **Breaking:** Update to `ndk-sys 0.3.0` and `ndk 0.6.0`.
- **Breaking:** Update to `ndk-sys 0.3.0` and `ndk 0.6.0`. (#214)

# 0.5.2 (2022-04-19)

Expand Down
4 changes: 2 additions & 2 deletions ndk-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

- **Breaking:** Use `jni-sys` for low-level JNI types instead of those autogenerated by `bindgen` based on the header.
These JNI types are _not_ publicly (re)exported anymore. (#209)
- Regenerate against NDK 23.1.7779620, now including all Android-related headers (#201)
- Regenerate against NDK 23.1.7779620, now including all Android-related headers. (#201)

# 0.2.2 (2021-11-22)

- Regenerate against NDK 23.0.7599858 (#178)
- Regenerate against NDK 23.0.7599858. (#178)

# 0.2.1 (2020-10-15)

Expand Down
2 changes: 1 addition & 1 deletion ndk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# 0.6.0 (2022-01-05)

- **Breaking:** Upgrade to [`ndk-sys 0.3.0`](../ndk-sys/CHANGELOG.md#030-2022-01-05) and migrate to `jni-sys` types that it now directly uses in its bindings.
- **Breaking:** Upgrade to [`ndk-sys 0.3.0`](../ndk-sys/CHANGELOG.md#030-2022-01-05) and migrate to `jni-sys` types that it now directly uses in its bindings. (#209 / #214)

# 0.5.0 (2021-11-22)

Expand Down

0 comments on commit 16ae6bc

Please sign in to comment.