Merge pull request #1520 from iced-rs/release/0.5.0

Release `0.5` — Stabilization of stateless widgets, first-class theming, widget operations, `Lazy` widget, and more!
This commit is contained in:
Héctor Ramón 2022-11-10 01:34:46 +01:00 committed by GitHub
commit 4c31e272c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 66 additions and 37 deletions

View file

@ -5,6 +5,35 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- __[Stabilization of stateless widgets][stateless]__ (#1393)
The old widget API has been completely replaced by stateless widgets (introduced in #1284). Alongside the new API, there are a bunch of new helper functions and macros for easily describing view logic (like `row!` and `column!`).
- __[First-class theming][theming]__ (#1362)
A complete overhaul of our styling primitives, introducing a `Theme` as a first-class concept of the library.
- __[Widget operations][operations]__ (#1399)
An abstraction that can be used to traverse (and operate on) the widget tree of an application in order to query or update some widget state.
- __[`Lazy` widget][lazy]__ (#1400)
A widget that can call some view logic lazily only when some data has changed. Thanks to @nicksenger!
- __[Linear gradient support for `Canvas`][gradient]__ (#1448)
The `Canvas` widget can draw linear gradients now. Thanks to @bungoboingo!
- __[Touch support for `Canvas`][touch]__ (#1305)
The `Canvas` widget now supports touch events. Thanks to @artursapek!
- __[`Image` and `Svg` support for `iced_glow`][image]__ (#1485)
Our OpenGL renderer now is capable of rendering both the `Image` and `Svg` widgets. Thanks to @ids1024!
[stateless]: https://github.com/iced-rs/iced/pull/1393
[theming]: https://github.com/iced-rs/iced/pull/1362
[operations]: https://github.com/iced-rs/iced/pull/1399
[lazy]: https://github.com/iced-rs/iced/pull/1400
[gradient]: https://github.com/iced-rs/iced/pull/1448
[touch]: https://github.com/iced-rs/iced/pull/1305
[image]: https://github.com/iced-rs/iced/pull/1485
## [0.4.2] - 2022-05-03
### Fixed

View file

@ -1,6 +1,6 @@
[package]
name = "iced"
version = "0.4.2"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A cross-platform GUI library inspired by Elm"
@ -91,13 +91,13 @@ members = [
]
[dependencies]
iced_core = { version = "0.5", path = "core" }
iced_futures = { version = "0.4", path = "futures" }
iced_native = { version = "0.5", path = "native" }
iced_graphics = { version = "0.3", path = "graphics" }
iced_winit = { version = "0.4", path = "winit", features = ["application"] }
iced_glutin = { version = "0.3", path = "glutin", optional = true }
iced_glow = { version = "0.3", path = "glow", optional = true }
iced_core = { version = "0.6", path = "core" }
iced_futures = { version = "0.5", path = "futures" }
iced_native = { version = "0.6", path = "native" }
iced_graphics = { version = "0.4", path = "graphics" }
iced_winit = { version = "0.5", path = "winit", features = ["application"] }
iced_glutin = { version = "0.4", path = "glutin", optional = true }
iced_glow = { version = "0.4", path = "glow", optional = true }
thiserror = "1.0"
[dependencies.image_rs]
@ -106,10 +106,10 @@ package = "image"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
iced_wgpu = { version = "0.5", path = "wgpu", optional = true }
iced_wgpu = { version = "0.6", path = "wgpu", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
iced_wgpu = { version = "0.5", path = "wgpu", features = ["webgl"], optional = true }
iced_wgpu = { version = "0.6", path = "wgpu", features = ["webgl"], optional = true }
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]

View file

@ -1,6 +1,6 @@
[package]
name = "iced_core"
version = "0.5.0"
version = "0.6.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "The essential concepts of Iced"

View file

@ -1,6 +1,6 @@
[package]
name = "iced_futures"
version = "0.4.1"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "Commands, subscriptions, and runtimes for Iced"

View file

@ -1,6 +1,6 @@
[package]
name = "iced_glow"
version = "0.3.0"
version = "0.4.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A glow renderer for iced"
@ -34,11 +34,11 @@ bytemuck = "1.4"
log = "0.4"
[dependencies.iced_native]
version = "0.5"
version = "0.6"
path = "../native"
[dependencies.iced_graphics]
version = "0.3"
version = "0.4"
path = "../graphics"
features = ["font-fallback", "font-icons", "opengl"]

View file

@ -1,6 +1,6 @@
[package]
name = "iced_glutin"
version = "0.3.0"
version = "0.4.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A glutin runtime for Iced"
@ -23,15 +23,15 @@ git = "https://github.com/iced-rs/glutin"
rev = "da8d291486b4c9bec12487a46c119c4b1d386abf"
[dependencies.iced_native]
version = "0.5"
version = "0.6"
path = "../native"
[dependencies.iced_winit]
version = "0.4"
version = "0.5"
path = "../winit"
features = ["application"]
[dependencies.iced_graphics]
version = "0.3"
version = "0.4"
path = "../graphics"
features = ["opengl"]

View file

@ -1,6 +1,6 @@
[package]
name = "iced_graphics"
version = "0.3.1"
version = "0.4.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A bunch of backend-agnostic types that can be leveraged to build a renderer for Iced"
@ -44,11 +44,11 @@ version = "1.4"
features = ["derive"]
[dependencies.iced_native]
version = "0.5"
version = "0.6"
path = "../native"
[dependencies.iced_style]
version = "0.4"
version = "0.5"
path = "../style"
[dependencies.lyon]

View file

@ -1,6 +1,6 @@
[package]
name = "iced_lazy"
version = "0.1.1"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "Lazy widgets for Iced"
@ -14,5 +14,5 @@ categories = ["gui"]
ouroboros = "0.13"
[dependencies.iced_native]
version = "0.5"
version = "0.6"
path = "../native"

View file

@ -1,6 +1,6 @@
[package]
name = "iced_native"
version = "0.5.1"
version = "0.6.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A renderer-agnostic library for native GUIs"
@ -16,14 +16,14 @@ unicode-segmentation = "1.6"
num-traits = "0.2"
[dependencies.iced_core]
version = "0.5"
version = "0.6"
path = "../core"
[dependencies.iced_futures]
version = "0.4"
version = "0.5"
path = "../futures"
features = ["thread-pool"]
[dependencies.iced_style]
version = "0.4"
version = "0.5"
path = "../style"

View file

@ -1,6 +1,6 @@
[package]
name = "iced_style"
version = "0.4.0"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "The default set of styles of Iced"
@ -11,7 +11,7 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]
[dependencies.iced_core]
version = "0.5"
version = "0.6"
path = "../core"
features = ["palette"]

View file

@ -1,6 +1,6 @@
[package]
name = "iced_wgpu"
version = "0.5.1"
version = "0.6.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A wgpu renderer for Iced"
@ -42,11 +42,11 @@ version = "1.9"
features = ["derive"]
[dependencies.iced_native]
version = "0.5"
version = "0.6"
path = "../native"
[dependencies.iced_graphics]
version = "0.3"
version = "0.4"
path = "../graphics"
features = ["font-fallback", "font-icons"]

View file

@ -1,6 +1,6 @@
[package]
name = "iced_winit"
version = "0.4.0"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2021"
description = "A winit runtime for Iced"
@ -26,15 +26,15 @@ git = "https://github.com/iced-rs/winit.git"
rev = "940457522e9fb9f5dac228b0ecfafe0138b4048c"
[dependencies.iced_native]
version = "0.5"
version = "0.6"
path = "../native"
[dependencies.iced_graphics]
version = "0.3"
version = "0.4"
path = "../graphics"
[dependencies.iced_futures]
version = "0.4"
version = "0.5"
path = "../futures"
[target.'cfg(target_os = "windows")'.dependencies.winapi]