Changelog History
Page 1
-
v0.35.2 Changes
PR #1173 Fix segfault when using timer callbacks
👍 PR #1183 WinRT support for raw-window-handle
⚡️ PR #1182 Updated raw-window-handle to 0.4
🗄 PR #1189 Added
AudioQueue::queue_audio
and deprecatedAudioQueue::queue
👍 PR #1164 Added raw-window-handle support for Android
PR #1165 Added binding for
SDL_GetDisplayOrientation
andSDL_DISPLAYEVENT
-
v0.35.0 Changes
💥 BREAKING CHANGE Update
sdl2-sys/sdl_bindings.rs
to use enums instead of consts. If you were usingsdl2-sys
's enum variants directly in your project, you may be affected. If you only used sdl2 calls, there should not be any problems.💥 BREAKING CHANGE SDL 2.0.14 or higher is now recommended due to the new binding being added for
SDL_OpenURL
. If you get linking errors, upgrade your SDL2 libraries, or swap to using thebundled
feature.
PR #1138 Added binding for
SDL_OpenURL
PR #1150 Do not download SDL2 sources when using bundled feature
PR #1112 Add wrapper functions for
SDL_RenderSetIntegerScale
andSDL_RenderGetIntegerScale
PR #1156 Maybe breaking change: new variants to enum
GameController
, and prevent panic with unrecognized buttons.PR #1153
SDL_GL_GetCurrentContext
andSDL_RenderFlush
added.PR #1131 Added Sensor API.
-
v0.34.5 Changes
PR #1100 Added binding for
SDL_GetDisplayUsableBounds
🐧 PR #1102 Correctly se linux and macSO built libraries when using bundled without static-link.
PR #1098 Fix potential heap corruption when using AudioCVT::convert
🏁 PR #1088 Rollback of PR #1081: Broke dynamic linking on Windows
🛠 Various fixes to CI.
-
v0.34.4 Changes
⚡️ PR #1086 Update bundled to use SDL2 2.0.14
PR #1033 Changed signature of TimerSubsystem::ticks to accept
&self
.PR #1057: fix memory safety bug in set_error
🚀 PR #1081: Allow bundled build to be built in debug mode. Fixes issue when linking binary with mixed debug+release CRT dependencies.
🏁 PR #1080: Fix line endings of patches to lf so patching of sources works on Windows.
PR #1031: Add patch to fix metal detection (https://bugzilla.libsdl.org/show_bug.cgi?id=4988)
-
v0.34 Changes
PR #962: ➕ Added
raw-window-handle
support for Windows, Linux (X11 and Wayland) and macOS.PR #964: 💥 Breaking change: Change joystick instance IDs from i32 to u32.
PR #965: ➕ Added invert method for Color, and added more Color names as constants.
PR #968 Pass SDL2 include directories to
sdl2-sys
's dependant crates throughDEP_SDL2_INCLUDE
.PR #970 ➕ Add
Chunk::from_buffer
in mixer.PR #976 🛠 Fix compilation with
use-bingen
feature.PR #977 Add
cpuinfo::has_avx2
andcpuinfo::has_avx512f
PR #982 👌 Support for loading Opus format in mixer.
PR #980 🛠 Fix compilation on Windows.
-
v0.33 Changes
PR #956 + PR #960 + PR #951: 🛠 Fix some build targets.
PR #948 + PR #957: ✂ Remove the
num
dependency.PR #947: ⬆️ Upgraded the "bundled" version of SDL2 to 2.0.10
PR #940: 💥 Breaking change Removed the
rand
dependency for random colors. You will have to implement your own random colors from now on.PR #933: 💥 Breaking change Removed AudioFormatNum::zero(), use AudioFormatNum::SILENCE constant instead.
PR #907: 🔄 Changed the data type to i32 for the
which
field for the eventsControllerDeviceAdded
andJoyDeviceAdded
.PR #882: 🗄 Ignore unknown bits in
SDL_Keysym
'smod
field (key modifiers) when constructingEvent::KeyDown
andEvent::KeyUp
. Deprecatesdl2::event::Event::unwrap_keymod
, which had been made public accidentally.PR #898: Implements
TryFrom<PixelFormatEnum>
forPixelFormat
PR #962: ➕ Added
raw-window-handle
support for Windows, Linux (X11 and Wayland) and macOS. -
v0.32.3 Changes
PR #940: 💥 Breaking change Removed the
rand
dependency for random colors. You will have to implement your own random colors from now on.PR #933: 💥 Breaking change Removed AudioFormatNum::zero(), use AudioFormatNum::SILENCE constant instead.
PR #907: 🔄 Changed the data type to i32 for the
which
field for the eventsControllerDeviceAdded
andJoyDeviceAdded
.PR #882: 🗄 Ignore unknown bits in
SDL_Keysym
'smod
field (key modifiers) when constructingEvent::KeyDown
andEvent::KeyUp
. Deprecatesdl2::event::Event::unwrap_keymod
, which had been made public accidentally.PR #898: Implements
TryFrom<PixelFormatEnum>
forPixelFormat