๐Ÿ–Œ egui v0.18.0 Release Notes

Release Date: 2022-04-30 // about 2 years ago
  • โž• Added โญ

    • Added Shape::Callback for backend-specific painting, with an example (#1351).
    • โž• Added Frame::canvas (#1362).
    • ๐Ÿ’ป Context::request_repaint will now wake up UI thread, if integrations has called Context::set_request_repaint_callback (#1366).
    • Added Plot::allow_scroll, Plot::allow_zoom no longer affects scrolling (#1382).
    • โž• Added Ui::push_id to resolve id clashes (#1374).
    • โž• Added ComboBox::icon (#1405).
    • Added Ui::scroll_with_delta.
    • โž• Added Frame::outer_margin.
    • โž• Added Painter::hline and Painter::vline.
    • โž• Added Link and ui.link (#1506).
    • โž• Added triple-click support; triple-clicking a TextEdit field will select the whole paragraph (#1512).
    • Added Plot::x_grid_spacer and Plot::y_grid_spacer for custom grid spacing (#1180).
    • โž• Added Ui::spinner() shortcut method (#1494).
    • โž• Added CursorIcons for resizing columns, rows, and the eight cardinal directions.
    • โž• Added Ui::toggle_value.
    • โž• Added ability to add any widgets to the header of a collapsing region (#1538).

    ๐Ÿ”„ Changed ๐Ÿ”ง

    • ๐Ÿ‘ MSRV (Minimum Supported Rust Version) is now 1.60.0 (#1467).
    • ClippedMesh has been replaced with ClippedPrimitive (#1351).
    • ๐Ÿ“‡ Renamed Frame::margin to Frame::inner_margin.
    • ๐Ÿ“‡ Renamed AlphaImage to FontImage to discourage any other use for it (#1412).
    • โš  Warnings will be painted on screen when there is an Id clash for Grid, Plot or ScrollArea (#1452).
    • Checkbox and RadioButton with an empty label ("") will now take up much less space (#1456).
    • Replaced Memory::top_most_layer with more flexible Memory::layer_ids.
    • ๐Ÿ“‡ Renamed the feature convert_bytemuck to bytemuck (#1467).
    • ๐Ÿ“‡ Renamed the feature serialize to serde (#1467).
    • Renamed Painter::sub_region to Painter::with_clip_rect.

    ๐Ÿ›  Fixed ๐Ÿ›

    • ๐Ÿ›  Fixed ComboBoxes always being rendered left-aligned (#1304).
    • ๐Ÿ›  Fixed ui code that could lead to a deadlock (#1380).
    • Text is darker and more readable in bright mode (#1412).
    • ๐Ÿ›  Fixed a lot of broken/missing doclinks (#1419).
    • ๐Ÿ›  Fixed Ui::add_visible sometimes leaving the Ui in a disabled state (#1436).
    • โž• Added line breaking rules for Japanese text (#1498).

    ๐Ÿ—„ Deprecated โ˜ข๏ธ

    • ๐Ÿ—„ Deprecated CollapsingHeader::selectable (#1538).

    โœ‚ Removed ๐Ÿ”ฅ

    • Removed the single_threaded/multi_threaded flags - egui is now always thread-safe (#1390).

    Contributors ๐Ÿ™