From 645871e74edb2bef68e2267b6a9933b1939e44f9 Mon Sep 17 00:00:00 2001 From: Arnold Loubriat Date: Mon, 26 May 2025 19:48:36 +0200 Subject: [PATCH] Bump accesskit to 0.19 and accesskit_winit to 0.27 (#19160) # Objective - Update AccessKit crates to their latest versions. - Fixes #19040 ## Solution - Only modifying Cargo.toml files is needed, few changes under the hood but nothing impacting Bevy. ## Testing - I ran the tab_navigation example on Windows 11. --- Cargo.toml | 2 +- crates/bevy_a11y/Cargo.toml | 2 +- crates/bevy_ui/Cargo.toml | 2 +- crates/bevy_winit/Cargo.toml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ce588d5a60..5828e4e23b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -569,7 +569,7 @@ hyper = { version = "1", features = ["server", "http1"] } http-body-util = "0.1" anyhow = "1" macro_rules_attribute = "0.2" -accesskit = "0.18" +accesskit = "0.19" nonmax = "0.5" [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] diff --git a/crates/bevy_a11y/Cargo.toml b/crates/bevy_a11y/Cargo.toml index 759cf3e787..5ffab33d63 100644 --- a/crates/bevy_a11y/Cargo.toml +++ b/crates/bevy_a11y/Cargo.toml @@ -46,7 +46,7 @@ bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-dev", default-features = fa bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-dev", default-features = false, optional = true } # other -accesskit = { version = "0.18", default-features = false } +accesskit = { version = "0.19", default-features = false } serde = { version = "1", default-features = false, features = [ "alloc", ], optional = true } diff --git a/crates/bevy_ui/Cargo.toml b/crates/bevy_ui/Cargo.toml index 2874d8738b..da68c63cfe 100644 --- a/crates/bevy_ui/Cargo.toml +++ b/crates/bevy_ui/Cargo.toml @@ -41,7 +41,7 @@ thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = ["from"] } nonmax = "0.5" smallvec = "1.11" -accesskit = "0.18" +accesskit = "0.19" tracing = { version = "0.1", default-features = false, features = ["std"] } [features] diff --git a/crates/bevy_winit/Cargo.toml b/crates/bevy_winit/Cargo.toml index 5665a96029..341afa4f60 100644 --- a/crates/bevy_winit/Cargo.toml +++ b/crates/bevy_winit/Cargo.toml @@ -51,7 +51,7 @@ bevy_image = { path = "../bevy_image", version = "0.16.0-dev", optional = true } # other # feature rwh_06 refers to window_raw_handle@v0.6 winit = { version = "0.30", default-features = false, features = ["rwh_06"] } -accesskit_winit = { version = "0.25", default-features = false, features = [ +accesskit_winit = { version = "0.27", default-features = false, features = [ "rwh_06", ] } approx = { version = "0.5", default-features = false } @@ -60,7 +60,7 @@ raw-window-handle = "0.6" serde = { version = "1.0", features = ["derive"], optional = true } bytemuck = { version = "1.5", optional = true } wgpu-types = { version = "24", optional = true } -accesskit = "0.18" +accesskit = "0.19" tracing = { version = "0.1", default-features = false, features = ["std"] } [target.'cfg(target_arch = "wasm32")'.dependencies]