Skip to content

Bump egui from 0.37.0 to 0.38.0 - #7

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/egui-0.38.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/egui-0.38.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 4, 2026 •

Copy link
Copy Markdown

Bumps egui from 0.37.0 to 0.38.0.

Release notes

Sourced from egui's releases.

egui 0.38.0 - egui::EmbeddedView

egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native.

Try it now: https://www.egui.rs/

egui development is sponsored by Rerun, a startup building an SDK for visualizing streams of multimodal data.

Highlights

egui::EmbeddedView and egui_webview

EmbeddedWidget is a new utility widget that can be used to embed native ui inside an egui app. Examples for this could be video players, a map view or webviews.

We are working on a WebView widget for egui over on our egui_crates repo. Currently, it has support for using iframes on the web and chromium embedded on native. We're still working on a macOS and Windows backend to use the system WebView engine there (WKWebView or WebView2), but for now chromium will work everywhere.

There are two ways to show native views:

EmbeddedViewPlacement::Below

The egui surface needs to be transparent, and the native widget is rendered below egui. When placing the EmbeddedView, a hole is cut into the egui surface, using Shape::Clear, so that the native view will show through. PlatformOutput will contain a new EmbeddedViewOutput for each EmbeddedView. It's view_input_areas needs to be used to pass input events through to the native widget below. On the web, eframe does this for us. Natively, this has to be done by the native view implementation (e.g. in egui_webview).

EmbeddedViewPlacement::Above

Here, the native view is rendered above eguis surface. Again, we should EmbeddedViewOutput, but this time to clip the native views painting to the view_paint_areas and its input to the view_input_areas. This method has the drawback that any egui popups shown above the native view won't show their shadows or backdrops in the area of the embedded widget. So it should only be used when the egui surface doesn't support transparency (e.g. windows with vulkan or gl rendering) or if the native widget should support transparency.

Screen.Recording.2026-12-01.at.17.17.54.mov

⭐ Added

... (truncated)

Changelog

Sourced from egui's changelog.

0.38.0 - egui::EmbeddedView

Highlights

egui::EmbeddedView and egui_webview

EmbeddedWidget is a new utility widget that can be used to embed native ui inside an egui app. Examples for this could be video players, a map view or webviews.

We are working on a WebView widget for egui over on our egui_crates repo. Currently, it has support for using iframes on the web and chromium embedded on native. We're still working on a macOS and Windows backend to use the system WebView engine there (WKWebView or WebView2), but for now chromium will work everywhere.

There are two ways to show native views:

EmbeddedViewPlacement::Below

The egui surface needs to be transparent, and the native widget is rendered below egui. When placing the EmbeddedView, a hole is cut into the egui surface, using Shape::Clear, so that the native view will show through. PlatformOutput will contain a new EmbeddedViewOutput for each EmbeddedView. It's view_input_areas needs to be used to pass input events through to the native widget below. On the web, eframe does this for us. Natively, this has to be done by the native view implementation (e.g. in egui_webview).

EmbeddedViewPlacement::Above

Here, the native view is rendered above eguis surface. Again, we should EmbeddedViewOutput, but this time to clip the native views painting to the view_paint_areas and its input to the view_input_areas. This method has the drawback that any egui popups shown above the native view won't show their shadows or backdrops in the area of the embedded widget. So it should only be used when the egui surface doesn't support transparency (e.g. windows with vulkan or gl rendering) or if the native widget should support transparency.

Screen.Recording.2026-12-01.at.17.17.54.mov

⭐ Added

🔧 Changed

... (truncated)

Commits
  • 41b4e10 Release 0.38.0 - egui::EmbeddedView
  • 21a8dcf Snap the text of a TextEdit to the pixel grid (#9000)
  • 3e7d25e Fix alignment of text inside atoms that are larger than the text (#8997)
  • 5828e60 Make table demo rows tall enough for their checkbox (#8996)
  • 0e2b394 Center singleline TextEdit text vertically by default (#8993)
  • e022eec Simplify table layout and fix clipped separator lines (#8992)
  • 38bc769 Add lines, an outline, and rounded corners to egui_extras::Table (#8983)
  • 36c713c Pad egui_extras::Table cells with TableStyle::cell_margin (#8982)
  • 36d7372 Add GridStyle (#8989)
  • 677bfe5 Allow child UIs to opt out of inherited sizing mode (#8762)
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Dec 4, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps [egui](https://github.com/emilk/egui) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/emilk/egui/releases)
- [Changelog](https://github.com/emilk/egui/blob/main/CHANGELOG.md)
- [Commits](emilk/egui@0.37.0...0.38.0)

---
updated-dependencies:
- dependency-name: egui
  dependency-version: 0.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/egui-0.38.0 branch from 97d98f1 to af0e797 Compare December 5, 2026 00:15
@morganlowe

Copy link
Copy Markdown
Owner

Applied on main in 63a6f9d, together with eframe 0.38. The pair must move together because eframe requires the matching egui version. Closing this PR as superseded.

@morganlowe morganlowe closed this Dec 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/egui-0.38.0 branch December 5, 2026 00:37
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