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

fix(deps): update egui packages to 0.31 - autoclosed #2502

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2025

This PR contains the following updates:

Package Type Update Change
eframe (source) dependencies minor 0.30 -> 0.31
egui_extras dependencies minor 0.30 -> 0.31

Release Notes

emilk/egui (eframe)

v0.31.0

Compare Source

emilk/egui (egui_extras)

v0.31.0

Compare Source

Highlights ✨
Scene container

This release adds the Scene container to egui. It is a pannable, zoomable canvas that can contain Widgets and child Uis.
This will make it easier to e.g. implement a graph editor.

scene

Clearer, pixel perfect rendering

The tessellator has been updated for improved rendering quality and better performance. It will produce fewer vertices
and shapes will have less overdraw. We've also defined what CornerRadius (previously Rounding) means.

We've also added a tessellator test to the demo app, where you can play around with different
values to see what's produced:

tessellator-test.mp4

Check the PR for more details.

CornerRadius, Margin, Shadow size reduction

In order to pave the path for more complex and customizable styling solutions, we've reduced the size of
CornerRadius, Margin and Shadow values to i8 and u8.

Migration guide
  • Add a StrokeKind to all your Painter::rect calls #​5648
  • StrokeKind::default was removed, since the 'normal' value depends on the context #​5658
    • You probably want to use StrokeKind::Inside when drawing rectangles
    • You probably want to use StrokeKind::Middle when drawing open paths
  • Rename Rounding to CornerRadius #​5673
  • CornerRadius, Margin and Shadow have been updated to use i8 and u8 #​5563, #​5567, #​5568
    • Remove the .0 from your values
    • Cast dynamic values with as i8 / as u8 or as _ if you want Rust to infer the type
      • Rust will do a 'saturating' cast, so if your f32 value is bigger than 127 it will be clamped to 127
  • RectShape parameters changed #​5565
    • Prefer to use the builder methods to create it instead of initializing it directly
  • Frame now takes the Stroke width into account for its sizing, so check all views of your app to make sure they still look right.
    Read the PR for more info.
⭐ Added
🔧 Changed
🔥 Removed
🐛 Fixed
🚀 Performance

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/egui-packages branch 11 times, most recently from 2043a8f to 823f28f Compare February 2, 2025 14:47
@renovate renovate bot changed the title fix(deps): update egui packages to 0.30.0 fix(deps): update egui packages to 0.30.0 - autoclosed Feb 2, 2025
@renovate renovate bot closed this Feb 2, 2025
@renovate renovate bot deleted the renovate/egui-packages branch February 2, 2025 17:50
@renovate renovate bot changed the title fix(deps): update egui packages to 0.30.0 - autoclosed fix(deps): update egui packages to 0.30.0 Feb 4, 2025
@renovate renovate bot reopened this Feb 4, 2025
@renovate renovate bot force-pushed the renovate/egui-packages branch from b224cd7 to 823f28f Compare February 4, 2025 18:42
@renovate renovate bot changed the title fix(deps): update egui packages to 0.30.0 fix(deps): update egui packages to 0.31 Feb 4, 2025
@renovate renovate bot force-pushed the renovate/egui-packages branch 12 times, most recently from e24eed2 to b956433 Compare February 6, 2025 07:17
@renovate renovate bot force-pushed the renovate/egui-packages branch 9 times, most recently from fb9cdb0 to 0b7c769 Compare February 7, 2025 17:05
@deno-deploy deno-deploy bot had a problem deploying to Preview February 7, 2025 17:06 Failure
@renovate renovate bot force-pushed the renovate/egui-packages branch 2 times, most recently from fdc7b38 to 4a8c561 Compare February 7, 2025 17:18
@keiko233 keiko233 force-pushed the main branch 2 times, most recently from 63f87b6 to f83403b Compare February 7, 2025 17:21
@renovate renovate bot force-pushed the renovate/egui-packages branch from 4a8c561 to 74d83ed Compare February 7, 2025 17:24
@renovate renovate bot force-pushed the renovate/egui-packages branch 2 times, most recently from fad5f20 to d95482c Compare February 7, 2025 17:32
@keiko233 keiko233 force-pushed the main branch 2 times, most recently from afbd8c7 to bc620d5 Compare February 7, 2025 17:44
@renovate renovate bot force-pushed the renovate/egui-packages branch 6 times, most recently from d882e5d to 683711a Compare February 8, 2025 08:59
@renovate renovate bot force-pushed the renovate/egui-packages branch from 683711a to e624733 Compare February 8, 2025 10:44
@renovate renovate bot changed the title fix(deps): update egui packages to 0.31 fix(deps): update egui packages to 0.31 - autoclosed Feb 8, 2025
@renovate renovate bot closed this Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants