Skip to content

Commit

Permalink
Bump versions 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Dec 7, 2022
1 parent f38e7fc commit 4c61f12
Show file tree
Hide file tree
Showing 27 changed files with 112 additions and 79 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.6.0] - 2022-12-07
### Added
- Support for non-uniform border radius for `Primitive::Quad`. [#1506](https://github.com/iced-rs/iced/pull/1506)
- Operation to query the current focused widget. [#1526](https://github.com/iced-rs/iced/pull/1526)
- Additional operations for `TextInput`. [#1529](https://github.com/iced-rs/iced/pull/1529)
- Styling support for `Svg`. [#1578](https://github.com/iced-rs/iced/pull/1578)

### Changed
- Triangle geometry using a solid color is now drawn in a single draw call. [#1538](https://github.com/iced-rs/iced/pull/1538)

### Fixed
- Gradients for WebAssembly target. [#1524](https://github.com/iced-rs/iced/pull/1524)
- `Overlay` layout cache not being invalidated. [#1528](https://github.com/iced-rs/iced/pull/1528)
- Operations not working for `PaneGrid`. [#1533](https://github.com/iced-rs/iced/pull/1533)
- Mapped `widget::Operation` always returning `Outcome::None`. [#1536](https://github.com/iced-rs/iced/pull/1536)
- Padding of `TextInput` with `Length::Units` width. [#1539](https://github.com/iced-rs/iced/pull/1539)
- Clipping of `Image` and `Svg` widgets in `iced_glow`. [#1557](https://github.com/iced-rs/iced/pull/1557)
- Invalid links in documentation. [#1560](https://github.com/iced-rs/iced/pull/1560)
- `Custom` style of `PickList` widget. [#1570](https://github.com/iced-rs/iced/pull/1570)
- Scroller in `Scrollable` always being drawn. [#1574](https://github.com/iced-rs/iced/pull/1574)

Many thanks to...

- @bungoboingo
- @l1Dan
- @mmstick
- @mtkennerly
- @PolyMeilex
- @rksm
- @rs017991
- @tarkah
- @wash2

## [0.5.0] - 2022-11-10
### Added
- __[Stabilization of stateless widgets][stateless]__ (#1393)
Expand Down
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced"
version = "0.5.2"
version = "0.6.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "A cross-platform GUI library inspired by Elm"
Expand Down Expand Up @@ -61,11 +61,11 @@ members = [
[dependencies]
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 }
iced_native = { version = "0.7", path = "native" }
iced_graphics = { version = "0.5", path = "graphics" }
iced_winit = { version = "0.6", path = "winit", features = ["application"] }
iced_glutin = { version = "0.5", path = "glutin", optional = true }
iced_glow = { version = "0.5", path = "glow", optional = true }
thiserror = "1.0"

[dependencies.image_rs]
Expand All @@ -74,10 +74,10 @@ package = "image"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
iced_wgpu = { version = "0.6", path = "wgpu", optional = true }
iced_wgpu = { version = "0.7", path = "wgpu", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
iced_wgpu = { version = "0.6", path = "wgpu", features = ["webgl"], optional = true }
iced_wgpu = { version = "0.7", path = "wgpu", features = ["webgl"], optional = true }

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ __Iced is currently experimental software.__ [Take a look at the roadmap],
Add `iced` as a dependency in your `Cargo.toml`:

```toml
iced = "0.5"
iced = "0.6"
```

If your project is using a Rust edition older than 2021, then you will need to
Expand Down Expand Up @@ -215,7 +215,7 @@ cargo run --features iced/glow --package game_of_life
and then use it in your project with

```toml
iced = { version = "0.5", default-features = false, features = ["glow"] }
iced = { version = "0.6", default-features = false, features = ["glow"] }
```

__NOTE:__ Chances are you have hardware that supports at least OpenGL 2.1 or OpenGL ES 2.0,
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_core"
version = "0.6.1"
version = "0.6.2"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "The essential concepts of Iced"
Expand Down
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! ![The foundations of the Iced ecosystem](https://github.com/iced-rs/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
//!
//! [Iced]: https://github.com/iced-rs/iced
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.5/native
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.6/native
//! [`iced_web`]: https://github.com/iced-rs/iced_web
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
Expand Down
6 changes: 3 additions & 3 deletions futures/src/subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ impl<I, O, H> std::fmt::Debug for Subscription<I, O, H> {
/// - [`stopwatch`], a watch with start/stop and reset buttons showcasing how
/// to listen to time.
///
/// [examples]: https://github.com/iced-rs/iced/tree/0.5/examples
/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.5/examples/download_progress
/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.5/examples/stopwatch
/// [examples]: https://github.com/iced-rs/iced/tree/0.6/examples
/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.6/examples/download_progress
/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.6/examples/stopwatch
pub trait Recipe<Hasher: std::hash::Hasher, Event> {
/// The events that will be produced by a [`Subscription`] with this
/// [`Recipe`].
Expand Down
6 changes: 3 additions & 3 deletions glow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_glow"
version = "0.4.1"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "A glow renderer for iced"
Expand Down Expand Up @@ -34,11 +34,11 @@ bytemuck = "1.4"
log = "0.4"

[dependencies.iced_native]
version = "0.6"
version = "0.7"
path = "../native"

[dependencies.iced_graphics]
version = "0.4"
version = "0.5"
path = "../graphics"
features = ["font-fallback", "font-icons", "opengl"]

Expand Down
2 changes: 1 addition & 1 deletion glow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! ![The native path of the Iced ecosystem](https://github.com/iced-rs/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/native.png?raw=true)
//!
//! [`glow`]: https://github.com/grovesNL/glow
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.5/native
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.6/native
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
Expand Down
8 changes: 4 additions & 4 deletions glutin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_glutin"
version = "0.4.0"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "A glutin runtime for Iced"
Expand All @@ -23,15 +23,15 @@ git = "https://github.com/iced-rs/glutin"
rev = "da8d291486b4c9bec12487a46c119c4b1d386abf"

[dependencies.iced_native]
version = "0.6"
version = "0.7"
path = "../native"

[dependencies.iced_winit]
version = "0.5"
version = "0.6"
path = "../winit"
features = ["application"]

[dependencies.iced_graphics]
version = "0.4"
version = "0.5"
path = "../graphics"
features = ["opengl"]
4 changes: 2 additions & 2 deletions graphics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_graphics"
version = "0.4.0"
version = "0.5.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "A bunch of backend-agnostic types that can be leveraged to build a renderer for Iced"
Expand Down Expand Up @@ -44,7 +44,7 @@ version = "1.4"
features = ["derive"]

[dependencies.iced_native]
version = "0.6"
version = "0.7"
path = "../native"

[dependencies.iced_style]
Expand Down
4 changes: 2 additions & 2 deletions lazy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_lazy"
version = "0.2.0"
version = "0.3.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "Lazy widgets for Iced"
Expand All @@ -14,5 +14,5 @@ categories = ["gui"]
ouroboros = "0.13"

[dependencies.iced_native]
version = "0.6"
version = "0.7"
path = "../native"
4 changes: 2 additions & 2 deletions native/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_native"
version = "0.6.1"
version = "0.7.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "A renderer-agnostic library for native GUIs"
Expand All @@ -25,5 +25,5 @@ path = "../futures"
features = ["thread-pool"]

[dependencies.iced_style]
version = "0.5"
version = "0.5.1"
path = "../style"
4 changes: 2 additions & 2 deletions native/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
//! - Build a new renderer, see the [renderer] module.
//! - Build a custom widget, start at the [`Widget`] trait.
//!
//! [`iced_core`]: https://github.com/iced-rs/iced/tree/0.5/core
//! [`iced_winit`]: https://github.com/iced-rs/iced/tree/0.5/winit
//! [`iced_core`]: https://github.com/iced-rs/iced/tree/0.6/core
//! [`iced_winit`]: https://github.com/iced-rs/iced/tree/0.6/winit
//! [`druid`]: https://github.com/xi-editor/druid
//! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle
//! [renderer]: crate::renderer
Expand Down
2 changes: 1 addition & 1 deletion native/src/subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ where
/// Check out the [`websocket`] example, which showcases this pattern to maintain a WebSocket
/// connection open.
///
/// [`websocket`]: https://github.com/iced-rs/iced/tree/0.5/examples/websocket
/// [`websocket`]: https://github.com/iced-rs/iced/tree/0.6/examples/websocket
pub fn unfold<I, T, Fut, Message>(
id: I,
initial: T,
Expand Down
4 changes: 2 additions & 2 deletions native/src/user_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ use crate::{Clipboard, Element, Layout, Point, Rectangle, Shell, Size};
/// The [`integration_opengl`] & [`integration_wgpu`] examples use a
/// [`UserInterface`] to integrate Iced in an existing graphical application.
///
/// [`integration_opengl`]: https://github.com/iced-rs/iced/tree/0.5/examples/integration_opengl
/// [`integration_wgpu`]: https://github.com/iced-rs/iced/tree/0.5/examples/integration_wgpu
/// [`integration_opengl`]: https://github.com/iced-rs/iced/tree/0.6/examples/integration_opengl
/// [`integration_wgpu`]: https://github.com/iced-rs/iced/tree/0.6/examples/integration_wgpu
#[allow(missing_debug_implementations)]
pub struct UserInterface<'a, Message, Renderer> {
root: Element<'a, Message, Renderer>,
Expand Down
10 changes: 5 additions & 5 deletions native/src/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ use crate::{Clipboard, Layout, Length, Point, Rectangle, Shell};
/// - [`geometry`], a custom widget showcasing how to draw geometry with the
/// `Mesh2D` primitive in [`iced_wgpu`].
///
/// [examples]: https://github.com/iced-rs/iced/tree/0.5/examples
/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.5/examples/bezier_tool
/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.5/examples/custom_widget
/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.5/examples/geometry
/// [examples]: https://github.com/iced-rs/iced/tree/0.6/examples
/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.6/examples/bezier_tool
/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.6/examples/custom_widget
/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.6/examples/geometry
/// [`lyon`]: https://github.com/nical/lyon
/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.5/wgpu
/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.6/wgpu
pub trait Widget<Message, Renderer>
where
Renderer: crate::Renderer,
Expand Down
2 changes: 1 addition & 1 deletion native/src/widget/pane_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
//! drag and drop, and hotkey support.
//!
//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.5/examples/pane_grid
//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.6/examples/pane_grid
mod axis;
mod configuration;
mod content;
Expand Down
18 changes: 9 additions & 9 deletions src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ pub use iced_native::application::{Appearance, StyleSheet};
/// to listen to time.
/// - [`todos`], a todos tracker inspired by [TodoMVC].
///
/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.5/examples
/// [`clock`]: https://github.com/iced-rs/iced/tree/0.5/examples/clock
/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.5/examples/download_progress
/// [`events`]: https://github.com/iced-rs/iced/tree/0.5/examples/events
/// [`game_of_life`]: https://github.com/iced-rs/iced/tree/0.5/examples/game_of_life
/// [`pokedex`]: https://github.com/iced-rs/iced/tree/0.5/examples/pokedex
/// [`solar_system`]: https://github.com/iced-rs/iced/tree/0.5/examples/solar_system
/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.5/examples/stopwatch
/// [`todos`]: https://github.com/iced-rs/iced/tree/0.5/examples/todos
/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.6/examples
/// [`clock`]: https://github.com/iced-rs/iced/tree/0.6/examples/clock
/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.6/examples/download_progress
/// [`events`]: https://github.com/iced-rs/iced/tree/0.6/examples/events
/// [`game_of_life`]: https://github.com/iced-rs/iced/tree/0.6/examples/game_of_life
/// [`pokedex`]: https://github.com/iced-rs/iced/tree/0.6/examples/pokedex
/// [`solar_system`]: https://github.com/iced-rs/iced/tree/0.6/examples/solar_system
/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.6/examples/stopwatch
/// [`todos`]: https://github.com/iced-rs/iced/tree/0.6/examples/todos
/// [`Sandbox`]: crate::Sandbox
/// [`Canvas`]: crate::widget::Canvas
/// [PokéAPI]: https://pokeapi.co/
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
//! [Modular ecosystem]: https://github.com/iced-rs/iced/blob/master/ECOSYSTEM.md
//! [renderer-agnostic native runtime]: https://github.com/iced-rs/iced/0.4/master/native
//! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
//! [built-in renderer]: https://github.com/iced-rs/iced/tree/0.5/wgpu
//! [windowing shell]: https://github.com/iced-rs/iced/tree/0.5/winit
//! [built-in renderer]: https://github.com/iced-rs/iced/tree/0.6/wgpu
//! [windowing shell]: https://github.com/iced-rs/iced/tree/0.6/winit
//! [`dodrio`]: https://github.com/fitzgen/dodrio
//! [web runtime]: https://github.com/iced-rs/iced_web
//! [examples]: https://github.com/iced-rs/iced/tree/0.5/examples
//! [examples]: https://github.com/iced-rs/iced/tree/0.6/examples
//! [repository]: https://github.com/iced-rs/iced
//!
//! # Overview
Expand Down
22 changes: 11 additions & 11 deletions src/sandbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ use crate::{Application, Command, Element, Error, Settings, Subscription};
/// - [`tour`], a simple UI tour that can run both on native platforms and the
/// web!
///
/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.5/examples
/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.5/examples/bezier_tool
/// [`counter`]: https://github.com/iced-rs/iced/tree/0.5/examples/counter
/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.5/examples/custom_widget
/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.5/examples/geometry
/// [`pane_grid`]: https://github.com/iced-rs/iced/tree/0.5/examples/pane_grid
/// [`progress_bar`]: https://github.com/iced-rs/iced/tree/0.5/examples/progress_bar
/// [`styling`]: https://github.com/iced-rs/iced/tree/0.5/examples/styling
/// [`svg`]: https://github.com/iced-rs/iced/tree/0.5/examples/svg
/// [`tour`]: https://github.com/iced-rs/iced/tree/0.5/examples/tour
/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.6/examples
/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.6/examples/bezier_tool
/// [`counter`]: https://github.com/iced-rs/iced/tree/0.6/examples/counter
/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.6/examples/custom_widget
/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.6/examples/geometry
/// [`pane_grid`]: https://github.com/iced-rs/iced/tree/0.6/examples/pane_grid
/// [`progress_bar`]: https://github.com/iced-rs/iced/tree/0.6/examples/progress_bar
/// [`styling`]: https://github.com/iced-rs/iced/tree/0.6/examples/styling
/// [`svg`]: https://github.com/iced-rs/iced/tree/0.6/examples/svg
/// [`tour`]: https://github.com/iced-rs/iced/tree/0.6/examples/tour
/// [`Canvas widget`]: crate::widget::Canvas
/// [the overview]: index.html#overview
/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.5/wgpu
/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.6/wgpu
/// [`Svg` widget]: crate::widget::Svg
/// [Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg
///
Expand Down
2 changes: 1 addition & 1 deletion src/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub mod pane_grid {
//! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing,
//! drag and drop, and hotkey support.
//!
//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.5/examples/pane_grid
//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.6/examples/pane_grid
pub use iced_native::widget::pane_grid::{
Axis, Configuration, Direction, DragEvent, Line, Node, Pane,
ResizeEvent, Split, State, StyleSheet,
Expand Down
2 changes: 1 addition & 1 deletion style/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_style"
version = "0.5.0"
version = "0.5.1"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "The default set of styles of Iced"
Expand Down
6 changes: 3 additions & 3 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_wgpu"
version = "0.6.1"
version = "0.7.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2021"
description = "A wgpu renderer for Iced"
Expand Down Expand Up @@ -42,11 +42,11 @@ version = "1.9"
features = ["derive"]

[dependencies.iced_native]
version = "0.6"
version = "0.7"
path = "../native"

[dependencies.iced_graphics]
version = "0.4"
version = "0.5"
path = "../graphics"
features = ["font-fallback", "font-icons"]

Expand Down
Loading

0 comments on commit 4c61f12

Please sign in to comment.