Skip to content

Commit dfedd53

Browse files
committed
Add PR "focus_lost to focus_loss" to changelog
1 parent ddff297 commit dfedd53

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

changelog.md

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
In this file will be listed the changes, especially the breaking ones that one should be careful of
22
when upgrading from a version of rust-sdl2 to another.
33

4+
### v0.32
5+
6+
[PR #279](https://github.com/Rust-SDL2/rust-sdl2/pull/729)
7+
8+
* **Breaking change** set\_video\_minimize\_on\_focus\_lost was renamed to …minimize\_on\_focus\_loss, as it should be. As a bonus, it works now.
9+
410
### v0.31
511

612
[PR #693](https://github.com/Rust-SDL2/rust-sdl2/pull/693), [PR #720](https://github.com/Rust-SDL2/rust-sdl2/pull/720)
@@ -14,9 +20,9 @@ when upgrading from a version of rust-sdl2 to another.
1420
[PR #695](https://github.com/Rust-sdl2/rust-sdl2/pull/695)
1521

1622
* sdl2-sys can now be generated at compile time by bindgen (Opt-in required
17-
with "use-bindgen" feature)
23+
with "use-bindgen" feature)
1824
* The new sdl2-sys source code is generated by bindgen, hence **almost everything
19-
that uses sdl2-sys will be broken**. The fixes are small but still preset.
25+
that uses sdl2-sys will be broken**. The fixes are small but still preset.
2026

2127
[PR #673](https://github.com/Rust-sdl2/rust-sdl2/pull/673)
2228

@@ -26,22 +32,22 @@ that uses sdl2-sys will be broken**. The fixes are small but still preset.
2632

2733
* **Breaking change** Make get\_swap\_interval return an enum instead of i32
2834
* The signature of set\_swap\_interval has been changed as well, but it shouldn't
29-
breaking existing code too much.
35+
breaking existing code too much.
3036

3137
[PR #683](https://github.com/Rust-sdl2/rust-sdl2/pull/684)
3238

3339
* Adds the `unsafe_textures` feature to this crate, allowing to get rid of the lifetimes
34-
in `Texture`s in the `render` module.
40+
in `Texture`s in the `render` module.
3541

3642
[PR #704](https://github.com/Rust-SDL2/rust-sdl2/pull/704)
3743

3844
* Adds the `Music::from_static_bytes` function, which creates a Music instance with the
39-
static lifetime from a buffer that also has a static lifetime.
45+
static lifetime from a buffer that also has a static lifetime.
4046

4147
[PR #708](https://github.com/Rust-SDL2/rust-sdl2/pull/708)
4248

4349
* Makes the fields of the `sdl2::mixer::Channel(i32)` and `sdl::mixer::Group(i32)` structs
44-
public so they can be instantiated directly, and deprecates `sdl2::mixer::channel(i32)`.
50+
public so they can be instantiated directly, and deprecates `sdl2::mixer::channel(i32)`.
4551

4652
[PR #714](https://github.com/Rust-SDL2/rust-sdl2/pull/714)
4753

@@ -65,18 +71,18 @@ pay for soundness and runtime safety.
6571

6672
* `Renderer` has been renamed and split into `Canvas` and `TextureCreator`.
6773
* `Canvas` can store a `Surface` or a `Window`, and can be used to render into these as well.
68-
`TextureCreator` creates `Texture`s and is used by Texture to make sure they don't live
69-
longer than expected.
74+
`TextureCreator` creates `Texture`s and is used by Texture to make sure they don't live
75+
longer than expected.
7076
* `set_render_target` has been removed and has been replaced with `Canvas::with_texture_canvas`
71-
and `Canvas::with_multiple_texture_canvas`
77+
and `Canvas::with_multiple_texture_canvas`
7278
* Deleted `WindowRef`, it wasn't useful anymore.
7379

7480
Other Changes:
7581

7682
* Added `PixelFormatEnum::supports_alpha(&self) -> bool` method.
7783
* A single Game Of Life example has been added to show the basic capabilities of the new `Canvas`
78-
and `TextureCreator` structs, as well as adding a very basic game to show how to handle input / game
79-
changes in a basic game.
84+
and `TextureCreator` structs, as well as adding a very basic game to show how to handle input / game
85+
changes in a basic game.
8086

8187
You won't have to worry about what target your `Renderer` has at runtime anymore, everything
8288
is done at compile time now !

0 commit comments

Comments
 (0)