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

chore(deps): update all non-major dependencies to 0.28.0 #12

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 6, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
eframe (source) dev-dependencies minor 0.27.0 -> 0.28.0
egui dependencies minor 0.27.0 -> 0.28.0

Release Notes

emilk/egui (eframe)

v0.28.1

Compare Source

v0.28.0

Compare Source

✨ Highlights

The eframe web canvas now works properly when its a small part of a larger web page.
Previously this caused a lot of weird bugs, such as the eframe canvas stealing focus, and resizing the canvas in annoying ways.
Now it should all work seamlessly to have an eframe canvas as part of a web page, including having multiple different eframe apps next to each other.
As part of that the eframe canvas can now be focused (or not), just like an <input> HTML element.

We've also implemented a better method for sizing and positioning the canvas so that it yields pixel-perfect rendering on all known browsers except for Desktop Safari.
What this means is that text is much less likely to be blurry on web for users (#​4536 by @​jprochazk).

⭐ Added
🔧 Changed
🐛 Fixed
🧳 Migration
Wrap app creator in a Result

Applications can now return an error during the app creation (#​4565 by @​emilk), so you now need to wrap your Box<dyn App> in a Result like so:

- eframe::run_native("My App", options, Box::new(|cc| Box::new(MyApp::new(cc))));
+ eframe::run_native("My App", options, Box::new(|cc| Ok(Box::new(MyApp::new(cc)))));
Change web CSS

To make the eframe canvas fill the entire web browser, set its CSS to:

top: 0;
left: 0;
width: 100%;
height: 100%;

See index.html and #​4536 for details.

Web canvas focus

If you are using eframe for a fullscreen app, you should call .focus() on your canvas during startup:

document.getElementById("the_canvas_id").focus();

v0.27.2

Compare Source

Desktop/Native
  • Fix continuous repaint on Wayland when TextEdit is focused or IME output is set #​4269 (thanks @​white-axe!)
  • Remove a bunch of unwrap() #​4285
Web
  • Fix blurry rendering in some browsers #​4299
  • Correctly identify if the browser tab has focus #​4280

v0.27.1

Compare Source

emilk/egui (egui)

v0.28.1

Compare Source

⭐ Added
🔧 Changed
🐛 Fixed

v0.28.0

Compare Source

✨ Highlights
🧳 Migration
  • Update MSRV to 1.76 (#​4411)
  • The wrap/truncate functions on Label/Button/ComboBox no longer take bools as arguments. Use .wrap_mode(…) instead for more fine control (#​4556)
  • Style::wrap has been deprecated in favor of Style::wrap_mode (#​4556)
  • Ui::new and ui.child_ui now takes a new parameter for the UiStack (#​4588)
  • The extra_asserts and extra_debug_asserts feature flags have been removed (#​4478)
  • Remove Event::Scroll and handle it in egui. Use Event::MouseWheel instead (#​4524)
  • Event::Zoom is no longer emitted on ctrl+scroll. Use InputState::smooth_scroll_delta instead (#​4524)
  • ui.set_enabled and set_visbile have been deprecated (#​4614)
  • DragValue::clamp_range renamed to range ((#​4728)
⭐ Added
🔧 Changed
🐛 Fixed

v0.27.2

Compare Source

🐛 Fixed
  • Fix tooltips for non-interactive widgets #​4291
  • Fix problem clicking the edge of a TextEdit #​4272
  • Fix: Response::clicked_elsewhere takes clip rect into account #​4274
  • Fix incorrect Response::interact_rect for Area/Window #​4273
⭐ Added

v0.27.1

Compare Source

🐛 Fixed
  • Fix visual glitch on the right side of highly rounded rectangles #​4244
  • Prevent visual glitch when shadow blur width is very high #​4245
  • Fix InputState::any_touches and add InputState::has_touch_screen #​4247
  • Fix Context::repaint_causes returning no causes #​4248
  • Fix touch-and-hold to open context menu #​4249
  • Hide shortcut text on zoom buttons if zoom_with_keyboard is false #​4262
🔧 Changed
  • Don't apply a clip rect to the contents of an Area or Window #​4258

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@theoparis theoparis merged commit df649a7 into main Jul 12, 2024
1 check passed
@theoparis theoparis deleted the renovate/all-minor-patch branch July 12, 2024 07:53
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.

1 participant