Update changlog and version to 0.35.0

This commit is contained in:
Cobrand
2021-10-13 19:05:01 +02:00
parent 5be2f2fcdf
commit 9d99d7f68a
4 changed files with 15 additions and 9 deletions
+2 -2
View File
@@ -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 <tony@angry-lawyer.com>", "Cobrand <cobrandw@gmail.com>"]
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
+4 -4
View File
@@ -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"]
```
+8 -2
View File
@@ -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
+1 -1
View File
@@ -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 <tony@angry-lawyer.com>"]
keywords = ["SDL", "windowing", "graphics", "ffi"]
categories = ["rendering","external-ffi-bindings","game-engines","multimedia"]