From b36d04851aae15a7f792e1bf8a5ce5b138d76346 Mon Sep 17 00:00:00 2001 From: Cobrand Date: Sun, 6 Feb 2022 19:13:27 +0100 Subject: [PATCH] Update to 0.35.2 --- Cargo.toml | 4 ++-- changelog.md | 10 +++++++++- sdl2-sys/Cargo.toml | 2 +- src/sdl2/audio.rs | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 04a5cfa7..ee1ff6c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sdl2" description = "SDL2 bindings for Rust" repository = "https://github.com/Rust-SDL2/rust-sdl2" documentation = "https://rust-sdl2.github.io/rust-sdl2/sdl2/" -version = "0.35.1" +version = "0.35.2" license = "MIT" authors = [ "Tony Aldridge ", "Cobrand "] keywords = ["SDL", "windowing", "graphics", "api", "engine"] @@ -22,7 +22,7 @@ lazy_static = "1.4.0" [dependencies.sdl2-sys] path = "sdl2-sys" -version = "^0.35.1" +version = "^0.35.2" [dependencies.c_vec] # allow both 1.* and 2.0 versions diff --git a/changelog.md b/changelog.md index 8a579ea1..8b41440f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,15 @@ In this file will be listed the changes, especially the breaking ones that one should be careful of when upgrading from a version of rust-sdl2 to another. -### Unreleased +### v0.35.2 + +[PR #1173](https://github.com/Rust-SDL2/rust-sdl2/pull/1173) Fix segfault when using timer callbacks + +[PR #1183](https://github.com/Rust-SDL2/rust-sdl2/pull/1183) WinRT support for raw-window-handle + +[PR #1182](https://github.com/Rust-SDL2/rust-sdl2/pull/1182) Updated raw-window-handle to 0.4 + +[PR #1189](https://github.com/Rust-SDL2/rust-sdl2/pull/1189) Added `AudioQueue::queue_audio` and deprecated `AudioQueue::queue` [PR #1164](https://github.com/Rust-SDL2/rust-sdl2/pull/1164) Added raw-window-handle support for Android diff --git a/sdl2-sys/Cargo.toml b/sdl2-sys/Cargo.toml index 719b81be..abc63fc7 100644 --- a/sdl2-sys/Cargo.toml +++ b/sdl2-sys/Cargo.toml @@ -3,7 +3,7 @@ name = "sdl2-sys" description = "Raw SDL2 bindings for Rust, used internally rust-sdl2" repository = "https://github.com/rust-sdl2/rust-sdl2" -version = "0.35.1" +version = "0.35.2" authors = ["Tony Aldridge "] keywords = ["SDL", "windowing", "graphics", "ffi"] categories = ["rendering","external-ffi-bindings","game-engines","multimedia"] diff --git a/src/sdl2/audio.rs b/src/sdl2/audio.rs index bdbc9d8c..4f40c9c9 100644 --- a/src/sdl2/audio.rs +++ b/src/sdl2/audio.rs @@ -751,7 +751,7 @@ impl<'a, Channel: AudioFormatNum> AudioQueue { /// Adds data to the audio queue. #[doc(alias = "SDL_QueueAudio")] #[deprecated( - since = "0.36.0", + since = "0.35.2", note = "Users should instead use AudioQueue::queue_audio" )] pub fn queue(&self, data: &[Channel]) -> bool {