diff options
author | 2023-02-18 12:04:40 +0100 | |
---|---|---|
committer | 2023-02-18 12:04:40 +0100 | |
commit | 0d1656937b459237670cdc0b1f45e09d78c47494 (patch) | |
tree | d52a0de030edd599f5863d24caa5854a38b80189 | |
parent | c6218cbc5532551456c0491eb5aa66dfc5f36879 (diff) | |
download | iced-0d1656937b459237670cdc0b1f45e09d78c47494.tar.gz iced-0d1656937b459237670cdc0b1f45e09d78c47494.tar.bz2 iced-0d1656937b459237670cdc0b1f45e09d78c47494.zip |
Bump versions :tada:
-rw-r--r-- | CHANGELOG.md | 53 | ||||
-rw-r--r-- | Cargo.toml | 20 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | core/Cargo.toml | 2 | ||||
-rw-r--r-- | core/README.md | 2 | ||||
-rw-r--r-- | core/src/lib.rs | 2 | ||||
-rw-r--r-- | futures/Cargo.toml | 2 | ||||
-rw-r--r-- | futures/src/subscription.rs | 6 | ||||
-rw-r--r-- | glow/Cargo.toml | 6 | ||||
-rw-r--r-- | glow/README.md | 2 | ||||
-rw-r--r-- | glow/src/lib.rs | 2 | ||||
-rw-r--r-- | glutin/Cargo.toml | 8 | ||||
-rw-r--r-- | glutin/README.md | 2 | ||||
-rw-r--r-- | graphics/Cargo.toml | 6 | ||||
-rw-r--r-- | lazy/Cargo.toml | 4 | ||||
-rw-r--r-- | native/Cargo.toml | 8 | ||||
-rw-r--r-- | native/README.md | 2 | ||||
-rw-r--r-- | native/src/lib.rs | 4 | ||||
-rw-r--r-- | native/src/subscription.rs | 2 | ||||
-rw-r--r-- | native/src/user_interface.rs | 4 | ||||
-rw-r--r-- | native/src/widget.rs | 10 | ||||
-rw-r--r-- | native/src/widget/pane_grid.rs | 2 | ||||
-rw-r--r-- | src/application.rs | 18 | ||||
-rw-r--r-- | src/lib.rs | 8 | ||||
-rw-r--r-- | src/sandbox.rs | 22 | ||||
-rw-r--r-- | src/widget.rs | 2 | ||||
-rw-r--r-- | style/Cargo.toml | 4 | ||||
-rw-r--r-- | wgpu/Cargo.toml | 6 | ||||
-rw-r--r-- | wgpu/README.md | 2 | ||||
-rw-r--r-- | wgpu/src/lib.rs | 2 | ||||
-rw-r--r-- | winit/Cargo.toml | 8 | ||||
-rw-r--r-- | winit/README.md | 2 | ||||
-rw-r--r-- | winit/src/conversion.rs | 12 | ||||
-rw-r--r-- | winit/src/lib.rs | 2 |
34 files changed, 146 insertions, 95 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d3e7641b..1d9d1fb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,56 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.0] - 2023-02-18 +### Added +- Generic pixel units. [#1711](https://github.com/iced-rs/iced/pull/1711) +- `custom` method to `widget::Operation` trait. [#1649](https://github.com/iced-rs/iced/pull/1649) +- `Group` overlay. [#1655](https://github.com/iced-rs/iced/pull/1655) +- Standalone `draw` helper for `image`. [#1682](https://github.com/iced-rs/iced/pull/1682) +- Dynamic `pick_list::Handle`. [#1675](https://github.com/iced-rs/iced/pull/1675) +- `Id` support for `Container`. [#1695](https://github.com/iced-rs/iced/pull/1695) +- Custom `Checkbox` icon support. [#1707](https://github.com/iced-rs/iced/pull/1707) +- `window` action to change always on top setting. [#1587](https://github.com/iced-rs/iced/pull/1587) +- `window` action to fetch its unique identifier. [#1589](https://github.com/iced-rs/iced/pull/1589) + +### Changed +- Annotated `Command` and `Subscription` with `#[must_use]`. [#1676](https://github.com/iced-rs/iced/pull/1676) +- Replaced `Fn` with `FnOnce` in `canvas::Cache::draw`. [#1694](https://github.com/iced-rs/iced/pull/1694) +- Used `[default]` on enum in `game_of_life` example. [#1660](https://github.com/iced-rs/iced/pull/1660) +- Made `QRCode` hide when data is empty in `qr_code` example. [#1665](https://github.com/iced-rs/iced/pull/1665) +- Replaced `Cow` with `Bytes` in `image` to accept any kind of data that implements `AsRef<[u8]>`. [#1551](https://github.com/iced-rs/iced/pull/1551) + +### Fixed +- Blank window on application startup. [#1698](https://github.com/iced-rs/iced/pull/1698) +- Off-by-one pixel error on `pick_list` width. [#1679](https://github.com/iced-rs/iced/pull/1679) +- Missing `text_input` implementation in `operation::Map`. [#1678](https://github.com/iced-rs/iced/pull/1678) +- Widget-driven animations for `Component`. [#1685](https://github.com/iced-rs/iced/pull/1685) +- Layout translation in `overlay::Group`. [#1686](https://github.com/iced-rs/iced/pull/1686) +- Missing `is_over` implementation for overlays of `iced_lazy` widgets. [#1699](https://github.com/iced-rs/iced/pull/1699) +- Panic when overlay event processing removes overlay. [#1700](https://github.com/iced-rs/iced/pull/1700) +- Panic when using operations with components in certain cases. [#1701](https://github.com/iced-rs/iced/pull/1701) +- `TextInput` width when using padding. [#1706](https://github.com/iced-rs/iced/pull/1706) +- `iced_glow` crash on some hardware. [#1703](https://github.com/iced-rs/iced/pull/1703) +- Height of `overlay::Menu`. [#1714](https://github.com/iced-rs/iced/pull/1714) +- Size of images in `README`. [#1659](https://github.com/iced-rs/iced/pull/1659) +- New `clippy` lints. [#1681](https://github.com/iced-rs/iced/pull/1681) + +Many thanks to... + +- @13r0ck +- @bungoboingo +- @casperstorm +- @frey +- @greatest-ape +- @ids1024 +- @Jedsek +- @nicksenger +- @Night-Hunter-NF +- @sdroege +- @Sn-Kinos +- @sushigiri +- @tarkah + ## [0.7.0] - 2023-01-14 ### Added - Widget-driven animations. [#1647](https://github.com/iced-rs/iced/pull/1647) @@ -364,7 +414,8 @@ Many thanks to... ### Added - First release! :tada: -[Unreleased]: https://github.com/iced-rs/iced/compare/0.7.0...HEAD +[Unreleased]: https://github.com/iced-rs/iced/compare/0.8.0...HEAD +[0.8.0]: https://github.com/iced-rs/iced/compare/0.7.0...0.8.0 [0.7.0]: https://github.com/iced-rs/iced/compare/0.6.0...0.7.0 [0.6.0]: https://github.com/iced-rs/iced/compare/0.5.0...0.6.0 [0.5.0]: https://github.com/iced-rs/iced/compare/0.4.2...0.5.0 @@ -1,6 +1,6 @@ [package] name = "iced" -version = "0.7.0" +version = "0.8.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2021" description = "A cross-platform GUI library inspired by Elm" @@ -66,13 +66,13 @@ members = [ ] [dependencies] -iced_core = { version = "0.7", path = "core" } -iced_futures = { version = "0.5", path = "futures" } -iced_native = { version = "0.8", path = "native" } -iced_graphics = { version = "0.6", path = "graphics" } -iced_winit = { version = "0.7", path = "winit", features = ["application"] } -iced_glutin = { version = "0.6", path = "glutin", optional = true } -iced_glow = { version = "0.6", path = "glow", optional = true } +iced_core = { version = "0.8", path = "core" } +iced_futures = { version = "0.6", path = "futures" } +iced_native = { version = "0.9", path = "native" } +iced_graphics = { version = "0.7", path = "graphics" } +iced_winit = { version = "0.8", path = "winit", features = ["application"] } +iced_glutin = { version = "0.7", path = "glutin", optional = true } +iced_glow = { version = "0.7", path = "glow", optional = true } thiserror = "1.0" [dependencies.image_rs] @@ -81,10 +81,10 @@ package = "image" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -iced_wgpu = { version = "0.8", path = "wgpu", optional = true } +iced_wgpu = { version = "0.9", path = "wgpu", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] -iced_wgpu = { version = "0.8", path = "wgpu", features = ["webgl"], optional = true } +iced_wgpu = { version = "0.9", path = "wgpu", features = ["webgl"], optional = true } [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] @@ -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.7" +iced = "0.8" ``` If your project is using a Rust edition older than 2021, then you will need to @@ -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.7", default-features = false, features = ["glow"] } +iced = { version = "0.8", default-features = false, features = ["glow"] } ``` __NOTE:__ Chances are you have hardware that supports at least OpenGL 2.1 or OpenGL ES 2.0, diff --git a/core/Cargo.toml b/core/Cargo.toml index eebd2fe3..43865e4d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_core" -version = "0.7.0" +version = "0.8.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2021" description = "The essential concepts of Iced" diff --git a/core/README.md b/core/README.md index cecbc1e4..64d92e78 100644 --- a/core/README.md +++ b/core/README.md @@ -18,7 +18,7 @@ This crate is meant to be a starting point for an Iced runtime. Add `iced_core` as a dependency in your `Cargo.toml`: ```toml -iced_core = "0.7" +iced_core = "0.8" ``` __Iced moves fast and the `master` branch can contain breaking changes!__ If diff --git a/core/src/lib.rs b/core/src/lib.rs index 31280a05..d3596b4d 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -7,7 +7,7 @@ //!  //! //! [Iced]: https://github.com/iced-rs/iced -//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/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" diff --git a/futures/Cargo.toml b/futures/Cargo.toml index b69cb59b..e4d355ee 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_futures" -version = "0.5.1" +version = "0.6.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2021" description = "Commands, subscriptions, and runtimes for Iced" diff --git a/futures/src/subscription.rs b/futures/src/subscription.rs index d18ec4f7..fe53fd7e 100644 --- a/futures/src/subscription.rs +++ b/futures/src/subscription.rs @@ -126,9 +126,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.7/examples -/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.7/examples/download_progress -/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.7/examples/stopwatch +/// [examples]: https://github.com/iced-rs/iced/tree/0.8/examples +/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.8/examples/download_progress +/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.8/examples/stopwatch pub trait Recipe<Hasher: std::hash::Hasher, Event> { /// The events that will be produced by a [`Subscription`] with this /// [`Recipe`]. diff --git a/glow/Cargo.toml b/glow/Cargo.toml index cf5dfb8a..1a848ab7 100644 --- a/glow/Cargo.toml +++ b/glow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_glow" -version = "0.6.0" +version = "0.7.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.8" +version = "0.9" path = "../native" [dependencies.iced_graphics] -version = "0.6" +version = "0.7" path = "../graphics" features = ["font-fallback", "font-icons", "opengl"] diff --git a/glow/README.md b/glow/README.md index 38449c64..95c9d62a 100644 --- a/glow/README.md +++ b/glow/README.md @@ -28,7 +28,7 @@ Currently, `iced_glow` supports the following primitives: Add `iced_glow` as a dependency in your `Cargo.toml`: ```toml -iced_glow = "0.6" +iced_glow = "0.7" ``` __Iced moves fast and the `master` branch can contain breaking changes!__ If diff --git a/glow/src/lib.rs b/glow/src/lib.rs index a12c45b8..9e7de0d9 100644 --- a/glow/src/lib.rs +++ b/glow/src/lib.rs @@ -3,7 +3,7 @@ //!  //! //! [`glow`]: https://github.com/grovesNL/glow -//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native #![doc( html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] diff --git a/glutin/Cargo.toml b/glutin/Cargo.toml index 27ed29e8..10d3778b 100644 --- a/glutin/Cargo.toml +++ b/glutin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_glutin" -version = "0.6.0" +version = "0.7.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2021" description = "A glutin runtime for Iced" @@ -24,16 +24,16 @@ git = "https://github.com/iced-rs/glutin" rev = "da8d291486b4c9bec12487a46c119c4b1d386abf" [dependencies.iced_native] -version = "0.8" +version = "0.9" path = "../native" [dependencies.iced_winit] -version = "0.7" +version = "0.8" path = "../winit" features = ["application"] [dependencies.iced_graphics] -version = "0.6" +version = "0.7" path = "../graphics" features = ["opengl"] diff --git a/glutin/README.md b/glutin/README.md index 1d873874..45e8ee6b 100644 --- a/glutin/README.md +++ b/glutin/README.md @@ -20,7 +20,7 @@ It exposes a renderer-agnostic `Application` trait that can be implemented and t Add `iced_glutin` as a dependency in your `Cargo.toml`: ```toml -iced_glutin = "0.6" +iced_glutin = "0.7" ``` __Iced moves fast and the `master` branch can contain breaking changes!__ If diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index 664bb19f..13ab61d8 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_graphics" -version = "0.6.0" +version = "0.7.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.8" +version = "0.9" path = "../native" [dependencies.iced_style] -version = "0.6" +version = "0.7" path = "../style" [dependencies.lyon] diff --git a/lazy/Cargo.toml b/lazy/Cargo.toml index 657da5ca..c739b312 100644 --- a/lazy/Cargo.toml +++ b/lazy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_lazy" -version = "0.4.0" +version = "0.5.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.8" +version = "0.9" path = "../native" diff --git a/native/Cargo.toml b/native/Cargo.toml index 79e4dac4..25281ea7 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_native" -version = "0.8.0" +version = "0.9.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.7" +version = "0.8" path = "../core" [dependencies.iced_futures] -version = "0.5" +version = "0.6" path = "../futures" features = ["thread-pool"] [dependencies.iced_style] -version = "0.6.0" +version = "0.7" path = "../style" diff --git a/native/README.md b/native/README.md index 9e1f65fb..996daa76 100644 --- a/native/README.md +++ b/native/README.md @@ -28,7 +28,7 @@ To achieve this, it introduces a bunch of reusable interfaces: Add `iced_native` as a dependency in your `Cargo.toml`: ```toml -iced_native = "0.8" +iced_native = "0.9" ``` __Iced moves fast and the `master` branch can contain breaking changes!__ If diff --git a/native/src/lib.rs b/native/src/lib.rs index 7c406ae5..ebdc8490 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -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.7/core -//! [`iced_winit`]: https://github.com/iced-rs/iced/tree/0.7/winit +//! [`iced_core`]: https://github.com/iced-rs/iced/tree/0.8/core +//! [`iced_winit`]: https://github.com/iced-rs/iced/tree/0.8/winit //! [`druid`]: https://github.com/xi-editor/druid //! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle //! [renderer]: crate::renderer diff --git a/native/src/subscription.rs b/native/src/subscription.rs index 8c92efad..b505f3cc 100644 --- a/native/src/subscription.rs +++ b/native/src/subscription.rs @@ -184,7 +184,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.7/examples/websocket +/// [`websocket`]: https://github.com/iced-rs/iced/tree/0.8/examples/websocket pub fn unfold<I, T, Fut, Message>( id: I, initial: T, diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index 2358bff1..f5202609 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -21,8 +21,8 @@ use crate::{ /// 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.7/examples/integration_opengl -/// [`integration_wgpu`]: https://github.com/iced-rs/iced/tree/0.7/examples/integration_wgpu +/// [`integration_opengl`]: https://github.com/iced-rs/iced/tree/0.8/examples/integration_opengl +/// [`integration_wgpu`]: https://github.com/iced-rs/iced/tree/0.8/examples/integration_wgpu #[allow(missing_debug_implementations)] pub struct UserInterface<'a, Message, Renderer> { root: Element<'a, Message, Renderer>, diff --git a/native/src/widget.rs b/native/src/widget.rs index fb759ec8..2b3ca7be 100644 --- a/native/src/widget.rs +++ b/native/src/widget.rs @@ -110,12 +110,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.7/examples -/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.7/examples/bezier_tool -/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.7/examples/custom_widget -/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.7/examples/geometry +/// [examples]: https://github.com/iced-rs/iced/tree/0.8/examples +/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.8/examples/bezier_tool +/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.8/examples/custom_widget +/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.8/examples/geometry /// [`lyon`]: https://github.com/nical/lyon -/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.7/wgpu +/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.8/wgpu pub trait Widget<Message, Renderer> where Renderer: crate::Renderer, diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs index 83564c3f..bcb17ebd 100644 --- a/native/src/widget/pane_grid.rs +++ b/native/src/widget/pane_grid.rs @@ -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.7/examples/pane_grid +//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.8/examples/pane_grid mod axis; mod configuration; mod content; diff --git a/src/application.rs b/src/application.rs index 96f4e9a6..1db5c93f 100644 --- a/src/application.rs +++ b/src/application.rs @@ -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.7/examples -/// [`clock`]: https://github.com/iced-rs/iced/tree/0.7/examples/clock -/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.7/examples/download_progress -/// [`events`]: https://github.com/iced-rs/iced/tree/0.7/examples/events -/// [`game_of_life`]: https://github.com/iced-rs/iced/tree/0.7/examples/game_of_life -/// [`pokedex`]: https://github.com/iced-rs/iced/tree/0.7/examples/pokedex -/// [`solar_system`]: https://github.com/iced-rs/iced/tree/0.7/examples/solar_system -/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.7/examples/stopwatch -/// [`todos`]: https://github.com/iced-rs/iced/tree/0.7/examples/todos +/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.8/examples +/// [`clock`]: https://github.com/iced-rs/iced/tree/0.8/examples/clock +/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.8/examples/download_progress +/// [`events`]: https://github.com/iced-rs/iced/tree/0.8/examples/events +/// [`game_of_life`]: https://github.com/iced-rs/iced/tree/0.8/examples/game_of_life +/// [`pokedex`]: https://github.com/iced-rs/iced/tree/0.8/examples/pokedex +/// [`solar_system`]: https://github.com/iced-rs/iced/tree/0.8/examples/solar_system +/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.8/examples/stopwatch +/// [`todos`]: https://github.com/iced-rs/iced/tree/0.8/examples/todos /// [`Sandbox`]: crate::Sandbox /// [`Canvas`]: crate::widget::Canvas /// [PokéAPI]: https://pokeapi.co/ @@ -24,13 +24,13 @@ //! [scrollables]: https://gfycat.com/perkybaggybaboon-rust-gui //! [Debug overlay with performance metrics]: https://gfycat.com/incredibledarlingbee //! [Modular ecosystem]: https://github.com/iced-rs/iced/blob/master/ECOSYSTEM.md -//! [renderer-agnostic native runtime]: https://github.com/iced-rs/iced/tree/0.7/native +//! [renderer-agnostic native runtime]: https://github.com/iced-rs/iced/tree/0.8/native //! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs -//! [built-in renderer]: https://github.com/iced-rs/iced/tree/0.7/wgpu -//! [windowing shell]: https://github.com/iced-rs/iced/tree/0.7/winit +//! [built-in renderer]: https://github.com/iced-rs/iced/tree/0.8/wgpu +//! [windowing shell]: https://github.com/iced-rs/iced/tree/0.8/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.7/examples +//! [examples]: https://github.com/iced-rs/iced/tree/0.8/examples //! [repository]: https://github.com/iced-rs/iced //! //! # Overview diff --git a/src/sandbox.rs b/src/sandbox.rs index 31e861ed..e8ed0f81 100644 --- a/src/sandbox.rs +++ b/src/sandbox.rs @@ -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.7/examples -/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.7/examples/bezier_tool -/// [`counter`]: https://github.com/iced-rs/iced/tree/0.7/examples/counter -/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.7/examples/custom_widget -/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.7/examples/geometry -/// [`pane_grid`]: https://github.com/iced-rs/iced/tree/0.7/examples/pane_grid -/// [`progress_bar`]: https://github.com/iced-rs/iced/tree/0.7/examples/progress_bar -/// [`styling`]: https://github.com/iced-rs/iced/tree/0.7/examples/styling -/// [`svg`]: https://github.com/iced-rs/iced/tree/0.7/examples/svg -/// [`tour`]: https://github.com/iced-rs/iced/tree/0.7/examples/tour +/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.8/examples +/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.8/examples/bezier_tool +/// [`counter`]: https://github.com/iced-rs/iced/tree/0.8/examples/counter +/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.8/examples/custom_widget +/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.8/examples/geometry +/// [`pane_grid`]: https://github.com/iced-rs/iced/tree/0.8/examples/pane_grid +/// [`progress_bar`]: https://github.com/iced-rs/iced/tree/0.8/examples/progress_bar +/// [`styling`]: https://github.com/iced-rs/iced/tree/0.8/examples/styling +/// [`svg`]: https://github.com/iced-rs/iced/tree/0.8/examples/svg +/// [`tour`]: https://github.com/iced-rs/iced/tree/0.8/examples/tour /// [`Canvas widget`]: crate::widget::Canvas /// [the overview]: index.html#overview -/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.7/wgpu +/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.8/wgpu /// [`Svg` widget]: crate::widget::Svg /// [Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg /// diff --git a/src/widget.rs b/src/widget.rs index 7da5b82b..e2b0537e 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -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.7/examples/pane_grid + //! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.8/examples/pane_grid pub use iced_native::widget::pane_grid::{ Axis, Configuration, Direction, DragEvent, Line, Node, Pane, ResizeEvent, Split, State, StyleSheet, diff --git a/style/Cargo.toml b/style/Cargo.toml index 2be3e78d..3b54f1ec 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_style" -version = "0.6.0" +version = "0.7.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.7" +version = "0.8" path = "../core" features = ["palette"] diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 352802b8..f1e22cf6 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_wgpu" -version = "0.8.0" +version = "0.9.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.8" +version = "0.9" path = "../native" [dependencies.iced_graphics] -version = "0.6" +version = "0.7" path = "../graphics" features = ["font-fallback", "font-icons"] diff --git a/wgpu/README.md b/wgpu/README.md index 8ef68c62..3e6af103 100644 --- a/wgpu/README.md +++ b/wgpu/README.md @@ -30,7 +30,7 @@ Currently, `iced_wgpu` supports the following primitives: Add `iced_wgpu` as a dependency in your `Cargo.toml`: ```toml -iced_wgpu = "0.8" +iced_wgpu = "0.9" ``` __Iced moves fast and the `master` branch can contain breaking changes!__ If diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 5198276d..1a293681 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -16,7 +16,7 @@ //! - Meshes of triangles, useful to draw geometry freely. //! //! [Iced]: https://github.com/iced-rs/iced -//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native //! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs //! [WebGPU API]: https://gpuweb.github.io/gpuweb/ //! [`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph diff --git a/winit/Cargo.toml b/winit/Cargo.toml index dd975cbe..60e464c6 100644 --- a/winit/Cargo.toml +++ b/winit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced_winit" -version = "0.7.0" +version = "0.8.0" authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] edition = "2021" description = "A winit runtime for Iced" @@ -28,15 +28,15 @@ git = "https://github.com/iced-rs/winit.git" rev = "940457522e9fb9f5dac228b0ecfafe0138b4048c" [dependencies.iced_native] -version = "0.8" +version = "0.9" path = "../native" [dependencies.iced_graphics] -version = "0.6" +version = "0.7" path = "../graphics" [dependencies.iced_futures] -version = "0.5" +version = "0.6" path = "../futures" [dependencies.tracing] diff --git a/winit/README.md b/winit/README.md index 44286c2c..83810473 100644 --- a/winit/README.md +++ b/winit/README.md @@ -20,7 +20,7 @@ It exposes a renderer-agnostic `Application` trait that can be implemented and t Add `iced_winit` as a dependency in your `Cargo.toml`: ```toml -iced_winit = "0.7" +iced_winit = "0.8" ``` __Iced moves fast and the `master` branch can contain breaking changes!__ If diff --git a/winit/src/conversion.rs b/winit/src/conversion.rs index e83e55ec..1b2ead36 100644 --- a/winit/src/conversion.rs +++ b/winit/src/conversion.rs @@ -1,7 +1,7 @@ //! Convert [`winit`] types into [`iced_native`] types, and viceversa. //! //! [`winit`]: https://github.com/rust-windowing/winit -//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native use crate::keyboard; use crate::mouse; use crate::touch; @@ -218,7 +218,7 @@ pub fn mode(mode: Option<winit::window::Fullscreen>) -> window::Mode { /// Converts a `MouseCursor` from [`iced_native`] to a [`winit`] cursor icon. /// /// [`winit`]: https://github.com/rust-windowing/winit -/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native pub fn mouse_interaction( interaction: mouse::Interaction, ) -> winit::window::CursorIcon { @@ -242,7 +242,7 @@ pub fn mouse_interaction( /// Converts a `MouseButton` from [`winit`] to an [`iced_native`] mouse button. /// /// [`winit`]: https://github.com/rust-windowing/winit -/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native pub fn mouse_button(mouse_button: winit::event::MouseButton) -> mouse::Button { match mouse_button { winit::event::MouseButton::Left => mouse::Button::Left, @@ -258,7 +258,7 @@ pub fn mouse_button(mouse_button: winit::event::MouseButton) -> mouse::Button { /// modifiers state. /// /// [`winit`]: https://github.com/rust-windowing/winit -/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native pub fn modifiers( modifiers: winit::event::ModifiersState, ) -> keyboard::Modifiers { @@ -285,7 +285,7 @@ pub fn cursor_position( /// Converts a `Touch` from [`winit`] to an [`iced_native`] touch event. /// /// [`winit`]: https://github.com/rust-windowing/winit -/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native pub fn touch_event( touch: winit::event::Touch, scale_factor: f64, @@ -316,7 +316,7 @@ pub fn touch_event( /// Converts a `VirtualKeyCode` from [`winit`] to an [`iced_native`] key code. /// /// [`winit`]: https://github.com/rust-windowing/winit -/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +/// [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native pub fn key_code( virtual_keycode: winit::event::VirtualKeyCode, ) -> keyboard::KeyCode { diff --git a/winit/src/lib.rs b/winit/src/lib.rs index c3172319..3a33e174 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -11,7 +11,7 @@ //! Additionally, a [`conversion`] module is available for users that decide to //! implement a custom event loop. //! -//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native +//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.8/native //! [`winit`]: https://github.com/rust-windowing/winit //! [`conversion`]: crate::conversion #![doc( |