diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e5df7..c792893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,18 @@ This project follows semantic versioning. +### v0.26 (2024-05-11) + +- [fixed] Lots of formatting & style fixes (Thanks Stefano Incardone!) +- [fixed] raw-window-handle 0.6 (Thanks Stefano Incardone!) +- [fixed] Lots of various fixes and cleanups (Thanks Stefano Incardone!) +- [fixed] repr(C) on Window Struct (Thanks gillet-hernadez!) +- [fixed] Switch Linux scalar code from C++ to C (Thanks Speykious!) +- [API BREAKAGE] `limit_update_rate` has been removed. Use `set_fps_target` instead. + ### v0.25 (2023-08-02) -- [fixed] 11: Fix changing window title (Thanks royaltm!) +- [fixed] Fix changing window title (Thanks royaltm!) ### v0.24 (2023-02-18) diff --git a/Cargo.toml b/Cargo.toml index e7d840b..e2e7500 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minifb" -version = "0.25.0" +version = "0.26.0" license = "MIT OR Apache-2.0" authors = ["Daniel Collin "] description = "Cross-platform window setup with optional bitmap rendering" diff --git a/README.md b/README.md index 90f20bc..57d40f5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Usage ```toml # Cargo.toml [dependencies] -minifb = "0.25" +minifb = "0.26" ``` Example @@ -39,7 +39,7 @@ fn main() { }); // Limit to max ~60 fps update rate - window.limit_update_rate(Some(std::time::Duration::from_micros(16600))); + window.set_target_fps(60); while window.is_open() && !window.is_key_down(Key::Escape) { for i in buffer.iter_mut() {