lucaspoffo / renet

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

Update egui_extras requirement from 0.19 to 0.21 #73

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on egui_extras to permit the latest version.

Release notes

Sourced from egui_extras's releases.

0.21.0 - Deadlock fix and winit update

This is a relatively minor release, but with a major breaking change in the egui API to prevent a rare deadlock.

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

Changelog

Sourced from egui_extras's changelog.

0.21.0 - 2023-02-08 - Deadlock fix and style customizability

  • ⚠️ BREAKING: egui::Context now use closures for locking (#2625):
    • ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
    • ui.memory().toggle_popup(popup_id) -> ui.memory_mut(|mem| mem.toggle_popup(popup_id))

Added ⭐

  • Add Response::drag_started_by and Response::drag_released_by for convenience, similar to dragged and dragged_by (#2507).
  • Add PointerState::*_pressed to check if the given button was pressed in this frame (#2507).
  • Event::Key now has a repeat field that is set to true if the event was the result of a key-repeat (#2435).
  • Add Slider::drag_value_speed, which lets you ask for finer precision when dragging the slider value rather than the actual slider.
  • Add Memory::any_popup_open, which returns true if any popup is currently open (#2464).
  • Add Plot::clamp_grid to only show grid where there is data (#2480).
  • Add ScrollArea::drag_to_scroll if you want to turn off that feature.
  • Add Response::on_hover_and_drag_cursor.
  • Add Window::default_open (#2539).
  • Add ProgressBar::fill if you want to set the fill color manually. (#2618).
  • Add Button::rounding to enable round buttons (#2616).
  • Add WidgetVisuals::optional_bg_color - set it to Color32::TRANSPARENT to hide button backgrounds (#2621).
  • Add Context::screen_rect and Context::set_cursor_icon (#2625).
  • You can turn off the vertical line left of indented regions with Visuals::indent_has_left_vline (#2636).
  • Add Response.highlight to highlight a widget (#2632).
  • Add Separator::grow and Separator::shrink (#2665).
  • Add Slider::trailing_fill for trailing color behind the circle like a ProgressBar (#2660).

Changed 🔧

  • Improved plot grid appearance (#2412).
  • Improved the algorithm for picking the number of decimals to show when hovering values in the Plot.
  • Default ComboBox is now controlled with Spacing::combo_width (#2621).
  • DragValue and Slider now use the proportional font (#2638).
  • ScrollArea is less aggressive about clipping its contents (#2665).
  • Updated to be compatible with a major breaking change in AccessKit that drastically reduces memory usage when accessibility is enabled (#2678).
  • Improve DragValue behavior (#2649, #2650, #2688, #2638).

Fixed 🐛

  • Trigger PointerEvent::Released for drags (#2507).
  • Expose TextEdit's multiline flag to AccessKit (#2448).
  • Don't render \r (Carriage Return) (#2452).
  • The button_padding style option works closer as expected with image+text buttons now (#2510).
  • Menus are now moved to fit on the screen.
  • Fix Window::pivot causing windows to move around (#2694).

0.20.1 - 2022-12-11 - Fix key-repeat

Changed 🔧

  • InputState: all press functions again include key repeats (like in egui 0.19) (#2429).
  • Improve the look of thin white lines (#2437).

Fixed 🐛

  • Fix key-repeats for TextEdit, Sliders, etc (#2429).

... (truncated)

Commits
  • ae722ab Release 0.21.0 - Deadlock fix and winit update
  • 1384fa3 Publish new web demo
  • 83b5b81 Update changelogs with recent additions
  • 63fa3ae Update example screenshots
  • ebeb788 We no longer use tts, so remove speech-related dependencies (#2698)
  • 0fc25c2 Fix: make sure always_on_top is respected on glow again
  • 449dd1c cargo update (#2697)
  • 636a39c Update glow to 0.12 (#2695)
  • be9b5a3 polish glutin upgrade with glutin-winit crate (#2526)
  • e8b9e70 Fix Window::pivot causing windows to move around (#2694)
  • 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 1 year ago

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