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