5.4 KiB
5.4 KiB
Changelog for eframe
All notable changes to the eframe and epi crates.
NOTE: egui_web, egui-winit, egui_glium, and egui_glow have their own changelogs!
Unreleased
- Change default for
NativeOptions::drag_and_drop_supporttotrue(#1329). - Remove the
egui_gliumfeature.eframewill now always useegui_glowas the native backend (#1357). - Removed
Frame::request_repaint- just callegui::Context::request_repaintfor the same effect (#1366). - Use full browser width by default (#1378).
- Added new
NativeOptions:vsync,multisampling,depth_buffer,stencil_buffer. - Changed app creation/setup (#1363):
- Removed
App::setupandApp::name. - Provide
CreationContextwhen creating app with egui context, storage, integration info and glow context. - Change interface of
run_nativeandstart_web.
- Removed
- Added
Frame::storage()andFrame::storage_mut()(#1418).- You can now load/save state in
App::update - Changed
App::updateto take&mut Frameinstead of&Frame. Frameis no longerCloneorSync.
- You can now load/save state in
- Add
glow(OpenGL) context toFrame(#1425). dark-light(dark mode detection) is now an opt-in feature (#1437).- 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). - Added new feature
puffinto addpuffin profilerscopes (#1483). - Added
Ui::spinner()shortcut method (#1494).
0.17.0 - 2022-02-22
- Removed
Frame::alloc_texture. Useegui::Context::load_textureinstead (#1110). - The default native backend is now
egui_glow(instead ofegui_glium) (#1020). - The default web painter is now
egui_glow(instead of WebGL) (#1020). - Automatically detect and apply dark or light mode from system (#1045).
- Fix horizontal scrolling direction on Linux.
- Added
App::on_exit_event(#1038) - Added
NativeOptions::initial_window_pos. - Fixed
enable_dragfor Windows OS (#1108). - Shift-scroll will now result in horizontal scrolling on all platforms (#1136).
- Log using the
tracingcrate. Log to stdout by addingtracing_subscriber::fmt::init();to yourmain(#1192). - Expose all parts of the location/url in
frame.info().web_info(#1258).
0.16.0 - 2021-12-29
Framecan now be cloned, saved, and passed to background threads (#999).- Added
Frame::request_repaintto replacerepaint_signal(#999). - Added
Frame::alloc_texture/free_textureto replacetex_allocator(#999).
0.15.0 - 2021-10-24
Framenow providesset_window_titleto set window title dynamicallyFramenow providesset_decorationsto set whether to show window decorations.- Remove "http" feature (use https://github.com/emilk/ehttp instead!).
- Increase native scroll speed.
- Add
App::persist_native_windowandApp::persist_egui_memoryto control what gets persisted. - Add new backend
egui_glowas an alternative toegui_glium. Enable withdefault-features = false, features = ["default_fonts", "egui_glow"].
0.14.0 - 2021-08-24
- Add dragging and dropping files into egui.
- Improve http fetch API.
run_nativenow returns when the app is closed.
0.13.1 - 2021-06-24
- Fix
httpfeature flag and docs
0.13.0 - 2021-06-24
App::setupnow takes aFrameandStorageby argument.App::loadhas been removed. ImplementApp::setupinstead.
0.12.0 - 2021-05-10
- Moved options out of
trait Appinto newNativeOptions. - Add option for
always_on_top.
0.11.0 - 2021-04-05
- You can now turn your window transparent with the
App::transparentoption. - You can now disable window decorations with the
App::decoratedoption.
0.10.0 - 2021-02-28
- You can now set your own app icons.
- You can control the initial size of the native window with
App::initial_window_size. - You can control the maximum egui web canvas size with
App::max_size_points. Frame::tex_allocator()no longer returns anOption(there is always a texture allocator).
0.9.0 - 2021-02-07
0.8.0 - 2021-01-17
- Simplify
TextureAllocatorinterface.
0.7.0 - 2021-01-04
- Initial release of
eframe