godot-rust / gdnative

Rust bindings for Godot 3
https://godot-rust.github.io
MIT License
3.61k stars 210 forks source link

Update glam requirement from 0.24 to 0.25 #1064

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Updates the requirements on glam to permit the latest version.

Changelog

Sourced from glam's changelog.

[0.25.0] - 2023-12-19

Breaking changes

  • Changed Vec4 to always used BVec4A as a mask type, regardless if the target architecture has SIMD support in glam. Previously this was inconsistent on different hardware like ARM. This will have a slight performance cost when SIMD is not available. Vec4 will continue to use BVec4 as a mask type when the scalar-math feature is used.

Fixed

  • Made Affine2 implement the bytemuck::AnyBitPattern trait instead of bytemuck::Pod as it contains internal padding due to Mat2 being 16 byte aligned.

  • Updated the core-simd implementation to build on latest nightly.

Added

  • Added to_angle method to 2D vectors.

  • Added FloatExt trait which adds lerp, inverse_lerp and remap methods to f32 and f64 types.

  • Added i16 and u16 vector types, I16Vec2, I16Vec3, I16Vec4, U16Vec2, U16Vec3 and U16Vec4.

Changed

  • Renamed Quat::as_f64() to Quat::as_dquat() and DQuat::as_f32() to DQuat::as_quat() to be consistent with other types. The old methods have been deprecated.

  • Added the #[must_use] attribute to all pure functions following the guidelines for the Rust standard library.

[0.24.2] - 2023-09-23

Fixed

  • Fixed singularities in Quat::to_euler.

Added

  • Added div_euclid and rem_euclid to integer vector types.

  • Added wrapping and saturating arithmetic operations to integer vector types.

  • Added to_scale_angle_translation to 2D affine types.

... (truncated)

Commits


Most Recent Ignore Conditions Applied to This Pull Request | Dependency Name | Ignore Conditions | | --- | --- | | glam | [>= 0.20.a, < 0.21] | | glam | [>= 0.21.a, < 0.22] |

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
GodotRust commented 8 months ago

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdnative/pr-1064