You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we expose `ndk` types in the public API it makes sense to
re-export these APIs so users of android-activity can defer to these
without needing to manually sync the versions for explicit dependencies.
Copy file name to clipboardExpand all lines: android-activity/CHANGELOG.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
+
- The `ndk` and `ndk-sys` crates are now re-exported under `android_activity::ndk` and `android_activity::ndk_sys` ([#194](https://github.com/rust-mobile/android-activity/pull/194))
10
+
9
11
## [0.6.0] - 2024-04-26
10
12
11
13
### Changed
@@ -25,32 +27,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
27
### Changed
26
28
- Avoids depending on default features for `ndk` crate to avoid pulling in any `raw-window-handle` dependencies ([#142](https://github.com/rust-mobile/android-activity/pull/142))
27
29
28
-
**Note:** Technically, this could be observed as a breaking change in case you
29
-
were depending on the `rwh_06` feature that was enabled by default in the
30
-
`ndk` crate. This could be observed via the `NativeWindow` type (exposed via
31
-
`AndroidApp::native_window()`) no longer implementing `rwh_06::HasWindowHandle`.
30
+
**Note:** Technically, this could be observed as a breaking change in case you
31
+
were depending on the `rwh_06` feature that was enabled by default in the
32
+
`ndk` crate. This could be observed via the `NativeWindow` type (exposed via
33
+
`AndroidApp::native_window()`) no longer implementing `rwh_06::HasWindowHandle`.
32
34
33
-
In the unlikely case that you were depending on the `ndk`'s `rwh_06` API
34
-
being enabled by default via `android-activity`'s `ndk` dependency, your crate
35
-
should explicitly enable the `rwh_06` feature for the `ndk` crate.
35
+
In the unlikely case that you were depending on the `ndk`'s `rwh_06` API
36
+
being enabled by default via `android-activity`'s `ndk` dependency, your crate
37
+
should explicitly enable the `rwh_06` feature for the `ndk` crate.
36
38
37
-
As far as could be seen though, it's not expected that anything was
38
-
depending on this (e.g. anything based on Winit enables the `ndk` feature
39
-
based on an equivalent `winit` feature).
39
+
As far as could be seen though, it's not expected that anything was
40
+
depending on this (e.g. anything based on Winit enables the `ndk` feature
41
+
based on an equivalent `winit` feature).
40
42
41
-
The benefit of the change is that it can help avoid a redundant
42
-
`raw-window-handle 0.6` dependency in projects that still need to use older
43
-
(non-default) `raw-window-handle` versions. (Though note that this may be
44
-
awkward to achieve in practice since other crates that depend on the `ndk`
45
-
are still likely to use default features and also pull in
46
-
`raw-window-handles 0.6`)
43
+
The benefit of the change is that it can help avoid a redundant
44
+
`raw-window-handle 0.6` dependency in projects that still need to use older
45
+
(non-default) `raw-window-handle` versions. (Though note that this may be
46
+
awkward to achieve in practice since other crates that depend on the `ndk`
47
+
are still likely to use default features and also pull in
48
+
`raw-window-handles 0.6`)
47
49
48
50
- The IO thread now gets named `stdio-to-logcat` and main thread is named `android_main` ([#145](https://github.com/rust-mobile/android-activity/pull/145))
49
51
- Improved IO error handling in `stdio-to-logcat` IO loop. ([#133](https://github.com/rust-mobile/android-activity/pull/133))
50
52
51
53
## [0.5.0] - 2023-10-16
52
54
### Added
53
-
- Added `MotionEvent::action_button()` exposing the button associated with button press/release actions ()
55
+
- Added `MotionEvent::action_button()` exposing the button associated with button press/release actions ([#138](https://github.com/rust-mobile/android-activity/pull/138))
54
56
55
57
### Changed
56
58
- rust-version bumped to 0.68 ([#123](https://github.com/rust-mobile/android-activity/pull/123))
0 commit comments