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
Copy file name to clipboardExpand all lines: android-activity/CHANGELOG.md
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
+
## [0.5.1] - 2023-12-20
10
+
11
+
### Changed
12
+
- 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))
13
+
14
+
**Note:** Technically, this could be observed as a breaking change in case you
15
+
were depending on the `rwh_06` feature that was enabled by default in the
16
+
`ndk` crate. This could be observed via the `NativeWindow` type (exposed via
17
+
`AndroidApp::native_window()`) no longer implementing `rwh_06::HasWindowHandle`.
18
+
19
+
In the unlikely case that you were depending on the `ndk`'s `rwh_06` API
20
+
being enabled by default via `android-activity`'s `ndk` dependency, your crate
21
+
should explicitly enable the `rwh_06` feature for the `ndk` crate.
22
+
23
+
As far as could be seen though, it's not expected that anything was
24
+
depending on this (e.g. anything based on Winit enables the `ndk` feature
25
+
based on an equivalent `winit` feature).
26
+
27
+
The benefit of the change is that it can help avoid a redundant
28
+
`raw-window-handle 0.6` dependency in projects that still need to use older
29
+
(non-default) `raw-window-handle` versions. (Though note that this may be
30
+
awkward to achieve in practice since other crates that depend on the `ndk`
31
+
are still likely to use default features and also pull in
32
+
`raw-window-handles 0.6`)
33
+
34
+
- 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))
35
+
- Improved IO error handling in `stdio-to-logcat` IO loop. ([#133](https://github.com/rust-mobile/android-activity/pull/133))
36
+
9
37
## [0.5.0] - 2023-10-16
10
38
### Added
11
39
- Added `MotionEvent::action_button()` exposing the button associated with button press/release actions ()
0 commit comments