diff --git a/android-activity/CHANGELOG.md b/android-activity/CHANGELOG.md index 5a636f2..5f54509 100644 --- a/android-activity/CHANGELOG.md +++ b/android-activity/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.5.0] - 2023-10-16 +### Added +- Added `MotionEvent::action_button()` exposing the button associated with button press/release actions () + +### Changed +- rust-version bumped to 0.68 ([#123](https://github.com/rust-mobile/android-activity/pull/123)) +- *Breaking*: updates to `ndk 0.8` and `ndk-sys 0.5` ([#128](https://github.com/rust-mobile/android-activity/pull/128)) +- The `Pointer` and `PointerIter` types from the `ndk` crate are no longer directly exposed in the public API ([#122](https://github.com/rust-mobile/android-activity/pull/122)) +- All input API enums based on Android SDK enums have been made runtime extensible via hidden `__Unknown(u32)` variants ([#131](https://github.com/rust-mobile/android-activity/pull/131)) + ## [0.5.0-beta.1] - 2023-08-15 ### Changed - Pulled in `ndk-sys 0.5.0-beta.0` and `ndk 0.8.0-beta.0` ([#113](https://github.com/rust-mobile/android-activity/pull/113)) diff --git a/android-activity/Cargo.toml b/android-activity/Cargo.toml index 8b8aa9b..c6f2584 100644 --- a/android-activity/Cargo.toml +++ b/android-activity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "android-activity" -version = "0.5.0-beta.1" +version = "0.5.0" edition = "2021" keywords = ["android", "ndk"] readme = "../README.md" diff --git a/examples/agdk-mainloop/Cargo.toml b/examples/agdk-mainloop/Cargo.toml index acb84a9..c003445 100644 --- a/examples/agdk-mainloop/Cargo.toml +++ b/examples/agdk-mainloop/Cargo.toml @@ -9,8 +9,8 @@ edition = "2021" log = "0.4" android_logger = "0.11.0" android-activity = { path="../../android-activity", features = ["game-activity"] } -ndk-sys = "0.5.0-beta.0" -ndk = "0.8.0-beta.0" +ndk-sys = "0.5.0" +ndk = "0.8.0" [lib] name="main" diff --git a/examples/na-mainloop/.idea/.gitignore b/examples/na-mainloop/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/examples/na-mainloop/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/examples/na-mainloop/.idea/compiler.xml b/examples/na-mainloop/.idea/compiler.xml deleted file mode 100644 index fb7f4a8..0000000 --- a/examples/na-mainloop/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/examples/na-mainloop/.idea/gradle.xml b/examples/na-mainloop/.idea/gradle.xml deleted file mode 100644 index a2d7c21..0000000 --- a/examples/na-mainloop/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/examples/na-mainloop/.idea/misc.xml b/examples/na-mainloop/.idea/misc.xml deleted file mode 100644 index a6198f0..0000000 --- a/examples/na-mainloop/.idea/misc.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/examples/na-mainloop/.idea/vcs.xml b/examples/na-mainloop/.idea/vcs.xml deleted file mode 100644 index fdf1fc8..0000000 --- a/examples/na-mainloop/.idea/vcs.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/examples/na-mainloop/Cargo.toml b/examples/na-mainloop/Cargo.toml index 2014401..131b865 100644 --- a/examples/na-mainloop/Cargo.toml +++ b/examples/na-mainloop/Cargo.toml @@ -9,8 +9,8 @@ edition = "2021" log = "0.4" android_logger = "0.11.0" android-activity = { path="../../android-activity", features = [ "native-activity" ] } -ndk-sys = "0.5.0-beta.0" -ndk = "0.8.0-beta.0" +ndk-sys = "0.5.0" +ndk = "0.8.0" [lib] #name="na_mainloop"