---
title: "zng-wgt 0.19.0 Breaking Changes on crates.io | Since.dev"
description: "What each zng-wgt release removed, renamed or changed: 12 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/zng-wgt
last_updated: 2026-12-04
---

# zng-wgt breaking changes

zng-wgt 0.19.0 (November 27, 2026) is its newest release with breaking changes, 12 of them. The first: Removed FontDataRef. Every breaking API change we have recorded in zng-wgt on crates.io: 12 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.19.1`, released December 1, 2026. [Source repository](https://github.com/zng-ui/zng)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## zng-wgt 0.19.0 breaking changes

zng-wgt 0.19.0, released November 27, 2026: 12 breaking changes.

- **Removed** `FontDataRef`  

FontDataRef is gone. Use FontBytes, which can reference font bytes in various formats, including memory maps. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Removed** `zng_wgt::prelude::RunOnDrop`  

zng_wgt::prelude::RunOnDrop was removed in zng-wgt 0.19.0 [crates.io](https://crates.io/crates/zng-wgt/0.19.0)
- **Removed** `zng_wgt::prelude::SpatialFrameId`  

zng_wgt::prelude::SpatialFrameId was removed in zng-wgt 0.19.0 [crates.io](https://crates.io/crates/zng-wgt/0.19.0)
- **Removed** `zng.color.RenderMixBlendMode`  

RenderMixBlendMode was removed. Use zng::color::MixBlendMode, which now matches the view API type. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Removed** `zng.image.ImagePpi`  

ImagePpi was removed from zng::image. Use the new density types in zng::layout instead. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Removed** `zng.layout.Dpi`  

Ppi, Dpi and ResolutionUnits were removed from zng::layout. Use the new PxDensity, PxDensity2d and PxDensityUnits types. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Removed** `zng.layout.Ppi`  

Ppi, Dpi and ResolutionUnits were removed from zng::layout. Use the new PxDensity, PxDensity2d and PxDensityUnits types. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Removed** `zng.layout.ResolutionUnits`  

Ppi, Dpi and ResolutionUnits were removed from zng::layout. Use the new PxDensity, PxDensity2d and PxDensityUnits types. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Renamed**  

Every ppi-named item was renamed to use density. Update any code that refers to ppi names. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Behavior changed** `zng.color.MixBlendMode`  

MixBlendMode is marked non-exhaustive and gained a PlusLighter variant. Matches on it need a wildcard arm. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Signature changed**  

Task functions that capture panics now return zng::task::TaskPanicError. Update code that matches on their error type. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)
- **Signature changed** `add_font_face`  

The view API add_font_face now receives an IpcFontBytes instead of the previous font data type. Update callers to pass IpcFontBytes. [github.com](https://github.com/zng-ui/zng/releases/tag/v0.19.0)

## Related packages

- [zng-wgt-button](https://since.dev/packages/crates/zng-wgt-button.md)
- [zng-wgt-wrap](https://since.dev/packages/crates/zng-wgt-wrap.md)
- [zng-wgt-text](https://since.dev/packages/crates/zng-wgt-text.md)
- [zng-wgt-scroll](https://since.dev/packages/crates/zng-wgt-scroll.md)
- [zng-wgt-layer](https://since.dev/packages/crates/zng-wgt-layer.md)
- [zng-wgt-input](https://since.dev/packages/crates/zng-wgt-input.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
