Skip to content

Commit

Permalink
Release 0.12.4 (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamRodri authored Oct 19, 2024
1 parent e3df1bd commit b14fd27
Show file tree
Hide file tree
Showing 68 changed files with 567 additions and 557 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Unreleased


# 0.12.4

* Export `LOW_MEMORY_EVENT` on the surface API in `zng::app`.
* Fix `LOW_MEMORY_EVENT` not notifying on Android.
* Implement `LOW_MEMORY_EVENT` on Windows.
* Fix `LOW_MEMORY_EVENT` not notifying in Android.
* Implement `LOW_MEMORY_EVENT` in Windows.
* Fix window not updating state after restore in Wayland.
* Add `FrameBuilder::render_widgets` and `render_update_widgets` to `FrameBuilder` and `FrameUpdate` to inspect external render requests.
* Implement support for raster and svg emojis.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ First add `zng` to your `Cargo.toml`, or call `cargo add zng -F view_prebuilt`:

```toml
[dependencies]
zng = { version = "0.12.3", features = ["view_prebuilt"] }
zng = { version = "0.12.4", features = ["view_prebuilt"] }
```

Then create your first window:
Expand Down
2 changes: 1 addition & 1 deletion crates/zng-app-context/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-app-context"
version = "0.5.9"
version = "0.5.10"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand Down
18 changes: 9 additions & 9 deletions crates/zng-app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-app"
version = "0.13.1"
version = "0.13.2"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand Down Expand Up @@ -83,17 +83,17 @@ zng-env = { path = "../zng-env", version = "0.3.5" }
zng-handle = { path = "../zng-handle", version = "0.2.5" }
zng-tp-licenses = { path = "../zng-tp-licenses", version = "0.2.8" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-time = { path = "../zng-time", version = "0.2.21" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-time = { path = "../zng-time", version = "0.2.22" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1", features = [
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2", features = [
"var",
] }
zng-state-map = { path = "../zng-state-map", version = "0.3.5" }
zng-layout = { path = "../zng-layout", version = "0.2.27" }
zng-color = { path = "../zng-color", version = "0.3.12" }
zng-state-map = { path = "../zng-state-map", version = "0.3.6" }
zng-layout = { path = "../zng-layout", version = "0.2.28" }
zng-color = { path = "../zng-color", version = "0.3.13" }

tracing = "0.1"
tracing-subscriber = "0.3"
Expand Down
10 changes: 5 additions & 5 deletions crates/zng-color/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-color"
version = "0.3.12"
version = "0.3.13"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -13,10 +13,10 @@ keywords = ["gui", "ui", "user-interface", "zng"]

[dependencies]
zng-color-proc-macros = { path = "../zng-color-proc-macros", version = "0.2.7" }
zng-layout = { path = "../zng-layout", version = "0.2.27" }
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1" }
zng-layout = { path = "../zng-layout", version = "0.2.28" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2" }

paste = "1.0"
serde = "1.0"
14 changes: 7 additions & 7 deletions crates/zng-ext-clipboard/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-clipboard"
version = "0.2.36"
version = "0.2.37"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -12,12 +12,12 @@ categories = ["gui"]
keywords = ["gui", "ui", "user-interface", "zng"]

[dependencies]
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-ext-image = { path = "../zng-ext-image", version = "0.2.35" }
zng-wgt = { path = "../zng-wgt", version = "0.5.1" }
zng-ext-image = { path = "../zng-ext-image", version = "0.2.36" }
zng-wgt = { path = "../zng-wgt", version = "0.5.2" }

tracing = "0.1"
14 changes: 7 additions & 7 deletions crates/zng-ext-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-config"
version = "0.3.14"
version = "0.3.15"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -20,17 +20,17 @@ toml = ["dep:toml", "zng-ext-fs-watcher/toml"]
ron = ["dep:ron", "zng-ext-fs-watcher/ron"]

[dependencies]
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-unique-id = { path = "../zng-unique-id", version = "0.4.6" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.34", features = [
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.35", features = [
"json",
] }
zng-state-map = { path = "../zng-state-map", version = "0.3.5" }
zng-state-map = { path = "../zng-state-map", version = "0.3.6" }

tracing = "0.1"
bytemuck = { version = "1.15", features = ["derive"] }
Expand Down
20 changes: 10 additions & 10 deletions crates/zng-ext-font/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-font"
version = "0.4.9"
version = "0.4.10"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -25,16 +25,16 @@ svg = []

[dependencies]
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1" }
zng-ext-l10n = { path = "../zng-ext-l10n", version = "0.5.14" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-layout = { path = "../zng-layout", version = "0.2.27" }
zng-color = { path = "../zng-color", version = "0.3.12" }
zng-ext-image = { path = "../zng-ext-image", version = "0.2.34" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2" }
zng-ext-l10n = { path = "../zng-ext-l10n", version = "0.5.15" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-layout = { path = "../zng-layout", version = "0.2.28" }
zng-color = { path = "../zng-color", version = "0.3.13" }
zng-ext-image = { path = "../zng-ext-image", version = "0.2.36" }

serde = "1.0"
unicase = "2.7"
Expand Down
9 changes: 8 additions & 1 deletion crates/zng-ext-font/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@ This crate is part of the [`zng`](https://github.com/zng-ui/zng?tab=readme-ov-fi
<!--do doc --readme features-->
## Cargo Features

This crate provides 1 feature flag, not enabled by default.
This crate provides 2 feature flags, 0 enabled by default.

#### `"hyphenation_embed_all"`
Embed hyphenation dictionaries.

See the `hyphenation` for more details.

#### `"svg"`
Enable support for SVG image glyphs.

This feature signals that the `IMAGES` service supports SVG. The app must ensure that this is so by
using `zng-ext-svg` or another SVG extension.

<!--do doc --readme #SECTION-END-->


10 changes: 5 additions & 5 deletions crates/zng-ext-fs-watcher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-fs-watcher"
version = "0.2.34"
version = "0.2.35"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -22,14 +22,14 @@ toml = ["dep:toml"]
ron = ["dep:ron"]

[dependencies]
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-unit = { path = "../zng-unit", version = "0.2.9" }
zng-handle = { path = "../zng-handle", version = "0.2.5" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-task = { path = "../zng-task", version = "0.4.7" }

walkdir = "2.5"
serde = "1.0"
Expand Down
12 changes: 6 additions & 6 deletions crates/zng-ext-hot-reload/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-hot-reload"
version = "0.1.23"
version = "0.1.24"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -18,12 +18,12 @@ zng-ext-hot-reload-proc-macros = { path = "../zng-ext-hot-reload-proc-macros", v
# so it is available across the entire workspace.
zng-unique-id = { path = "../zng-unique-id", version = "0.4.6", features = ["hot_reload"] }
zng-env = { path = "../zng-env", version = "0.3.5" }
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.34" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.35" }
zng-unit = { path = "../zng-unit", version = "0.2.9" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }

libloading = "0.8"
Expand Down
18 changes: 9 additions & 9 deletions crates/zng-ext-image/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-image"
version = "0.2.35"
version = "0.2.36"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -16,17 +16,17 @@ keywords = ["gui", "ui", "user-interface", "zng"]
http = ["zng-task/http"]

[dependencies]
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-unique-id = { path = "../zng-unique-id", version = "0.4.6" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-layout = { path = "../zng-layout", version = "0.2.27" }
zng-color = { path = "../zng-color", version = "0.3.12" }
zng-state-map = { path = "../zng-state-map", version = "0.3.5" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-layout = { path = "../zng-layout", version = "0.2.28" }
zng-color = { path = "../zng-color", version = "0.3.13" }
zng-state-map = { path = "../zng-state-map", version = "0.3.6" }

serde = "1.0"
once_cell = "1.19"
Expand Down
16 changes: 8 additions & 8 deletions crates/zng-ext-input/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-input"
version = "0.5.25"
version = "0.5.26"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -12,17 +12,17 @@ categories = ["gui"]
keywords = ["gui", "ui", "user-interface", "zng"]

[dependencies]
zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-layout = { path = "../zng-layout", version = "0.2.27" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-layout = { path = "../zng-layout", version = "0.2.28" }
zng-handle = { path = "../zng-handle", version = "0.2.5" }
zng-state-map = { path = "../zng-state-map", version = "0.3.5" }
zng-state-map = { path = "../zng-state-map", version = "0.3.6" }
zng-unique-id = { path = "../zng-unique-id", version = "0.4.6" }
zng-ext-window = { path = "../zng-ext-window", version = "0.3.26" }
zng-ext-window = { path = "../zng-ext-window", version = "0.3.27" }

tracing = "0.1"
parking_lot = "0.12"
Expand Down
16 changes: 8 additions & 8 deletions crates/zng-ext-l10n/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-l10n"
version = "0.5.14"
version = "0.5.15"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -14,15 +14,15 @@ keywords = ["gui", "ui", "user-interface", "zng"]
[dependencies]
zng-ext-l10n-proc-macros = { path = "../zng-ext-l10n-proc-macros", version = "0.2.9" }

zng-app-context = { path = "../zng-app-context", version = "0.5.9" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-var = { path = "../zng-var", version = "0.5.6" }
zng-app-context = { path = "../zng-app-context", version = "0.5.10" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-var = { path = "../zng-var", version = "0.5.7" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-clone-move = { path = "../zng-clone-move", version = "0.2.5" }
zng-view-api = { path = "../zng-view-api", version = "0.10.1" }
zng-layout = { path = "../zng-layout", version = "0.2.27" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.34" }
zng-view-api = { path = "../zng-view-api", version = "0.10.2" }
zng-layout = { path = "../zng-layout", version = "0.2.28" }
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.35" }
zng-env = { path = "../zng-env", version = "0.3.5" }

fluent = "0.16"
Expand Down
8 changes: 4 additions & 4 deletions crates/zng-ext-single-instance/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-single-instance"
version = "0.3.19"
version = "0.3.20"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -13,10 +13,10 @@ keywords = ["gui", "ui", "user-interface", "zng"]

[dependencies]
zng-env = { path = "../zng-env", version = "0.3.5" }
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.34" }
zng-task = { path = "../zng-task", version = "0.4.7" }
zng-ext-fs-watcher = { path = "../zng-ext-fs-watcher", version = "0.2.35" }

parking_lot = "0.12"
single-instance = "0.3"
Expand Down
8 changes: 4 additions & 4 deletions crates/zng-ext-svg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zng-ext-svg"
version = "0.1.1"
version = "0.1.2"
authors = ["The Zng Project Developers"]
edition = "2021"
license = "Apache-2.0 OR MIT"
Expand All @@ -12,11 +12,11 @@ categories = ["gui"]
keywords = ["gui", "ui", "user-interface", "zng"]

[dependencies]
zng-app = { path = "../zng-app", version = "0.13.1" }
zng-ext-image = { path = "../zng-ext-image", version = "0.2.35" }
zng-app = { path = "../zng-app", version = "0.13.2" }
zng-ext-image = { path = "../zng-ext-image", version = "0.2.36" }
zng-txt = { path = "../zng-txt", version = "0.2.8" }
zng-unit = { path = "../zng-unit", version = "0.2.9" }
zng-task = { path = "../zng-task", version = "0.4.6" }
zng-task = { path = "../zng-task", version = "0.4.7" }

resvg = "0.44"
tracing = "0.1"
Expand Down
Loading

0 comments on commit b14fd27

Please sign in to comment.