mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
## Short bluesky announcement: We just released egui 0.33.0! Highlights: - `egui::Plugin` a improved way to create and access egui plugins - [kitdiff](https://github.com/rerun-io/kitdiff), a viewer for egui_kittest image snapshots (and a general image diff tool) - better kerning (check the diff on [kitdiff](https://rerun-io.github.io/kitdiff/?url=https://github.com/emilk/egui/pull/7431)) https://github.com/user-attachments/assets/971f0493-6dae-42e5-8019-58b74cf5d203 ## Relaese Changelog: 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](https://www.rerun.io/), a startup building an SDK for visualizing streams of multimodal data. # egui 0.33.0 changelog Highlights from this release: - `egui::Plugin` a improved way to create and access egui plugins - [kitdiff](https://github.com/rerun-io/kitdiff), a viewer for egui_kittest image snapshots (and a general image diff tool) - better kerning ### Improved kerning As a step towards using [parley](https://github.com/linebender/parley) for font rendering, @valadaptive has refactored the font loading and rendering code. A result of this (next to the font rendering code being much nicer now) is improved kerning. Notice how the c moved away from the k:  ### `egui::Plugin` trait We've added a new trait-based plugin api, meant to replace `Context::on_begin_pass` and `Context::on_end_pass`. This makes it a lot easier to handle state in your plugins. Instead of having to write to egui memory it can live right on your plugin struct. The trait based api also makes easier to add new hooks that plugins can use. In addition to `on_begin_pass` and `on_end_pass`, the `Plugin` trait now has a `input_hook` and `output_hook` which you can use to inspect / modify the `RawInput` / `FullOutput`. ### kitdiff, a image diff viewer At rerun we have a ton of snapshots. Some PRs will change most of them (e.g. [the](https://github.com/rerun-io/rerun/pull/11253/files) [one](https://rerun-io.github.io/kitdiff/?url=https://github.com/rerun-io/rerun/pull/11253/files) that updated egui and introduced the kerning improvements, ~500 snapshots changed!). If you really want to look at every changed snapshot it better be as efficient as possible, and the experience on github, fiddeling with the sliders, is kind of frustrating. In order to fix this, we've made [kitdiff](https://rerun-io.github.io/kitdiff/). You can use it locally via - `kitdiff files .` will search for .new.png and .diff.png files - `kitdiff git` will compare the current files to the default branch (main/master) Or in the browser via - going to https://rerun-io.github.io/kitdiff/ and pasting a PR or github artifact url - linking to kitdiff via e.g. a github workflow `https://rerun-io.github.io/kitdiff/?url=<link_to_pr_or_artefact>` To install kitdiff run `cargo install --git https://github.com/rerun-io/kitdiff` Here is a video showing the kerning changes in kitdiff ([try it yourself](https://rerun-io.github.io/kitdiff/?url=https://github.com/rerun-io/rerun/pull/11253/files)): https://github.com/user-attachments/assets/74640af1-09ba-435a-9d0c-2cbeee140c8f ### Migration guide - `egui::Mutex` now has a timeout as a simple deadlock detection - If you use a `egui::Mutex` in some place where it's held for longer than a single frame, you should switch to the std mutex or parking_lot instead (egui mutexes are wrappers around parking lot) - `screen_rect` is deprecated - In order to support safe areas, egui now has `viewport_rect` and `content_rect`. - Update all usages of `screen_rect` to `content_rect`, unless you are sure that you want to draw outside the `safe area` (which would mean your Ui may be covered by notches, system ui, etc.)
13 KiB
13 KiB
Changelog for egui_extras
All notable changes to the egui_extras integration will be noted in this file.
This file is updated upon each release.
Changes since the last release can be found at https://github.com/emilk/egui/compare/latest...HEAD or by running the scripts/generate_changelog.py script.
0.33.0 - 2025-10-09
- Fix: use unique id for resize columns in
Table#7414 by @zezic - Feat: Add serde serialization to SyntectSettings #7506 by @bircni
- Make individual egui_extras image loaders public #7551 by @lucasmerlin
- Update MSRV from 1.86 to 1.88 #7579 by @Wumpf
0.32.3 - 2025-09-12
0.32.2 - 2025-09-04
- Fix memory leak when
forget_imageis called while loading #7380 by @Vanadiae - Fix deadlock in
ImageLoader,FileLoader,EhttpLoader#7494 by @lucasmerlin
0.32.1 - 2025-08-15
Nothing new
0.32.0 - 2025-07-10 - Improved SVG support
⭐ Added
- Allow loading multi-MIME formats using the image_loader #5769 by @MYDIH
- Make ImageLoader use background thread #5394 by @bircni
- Add overline option for Table rows #5637 by @akx
- Support text in SVGs #5979 by @cernec1999
- Enable setting DatePickerButton start and end year explicitly #7061 by @zachbateman
- Support custom syntect settings in syntax highlighter #7084 by @mkeeter
🔧 Changed
- Use enum-map serde feature only when serde is enabled #5748 by @tyssyt
- Better define the meaning of
SizeHint#7079 by @emilk
🔥 Removed
🐛 Fixed
- Refactor MIME type support detection in image loader to allow for deferred handling and appended encoding info #5686 by @markusdd
- Fix incorrect color fringe colors on SVG:s #7069 by @emilk
- Fix sometimes blurry SVGs #7071 by @emilk
- Fix crash in
egui_extras::FileLoaderafterforget_image#6995 by @bircni
0.31.1 - 2025-03-05
- Fix image_loader for animated image types #5688 by @BSteffaniak
0.31.0 - 2025-02-04
- Animated WebP support #5470, #5586 by @Aely0
- Make image extension check case-insensitive #5501 by @RyanBluth
- Avoid allocations for loader cache lookup #5584 by @mineichen
0.30.0 - 2024-12-16
- Use
Table::id_saltonScrollArea#5282 by @jwhear - Use proper
imagecrate URI and MIME support detection #5324 by @xangelix - Support loading images with weird urls and improve error message #5431 by @lucasmerlin
0.29.1 - 2024-10-01 - Fix table interaction
0.29.0 - 2024-09-26
⭐ Added
- Add
TableRow::set_hovered#4820 by @addiswebb - Add
TableBuilder::id_salt#5022 by @emilk - Add
TableBuilder::animate_scrolling#5159 by @ecpost
🔧 Changed
- Truncate text in clipped
Tablecolumns #5023 by @emilk - Change default
max_scroll_heightofegui::Tabletof32::INFINITY#4817 by @abey79 - Return
ScrollAreaOutputfromTable::body#4829 by @frederik-uni - Use
Style's font size inegui_extras::syntax_highlighting#5090 by @lampsitter
🐛 Fixed
- Make sure SVGs are crisp #4823 by @AurevoirXavier
- Fix file mime from path (wrong feature name) #4933 by @rustbasic
- Fix compilation of
egui_extraswithoutserdefeature #5014 by @emilk
0.28.1 - 2024-07-05
0.28.0 - 2024-07-03
- Update
imagecrate to 0.25 #4160 by @emilk - Set the
sizing_passflag in first frame ofegui_extras::Table#4613 by @emilk - Make
serdean opt-in feature #4641 by @Dinnerbone - GIF support #4620 by @JustFrederik
- Improve
egui_extras::Tablelayout #4755 by @emilk - Improve the auto-sizing of
Table#4756 by @emilk
0.27.2 - 2024-04-02
- Nothing new
0.27.1 - 2024-03-29
- Nothing new
0.27.0 - 2024-03-26
- Add scroll bar visibility option to
Tablewidget #3981 (thanks @richardhozak!) - Update
ehttpto 0.5 #4055 - Fix: assign a different id to each table cell, avoiding id clashes #4076
- Fix interaction with widgets inside selectable rows of
Table#4077 - Fixed handling of
file://protocol for images #4107 (thanks @varphone!) - Option to change date picker format #4180 (thanks @zaaarf!)
- Added ability to disable highlighting of weekend days in
DatePickerPopup. #4151 (thanks @hiyosilver!)
0.26.2 - 2024-02-14
- Nothing new
0.26.1 - 2024-02-11
- Nothing new
0.26.0 - 2024-02-05
- Remove
unwraps in SVG scaling #3826 (thanks @amPerl!) - Update to ehttp 0.4 #3834
- Fix
StripBuildernot allocating its used space #3957 (thanks @IVAN-MK7!) - Override text color with stroke selection color for selected cells #3968 (thanks @njust!)
0.25.0 - 2024-01-08
- Implement table row selection and hover highlighting #3347 (thanks @laurooyen!)
- Fix
egui_extras::Tablescrolling bug #3690 (thanks @abey79!) - Fix crash due to assertion during image loading from http #3750
- Update resvg dependency of egui_extras #3719 (thanks @PingPongun!)
0.24.2 - 2023-12-08 - Table scroll bug fix
- Fix
Tablescrolling bug #3690
0.24.1 - 2023-11-30
0.24.0 - 2023-11-23
- Fix Table stripe pattern when combining
row()androws()#3442 (thanks @YgorSouza!) - Update MSRV to Rust 1.72 #3595
0.23.0 - 2023-09-27
egui_extras::install_image_loaders#3297 #3315 #3328 (thanks @jprochazk!)- Add syntax highlighting feature to
egui_extras#3333 #3388 - Add
TableBuilder::drag_to_scroll#3100 (thanks @KYovchevski!) - Add opt-in
puffinfeature toegui-extras#3307 - Always depend on
logcrate #3336 - Fix not taking clipping into account when calculating column remainder #3357 (thanks @daxpedda!)
0.22.0 - 2023-05-23
0.21.0 - 2023-02-08
- Update to egui 0.21
0.20.0 - 2022-12-08
- Added
RetainedImage::from_svg_bytes_with_sizeto be able to specify a size for SVGs to be rasterized at. - Lots of
Tableimprovements (#2369):- Double-click column separators to auto-size the column.
- All
Tablenow store state. You may see warnings about reused table ids. Useui.push_idto fix this. TableBuilder::columntakes aColumninstead of aSize.Columncontrols default size, size range, resizing, and clipping of columns.Column::autowill pick a size automatically- Added
Table::scroll_to_row. - Added
Table::min_scrolled_heightandTable::max_scroll_height. - Added
TableBody::max_size. Table::scrollrenamed toTable::vscroll.egui_extras::Stripnow hasclip: falseby default.- Fix bugs when putting
Tableinside of a horizontalScrollArea. - Many other bug fixes.
- Add
Table::auto_shrink- set tofalseto expand table to fit its containingUi(#2371). - Added
TableBuilder::vertical_scroll_offset: method to set vertical scroll offset position for a table (#1946).
0.19.0 - 2022-08-20
- MSRV (Minimum Supported Rust Version) is now
1.61.0(#1846). - You can now specify a texture filter for
RetainedImage(#1636). - Fixed uneven
Tablestriping (#1680).
0.18.0 - 2022-04-30
- Added
Strip,TableandDatePicker(#963). - MSRV (Minimum Supported Rust Version) is now
1.60.0(#1467). - Renamed feature "persistence" to "serde" (#1540).
0.17.0 - 2022-02-22
RetainedImage: convenience for loading svg, png, jpeg etc and showing them in egui.