mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Update changelog & bump to 0.32
This commit is contained in:
+4
-4
@@ -4,11 +4,11 @@ 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.31.0"
|
||||
version = "0.32.0-beta"
|
||||
license = "MIT"
|
||||
authors = [ "Tony Aldridge <tony@angry-lawyer.com>", "Cobrand <cobrandw@gmail.com>"]
|
||||
keywords = ["SDL", "windowing", "graphics", "api"]
|
||||
categories = ["rendering","games","api-bindings","game-engines","multimedia"]
|
||||
keywords = ["SDL", "windowing", "graphics", "api", "engine", "2d"]
|
||||
categories = ["rendering","api-bindings","game-engines","multimedia"]
|
||||
|
||||
[lib]
|
||||
|
||||
@@ -27,7 +27,7 @@ default-features = false
|
||||
|
||||
[dependencies.sdl2-sys]
|
||||
path = "sdl2-sys"
|
||||
version = "0.31.0"
|
||||
version = "0.32.0"
|
||||
|
||||
[dependencies.c_vec]
|
||||
version = ">= 1.0, <= 1.3"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Bindings for SDL2 in Rust
|
||||
|
||||
### [Changelog for 0.31](changelog.md#v031)
|
||||
### [Changelog for 0.32](changelog.md#v032)
|
||||
|
||||
# Overview
|
||||
|
||||
@@ -257,7 +257,7 @@ download through Crates.io:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
sdl2 = "0.31"
|
||||
sdl2 = "0.32"
|
||||
```
|
||||
|
||||
Alternatively, pull it from GitHub to obtain the latest version from master
|
||||
@@ -278,7 +278,7 @@ adding this instead:
|
||||
|
||||
```toml
|
||||
[dependencies.sdl2]
|
||||
version = "0.31"
|
||||
version = "0.32"
|
||||
default-features = false
|
||||
features = ["ttf","image","gfx","mixer"]
|
||||
```
|
||||
|
||||
+38
-7
@@ -1,16 +1,47 @@
|
||||
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.31.1
|
||||
### v0.32
|
||||
|
||||
[PR #737](https://github.com/Rust-SDL2/rust-sdl2/pull/737)
|
||||
* Fix `ClipboardUtil::set_clipboard_text` to return an Ok when it went well.
|
||||
[PR #790](https://github.com/Rust-SDL2/rust-sdl2/pull/790): Added missing `window_id` field to `Event::DropFile`
|
||||
|
||||
[PR #733](https://github.com/Rust-SDL2/rust-sdl2/pull/733)
|
||||
* Add `video::border_size -> Result<(u16, u16, u16, u16), String>` equivalent of `SDL_GetWindowBorderSize()`
|
||||
[PR #789](https://github.com/Rust-SDL2/rust-sdl2/pull/789): Audio Safety Fixes
|
||||
|
||||
[PR #732](https://github.com/Rust-SDL2/rust-sdl2/pull/732)
|
||||
* Implemented `From<(u8, u8, u8)>` and `From<(u8, u8, u8, u8)>` for `pixels::Color`.
|
||||
[PR #785](https://github.com/Rust-SDL2/rust-sdl2/pull/785): Vulkan Support
|
||||
|
||||
[PR #782](https://github.com/Rust-SDL2/rust-sdl2/pull/782)
|
||||
* Move ffi of features (mixer, ...) into `sys`
|
||||
* Updated SDL2's default version to 2.0.8
|
||||
|
||||
[PR #780](https://github.com/Rust-SDL2/rust-sdl2/pull/780): Fixed a panic in `keyboard::Mod`
|
||||
|
||||
[PR #775](https://github.com/Rust-SDL2/rust-sdl2/pull/775): Added `get_platform`
|
||||
|
||||
[PR #774](https://github.com/Rust-SDL2/rust-sdl2/pull/774): `add_timer` is now must_use
|
||||
|
||||
[PR #764](https://github.com/Rust-SDL2/rust-sdl2/pull/764): impl `Hash` for `Point` and `Rect`
|
||||
|
||||
[PR #763](https://github.com/Rust-SDL2/rust-sdl2/pull/763): Allow `-sys` to build for `windows-gnu` target
|
||||
|
||||
[PR #751](https://github.com/Rust-SDL2/rust-sdl2/pull/751):
|
||||
**Breaking change** `gl_setswap_interval` now returns a `Result` instead of a `bool`.
|
||||
|
||||
[PR #759](https://github.com/Rust-SDL2/rust-sdl2/pull/759): Expose Joystick power level
|
||||
|
||||
[PR #751](https://github.com/Rust-SDL2/rust-sdl2/pull/751)
|
||||
* Fix memory leak in `filesystem::base_path()`
|
||||
* Fix memory leak on `ClipboardUtil::clipboard_text()`
|
||||
|
||||
[PR #740](https://github.com/Rust-SDL2/rust-sdl2/pull/740): Implement Debug for Event
|
||||
|
||||
[PR #737](https://github.com/Rust-SDL2/rust-sdl2/pull/737):
|
||||
Fix `ClipboardUtil::set_clipboard_text` to return an Ok when it went well.
|
||||
|
||||
[PR #733](https://github.com/Rust-SDL2/rust-sdl2/pull/733):
|
||||
Add `video::border_size -> Result<(u16, u16, u16, u16), String>` equivalent of `SDL_GetWindowBorderSize()`
|
||||
|
||||
[PR #732](https://github.com/Rust-SDL2/rust-sdl2/pull/732):
|
||||
Implemented `From<(u8, u8, u8)>` and `From<(u8, u8, u8, u8)>` for `pixels::Color`.
|
||||
`Canvas.set_draw_color` can now be called with tuples or other types which implements `Into<pixels::Color>`
|
||||
|
||||
[PR #279](https://github.com/Rust-SDL2/rust-sdl2/pull/729)
|
||||
|
||||
+3
-3
@@ -2,11 +2,11 @@
|
||||
|
||||
name = "sdl2-sys"
|
||||
description = "Raw SDL2 bindings for Rust, used internally rust-sdl2"
|
||||
repository = "https://github.com/AngryLawyer/rust-sdl2"
|
||||
version = "0.31.0"
|
||||
repository = "https://github.com/rust-sdl2/rust-sdl2"
|
||||
version = "0.32.0"
|
||||
authors = ["Tony Aldridge <tony@angry-lawyer.com>"]
|
||||
keywords = ["SDL", "windowing", "graphics", "ffi"]
|
||||
categories = ["rendering","games","external-ffi-bindings","game-engines","multimedia"]
|
||||
categories = ["rendering","external-ffi-bindings","game-engines","multimedia"]
|
||||
license = "MIT"
|
||||
links = "SDL2"
|
||||
build = "build.rs"
|
||||
|
||||
Reference in New Issue
Block a user