Skip to content

Latest commit

 

History

History
269 lines (221 loc) · 12.8 KB

CHANGELOG.md

File metadata and controls

269 lines (221 loc) · 12.8 KB

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.

0.4.2 - 2022-05-03

Fixed

  • Padding type not exposed in iced.

0.4.1 - 2022-05-02

Fixed

  • Version number in README.

0.4.0 - 2022-05-02

Added

  • Stateless widgets (#1284)
    A brand new widget API that removes the need to keep track of internal widget state. No more button::State in your application!

  • Component trait (#1131)
    A new trait to implement custom widgets with internal mutable state while using composition and The Elm Architecture.

  • Responsive widget (#1193)
    A widget that is aware of its dimensions and can be used to easily build responsive user interfaces.

  • Experimental WebGL support (#1096)
    Applications can now be rendered into an HTML canvas when targeting Wasm by leveraging the WebGL support in wgpu. Thanks to @pacmancoder and @kaimast!

  • Support for Raspberry Pis and older devices (#1160)
    The compatibility of our OpenGL renderer has been improved and should run on any hardware that supports OpenGL 3.0+ or OpenGL ES 2.0+. Additionally, we started maintaining Docker images for aarch64 and armv7 to easily cross-compile iced applications and target Raspberry Pis. Thanks to @derezzedex!

  • Simpler Renderer APIs (#1110)
    The surface of the Renderer APIs of the library has been considerably reduced. Instead of a Renderer trait per widget, now there are only 3 traits that are reused by all the widgets.

0.3.0 - 2021-03-31

Added

  • Touch support. #57 #650 (thanks to @simlay and @discordance!)
  • Clipboard write access for
    • TextInput widget. #770
    • Application::update. #773
  • image::Viewer widget. It allows panning and scaling of an image. #319 (thanks to @tarkah!)
  • Tooltip widget. It annotates content with some text on mouse hover. #465 (thanks to @yusdacra!)
  • Support for the smol async runtime. #699 (thanks to @JayceFayne!)
  • Support for graceful exiting when using the Application trait. #804
  • Image format features in iced_wgpu to reduce code bloat. #392 (thanks to @unrelentingtech!)
  • Focused and Unfocused variant to window::Event. #701 (thanks to @cossonleo!)
  • WGPU_BACKEND environment variable to configure the internal graphics backend of iced_wgpu. #789 (thanks to @Cupnfish!)

Changed

  • The TitleBar of a PaneGrid now supports generic elements. #657 (thanks to @clarkmoody!)
  • The Error type now implements Send and Sync. #719 (thanks to @taiki-e!)
  • The Style types in iced_style now implement Clone and Copy. #720 (thanks to @taiki-e!)
  • The following dependencies have been updated:
  • The following examples were improved:
    • download_progress now showcases multiple file downloads at once. #283 (thanks to @Folyd!)
    • solar_system uses the new rand API. #760 (thanks to @TriedAngle!)

Fixed

  • Button events not being propagated to contents. #668
  • Incorrect overlay implementation for the Button widget. #764
  • Viewport::physical_width returning the wrong value. #700
  • Outdated documentation for the Sandbox trait. #710

0.2.0 - 2020-11-26

Added

0.1.1 - 2020-04-15

Added

  • Settings::with_flags to easily initialize some default settings with flags. #266
  • Default implementation for canvas::layer::Cache. #267
  • Ctrl + Del support for TextInput. #268
  • Helper methods in canvas::Path to easily draw lines, rectangles, and circles. #293
  • From<Color> implementation for canvas::Fill. #293
  • From<String> implementation for canvas::Text. #293
  • From<&str> implementation for canvas::Text. #293

Changed

  • new method of Radio and Checkbox now take a generic Into<String> for the label. #260
  • Frame::fill now takes a generic Into<canvas::Fill>. #293
  • Frame::stroke now takes a generic Into<canvas::Stroke>. #293
  • Frame::fill_text now takes a generic Into<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 TextInput value. #279
  • TextInput producing a Clip primitive when unnecessary. #279
  • Alignment of Text primitive in iced_wgpu. #281
  • CursorEntered and CursorLeft not being generated. #289

Removed

  • Unnecessary 'static lifetimes in Renderer bounds. #290

0.1.0 - 2020-04-02

Added

0.1.0-beta - 2019-11-25

Changed

  • The old iced becomes iced_native. The current iced crate turns into a batteries-included, cross-platform GUI library.

0.1.0-alpha - 2019-09-05

Added

  • First release! 🎉