Skip to content

Releases: zng-ui/zng

v0.12.9

17 Nov 00:37
39be6fc
Compare
Choose a tag to compare
  • Fix EXIF orientation not applying to images.

v0.12.8

10 Nov 00:52
0002c28
Compare
Choose a tag to compare
  • Properties size and related now have a default value allowing conditional assign.
  • Add zng::slider with Slider widget.
  • Fix force_size returning the parent's constraint min size.
  • Fix hit-test in rounded rectangles with too large corner radius.
  • Fix headless rendering in Wayland. Property needs_fallback_chrome now is false for headless windows.

v0.12.7

04 Nov 16:50
b19789b
Compare
Choose a tag to compare
  • Revert fs4 dependency upgrade to fix build. It was yanked.

v0.12.6

03 Nov 12:12
7cff3a9
Compare
Choose a tag to compare
  • Add debug validation of capture only property use in widgets that don't capture it.
  • Fix Wayland custom chrome breaking window padding.
  • Fix window text properties affecting the Wayland fallback chrome text.
  • Fix swgl build error.
  • Changed how relative lengths are computed in offset, x and y, now uses the maximum bounded length from constraint, the same as size properties.
  • Fix display print of FactorPercent not rounding.
  • ChildInsert::{Over, Under} now allows insert to affect layout size, like other inserts.
    • Use background and foreground properties as layout passive alternatives for child_under and child_over.
  • Add zng::container::child.
  • Breaking zng_wgt_container::child can now be used as a standalone property that behaves the same as child_under.
    • Note that this is only a breaking change for direct dependents of zng-wgt-container.
  • Fix warning on flood with 0 area.
  • Add zng::task::Progress value type for reporting a task progress status.
  • Add zng::progress with ProgressView widget for displaying a task progress status.

v0.12.5

26 Oct 20:41
02edb57
Compare
Choose a tag to compare
  • Fix cargo zng fmt and cargo zng l10n on files that start with #!.
  • Fix layers anchored to the root widget never rendering in some windows.

v0.12.4

19 Oct 16:21
b14fd27
Compare
Choose a tag to compare
  • Export LOW_MEMORY_EVENT on the surface API in zng::app.
  • 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.
  • Add FontFace::ttf to quickly access the full parsed TTF data.
  • Add has_raster_images and has_svg_images method to FontFace and ShapedText.
  • Add software render in macOS.
  • Fix software render in Wayland.

v0.12.3

12 Oct 19:22
10b35b7
Compare
Choose a tag to compare
  • Fix close button icon in Wayland instances without any close icon available.
  • Add IMAGES.image_task to load async image sources.
  • Implement support for SVG images.
    • Add zng-ext-svg.
    • Add non default "svg" feature on the zng crate.
  • Fix view_process_extension! not running in same-process mode.
  • Breaking WindowExtension now also instantiated for headless surfaces.
    • Note that this is only a breaking change for direct dependents of zng-view extensions API.
  • Breaking Add as_any casting method for RendererExtension and WindowExtension.
    • Note that this is only a breaking change for direct dependents of zng-view extensions API.
  • Add "zng-view.prefer_angle" window extension to support enabling ANGLE EGL over WGL on Windows.

v0.12.2

05 Oct 14:52
78cafc5
Compare
Choose a tag to compare
  • Add widget_impl: directive for command_property!.
  • Allow missing trailing comma in event_property!.
  • Fix visibility and transform events losing track of a widget after info rebuild.
  • Add visibility changed event properties, on_visibility_changed, on_show, on_collapse and others.
  • Add VisibilityChangedArgs helper methods for tracking changes for a specific widget.
  • Fix doc links in inherited properties fetched from redirected original pages.
  • Fix cargo zng res not getting explicit metadata from lib crates.
  • Implement --verbose for cargo zng res.
  • Localize settings search box placeholder text.

v0.12.1

29 Sep 04:10
0d75edc
Compare
Choose a tag to compare
  • Fix panic trying to use font index on macOS.
  • Fix default UI font in Apple systems.
  • Breaking Update webrender dependency.
    • Note that this is only a breaking change for direct dependents of zng-view extensions API.
  • Fix --clean-deps in cargo zng l10n.
  • Implement --verbose for cargo zng l10n.

v0.12.0

21 Sep 22:38
1ac7a59
Compare
Choose a tag to compare
  • Log warning when property is not used because it has no default value.
  • Define default max_size, max_width and max_height so these properties can now be only set by when conditions.
  • Fix sticky_size, sticky_width and sticky_height properties when dynamically disabled and re-enabled.
  • Fix sticky_height using x constraint.
  • Fix fill align in Scroll! dimensions that do not scroll.
  • Implement alternate SettingsEditor! layout for narrow width (mobile).
  • Implement equality and comparison for Dip and Px to i32 (and f32 for Dip).
  • Breaking Move IS_MOBILE_VAR to zng-wgt and zng::widget.
  • Breaking Move is_mobile and force_mobile to zng-wgt and zng::widget.
    • These properties are no longer strongly associated with Window.
  • Add SettingsEditor::panel_fn for customizing the full editor layout.
  • Breaking Remove previous deprecated UiNodeVec.
  • Breaking Remove unused renderer param in FrameUpdate::new.