lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
663 stars 68 forks source link

Update egui requirement from 0.18 to 0.19 #39

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on egui to permit the latest version.

Release notes

Sourced from egui's releases.

0.19.0 - wgpu backend, repaint_after, continue-after-close

Highlights:

  • New wgpu backend for eframe
  • Context::request_repaint_after
  • eframe continues after closing native window

egui changelog: https://github.com/emilk/egui/blob/master/CHANGELOG.md eframe changelog: https://github.com/emilk/egui/blob/master/crates/eframe/CHANGELOG.md

Changelog

Sourced from egui's changelog.

0.19.0 - 2022-08-20

Added ⭐

  • Added *_released & *_clicked methods for PointerState (#1582).
  • Added PointerButton::Extra1 and PointerButton::Extra2 (#1592).
  • Added egui::hex_color! to create Color32's from hex strings under the color-hex feature (#1596).
  • Optimized painting of filled circles (e.g. for scatter plots) by 10x or more (#1616).
  • Added opt-in feature deadlock_detection to detect double-lock of mutexes on the same thread (#1619).
  • Added InputState::stable_dt: a more stable estimate for the delta-time in reactive mode (#1625).
  • You can now specify a texture filter for your textures (#1636).
  • Added functions keys in egui::Key (#1665).
  • Added support for using PaintCallback shapes with the WGPU backend (#1684).
  • Added Contex::request_repaint_after (#1694).
  • ctrl-h now acts like backspace in TextEdit (#1812).
  • Added custom_formatter method for Slider and DragValue (#1851).
  • Added RawInput::has_focus which backends can set to indicate whether the UI as a whole has the keyboard focus (#1859).
  • Added PointerState::button_double_clicked() and PointerState::button_triple_clicked() (#1906).

Changed

  • MSRV (Minimum Supported Rust Version) is now 1.61.0 (#1846).
  • PaintCallback shapes now require the whole callback to be put in an Arc<dyn Any> with the value being a backend-specific callback type (#1684).
  • Replaced needs_repaint in FullOutput with repaint_after. Used to force repaint after the set duration in reactive mode (#1694).
  • Layout::left_to_right and Layout::right_to_left now takes the vertical align as an argument. Previous default was Align::Center.
  • Improved ergonomics of adding plot items. All plot items that take a series of 2D coordinates can now be created directly from Vec<[f64; 2]>. The Value and Values types were removed in favor of PlotPoint and PlotPoints respectively (#1816).
  • TextBuffer no longer needs to implement AsRef<str> (#1824).

Fixed 🐛

  • Fixed Response::changed for ui.toggle_value (#1573).
  • Fixed ImageButton's changing background padding on hover (#1595).
  • Fixed Plot auto-bounds bug (#1599).
  • Fixed dead-lock when alt-tabbing while also showing a tooltip (#1618).
  • Fixed ScrollArea scrolling when editing an unrelated TextEdit (#1779).
  • Fixed Slider not always generating events on change (#1854).
  • Fixed jitter of anchored windows for the first frame (#1856).
  • Fixed focus behavior when pressing Tab in a UI with no focused widget (#1861).
  • Fixed automatic plot bounds (#1865).

0.18.1 - 2022-05-01

  • Change Shape::Callback from &dyn Any to &mut dyn Any to support more backends.

0.18.0 - 2022-04-30

Added ⭐

  • Added Shape::Callback for backend-specific painting, with an example (#1351).
  • Added Frame::canvas (#1362).
  • Context::request_repaint will now wake up UI thread, if integrations has called Context::set_request_repaint_callback (#1366).
  • Added Plot::allow_scroll, Plot::allow_zoom no longer affects scrolling (#1382).
  • Added Ui::push_id to resolve id clashes (#1374).
  • Added ComboBox::icon (#1405).

... (truncated)

Commits
  • 97ce103 Release 0.19.0 - wgpu backend, repaint_after, continue-after-close
  • 13f5d62 Commit a new web demo
  • 127931b eframe: rename quit/exit to "close" (#1943)
  • 2453756 Fix broken GitHub source links due to #1940
  • 8737933 Improve documentation and logging
  • 725aa52 Update crate rfd to 0.10 (in file_dialog example)
  • eb10ef9 Build-fix for --no-default-features
  • f4cc1c5 eframe: Don't follow system theme by default (#1941)
  • 40e440b Update changelog with recent PR merges
  • 041f2e6 Move all crates into a crates directory (#1940)
  • 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 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)
dependabot[bot] commented 2 years ago

Looks like egui is up-to-date now, so this is no longer needed.