From 7dfa919317398b497b8298116f834b06c141c209 Mon Sep 17 00:00:00 2001 From: dbr Date: Mon, 9 Jan 2023 19:44:15 +1030 Subject: [PATCH] Update changelog --- CHANGELOG.markdown | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 6f1464c..237a132 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,10 +1,26 @@ # Change Log ## [unreleased] -- Removed `im_str!` macro - deprecated since v0.8. +- Breaking: Removed `im_str!` macro - deprecated since v0.8. `ui.button(im_str!("Example"))` just becomes `ui.button("Example")` and `ui.button(&im_str!("My age is {}", 100))` becomes `ui.button!(format!("My age is {}", 100))` +- Breaking: Updated to Dear ImGui 1.89.1. + + This introduces some breaking changes like the `imgui::Key` now contains a full set of keys (previously it was a small subset of to cover copy/paste/undo) + +- Breaking (partially): `ImageButton::new` is now deprecated, replaced by `ui.image_button_config(...)`. + + The old `new` method should be backwards-compatible in most common situations. Exception is if the `ImageButton` builder struct was explicitly specified, say in a method like `fn configure_my_button(button: &mut imgui::ImageButton)` (in which case either change `ImageButton` to `ImageButtonDeprecated`, or update to the new constructor) + +- Updated `imgui-winit-support` to use new "event based IO" (detailed in the Dear ImGui 1.87 release notes, but basically it aims to improve behaviour at low frame rates). Existing custom backends should work without changes, but are advised to update to the new API. + +- Accept `usize` and `isize` for parameters which use `DataTypeKind` (such as `Ui::input_scalar`). This treats them as `u64`/`i64` (or `u32`/`i32`) as appropriate + +- The `examples` directories have been reorganized slightly. + + There is now an example in `imgui-glium-renderer` showing basic usage, consistent with the glow. + ## [0.9.0] - 2022-11-30 - MSRV is now **1.57**. We soft-updated to this to Rust 1.54 in the v0.8.0 release (with a feature `min-const-generics`), which has now been removed (and as such, we resume having no default features). Rust 1.56 is required for the Rust 2021 edition, and 1.57 is required by some dependencies