All Versions
23
Latest Version
Avg Release Cycle
212 days
Latest Release
-

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 deprecated AudioQueue::queue

    👍 PR #1164 Added raw-window-handle support for Android

    PR #1165 Added binding for SDL_GetDisplayOrientation and SDL_DISPLAYEVENT

  • v0.35.0 Changes

    • 💥 BREAKING CHANGE Update sdl2-sys/sdl_bindings.rs to use enums instead of consts. If you were using sdl2-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 the bundled 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 and SDL_RenderGetIntegerScale

    PR #1156 Maybe breaking change: new variants to enum GameController, and prevent panic with unrecognized buttons.

    PR #1153 SDL_GL_GetCurrentContext and SDL_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.3 Changes

    ⬆️ PR #1027: upgrade "bundled" version of SDL2 to 2.0.12 ⏪ PR #1020: revert undefined behavior introduction. Commit: Fix clippy issue Commit: Temporarily suppress dangerous clippy hints PR#1014: add load_texture_bytes interface for load texture from buffer

  • v0.34.2 Changes

    PR #1012 🛠 Fix use after free with AudioDevice::open and AudioDevice::open_queue

    PR #1010 🛠 Fix compilation with gcc10.

    PR #1009 ➕ Add support for linking to development libraries from vcpkg, and automatically setting up a vcpkg installation using cargo-vcpkg.

  • v0.34.1 Changes

    PR #1004 + PR #1005: ➕ Add convenience functions for Window and Event.

    PR #996: Impl From<i32> for WindowPos.

    PR #988: ➕ Add convenience functions for Texture.

  • 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 through DEP_SDL2_INCLUDE.

    PR #970 ➕ Add Chunk::from_buffer in mixer.

    PR #976 🛠 Fix compilation with use-bingen feature.

    PR #977 Add cpuinfo::has_avx2 and cpuinfo::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 events ControllerDeviceAdded and JoyDeviceAdded.

    PR #882: 🗄 Ignore unknown bits in SDL_Keysym's mod field (key modifiers) when constructing Event::KeyDown and Event::KeyUp. Deprecate sdl2::event::Event::unwrap_keymod, which had been made public accidentally.

    PR #898: Implements TryFrom<PixelFormatEnum> for PixelFormat

    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 events ControllerDeviceAdded and JoyDeviceAdded.

    PR #882: 🗄 Ignore unknown bits in SDL_Keysym's mod field (key modifiers) when constructing Event::KeyDown and Event::KeyUp. Deprecate sdl2::event::Event::unwrap_keymod, which had been made public accidentally.

    PR #898: Implements TryFrom<PixelFormatEnum> for PixelFormat