Skip to content

v2.0.0-beta

Pre-release
Pre-release

Choose a tag to compare

@mrhubbs mrhubbs released this 25 Jun 00:45
· 33 commits to master since this release

Added

  • Pointer subjects for image bindings, including <pointer> support in globals.xml, typed bind_src validation/autocomplete, preview/runtime updates, and code generation for lv_image bind_src. (#247)
  • Design Mode Events section in the Properties panel for adding, editing, and removing event elements (e.g. event_cb, screen load events) on the selected component.
  • Generate standard API getters for accessing slots.
  • Design Mode support for editing component slots, including adding, duplicating, drag-and-drop reordering, and copy/paste operations in slot layers.
  • Memory usage summary feature, including a UI panel with graphs and additions to code export.
  • Proper support for repeat_count and repeat_delay in animation timelines.
  • CLI screenshot command for capturing a screen as a PNG.
    • Example: node lved-cli.js screenshot ./testing/test_project screens/main_screen --out main.png --delay 300
  • Preview inspection for access="add"/access="get" typed elements (e.g. lv_tabview-tab, lv_dropdown-list) and their contents.
  • Launch screen Learn by Examples flow to create Tutorials or Examples projects from bundled templates.
  • Image convert support allow creating multiple versions of the same source image.
  • <project theme="default or simple">to set a good looking or a minimally styled theme
  • Support for type precise_points (supports lv_line) to code export and XML validation.
  • Support content, 1fr (besides fr(1)), and validation in grid_row/column_dsc_array
  • Responsive target support: targets defined in project.xml can now be referenced in fonts, images, views, styles, etc. to create multiple versions of the UI. The Preview supports dynamically switching between them.
  • Figma Flow plugin to the Editor.
  • Proper support for types px|% and px|%|content in widget properties.

Changed

  • Launch screen opens on every app launch when signed in with a valid license, including when a project was restored from the previous session.
  • Simplified unit selector for Design Mode number inputs (e.g. position and size fields).
  • Project opening now enforces Product, Platform, Community, and Evaluation license rules using product_id and git_url project metadata.
  • For external tool support - reload the Preview whenever any .xml file in the open project is changed.

Fixed

  • Code export tweaks for slot support.
  • Confusing UX flow when the user's login has expired (#371).
  • UI flow to install emsdk locally, on first compilation
  • Setters on widget elements with access="add" would operate on the widget itself, instead of the child element, in code export.
  • User-defined event callbacks were not being called (the weak ones stubbed by code export were incorrectly preferred).
  • Memory usage monitoring now counts file-backed TinyTTF fonts and file images once per source file.
  • Translation strings starting with $ or # being treated as API or const references during validation and code export.
  • Use Emscripten environment "worker" instead of "web" because the Preview runs in a worker. On some Linux and Mac machines, the preview wouldn't run because of this.