Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for releasing v0.8.3. #2365

Merged
merged 2 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 24 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# Changelog

The latest published Druid release is [0.8.2](#082---2023-01-27) which was released on 2023-01-27.
You can find its changes [documented below](#082---2023-01-27).
The latest published Druid release is [0.8.3](#083---2023-02-28) which was released on 2023-02-28.
You can find its changes [documented below](#083---2023-02-28).

## [Unreleased]

### Highlights

### Added

- Input Region and Always On Top support. ([#2328] by [@jaredoconnell])
- `foreground`, `set_foreground`, and `clear_foreground` methods to `Container` and `WidgetExt::foreground` method for convenience. ([#2346] by [@giannissc])
- `WindowHandle::hide` method to hide a window. ([#2191] by [@newcomb-luke])

### Changed

### Deprecated
Expand All @@ -21,25 +17,39 @@ You can find its changes [documented below](#082---2023-01-27).

### Fixed

- `AddTab` is now properly exported from the `widget` module. ([#2351] by [@cbondurant])

### Visual

### Docs

### Examples

### Maintenance

### Outside News

## [0.8.3] - 2023-02-28

### Added

- Input Region and Always On Top support. ([#2328] by [@jaredoconnell])
- `foreground`, `set_foreground`, and `clear_foreground` methods to `Container` and `WidgetExt::foreground` method for convenience. ([#2346] by [@giannissc])
- `WindowHandle::hide` method to hide a window. ([#2191] by [@newcomb-luke])

### Fixed

- `AddTab` is now properly exported from the `widget` module. ([#2351] by [@cbondurant])

### Docs

- `Widget`, `WidgetExt`, `WidgetId`, `Lens` and `LensExt` docs are visible again. ([#2356] by [@xStrom])
- Deprecated items are now hidden. ([#2356] by [@xStrom])
- Fixed `rustdoc` example scraping configuration. ([#2353] by [@xStrom])
- Added info about git symlinks to `CONTRIBUTING.md`. ([#2349] by [@xStrom])

### Examples

### Maintenance

- Synchronized `kurbo` and `image` imports with `piet-common`. ([#2352] by [@xStrom])

### Outside News

## [0.8.2] - 2023-01-27

### Docs
Expand Down Expand Up @@ -1217,7 +1227,8 @@ Last release without a changelog :(
[#2353]: https://github.com/linebender/druid/pull/2353
[#2356]: https://github.com/linebender/druid/pull/2356

[Unreleased]: https://github.com/linebender/druid/compare/v0.8.2...master
[Unreleased]: https://github.com/linebender/druid/compare/v0.8.3...master
[0.8.3]: https://github.com/linebender/druid/compare/v0.8.2...v0.8.3
[0.8.2]: https://github.com/linebender/druid/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/linebender/druid/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/linebender/druid/compare/v0.7.0...v0.8.0
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ a lone dependency (it re-exports all the parts of `druid-shell`, `piet`, and `ku
that you'll need):

```toml
druid = "0.8.2"
druid = "0.8.3"
```

Since Druid is currently in fast-evolving state, you might prefer to drink from
Expand Down Expand Up @@ -322,14 +322,14 @@ active and friendly community. See the AUTHORS file for more.
[Zulip chat instance]: https://xi.zulipchat.com
[non-`druid` examples]: /druid-shell/examples/shello.rs
[crates.io]: https://crates.io/crates/druid
[EventCtx]: https://docs.rs/druid/0.8.2/druid/struct.EventCtx.html
[LifeCycleCtx]: https://docs.rs/druid/0.8.2/druid/struct.LifeCycleCtx.html
[LayoutCtx]: https://docs.rs/druid/0.8.2/druid/struct.LayoutCtx.html
[PaintCtx]: https://docs.rs/druid/0.8.2/druid/struct.PaintCtx.html
[UpdateCtx]: https://docs.rs/druid/0.8.2/druid/struct.UpdateCtx.html
[Widget trait]: https://docs.rs/druid/0.8.2/druid/trait.Widget.html
[Data trait]: https://docs.rs/druid/0.8.2/druid/trait.Data.html
[Lens datatype]: https://docs.rs/druid/0.8.2/druid/trait.Lens.html
[EventCtx]: https://docs.rs/druid/0.8.3/druid/struct.EventCtx.html
[LifeCycleCtx]: https://docs.rs/druid/0.8.3/druid/struct.LifeCycleCtx.html
[LayoutCtx]: https://docs.rs/druid/0.8.3/druid/struct.LayoutCtx.html
[PaintCtx]: https://docs.rs/druid/0.8.3/druid/struct.PaintCtx.html
[UpdateCtx]: https://docs.rs/druid/0.8.3/druid/struct.UpdateCtx.html
[Widget trait]: https://docs.rs/druid/0.8.3/druid/trait.Widget.html
[Data trait]: https://docs.rs/druid/0.8.3/druid/trait.Data.html
[Lens datatype]: https://docs.rs/druid/0.8.3/druid/trait.Lens.html
[Druid book]: https://linebender.org/druid/
[Iced]: https://github.com/hecrj/iced
[Conrod]: https://github.com/PistonDevelopers/conrod
Expand Down
12 changes: 6 additions & 6 deletions docs/src/08_widgets_in_depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ textbox fire some action (say doing a search) 300ms after the last keypress:
{{#include ../book_examples/src/custom_widgets_md.rs:annoying_textbox}}
```

[`Controller`]: https://docs.rs/druid/0.8.2/druid/widget/trait.Controller.html
[`Controller`]: https://docs.rs/druid/0.8.3/druid/widget/trait.Controller.html
[`Widget`]: ./widget.md
[`Painter`]: https://docs.rs/druid/0.8.2/druid/widget/struct.Painter.html
[`SizedBox`]: https://docs.rs/druid/0.8.2/druid/widget/struct.SizedBox.html
[`Container`]: https://docs.rs/druid/0.8.2/druid/widget/struct.Container.html
[`WidgetExt`]: https://docs.rs/druid/0.8.2/druid/trait.WidgetExt.html
[`background`]: https://docs.rs/druid/0.8.2/druid/trait.WidgetExt.html#background
[`Painter`]: https://docs.rs/druid/0.8.3/druid/widget/struct.Painter.html
[`SizedBox`]: https://docs.rs/druid/0.8.3/druid/widget/struct.SizedBox.html
[`Container`]: https://docs.rs/druid/0.8.3/druid/widget/struct.Container.html
[`WidgetExt`]: https://docs.rs/druid/0.8.3/druid/trait.WidgetExt.html
[`background`]: https://docs.rs/druid/0.8.3/druid/trait.WidgetExt.html#background
2 changes: 1 addition & 1 deletion druid-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ quote = "1.0.23"
proc-macro2 = "1.0.51"

[dev-dependencies]
druid = { version = "0.8.2", path = "../druid" }
druid = { version = "0.8.3", path = "../druid" }
trybuild = "1.0"

float-cmp = { version = "0.9.0", features = ["std"], default-features = false }
2 changes: 1 addition & 1 deletion druid-shell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "druid-shell"
version = "0.8.0"
version = "0.8.3"
license = "Apache-2.0"
authors = ["Raph Levien <[email protected]>"]
description = "Platform abstracting application shell used for Druid toolkit."
Expand Down
4 changes: 2 additions & 2 deletions druid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "druid"
version = "0.8.2"
version = "0.8.3"
license = "Apache-2.0"
authors = ["Raph Levien <[email protected]>"]
description = "Data-oriented Rust UI design toolkit."
Expand Down Expand Up @@ -51,7 +51,7 @@ hdr = ["druid-shell/hdr"]
image-all = ["image", "svg", "png", "jpeg", "jpeg_rayon", "gif", "bmp", "ico", "tiff", "webp", "pnm", "dds", "tga", "farbfeld", "dxt", "hdr"]

[dependencies]
druid-shell = { version = "0.8.0", default-features = false, path = "../druid-shell" }
druid-shell = { version = "0.8.3", default-features = false, path = "../druid-shell" }
druid-derive = { version = "0.5.0", path = "../druid-derive" }

tracing = { version = "0.1.37" }
Expand Down
4 changes: 2 additions & 2 deletions druid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
//! Features can be added with `cargo`. For example, in your `Cargo.toml`:
//! ```no_compile
//! [dependencies.druid]
//! version = "0.8.2"
//! version = "0.8.3"
//! features = ["im", "svg", "image"]
//! ```
//!
Expand All @@ -136,7 +136,7 @@
//! crate.
//!
//! [`druid-shell`]: druid_shell
//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.8.2/druid/examples
//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.8.3/druid/examples
//! [Druid book]: https://linebender.org/druid/
//! [`im` crate]: https://crates.io/crates/im
//! [`im` module]: im/index.html
Expand Down
2 changes: 1 addition & 1 deletion druid/src/widget/flex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ impl<T: Data> Flex<T> {
flex: params.flex,
}
} else {
tracing::warn!("Flex value should be > 0.0. To add a non-flex child use the add_child or with_child methods.\nSee the docs for more information: https://docs.rs/druid/0.8.2/druid/widget/struct.Flex.html");
tracing::warn!("Flex value should be > 0.0. To add a non-flex child use the add_child or with_child methods.\nSee the docs for more information: https://docs.rs/druid/0.8.3/druid/widget/struct.Flex.html");
Child::Fixed {
widget: WidgetPod::new(Box::new(child)),
alignment: None,
Expand Down