11 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.3.0 - 2021-03-31
Added
- Touch support. #57 #650 (thanks to @simlay and @discordance!)
- Clipboard write access for
image::Viewerwidget. It allows panning and scaling of an image. #319 (thanks to @tarkah!)Tooltipwidget. It annotates content with some text on mouse hover. #465 (thanks to @yusdacra!)- Support for the
smolasync runtime. #699 (thanks to @JayceFayne!) - Support for graceful exiting when using the
Applicationtrait. #804 - Image format features in
iced_wgputo reduce code bloat. #392 (thanks to @unrelentingtech!) FocusedandUnfocusedvariant towindow::Event. #701 (thanks to @cossonleo!)WGPU_BACKENDenvironment variable to configure the internal graphics backend oficed_wgpu. #789 (thanks to @Cupnfish!)
Changed
- The
TitleBarof aPaneGridnow supports generic elements. #657 (thanks to @clarkmoody!) - The
Errortype now implementsSendandSync. #719 (thanks to @taiki-e!) - The
Styletypes iniced_stylenow implementCloneandCopy. #720 (thanks to @taiki-e!) - The following dependencies have been updated:
- The following examples were improved:
Fixed
- Button events not being propagated to contents. #668
- Incorrect overlay implementation for the
Buttonwidget. #764 Viewport::physical_widthreturning the wrong value. #700- Outdated documentation for the
Sandboxtrait. #710
0.2.0 - 2020-11-26
Added
-
Canvasinteractivity (#325)
A trait-based approach to react to mouse and keyboard interactions in theCanvaswidget. -
iced_graphicssubcrate (#354)
A backend-agnostic graphics subcrate that can be leveraged to build new renderers. -
OpenGL renderer (#354)
An OpenGL renderer powered byiced_graphics,glow, andglutin. It is an alternative to the defaultwgpurenderer. -
Overlay support (#444)
Basic support for superpositioning interactive widgets on top of other widgets. -
Faster event loop (#597)
The event loop now takes advantage of the data dependencies in The Elm Architecture and leverages the borrow checker to keep the widget tree alive between iterations, avoiding unnecessary rebuilds. -
Event capturing (#614)
The runtime now can tell whether a widget has handled an event or not, easing integration with existing applications. -
PickListwidget (#444)
A drop-down selector widget built on top of the new overlay support. -
QRCodewidget (#622)
A widget that displays a QR code, powered by theqrcodecrate.
0.1.1 - 2020-04-15
Added
Settings::with_flagsto easily initialize some default settings with flags. #266Defaultimplementation forcanvas::layer::Cache. #267Ctrl + Delsupport forTextInput. #268- Helper methods in
canvas::Pathto easily draw lines, rectangles, and circles. #293 From<Color>implementation forcanvas::Fill. #293From<String>implementation forcanvas::Text. #293From<&str>implementation forcanvas::Text. #293
Changed
newmethod ofRadioandCheckboxnow take a genericInto<String>for the label. #260Frame::fillnow takes a genericInto<canvas::Fill>. #293Frame::strokenow takes a genericInto<canvas::Stroke>. #293Frame::fill_textnow takes a genericInto<canvas::Text>. #293
Fixed
- Feature flags not being referenced in documentation. #259
- Crash in some graphics drivers when displaying an empty
Canvas. #278 - Text measuring when spaces where present at the beginning of a
TextInputvalue. #279 TextInputproducing aClipprimitive when unnecessary. #279- Alignment of
Textprimitive iniced_wgpu. #281 CursorEnteredandCursorLeftnot being generated. #289
Removed
- Unnecessary
'staticlifetimes inRendererbounds. #290
0.1.0 - 2020-04-02
Added
-
Event subscriptions (#122)
A declarative way to listen to external events asynchronously by leveraging streams. -
Custom styling (#146)
A simple, trait-based approach for customizing the appearance of different widgets. -
Canvaswidget (#193)
A widget for drawing 2D graphics with an interface inspired by the Web Canvas API and powered bylyon. -
PaneGridwidget (#224)
A widget that dynamically organizes layout by splitting panes that can be resized and drag and dropped. -
Svgwidget (#111)
A widget that renders vector graphics on top ofresvgandraqote. Thanks to @Maldela! -
ProgressBarwidget (#141)
A widget to notify progress of asynchronous tasks to your users. Thanks to @Songtronix! -
Configurable futures executor (#164)
Support for pluggingtokio,async-std,wasm-bindgen-futures, or your own custom futures executor to an application. -
Compatibility with existing
wgpuprojects (#183)
A bunch of improvements to the flexibility oficed_wgputo allow integration in existing codebases. -
Text selection for
TextInput(#202)
Thanks to @FabianLars and @Finnerale! -
Texture atlas for
iced_wgpu(#154)
An atlas on top ofguillotierefor batching draw calls. Thanks to @Maldela!
0.1.0-beta - 2019-11-25
Changed
- The old
icedbecomesiced_native. The currenticedcrate turns into a batteries-included, cross-platform GUI library.
0.1.0-alpha - 2019-09-05
Added
- First release! 🎉