1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00
Files
egui/crates/egui_glow/CHANGELOG.md
Lucas Meurer 96470fabee Release 0.33.0 - egui::Plugin, better kerning, kitdiff viewer (#7622)
## 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:

![Oct-09-2025
16-21-58](https://github.com/user-attachments/assets/d4a17e87-5e98-40db-a85a-fa77fa77aceb)


### `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.)
2025-10-09 19:14:14 +02:00

6.9 KiB

Changelog for egui_glow

All notable changes to the egui_glow 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

0.32.3 - 2025-09-12

Nothing new

0.32.2 - 2025-09-04

Nothing new

0.32.1 - 2025-08-15

Nothing new

0.32.0 - 2025-07-10

  • Fix text distortion on mobile devices/browsers with glow backend #6893 by @wareya
  • Improve texture filtering by doing it in gamma space #7311 by @emilk

0.31.1 - 2025-03-05

Nothing new

0.31.0 - 2025-02-04

Nothing new

0.30.0 - 2024-12-16

0.29.1 - 2024-10-01

Nothing new

0.29.0 - 2024-09-26 - glow 0.14

0.28.1 - 2024-07-05

Nothing new

0.28.0 - 2024-07-03

0.27.2 - 2024-04-02

  • Nothing new

0.27.1 - 2024-03-29

  • Nothing new

0.27.0 - 2024-03-26

  • Only disable sRGB framebuffer on supported platforms #3994 (thanks @Nopey!)
  • Update memoffset to 0.9.0, arboard to 3.3.1, and remove egui_glow's needless dependency on pure_glow's deps #4036 (thanks @Nopey!)

0.26.2 - 2024-02-14

  • Update memoffset to 0.9.0, arboard to 3.3.1, and remove egui_glow's needless dependency on pure_glow's deps #4036 (thanks @Nopey!)

0.26.1 - 2024-02-11

  • Only disable sRGB framebuffer on supported platforms #3994 (thanks @Nopey!)

0.26.0 - 2024-02-05

0.25.0 - 2024-01-08

0.24.1 - 2023-11-30

  • Improve a docstring

0.24.0 - 2023-11-23

  • Change Arc<glow::Context> to Rc<glow::Context> #3598
  • Update MSRV to Rust 1.72 #3595
  • Clamp viewport values #3604 (thanks @Wumpf!)

0.23.0 - 2023-09-27

  • Update egui

0.22.0 - 2023-05-23

  • Update egui

0.21.0 - 2023-02-08

  • Update to glow 0.12 (#2695).
  • Remove the screen_reader feature (#2669).

0.20.1 - 2022-12-11

0.20.0 - 2022-12-08

  • Allow empty textures.
  • Added shader_version variable on EguiGlow::new for easier cross compiling on different OpenGL | ES targets (#1993).

0.19.0 - 2022-08-20

  • MSRV (Minimum Supported Rust Version) is now 1.61.0 (#1846).
  • EguiGlow::new now takes an EventLoopWindowTarget<E> instead of a winit::Window (#1634).
  • Use Arc for glow::Context instead of Rc (#1640).
  • Fixed glClear on WebGL1 (#1658).
  • Add Painter::intermediate_fbo which tells callbacks where to render. This is only needed if the callbacks use their own FBO:s and need to know what to restore to.

0.18.1 - 2022-05-05

  • Remove calls to gl.get_error in release builds to speed up rendering (#1583).

0.18.0 - 2022-04-30

  • Improved logging on rendering failures.
  • Added new NativeOptions: vsync, multisampling, depth_buffer, stencil_buffer.
  • Fixed potential scale bug when DPI scaling changes (e.g. when dragging a window between different displays) (#1441).
  • MSRV (Minimum Supported Rust Version) is now 1.60.0 (#1467).
  • clipboard, links, winit are now all opt-in features (#1467).
  • Added new feature puffin to add puffin profiler scopes (#1483).
  • Removed the features dark-light, default_fonts and persistence (#1542).

0.17.0 - 2022-02-22

  • EguiGlow::run no longer returns the shapes to paint, but stores them internally until you call EguiGlow::paint (#1110).
  • Added set_texture_filter method to Painter (#1041).
  • Fixed failure to run in Chrome (#1092).
  • EguiGlow::new and EguiGlow::paint now takes &winit::Window (#1151).
  • Automatically detect and apply dark or light mode from system (#1045).

0.16.0 - 2021-12-29

  • Made winit/glutin an optional dependency (#868).
  • Simplified EguiGlow interface (#871).
  • Removed EguiGlow::is_quit_event (#881).
  • Updated glutin to 0.28 (#930).
  • Changed the Painter interface slightly (#999).

0.15.0 - 2021-10-24

egui_glow has been newly created, with feature parity to egui_glium.

As glow is a set of lower-level bindings to OpenGL, this crate is potentially less stable than egui_glium, but hopefully this will one day replace egui_glium as the default backend for eframe.