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

Bump the egui group with 5 updates #124

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

Bumps the egui group with 5 updates:

Package From To
eframe 0.27.2 0.29.1
egui-modal 0.3.6 0.6.0
egui-notify 0.14.0 0.18.0
egui_extras 0.27.2 0.30.0
egui_file 0.17.0 0.20.0

Updates eframe from 0.27.2 to 0.29.1

Release notes

Sourced from eframe's releases.

0.29.1 - Bug fixes

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it now: https://www.egui.rs/

egui development is sponsored by Rerun, a startup building an SDK for visualizing streams of multimodal data.

egui

eframe

0.29.0 - Multipass, UiBuilder, & visual improvements

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it now: https://www.egui.rs/

egui development is sponsored by Rerun, a startup building an SDK for visualizing streams of multimodal data.

egui changelog

✨ Highlights

This release adds initial support for multi-pass layout, which is a tool to circumvent a common limitation of immediate mode. You can use the new UiBuilder::sizing_pass (#4969) to instruct the Ui and widgets to shrink to their minimum size, then store that size. Then call the new Context::request_discard (#5059) to discard the visual output and do another pass immediately after the current finishes. Together, this allows more advanced layouts that is normally not possible in immediate mode. So far this is only used by egui::Grid to hide the "first-frame jitters" that would sometimes happen before, but 3rd party libraries can also use it to do much more advanced things.

There is also a new UiBuilder for more flexible construction of Uis (#4969). By specifying a sense for the Ui you can make it respond to clicks and drags, reading the result with the new Ui::response (#5054). Among other things, you can use this to create buttons that contain arbitrary widgets.

0.29 also adds improve support for automatic switching between light and dark mode. You can now set up a custom Style for both dark and light mode, and have egui follow the system preference (#4744 #4860).

There also has been several small improvements to the look of egui:

  • Fix vertical centering of text (e.g. in buttons) (#5117)
  • Sharper rendering of lines and outlines (#4943)
  • Nicer looking text selection, especially in light mode (#5017)

The new text selection

What text selection used to look like

... (truncated)

Changelog

Sourced from eframe's changelog.

0.29.1 - 2024-10-01 - Bug fixes

0.29.0 - 2024-09-26 - Multipass, UiBuilder, & visual improvements

✨ Highlights

This release adds initial support for multi-pass layout, which is a tool to circumvent a common limitation of immediate mode. You can use the new UiBuilder::sizing_pass (#4969) to instruct the Ui and widgets to shrink to their minimum size, then store that size. Then call the new Context::request_discard (#5059) to discard the visual output and do another pass immediately after the current finishes. Together, this allows more advanced layouts that is normally not possible in immediate mode. So far this is only used by egui::Grid to hide the "first-frame jitters" that would sometimes happen before, but 3rd party libraries can also use it to do much more advanced things.

There is also a new UiBuilder for more flexible construction of Uis (#4969). By specifying a sense for the Ui you can make it respond to clicks and drags, reading the result with the new Ui::response (#5054). Among other things, you can use this to create buttons that contain arbitrary widgets.

0.29 also adds improve support for automatic switching between light and dark mode. You can now set up a custom Style for both dark and light mode, and have egui follow the system preference (#4744 #4860).

There also has been several small improvements to the look of egui:

  • Fix vertical centering of text (e.g. in buttons) (#5117)
  • Sharper rendering of lines and outlines (#4943)
  • Nicer looking text selection, especially in light mode (#5017)

The new text selection

What text selection used to look like

🧳 Migration

  • id_source is now called id_salt everywhere (#5025)
  • Ui::new now takes a UiBuilder (#4969)
  • Deprecated (replaced with UiBuilder):
    • ui.add_visible_ui
    • ui.allocate_ui_at_rect
    • ui.child_ui
    • ui.child_ui_with_id_source
    • ui.push_stack_info

⭐ Added

... (truncated)

Commits
  • fe368ba Release 0.29.1 - Bug fixes
  • ce744e6 Do not round panel rectangles to pixel grid (#5196)
  • 15d3d43 Fix backspace/arrow keys in TextEdit on Linux (#5188)
  • 448e12d Fix id clash in Ui::response (#5192)
  • 5390ecd Bug fix: click anywhere on a Table row to select it (#5193)
  • db3dcaf Remove debug-assert triggered by with_layer_id/dnd_drag_source (#5191)
  • 679f6f5 Replace "an ui" with "a ui" (#5185)
  • 59d7183 Release 0.29.0 - Multipass, UiBuilder, & visual improvements
  • dae1979 Add back Context::set_visuals() (#5100)
  • 25abb74 egui_extras: Add TableBuilder::animate_scrolling (#5159)
  • Additional commits viewable in compare view

Updates egui-modal from 0.3.6 to 0.6.0

Changelog

Sourced from egui-modal's changelog.

0.6.0

  • update egui -> 0.30

0.5.0

  • update egui -> 0.29

0.4.0

  • update egui -> 0.28
Commits

Updates egui-notify from 0.14.0 to 0.18.0

Changelog

Sourced from egui-notify's changelog.

Unreleased

  • Add len & is_empty functions

0.17.0

  • (breaking) removed Toast::font(font: FontId), this can now be done by using egui::widget_text::RichText and RichText::font. #34
  • Added support for egui::widget_text::WidgetText in Toasts, this allows for more customization of the text in the toast. #34

#34: ItsEthra/egui-notify#34

0.16.0

  • (breaking) Updated to egui 0.29.
  • (breaking) Renamed functions, removed set_ prefix to fit egui style. #29
  • Accept either None or Some(duration) in set_duration. #31
  • Enable shadow beneath toasts using with_shadow #33

#29: ItsEthra/egui-notify#29 #31: ItsEthra/egui-notify#31 #33: ItsEthra/egui-notify#33

Commits

Updates egui_extras from 0.27.2 to 0.30.0

Release notes

Sourced from egui_extras's releases.

0.30.0 - egui_kittest and modals

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it now: https://www.egui.rs/

egui development is sponsored by Rerun, a startup building an SDK for visualizing streams of multimodal data.

egui_kittest

This release welcomes a new crate to the family: egui_kittest. egui_kittest is a testing framework for egui, allowing you to test both automation (simulated clicks and other events), and also do screenshot testing (useful for regression tests). egui_kittest is built using kittest, which is a general GUI testing framework that aims to work with any Rust GUI (not just egui!). kittest uses the accessibility library AccessKit for automatation and to query the widget tree.

kittest and egui_kittest are written by @​lucasmerlin.

Here's a quick example of how to use egui_kittest to test a checkbox:

use egui::accesskit::Toggled;
use egui_kittest::{Harness, kittest::Queryable};
fn main() {
let mut checked = false;
let app = |ui: &mut egui::Ui| {
ui.checkbox(&mut checked, "Check me!");
};
let mut harness = egui_kittest::Harness::new_ui(app);
let checkbox = harness.get_by_label("Check me!");
assert_eq!(checkbox.toggled(), Some(Toggled::False));
checkbox.click();
harness.run();
let checkbox = harness.get_by_label("Check me!");
assert_eq!(checkbox.toggled(), Some(Toggled::True));
// You can even render the ui and do image snapshot tests
#[cfg(all(feature = "wgpu", feature = "snapshot"))]
harness.wgpu_snapshot("readme_example");

}

egui changelog

✨ Highlights

... (truncated)

Changelog

Sourced from egui_extras's changelog.

0.30.0 - 2024-12-16 - Modals and better layer support

✨ Highlights

egui_kittest

This release welcomes a new crate to the family: egui_kittest. egui_kittest is a testing framework for egui, allowing you to test both automation (simulated clicks and other events), and also do screenshot testing (useful for regression tests). egui_kittest is built using kittest, which is a general GUI testing framework that aims to work with any Rust GUI (not just egui!). kittest uses the accessibility library AccessKit for automatation and to query the widget tree.

kittest and egui_kittest are written by @​lucasmerlin.

Here's a quick example of how to use egui_kittest to test a checkbox:

use egui::accesskit::Toggled;
use egui_kittest::{Harness, kittest::Queryable};
fn main() {
let mut checked = false;
let app = |ui: &mut egui::Ui| {
ui.checkbox(&mut checked, "Check me!");
};
let mut harness = egui_kittest::Harness::new_ui(app);
let checkbox = harness.get_by_label("Check me!");
assert_eq!(checkbox.toggled(), Some(Toggled::False));
checkbox.click();
harness.run();
let checkbox = harness.get_by_label("Check me!");
assert_eq!(checkbox.toggled(), Some(Toggled::True));
// You can even render the ui and do image snapshot tests
#[cfg(all(feature = "wgpu", feature = "snapshot"))]
harness.wgpu_snapshot("readme_example");

}

⭐ Added

... (truncated)

Commits
  • d864655 Reorder crate publish steps
  • 629f645 Remove cyclic dependency of egui_demo_lib on itself
  • 5b2b8cf Remove cylic dependency of egui_kittest on itself
  • eb40365 Move egui tests to avoid cyclic dependency
  • 69dbb00 Simplify kittest readme example (#5486)
  • 320377e Release 0.30 - egui_kittest and modals (#5487)
  • 0fb340f Use released version of kittest
  • 045ed41 Fix zero-width strokes still affecting the feathering color of boxes (#5485)
  • e802917 Reduce aliasing when painting thin box outlines (#5484)
  • 450c624 Improve error message in ColorImage::region
  • Additional commits viewable in compare view

Updates egui_file from 0.17.0 to 0.20.0

Release notes

Sourced from egui_file's releases.

v0.20.0

  • Add ability to localize strings (#53)
  • Use Cow<'static, str> for localizable strings (Barugon/egui_file@50930ec)
  • Change egui version to 0.30

v0.18.0

  • egui updated to v0.28
Commits
  • a27f835 Updated
  • a3db697 Update egui to v0.30 and increment minor version
  • 50930ec Use Cow\<'static, str> for localizable text
  • f77e7b4 add possibility to localize the component (#53)
  • fddcfba Set minimum rust version
  • d5f730e Update egui to v0.29 and increment the minor build number
  • f312447 Wrap Demo app in OK for example (#50)
  • efddc01 Update example
  • f08fe3f Add default_pos option (#48)
  • 4f6eac7 Replace deprecated functionality
  • 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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the egui group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [eframe](https://github.com/emilk/egui) | `0.27.2` | `0.29.1` |
| [egui-modal](https://github.com/n00kii/egui-modal) | `0.3.6` | `0.6.0` |
| [egui-notify](https://github.com/ItsEthra/egui-notify) | `0.14.0` | `0.18.0` |
| [egui_extras](https://github.com/emilk/egui) | `0.27.2` | `0.30.0` |
| [egui_file](https://github.com/Barugon/egui_file) | `0.17.0` | `0.20.0` |


Updates `eframe` from 0.27.2 to 0.29.1
- [Release notes](https://github.com/emilk/egui/releases)
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md)
- [Commits](emilk/egui@0.27.2...0.29.1)

Updates `egui-modal` from 0.3.6 to 0.6.0
- [Changelog](https://github.com/n00kii/egui-modal/blob/main/CHANGELOG.md)
- [Commits](https://github.com/n00kii/egui-modal/commits)

Updates `egui-notify` from 0.14.0 to 0.18.0
- [Changelog](https://github.com/ItsEthra/egui-notify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ItsEthra/egui-notify/commits)

Updates `egui_extras` from 0.27.2 to 0.30.0
- [Release notes](https://github.com/emilk/egui/releases)
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md)
- [Commits](emilk/egui@0.27.2...0.30.0)

Updates `egui_file` from 0.17.0 to 0.20.0
- [Release notes](https://github.com/Barugon/egui_file/releases)
- [Commits](Barugon/egui_file@v0.17.0...v0.20.0)

---
updated-dependencies:
- dependency-name: eframe
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: egui
- dependency-name: egui-modal
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: egui
- dependency-name: egui-notify
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: egui
- dependency-name: egui_extras
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: egui
- dependency-name: egui_file
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: egui
...

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 Jan 1, 2025
@insolor insolor closed this Jan 1, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2025

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/cargo/egui-84db8ed5d2 branch January 1, 2025 10:49
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