summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-11-10 01:34:46 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-10 01:34:46 +0100
commit4c31e272c0686fe0a9dc20a969be5d568e356d73 (patch)
treefab3b1bfb25dac3b1c190115ca3c40d70e323eff
parent4b3d0fb08d5b2e84c1061fa601b71363b6719f59 (diff)
parentb0e8bafb6c51666e8b15531001263097ae7d7c0e (diff)
downloadiced-4c31e272c0686fe0a9dc20a969be5d568e356d73.tar.gz
iced-4c31e272c0686fe0a9dc20a969be5d568e356d73.tar.bz2
iced-4c31e272c0686fe0a9dc20a969be5d568e356d73.zip
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!
-rw-r--r--CHANGELOG.md29
-rw-r--r--Cargo.toml20
-rw-r--r--core/Cargo.toml2
-rw-r--r--futures/Cargo.toml2
-rw-r--r--glow/Cargo.toml6
-rw-r--r--glutin/Cargo.toml8
-rw-r--r--graphics/Cargo.toml6
-rw-r--r--lazy/Cargo.toml4
-rw-r--r--native/Cargo.toml8
-rw-r--r--style/Cargo.toml4
-rw-r--r--wgpu/Cargo.toml6
-rw-r--r--winit/Cargo.toml8
12 files changed, 66 insertions, 37 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0f0fa47c..751c13e7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/Cargo.toml b/Cargo.toml
index ff59d7a9..edaaf143 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"]
diff --git a/core/Cargo.toml b/core/Cargo.toml
index c9c7686e..9f6e830a 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -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"
diff --git a/futures/Cargo.toml b/futures/Cargo.toml
index 61ee00a5..49cdb5a9 100644
--- a/futures/Cargo.toml
+++ b/futures/Cargo.toml
@@ -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"
diff --git a/glow/Cargo.toml b/glow/Cargo.toml
index a50fd375..0351b480 100644
--- a/glow/Cargo.toml
+++ b/glow/Cargo.toml
@@ -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"]
diff --git a/glutin/Cargo.toml b/glutin/Cargo.toml
index 65b16947..730ee6f7 100644
--- a/glutin/Cargo.toml
+++ b/glutin/Cargo.toml
@@ -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"]
diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml
index 57079b95..b601f37c 100644
--- a/graphics/Cargo.toml
+++ b/graphics/Cargo.toml
@@ -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]
diff --git a/lazy/Cargo.toml b/lazy/Cargo.toml
index 12e4e313..51459148 100644
--- a/lazy/Cargo.toml
+++ b/lazy/Cargo.toml
@@ -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"
diff --git a/native/Cargo.toml b/native/Cargo.toml
index b4945c05..f798253e 100644
--- a/native/Cargo.toml
+++ b/native/Cargo.toml
@@ -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"
diff --git a/style/Cargo.toml b/style/Cargo.toml
index 4a482a4f..559b4462 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -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"]
diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml
index e9509db2..b017c3a3 100644
--- a/wgpu/Cargo.toml
+++ b/wgpu/Cargo.toml
@@ -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"]
diff --git a/winit/Cargo.toml b/winit/Cargo.toml
index d3ed949f..1133adb1 100644
--- a/winit/Cargo.toml
+++ b/winit/Cargo.toml
@@ -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]