diff --git a/Cargo.toml b/Cargo.toml index e6480d60..0689ec67 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.34.5" +version = "0.35.0" 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.34.5" +version = "^0.35.0" [dependencies.c_vec] # allow both 1.* and 2.0 versions diff --git a/README.md b/README.md index ce30814c..77407591 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Bindings for SDL2 in Rust -### [Changelog for 0.34.2](changelog.md#v0342) +### [Changelog for 0.35.0](changelog.md#v0350) # Overview @@ -314,7 +314,7 @@ add the following your `Cargo.toml`: ```toml [dependencies.sdl2] -version = "0.34" +version = "0.35" default-features = false features = ["ttf","image","gfx","mixer","static-link","use-vcpkg"] @@ -336,7 +336,7 @@ download through Crates.io: ```toml [dependencies] - sdl2 = "0.34" + sdl2 = "0.35" ``` Alternatively, pull it from GitHub to obtain the latest version from master @@ -357,7 +357,7 @@ adding this instead: ```toml [dependencies.sdl2] - version = "0.34" + version = "0.35" default-features = false features = ["ttf","image","gfx","mixer"] ``` diff --git a/changelog.md b/changelog.md index 676a9ca7..6d692060 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ 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. -### v0.35 (UNRELEASED) +### v0.35.0 * **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. @@ -10,7 +10,13 @@ enum variants directly in your project, you may be affected. If you only used sd [PR #1150](https://github.com/Rust-SDL2/rust-sdl2/pull/1150) Do not download SDL2 sources when using bundled feature -[PR #1112](https://github.com/Rust-SDL2/rust-sdl2/pull/1150) Add wrapper functions for `SDL_RenderSetIntegerScale` and `SDL_RenderGetIntegerScale` +[PR #1112](https://github.com/Rust-SDL2/rust-sdl2/pull/1112) Add wrapper functions for `SDL_RenderSetIntegerScale` and `SDL_RenderGetIntegerScale` + +[PR #1156](https://github.com/Rust-SDL2/rust-sdl2/pull/1156) **Maybe breaking change**: new variants to enum `GameController`, and prevent panic with unrecognized buttons. + +[PR #1153](https://github.com/Rust-SDL2/rust-sdl2/pull/1153) `SDL_GL_GetCurrentContext` and `SDL_RenderFlush` added. + +[PR #1131](https://github.com/Rust-SDL2/rust-sdl2/pull/1131) Added Sensor API. ### v0.34.5 diff --git a/sdl2-sys/Cargo.toml b/sdl2-sys/Cargo.toml index f09b26bf..dfebc664 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.34.5" +version = "0.35.0" authors = ["Tony Aldridge "] keywords = ["SDL", "windowing", "graphics", "ffi"] categories = ["rendering","external-ffi-bindings","game-engines","multimedia"]