Skip to content

0.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:02
Immutable release. Only release title and notes can be modified.
8ed2da0

This release improves Windows host responsiveness during resizing and large
control updates, and fixes file-drop validation and window cleanup.

Roc compiler

Built and tested with Roc nightly-2026-11-26-890d6c8. Earlier versions may be incompatible.
Use roc version to check your installation.
Download the tested Roc nightly.

Known issues

  • With this nightly, --opt=speed can miscompile List.map over UI
    elements or signals and crash an app while mounting its window
    (roc-lang/roc#13391).
    This is the default profile for build and package. If an app hits
    the issue, build with --profile size or construct the list with a fold.

Use this release

Use this header in the Reading List starter’s src/main.roc. Use the
pf declaration to pin the same platform bundle in your own app.

app [main, native] {
    logic: "../logic/main.roc",
    pf: platform "https://github.com/lukewilliamboswell/roc-native-windows/releases/download/0.1.2/roc-native-windows-0_1_2-REf2gEwNzPmyS1Nsid8uWewm7zYbv1r8Cc8mH41Jzpf.tar.zst",
}

Getting started

With the tested compiler available as roc, run this in PowerShell on Windows x64.

$tool = 'https://github.com/lukewilliamboswell/roc-native-windows/releases/download/0.1.2/windows-0_1_2-BNTre2GCcQADKJ7N1rP8Nex9cRKXHgngnEtVwNC2JSyd.tar.zst'
roc $tool -- init reading-list
Set-Location reading-list
roc windows.roc -- test --target x64mingw
roc windows.roc -- package --target x64mingw

Packaging writes dist/reading-list-x64mingw.msi. Use --target arm64mingw
to package for Windows ARM64.

Changes

  • Window resizing batches child-control moves. Focus traversal, collection
    updates, and UI Automation grid selection do less work in large views.
  • Passive mouse movement no longer starts the host’s periodic update timer.
    Image and shader views reuse pixel buffers, and GIF recording reuses its
    capture surface between frames.

Fixes

  • Files dragged from Explorer now go through the same reparse-point checks
    as files selected in the file picker.
  • File, folder, and save dialogs open outside the host’s mutable application
    state, so messages processed while a dialog is open can safely re-enter
    the host. Window teardown also clears native control state and waits for
    the raster worker to exit.