Skip to content

6.26.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 11:35
· 830 commits to main since this release

Added

Apple runtime

  • Global image, font, and audio assets registered through the concurrency Worker now apply to matching assets in files that are already loaded. Registering, replacing, or removing a global asset updates every applicable loaded file.

Core runtime

  • Added support for binding list-item content to nested view model instance values from the host, including two-way bindings and converters.
  • Text inputs now select all text when reached through keyboard or gamepad focus traversal. Added selectAllOnFocus to enable the same behavior for every focus method.

Scripting

  • Added a Rive library for AssemblyScript with APIs for artboards, data binding, paints, paths, images, events, and input protocols.
  • Added @input declarations for host-settable AssemblyScript inputs, including typed artboard and view model inputs and custom input names.
  • Added 2D canvases for AssemblyScript through context.canvas(width, height), including resizing, frame management, and reusable rendered images.
  • Added nested GPU render passes, allowing an inner pass to render before an enclosing pass samples its output.

Fixed

Apple runtime

  • Fixed global asset changes not scheduling a redraw for settled views. Controllers using the affected worker now automatically mark their views dirty when a global asset is applied or cleared.

Core runtime

  • Fixed 64-bit file IDs being truncated when their value exceeded the signed 32-bit range.
  • Fixed artboards with an exact zero scale continuing to receive pointer events despite rendering no content.
  • Fixed legacy nested artboards inside Solo nodes adopting newer parent-layout fitting behavior. Existing files retain their previous layout, while newly authored nodes use parent-layout fitting.
  • Fixed layouts potentially reading uninitialized interpolator pointers when an interpolation curve could not be resolved. These cases now reliably fall back to linear interpolation.
  • Fixed data-binding containers retaining stale data contexts after an artboard, state machine, or converter was unbound.

Renderer

  • Fixed image paints in atomic rendering, including colors, gradients, strokes, and feathered paths.
  • Fixed clears potentially inheriting an invalid color-write mask when Rive shares an OpenGL context with another renderer.

Scripting

  • Fixed Apple silicon AOT script artifacts potentially becoming corrupted because the platform-reserved x18 register could be overwritten.
  • Fixed AOT script startup failures caused by compiling modified module bytes or unresolved vm_host imports.
  • Fixed nested scripted drawing closing canvas frames or render passes owned by an enclosing script call.

Changed

Core runtime

  • Reduced memory usage for animation and state-machine instances by lazily allocating data-binding, scripted-interpolator, and any-state data.

Commits

See the full commit history between 6.25.1 and 6.26.0.

  • feat(data): bind view model instance values in lists af1ac75
  • feat(wasm): add 2D canvas support to the AssemblyScript library e25643e
  • feat(ore): add nestable script render passes fc77f37
  • fix(runtime): reclaim only canvas frames and render passes opened by the current script call b48c519
  • fix(runtime): hold one data context per DataBindContainer 4b5432f
  • feat(text): select all on keyboard focus and add selectAllOnFocus 7332f91
  • feat(scripting): add typed artboard and view model inputs with custom names 5da8bdb
  • feat(scripting): add the AssemblyScript Rive library 68688f1
  • feat(scripting): declare WASM script inputs with @input 2a37b03
  • fix(runtime): stop layouts reading uninitialized interpolator pointers 0f7b793
  • feat: add parent-layout fitting control to NestedArtboardLeaf 270033c
  • fix(scripting): boot vm_host AOT artifacts from pristine module bytes c4044cc
  • fix(scripting): reserve x18 in Apple and Windows ARM64 AOT artifacts 9fd2e71
  • fix(renderer): reset the OpenGL color mask before clearing 2de9e58
  • fix(renderer): support stroked and feathered image paints in atomic mode 2cac505
  • fix(renderer): add image-paint support to atomic mode and fix zero-scale artboard hit testing 62d3364
  • fix(apple): dirty views when global assets change d55cafb
  • feat(command-queue): apply global asset changes to all loaded files 538039c
  • fix(runtime): read the header file ID at full 64-bit width 15eeaca
  • perf(runtime): shrink StateMachineLayerInstance and LinearAnimationInstance 57036bd