diff --git a/changelog.md b/changelog.md index 9b768de5..c144ef7a 100644 --- a/changelog.md +++ b/changelog.md @@ -2,3 +2,12 @@ In this file will be listed the changes, especially the breaking ones that one s when upgrading from a version of rust-sdl2 to another. ### v0.30 + +[PR #628](https://github.com/AngryLawyer/rust-sdl2/pull/628) + +* Changed signature of `Surface::fill_rects` ([old](https://docs.rs/sdl2/0.29.1/sdl2/surface/struct.SurfaceRef.html#method.fill_rects) | [new](https://docs.rs/sdl2/0.30.0/sdl2/surface/struct.SurfaceRef.html#method.fill_rects)) +* Changed various `Option` parameters into `Into>` parameters. For instance, it is now possible to do this: + +```rust +surface.blit(None,Rect::new(5,5,5,5)); // instead of surface.blit(None,Some(Rect::new(5,5,5,5))); +```