chore(deps): update all non-major dependencies to 0.28.0 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.27.0
->0.28.0
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
register_native_texture
ineframe::Frame
#4246 by @ChaojimengnanNativeOptions::persistence_path
#4423 by @lucasmerlinraw_input_hook
on web #4646 by @owen-d🔧 Changed
glow
backend #4284, #4296 by @emilkobjc2
and its framework crates #4395 by @madsmtmResizeObserver
instead ofresize
event #4536 by @jprochazkrequest_animation_frame
into resize observer #4628 by @jprochazkdirectories-next
dependency withdirectories
#4661 by @crumblingstatueeframe::Result
is now short foreframe::Result<()>
#4706 by @emilk🐛 Fixed
ViewportCommand::InnerSize
not resizing viewport on Wayland (#4211) #4211 by @rustbasicEvent::Ime
#4358 by @rustbasic.forget()
RAF closure #4551 by @jprochazk🧳 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 aResult
like so:Change web CSS
To make the eframe canvas fill the entire web browser, set its CSS to:
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:v0.27.2
Compare Source
Desktop/Native
unwrap()
#4285Web
v0.27.1
Compare Source
#hash
in the URL changes #4261zoom_factor
#4260 (thanks @justusdieckmann!)emilk/egui (egui)
v0.28.1
Compare Source
⭐ Added
Image::uri()
#4720 by @rustbasic🔧 Changed
Event::Zoom
#4778 by @emilk🐛 Fixed
v0.28.0
Compare Source
✨ Highlights
ui.stack()
with info about all ancestorUi
s, with optional tags #4588 by @abey79, #4617 by @emilkTextEdit
#4279 by @emilk🧳 Migration
wrap/truncate
functions onLabel/Button/ComboBox
no longer take bools as arguments. Use.wrap_mode(…)
instead for more fine control (#4556)Style::wrap
has been deprecated in favor ofStyle::wrap_mode
(#4556)Ui::new
andui.child_ui
now takes a new parameter for theUiStack
(#4588)extra_asserts
andextra_debug_asserts
feature flags have been removed (#4478)Event::Scroll
and handle it in egui. UseEvent::MouseWheel
instead (#4524)Event::Zoom
is no longer emitted on ctrl+scroll. UseInputState::smooth_scroll_delta
instead (#4524)ui.set_enabled
andset_visbile
have been deprecated (#4614)DragValue::clamp_range
renamed torange
((#4728)⭐ Added
Rect + Margin
,Rect - Margin
etc #4277 by @emilkWindow::order
#4301 by @alexparlettViewportCommand::RequestCut
,RequestCopy
andRequestPaste
to trigger clipboard actions #4035 by @bu5hm4nnDisplay
impl forVec2
,Pos2
, andRect
#4428 by @tgross35Options::line_scroll_speed
andscroll_zoom_speed
#4532 by @emilkTextEdit::hint_text_font
#4517 by @zaaarfOptions::reduce_texture_memory
to free up RAM #4431 by @varphoneegui::Style
#4556 by @abey79Response::show_tooltip_ui
andshow_tooltip_text
#4580 by @emilkopacity
andmultiply_opacity
functions toUi
andPainter
#4586 by @emilkKey::Quote
#4683 by @mkeeterPopupCloseBehavior
#4636 by @Umatrizclamp_to_range
option to DragValue, renameclamp_range
torange
(deprecating the former) #4728 by @WumpfStyle::number_formatter
as the default used byDragValue
#4740 by @emilk🔧 Changed
TextEdit
an atomic widget #4276 by @emilkfn scroll2
tofn scroll
#4282 by @emilkFrame::multiply_with_opacity
to multiply in gamma space #4283 by @emilkUi
s style for popups #4325 by @alexparlettrounding
into account when usingSlider::trailing_fill
#4308 by @rustbasicViewportBuilder::with_icon()
documentation #4408 by @roccobluesinclude_image!
now accepts expressions #4521 by @YgorSouzaTextEdit::return_key
optional #4543 by @doonvComboBox
: fix justified layout of popup if wider than parent button #4570 by @emilkArea
state public #4576 by @emilkArea
size #4749 by @emilkegu::menu
types public #4544 by @sor-caArea/Window
is nowctx.screen_rect
#4590 by @emilkArea
s to screen by default #4591 by @emilkGrid
: set thesizing_pass
flag during the initial sizing pass #4612 by @emilkDragValue
andSlider
now ignores whitespace #4739 by @emilk🐛 Fixed
drag_released*
#4314 by @sornashex_color!
macro by re-exportingcolor_hex
crate fromecolor
#4372 by @dataphractUi::allocate_painter
to inherit properties fromUi
#4343 by @varphonePanel
incorrect size #4351 by @zhatuokunEvent::Ime
#4358 by @rustbasicScrollArea
andPlot
when UI is disabled #4457 by @varphoneUi::scroll_with_delta
only scrolling if theScrollArea
is focused #4303 by @lucasmerlinResponse::hover_pos
returns incorrect positions with layer transforms #4679 by @Creative0708Area::show
response #4710 by @emilkWindow
scroll bars are at the window edges #4733 by @emilkTextEdit
widgets from sending fake primary clicks #4751 by @Aliremuv0.27.2
Compare Source
🐛 Fixed
TextEdit
#4272Response::clicked_elsewhere
takes clip rect into account #4274Response::interact_rect
forArea/Window
#4273⭐ Added
ScrollArea
#4309 (thanks @lucasmerlin!)v0.27.1
Compare Source
🐛 Fixed
InputState::any_touches
and addInputState::has_touch_screen
#4247Context::repaint_causes
returning no causes #4248zoom_with_keyboard
is false #4262🔧 Changed
Area
orWindow
#4258Configuration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.