Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 14, 2025

Bumps sdl2 from 0.37.0 to 0.38.0.

Changelog

Sourced from sdl2's changelog.

v0.38.0

[PR #1493](Rust-SDL2/rust-sdl2#1493) Add Rect::origin and specifies origin location in Rect::new.

[PR #1472](Rust-SDL2/rust-sdl2#1472) Add Canvas::render_geometry, Canvas::render_geometry_raw and an example that uses them both. Both these bindings use SDL_RenderGeometryRaw.

[PR #1473](Rust-SDL2/rust-sdl2#1473) BREAKING CHANGE Fix UB in ToColor implementations and remove implementation for isize.

[PR #1414](Rust-SDL2/rust-sdl2#1414) Use TTF_GlyphIsProvided32 and TTF_GlyphMetrics32 instead of the 16 bit ones.

[PR #1435](Rust-SDL2/rust-sdl2#1435) BREAKING CHANGE Fix some undefined behavior. Breaking changes: mixer::Chunk's fields are now private and callbacks to TimerSubsystem::add_timer must now live for 'static, also allowing some lifetime parameters to be removed.

[PR #1461](Rust-SDL2/rust-sdl2#1461) BREAKING CHANGE Added new SensorType variants: LeftGyroscope, RightGyroscope, LeftAccelerometer, RightAccelerometer

[PR #1461](Rust-SDL2/rust-sdl2#1461) BREAKING CHANGE Sensor::get_data now returns correct SensorData::Gyro enum

[PR #1437](Rust-SDL2/rust-sdl2#1437) BREAKING CHANGE Prevent users from creating Sdl2TtfContext out of nothing and use SDL's reference counting init/quit

[PR #1464](Rust-SDL2/rust-sdl2#1464) Added binding for Mix_OpenAudioDevice

[PR #1451](Rust-SDL2/rust-sdl2#1451) Add gamma_ramp_arrays and calculate_gamma_ramp.

[PR #1459](Rust-SDL2/rust-sdl2#1459) Fix image and mixer init flag logic

[PR #1444](Rust-SDL2/rust-sdl2#1444) Add texture scale mode api + fix unsafe

[PR #1415](Rust-SDL2/rust-sdl2#1415) Store gfx::framerate::FPSmanager directly in FPSManager instead of on the heap.

[PR #1450](Rust-SDL2/rust-sdl2#1450) BREAKING CHANGE Create ClippingRect type, to disambiguate between no and zero area clipping rect.

[PR #1416](Rust-SDL2/rust-sdl2#1416) Apply clippy fixes, fix deprecations and other code quality improvements.

[PR #1408](Rust-SDL2/rust-sdl2#1408) Allow comparing Versions, add constant with the version the bindings were compiled with.

[PR #1407](Rust-SDL2/rust-sdl2#1407) Add new use_ios_framework for linking to SDL2.framework on iOS

[PR #1427](Rust-SDL2/rust-sdl2#1427) BREAKING CHANGE Add system locale support. A new event type Event::LocaleChanged has been added.

Commits
  • 52de591 bump to v0.38.0
  • 6b7f42a fmt
  • 8ced128 Merge pull request #1455 from PARTYMANX/master
  • 5f65b60 Merge pull request #1493 from noahprice-dev/patch-1
  • c218534 Fix formatting error
  • 417305c Fix typo
  • 832048d Fix formatting for 'Rect::origin'
  • 10c3d93 Update changelog.md
  • e2e25e9 Adds origin() to Rect which returns the top and left position of a rectangle.
  • 633a355 Add reference to origin location to Rectangle doc comment
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [sdl2](https://github.com/Rust-SDL2/rust-sdl2) from 0.37.0 to 0.38.0.
- [Changelog](https://github.com/Rust-SDL2/rust-sdl2/blob/master/changelog.md)
- [Commits](Rust-SDL2/rust-sdl2@0.37.0...0.38.0)

---
updated-dependencies:
- dependency-name: sdl2
  dependency-version: 0.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants