sdl2-sys breaking changes
sdl2-sys 0.39.0 (November 18, 2026) is its newest release with breaking changes, 12 of them. The first: Bindgen emits only SDL items, dropping platform-specific ones in sdl2-sys 0.39.0. Every breaking API change we have recorded in sdl2-sys on crates.io: 12 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.39.0, released November 18, 2026. Source repository
Its 0.39.0 release requires Rust 1.80 or later. Rust end of life dates.
sdl2-sys 0.39.0 breaking changes
- Removed
Platform, compiler and other non-SDL items are no longer generated, so code using them breaks. github.com - Behavior changed
BlendMode
Code that relies on internal details of BlendMode and SDL_BlendMode may break. github.com - Behavior changed
SDL_SysWMinfo
SDL_SysWMinfo is now opaque, so its fields can no longer be accessed. Use the raw-window-handle feature to get native window handles. github.com - Behavior changed
SDL_SysWMmsg
SDL_SysWMmsg is now opaque, so its fields can no longer be accessed. Use the raw-window-handle feature to get native window handles. github.com - Configuration changed
Builds now need Rust 1.80 or newer, so the toolchain must be upgraded. github.com - Configuration changed
The crate now needs Rust 1.80 or later because it uses std::sync::LazyLock instead of lazy_static. github.com - Signature changed
AudioCallback
Callbacks passed as AudioCallback must now be 'static. github.com - Signature changed
EventWatchCallback
Callers must now supply callbacks that are Send and 'static. github.com - Signature changed
SDL_Keymod
SDL_Keymod is no longer a Rust enum, so code matching on its variants must change. github.com - Signature changed
SDL_RendererFlip
SDL_RendererFlip is no longer a Rust enum, so code matching on its variants must change. github.com - Signature changed
SDL_SysWMinfo
Its fields are no longer accessible; use the raw-window-handle feature to get native window handles. github.com - Signature changed
SDL_SysWMmsg
Its fields are no longer accessible; use the raw-window-handle feature to get native window handles. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.