Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update imgui requirement from 0.10 to 0.11 #165

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2023

Updates the requirements on imgui to permit the latest version.

Release notes

Sourced from imgui's releases.

v0.11.0

Main Changes

  • Added API to add callbacks to draw list for advanced custom drawing - PR#702
  • Added OwnedDrawData API for usage like multithreaded renderers - PR#721
  • MSRV bumped to 1.64 (will likely still work in 1.60 with pinning of some indirect dependencies) - PR#718
  • Examples now use copypasta crate for clipboard handling, as it is more maintained - PR#715
  • Update glow to 0.12 (from v0.10)- PR#711 (and also PR#712)
  • Fixed handling of modifiers keys - PR#710
  • There is a new "viewport" renderer which uses the docking branch's multi-viewport handling! - PR#619

Automatic notes

What's Changed

New Contributors

Full Changelog: imgui-rs/imgui-rs@v0.10.0...v0.11.0

Changelog

Sourced from imgui's changelog.

[0.11.0] - 2023-04-05

  • Added API to add callbacks to draw list for advanced custom drawing - PR#702
  • Added OwnedDrawData API for usage like multithreaded renderers - PR#721
  • MSRV bumped to 1.64 (will likely still work in 1.60 with pinning of some indirect dependencies) - PR#718
  • Examples now use copypasta crate for clipboard handling, as it is more maintained - PR#715
  • Update glow to 0.12 (from v0.10)- PR#711 (and also PR#712)
  • Fixed handling of modifiers keys - PR#710
  • There is a new "viewport" renderer which uses the docking branch's multi-viewport handling! - PR#619

[0.10.0] - 2023-01-16

  • 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.2.

    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)

    Also note Key::KeyPadEnter was renamed to KeypadEnter

  • freetype feature can now locate required libraries either via pkg-config or vcpkg

  • 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)

  • Breaking: Key, StyleColor, and StyleVar enums are now marked as non-exhaustive.

  • Updated imgui-winit-support and imgui-sdl2-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

  • Upgraded from Dear ImGui 1.84.2 to 1.86. See the 1.85 and the 1.86 release notes

  • Upgraded winit version to v0.27 for imgu-winit-support

  • The imgui-winit-support and imgui-glow-renderer re-export winit and glow respectively to make setup easier for simple projects. [PR #676](imgui-rs/imgui-rs#676)

  • BREAKING: Removed push_style_colors and push_style_vars. Instead, use push_style_color in a loop. This was deprecated in 0.7.0 and should have been removed in 0.8.0. This also removes their associated tokens.

... (truncated)

Commits
  • ba02f22 Cargo metadata for viewport renderer
  • 7995577 Set version in changelog
  • 1971288 Bump version
  • fcbb8e7 Update changelog
  • d4a1e38 Merge pull request #702 from rodrigorc/AddCallback
  • 08b1b89 Add a glow-renderer example with an FBO and a callback.
  • 1484742 imgui_glow_renderer::AutoRender::gl is now an Rc<glow::Context>.
  • 2fcfdd5 Add callbacks to the draw_list.
  • df331ba Merge pull request #721 from jbrd/OwnedDrawData-PR
  • c497742 Fix linter warnings. Switch test to sys::igGetIO()
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @MarijnS95.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [imgui](https:/imgui-rs/imgui-rs) to permit the latest version.
- [Release notes](https:/imgui-rs/imgui-rs/releases)
- [Changelog](https:/imgui-rs/imgui-rs/blob/main/CHANGELOG.markdown)
- [Commits](imgui-rs/imgui-rs@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: imgui
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 10, 2023
@MarijnS95
Copy link
Member

@dependabot rebase

@MarijnS95
Copy link
Member

@dependabot squash and merge

@dependabot dependabot bot merged commit 9ecb39c into main Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant