egui breaking changes
egui 0.38.0 (December 1, 2026) is its newest release with breaking changes, 42 of them. The first: Removed ColorImage. Every breaking API change we have recorded in egui on crates.io: 42 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.38.0, released December 1, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
egui 0.38.0 breaking changes
- Removed
ColorImage
The internal fields of ColorImage are no longer public, so code that reads or writes them must use the public methods instead. github.com - Removed
egui::Style::compact_menu_style
egui::Style::compact_menu_style was removed in egui 0.38.0 crates.io - Removed
egui::style::Style::compact_menu_style
egui::style::Style::compact_menu_style was removed in egui 0.38.0 crates.io - Removed
egui::style::Visuals::code_bg_color
egui::style::Visuals::code_bg_color was removed in egui 0.38.0 crates.io - Removed
egui::Visuals::code_bg_color
egui::Visuals::code_bg_color was removed in egui 0.38.0 crates.io - Removed
Style.compact_menu_style
The compact_menu_style field of Style was removed, so code referencing it will no longer compile. github.com - Behavior changed
egui_extras.Table
Table cells now get padding from TableStyle::cell_margin, which changes layout size. github.com - Behavior changed
Grid
Grid cells now get padding from TableStyle::cell_margin, which changes layout size. github.com - Default changed
Grid
Grid now has its own TableStyle and striped tables are the default, so grids look different unless styling is adjusted. github.com - Default changed
TextEdit
Single-line TextEdit now centers its text vertically by default, so its appearance changes. github.com - Signature changed
CollapsingHeader
CollapsingHeader now accepts atoms rather than WidgetText, so callers passing WidgetText must change. github.com - Signature changed
egui::Atoms::iter_texts
Was fn iter_texts(&self) -> impl Iterator<Item = &WidgetText> + use<'_, 'a>; now fn iter_texts(&self) -> impl Iterator<Item = &WidgetText>. crates.io - Signature changed
egui::Atoms::iter_texts_mut
Was fn iter_texts_mut(&mut self) -> impl Iterator<Item = &mut WidgetText> + use<'a, '_>; now fn iter_texts_mut(&mut self) -> impl Iterator<Item = &mut WidgetText>. crates.io - Signature changed
egui::CollapsingHeader
Was struct CollapsingHeader; now struct CollapsingHeader<'a>. crates.io - Signature changed
egui::CollapsingHeader::default_open
Was fn default_open(mut self, open: bool) -> Self; now fn default_open(mut self, open: bool) -> Self. crates.io - Signature changed
egui::CollapsingHeader::enabled
Was fn enabled(mut self, enabled: bool) -> Self; now fn enabled(mut self, enabled: bool) -> Self. crates.io - Signature changed
egui::CollapsingHeader::icon
Was fn icon(mut self, icon_fn: impl FnOnce(&mut Ui, f32, &Response) + 'static) -> Self; now fn icon(mut self, icon_fn: impl FnOnce(&mut Ui, f32, &Response) + 'static) -> Self. crates.io - Signature changed
egui::CollapsingHeader::id_salt
Was fn id_salt(mut self, id_salt: impl AsIdSalt) -> Self; now fn id_salt(mut self, id_salt: impl AsIdSalt) -> Self. crates.io - Signature changed
egui::CollapsingHeader::new
Was fn new(text: impl Into<WidgetText>) -> Self; now fn new(atoms: impl IntoAtoms<'a>) -> Self. crates.io - Signature changed
egui::CollapsingHeader::open
Was fn open(mut self, open: Option<bool>) -> Self; now fn open(mut self, open: Option<bool>) -> Self. crates.io - Signature changed
egui::CollapsingHeader::show_background
Was fn show_background(mut self, show_background: bool) -> Self; now fn show_background(mut self, show_background: bool) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader
Was struct CollapsingHeader; now struct CollapsingHeader<'a>. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::default_open
Was fn default_open(mut self, open: bool) -> Self; now fn default_open(mut self, open: bool) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::enabled
Was fn enabled(mut self, enabled: bool) -> Self; now fn enabled(mut self, enabled: bool) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::icon
Was fn icon(mut self, icon_fn: impl FnOnce(&mut Ui, f32, &Response) + 'static) -> Self; now fn icon(mut self, icon_fn: impl FnOnce(&mut Ui, f32, &Response) + 'static) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::id_salt
Was fn id_salt(mut self, id_salt: impl AsIdSalt) -> Self; now fn id_salt(mut self, id_salt: impl AsIdSalt) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::new
Was fn new(text: impl Into<WidgetText>) -> Self; now fn new(atoms: impl IntoAtoms<'a>) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::open
Was fn open(mut self, open: Option<bool>) -> Self; now fn open(mut self, open: Option<bool>) -> Self. crates.io - Signature changed
egui::containers::collapsing_header::CollapsingHeader::show_background
Was fn show_background(mut self, show_background: bool) -> Self; now fn show_background(mut self, show_background: bool) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader
Was struct CollapsingHeader; now struct CollapsingHeader<'a>. crates.io - Signature changed
egui::containers::CollapsingHeader::default_open
Was fn default_open(mut self, open: bool) -> Self; now fn default_open(mut self, open: bool) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader::enabled
Was fn enabled(mut self, enabled: bool) -> Self; now fn enabled(mut self, enabled: bool) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader::icon
Was fn icon(mut self, icon_fn: impl FnOnce(&mut Ui, f32, &Response) + 'static) -> Self; now fn icon(mut self, icon_fn: impl FnOnce(&mut Ui, f32, &Response) + 'static) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader::id_salt
Was fn id_salt(mut self, id_salt: impl AsIdSalt) -> Self; now fn id_salt(mut self, id_salt: impl AsIdSalt) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader::new
Was fn new(text: impl Into<WidgetText>) -> Self; now fn new(atoms: impl IntoAtoms<'a>) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader::open
Was fn open(mut self, open: Option<bool>) -> Self; now fn open(mut self, open: Option<bool>) -> Self. crates.io - Signature changed
egui::containers::CollapsingHeader::show_background
Was fn show_background(mut self, show_background: bool) -> Self; now fn show_background(mut self, show_background: bool) -> Self. crates.io - Signature changed
egui::Grid::spacing
Was fn spacing(mut self, spacing: impl Into<Vec2>) -> Self; now fn spacing(self, spacing: impl Into<Vec2>) -> Self. crates.io - Signature changed
egui::SizedContainerAtom::iter_texts
Was fn iter_texts(&self) -> impl Iterator<Item = &Arc<Galley>> + use<'atom, '_>; now fn iter_texts(&self) -> impl Iterator<Item = &Arc<Galley>>. crates.io - Signature changed
egui::SizedContainerAtom::iter_texts_mut
Was fn iter_texts_mut(&mut self) -> impl Iterator<Item = &mut Arc<Galley>> + use<'atom, '_>; now fn iter_texts_mut(&mut self) -> impl Iterator<Item = &mut Arc<Galley>>. crates.io - Signature changed
egui::Ui::collapsing
Was fn collapsing<R>(&mut self, heading: impl Into<WidgetText>, add_contents: impl FnOnce(&mut Ui) -> R) -> CollapsingResponse<R>; now fn collapsing<'a, R>(&mut self, heading: impl IntoAtoms<'a>, add_contents: impl FnOnce(&mut Ui) -> R) ->... crates.io - Signature changed
egui::UiBuilder::sizing_pass
Was sizing_pass: bool; now sizing_pass: Option<bool>. crates.io
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.