Split changelog file to make it more comprehensible when reading and also make it a part of documentation so it'll be more discoverable by the users. This change also makes it possible for rust code inside the changelogs to be tested with `cargo`. Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
3.6 KiB
3.6 KiB
Unreleased
- Deprecate
EventLoop::runin favor ofEventLoop::run_app. - Deprecate
EventLoopExtRunOnDemand::run_on_demandin favor ofEventLoop::run_app_on_demand. - Deprecate
EventLoopExtPumpEvents::pump_eventsin favor ofEventLoopExtPumpEvents::pump_app_events. - Add
ApplicationHandler<T>trait which mimicsEvent<T>. - Move
dpitypes to its own crate, and re-export it from the root crate. - Implement
SyncforEventLoopProxy<T: Send>. - Breaking: Move
Window::newtoActiveEventLoop::create_windowandEventLoop::create_window(with the latter being deprecated). - Breaking: Rename
EventLoopWindowTargettoActiveEventLoop. - Breaking: Remove
Derefimplementation forEventLoopthat gaveEventLoopWindowTarget. - Breaking: Remove
WindowBuilderin favor ofWindowAttributes. - Breaking: Removed unnecessary generic parameter
TfromEventLoopWindowTarget. - On Windows, macOS, X11, Wayland and Web, implement setting images as cursors. See the
custom_cursors.rsexample.- Breaking: Remove
Window::set_cursor_icon - Add
WindowBuilder::with_cursorandWindow::set_cursorwhich takes aCursorIconorCustomCursor - Add
CustomCursor::from_rgbato allow creating cursor images from RGBA data. - Add
CustomCursorExtWebSys::from_urlto allow loading cursor images from URLs. - Add
CustomCursorExtWebSys::from_animationto allow creating animated cursors from otherCustomCursors. - Add
{Active,}EventLoop::create_custom_cursorto load custom cursor image sources.
- Breaking: Remove
- On macOS, add services menu.
- Breaking: On Web, remove queuing fullscreen request in absence of transient activation.
- On Web, fix setting cursor icon overriding cursor visibility.
- Breaking: On Web, return
RawWindowHandle::WebCanvasinstead ofRawWindowHandle::Web. - Breaking: On Web, macOS and iOS, return
HandleError::Unavailablewhen a window handle is not available. - Breaking: Bump MSRV from
1.65to1.70. - On Web, add the ability to toggle calling
Event.preventDefault()onWindow. - Breaking: Remove
WindowAttributes::fullscreen()and expose as field directly. - Breaking: Rename
VideoModetoVideoModeHandleto represent that it doesn't hold static data. - Breaking: No longer export
platform::x11::XNotSupported. - Breaking: Renamed
platform::x11::XWindowTypetoplatform::x11::WindowType. - Add the
OwnedDisplayHandletype for allowing safe display handle usage outside of trivial cases. - Breaking: Rename
TouchpadMagnifytoPinchGesture,SmartMagnifytoDoubleTapGestureandTouchpadRotatetoRotationGestureto represent the action rather than the intent. - on iOS, add detection support for
PinchGesture,DoubleTapGestureandRotationGesture. - on Windows: add
with_system_backdrop,with_border_color,with_title_background_color,with_title_text_colorandwith_corner_preference - On Windows, Remove
WS_CAPTION,WS_BORDERandWS_EX_WINDOWEDGEstyles for child windows without decorations. - Breaking: Removed
EventLoopError::AlreadyRunning, which can't happen as it is already prevented by the type system. - Added
EventLoop::builder, which is intended to replace the (now deprecated)EventLoopBuilder::new. - Breaking: Changed the signature of
EventLoop::with_user_eventto return a builder. - Breaking: Removed
EventLoopBuilder::with_user_event, the functionality is now available inEventLoop::with_user_event. - Add
Window::default_attributesto get defaultWindowAttributes. loghas been replaced withtracing. The old behavior can be emulated by setting thelogfeature on thetracingcrate.