From 2ad0dcc95e013b120bbd794bd2170100a3f79ed3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 07:14:54 +0000 Subject: [PATCH 1/3] Update glam requirement from 0.33.9 to 0.34.1 Updates the requirements on [glam](https://github.com/bitshifter/glam-rs) to permit the latest version. - [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitshifter/glam-rs/compare/0.33.9...0.34.1) --- updated-dependencies: - dependency-name: glam dependency-version: 0.34.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- benches/Cargo.toml | 2 +- crates/bevy_math/Cargo.toml | 4 ++-- crates/bevy_mesh/Cargo.toml | 2 +- crates/bevy_reflect/Cargo.toml | 2 +- crates/bevy_render/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 290db05ab81e3..d9628f152f181 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -44,7 +44,7 @@ bevy_platform = { path = "../crates/bevy_platform", optional = true, default-fea ] } # Other crates -glam = { version = "0.33.2", default-features = false, features = [ +glam = { version = "0.34.1", default-features = false, features = [ "std", "all-types", "rand", diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index eefc76e489893..27f676d635f8b 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["bevy"] rust-version = "1.94.0" [dependencies] -glam = { version = "0.33.9", default-features = false, features = [ +glam = { version = "0.34.1", default-features = false, features = [ "f64", "i32", "u32", @@ -38,7 +38,7 @@ approx = "0.5" rand = "0.10" # Enable the approx feature when testing. bevy_math = { path = ".", default-features = false, features = ["approx"] } -glam = { version = "0.33.9", default-features = false, features = ["approx"] } +glam = { version = "0.34.1", default-features = false, features = ["approx"] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] getrandom = { version = "0.4", default-features = false, features = [ diff --git a/crates/bevy_mesh/Cargo.toml b/crates/bevy_mesh/Cargo.toml index 5ab12d140819f..e84574c4b1e17 100644 --- a/crates/bevy_mesh/Cargo.toml +++ b/crates/bevy_mesh/Cargo.toml @@ -39,7 +39,7 @@ tracing = { version = "0.1", default-features = false, features = ["std"] } derive_more = { version = "2", default-features = false, features = ["from"] } half = { version = "2.4.1", features = ["bytemuck"] } encase = "0.13" -glam = { version = "0.33.9", default-features = false, optional = true } +glam = { version = "0.34.1", default-features = false, optional = true } [dev-dependencies] approx = "0.5" diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index 7ec0bf9abcaf2..ca160be7acbef 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -116,7 +116,7 @@ derive_more = { version = "2", default-features = false, features = ["from"] } serde = { version = "1", default-features = false, features = ["alloc"] } assert_type_match = "0.1.1" smallvec = { version = "1", default-features = false, optional = true } -glam = { version = "0.33.9", default-features = false, features = [ +glam = { version = "0.34.1", default-features = false, features = [ "serde", "float-types", "integer-types", diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index 4b171f20d5f96..11a5103467b22 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -100,7 +100,7 @@ downcast-rs = { version = "2", default-features = false, features = ["std"] } thiserror = { version = "2", default-features = false } derive_more = { version = "2", default-features = false, features = ["from"] } encase = "0.13" -glam = { version = "0.33.9", default-features = false, features = [ +glam = { version = "0.34.1", default-features = false, features = [ "std", "encase-013", ] } From cb1fc456d6913bc8dc1ae3cbe40262a536b80484 Mon Sep 17 00:00:00 2001 From: mnmaita <47983254+mnmaita@users.noreply.github.com> Date: Tue, 3 Nov 2026 09:57:06 +0100 Subject: [PATCH 2/3] Fixes glam features --- benches/Cargo.toml | 2 +- crates/bevy_math/Cargo.toml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/benches/Cargo.toml b/benches/Cargo.toml index d9628f152f181..8dc5a834189aa 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -47,7 +47,7 @@ bevy_platform = { path = "../crates/bevy_platform", optional = true, default-fea glam = { version = "0.34.1", default-features = false, features = [ "std", "all-types", - "rand", + "rand-010", "bytemuck", ] } rand = "0.10" diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index 27f676d635f8b..1e4f8678e1cc4 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -38,7 +38,9 @@ approx = "0.5" rand = "0.10" # Enable the approx feature when testing. bevy_math = { path = ".", default-features = false, features = ["approx"] } -glam = { version = "0.34.1", default-features = false, features = ["approx"] } +glam = { version = "0.34.1", default-features = false, features = [ + "approx-05", +] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] getrandom = { version = "0.4", default-features = false, features = [ @@ -60,9 +62,9 @@ alloc = ["serde?/alloc", "rand?/alloc"] serialize = ["dep:serde", "glam/serde"] # Enable approx for glam types to approximate floating point equality comparisons and assertions -approx = ["dep:approx", "glam/approx"] +approx = ["dep:approx", "glam/approx-05"] # Enable interoperation of glam types with mint-compatible libraries -mint = ["glam/mint"] +mint = ["glam/mint-05"] # Enable libm mathematical functions for glam types to ensure consistent outputs # across platforms at the cost of losing hardware-level optimization using intrinsics libm = ["dep:libm", "glam/libm"] @@ -71,7 +73,7 @@ glam_assert = ["glam/glam-assert"] # Enable assertions in debug builds to check the validity of parameters passed to glam debug_glam_assert = ["glam/debug-glam-assert"] # Enable the rand dependency for shape_sampling -rand = ["dep:rand", "glam/rand"] +rand = ["dep:rand", "glam/rand-010"] # Enable bevy_reflect (requires alloc) bevy_reflect = ["dep:bevy_reflect", "alloc"] # Enable libm mathematical functions as a fallback for no_std environments. From b92f43f9ddf916f90a976d9f79f690b37b7205c5 Mon Sep 17 00:00:00 2001 From: mnmaita <47983254+mnmaita@users.noreply.github.com> Date: Tue, 3 Nov 2026 10:02:38 +0100 Subject: [PATCH 3/3] Bumps glam version requirement to 0.34.2 --- benches/Cargo.toml | 2 +- crates/bevy_math/Cargo.toml | 4 ++-- crates/bevy_mesh/Cargo.toml | 2 +- crates/bevy_reflect/Cargo.toml | 2 +- crates/bevy_render/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 8dc5a834189aa..a42d4264030eb 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -44,7 +44,7 @@ bevy_platform = { path = "../crates/bevy_platform", optional = true, default-fea ] } # Other crates -glam = { version = "0.34.1", default-features = false, features = [ +glam = { version = "0.34.2", default-features = false, features = [ "std", "all-types", "rand-010", diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index 1e4f8678e1cc4..ee1df60c98b96 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["bevy"] rust-version = "1.94.0" [dependencies] -glam = { version = "0.34.1", default-features = false, features = [ +glam = { version = "0.34.2", default-features = false, features = [ "f64", "i32", "u32", @@ -38,7 +38,7 @@ approx = "0.5" rand = "0.10" # Enable the approx feature when testing. bevy_math = { path = ".", default-features = false, features = ["approx"] } -glam = { version = "0.34.1", default-features = false, features = [ +glam = { version = "0.34.2", default-features = false, features = [ "approx-05", ] } diff --git a/crates/bevy_mesh/Cargo.toml b/crates/bevy_mesh/Cargo.toml index e84574c4b1e17..4120552e83831 100644 --- a/crates/bevy_mesh/Cargo.toml +++ b/crates/bevy_mesh/Cargo.toml @@ -39,7 +39,7 @@ tracing = { version = "0.1", default-features = false, features = ["std"] } derive_more = { version = "2", default-features = false, features = ["from"] } half = { version = "2.4.1", features = ["bytemuck"] } encase = "0.13" -glam = { version = "0.34.1", default-features = false, optional = true } +glam = { version = "0.34.2", default-features = false, optional = true } [dev-dependencies] approx = "0.5" diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index ca160be7acbef..d09ec493f2395 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -116,7 +116,7 @@ derive_more = { version = "2", default-features = false, features = ["from"] } serde = { version = "1", default-features = false, features = ["alloc"] } assert_type_match = "0.1.1" smallvec = { version = "1", default-features = false, optional = true } -glam = { version = "0.34.1", default-features = false, features = [ +glam = { version = "0.34.2", default-features = false, features = [ "serde", "float-types", "integer-types", diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index 11a5103467b22..9e16b8b2e18e4 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -100,7 +100,7 @@ downcast-rs = { version = "2", default-features = false, features = ["std"] } thiserror = { version = "2", default-features = false } derive_more = { version = "2", default-features = false, features = ["from"] } encase = "0.13" -glam = { version = "0.34.1", default-features = false, features = [ +glam = { version = "0.34.2", default-features = false, features = [ "std", "encase-013", ] }