Skip to content

Releases

0.1.2

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.

0.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:54
Immutable release. Only release title and notes can be modified.
9e1f26a

This release fixes how spec windows are sized, so windows.roc record
keeps one frame size, and ships the MSI packager as its own release. Apps
and their windows.roc commands work as in 0.1.0.

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 a list
    of UI elements or signals
    (roc-lang/roc#13391). The
    app then corrupts its heap or crashes while mounting its window.
    speed is the default profile for build and package, while
    windows.roc test and windows.roc dev use the dev backend, so specs
    can pass while a packaged app fails. The platform avoids the
    pattern itself. If an app hits it, build with --profile size, or build
    the list with a fold, as the platform does, instead of List.map.

Use this release

The Reading List starter uses this header in 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.1/roc-native-windows-0_1_1-BUdAuNkseaqeyDLuR1i61H1s5RjCD5y6qK9r6BuNnuFs.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.1/windows-0_1_1-6D2HXLe5rzyYg44FDyVgMcWavig6dmtF1sxBLBeDMfAX.tar.zst'
roc $tool -- init reading-list
Set-Location reading-list
roc windows.roc -- test --target x64mingw
roc windows.roc -- package --target x64mingw

Packaging downloads the matching MSI packager and writes
dist/reading-list-x64mingw.msi. Use --target arm64mingw for Windows ARM64.

Changes

  • The MSI packager, roc-windows-msi, now has its own release,
    msi-0.1.0.
    This platform release links to that packager instead of attaching its
    own copies. windows.roc -- package still selects the packager for your
    build machine and checks its SHA-256 before running it. Releases 0.1.0
    and earlier keep using the packagers attached to them.

Fixes

  • (window-size W H) in a spec now gives the window a W by H client area
    whether or not content overflows, and a spec window starts without a
    vertical scrollbar. Before, a window could widen by the scrollbar’s
    width during a run, and windows.roc record stopped with "the window
    changed size during GIF recording".

0.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 04:49
Immutable release. Only release title and notes can be modified.
50e2ffb

Apps follow the Windows light or dark mode, can set their own palette,
accent and title bar colors, and restyle live. A new Appearance example
shows the common controls in each theme, and Ui.toggle_switch adds a Fluent
on/off switch. The host now does native work in proportion to what a
change touches, so large windows and fast updates stay smooth. Choice
controls, trees, radios and tabs take their items as children, which
breaks existing calls; see the migration steps below.

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 a list
    of UI elements or signals
    (roc-lang/roc#13391). The
    app then corrupts its heap or crashes while mounting its window.
    speed is the default profile for build and package, while
    windows.roc test and windows.roc dev use the dev backend, so specs
    can pass while a packaged app fails. The platform avoids the
    pattern itself. If an app hits it, build with --profile size, or build
    the list with a fold, as the platform does, instead of List.map.

Use this release

The Reading List starter uses this header in 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.0/roc-native-windows-0_1_0-7k7oGJDpq4cGsFsqAZjWUXs1YbQiTJR1uiNWzRc6Sa8v.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.0/windows-0_1_0-9emVuQR1ioEASkcUEt8hDC3uxh1grJfmuTSrrD2VktDg.tar.zst'
roc $tool -- init reading-list
Set-Location reading-list
roc windows.roc -- test --target x64mingw
roc windows.roc -- package --target x64mingw

The init command creates the app and writes windows.roc. Packaging
downloads the matching MSI packager and writes dist/reading-list-x64mingw.msi.
Open the installer and launch Reading List from the Start menu, or start
it with hot reload during development.

roc windows.roc -- dev --target x64mingw

Use --target arm64mingw for Windows ARM64. To start with a single-file
Counter, run roc $tool -- init --simple counter from the parent directory.
App manual.

Breaking changes

  • windows.roc run is gone. Use windows.roc dev, which builds with the
    Roc dev backend and relaunches on Ctrl+R. build and package still
    default to --profile speed and now also accept --profile dev.
    windows.roc test builds its scenario executable with the dev backend
    by default; pass --profile size or --profile speed to change it.

  • Ui.window takes appearance as a signal. Wrap an existing record in
    Engine.const(...). Its encoded attribute replaces accent.

  • Choice controls and trees take their items as children, like report
    rows, so items kept in an Engine.table cost only the rows a change
    writes. The choices, tabs, nodes and expanded props are gone.
    Wire tags are unchanged, and visible text and accessible names stay
    the same.

    • Ui.combo_box and Ui.list_box take their options as a second
      argument: Ui.options(list) for fixed options, Ui.options_s(signal)
      for a signal of a list, or
      Ui.rows_by(table, sort, |key, row| Ui.option(label, { key: key.map(U64.to_str) }))
      for table rows. A table’s keys and sort values must be ordered, such
      as numbers.

      # Before
      Ui.combo_box({ label: "Theme", choices: Engine.const(themes), selected, on_select })
      # After
      Ui.combo_box({ label: "Theme", selected, on_select }, Ui.options(themes))
    • Ui.tree_view takes its nodes as a second argument:
      Ui.tree_nodes(nodes, expanded) for the old list and expanded set,
      Ui.tree_literal(items, expanded) for a nested fixed tree, or
      Ui.tree_node(label, { key, parent, expanded }) rows of a table.

      # Before
      Ui.tree_view({ label: "Folders", nodes, expanded, selected, on_select, on_expand })
      # After
      Ui.tree_view({ label: "Folders", selected, on_select, on_expand }, Ui.tree_nodes(nodes, expanded))
    • Ui.radio_group takes a list of Ui.radio(key, label, { enabled })
      as a second argument. Ui.radios(choices) keeps the old fixed radios.
      A radio’s label and availability can now change, while its key stays
      fixed.

      # Before
      Ui.radio_group({ label: "Mode", choices, selected, on_select })
      # After
      Ui.radio_group({ label: "Mode", selected, on_select }, Ui.radios(choices))
    • Ui.tabs takes a list of Ui.tab(key, label) before the page.
      Ui.tab_list(choices) keeps the old fixed tabs. A tab’s label can
      now change in place.

      # Before
      Ui.tabs({ label: "Details", tabs: choices, selected, on_select }, page)
      # After
      Ui.tabs({ label: "Details", selected, on_select }, Ui.tab_list(choices), page)

Features

  • Windows follow the system light or dark mode by default. Set scheme
    to Light or Dark to choose one. Dark windows use dark title bars,
    scrollbars and stock controls.
  • palette sets app window, surface and text colors for each scheme, and
    caption colors the title bar. Derived colors keep readable contrast.
  • Appearance changes restyle a running window, including its dialogs.
  • HTTP, Workers and Files have their own themes: a dark "Terminal", a
    slate and amber "Ledger" that follows the system mode, and a dark
    "Darkroom". Their shaders take theme colors through parameters.
  • Ui.toggle_switch adds an on/off switch. It takes the same title,
    checked and on_change as Ui.checkbox and reads as a check box
    to assistive technology.
  • Counter now uses the default Windows look. Reading List, which init
    generates, has a warm paper theme with an oxblood accent and a Crimson
    Text title. Todos has a cool indigo theme. Both color the title bar and
    follow light and dark mode.
  • Ui.button takes emphasis : [Standard, Accent]. An accent button
    stays a native button with a rounded accent fill. Appearance’s Save
    button uses it.
  • Selected rows in lists, list boxes, trees, grids and dropdowns use the
    app’s accent when it sets an accent or palette.
  • Sliders and progress bars draw an accent fill on a Fluent track in dark
    and custom palettes. Column headers, disabled buttons and disabled date
    and time fields follow the palette.
  • WindowStartup takes size : [SystemSize, Size({ width, height })]
    for the initial client area in DIP.
  • Packaged fonts take the weight their file declares, so static Medium
    and SemiBold files load.
  • Native specs can assert how much native work a step causes with
    (expect-work (set-window-pos = 0) (invalidate <= 4)). Appearance’s
    specs use it to keep slider changes from moving or redrawing the
    window.
  • Ui.list_view and Ui.data_grid take sort : Signal(ctx, [Unsorted, Ascending(Str), Descending(Str)])
    to show a sort arrow on a column’s header, also in dark mode. Reading
    List shows it when Title sorts the list.
  • Ui.rows_by(table, sort, template) draws every row of an
    Engine.table ordered by sort and then by key, for options, report
    rows and tree nodes.
  • Trees hold up to 16,384 nodes, up from 4,096.
  • Files keeps its picked files in an Engine.table, and its Hex preview
    format is available once the file’s bytes are read.
  • The new Appearance example is a theme gallery. Its mode, theme and
    toggle switches drive one appearance signal, and a preview of the
    common controls, text styles and surfaces restyles live.

Performance

  • The host now does native work in proportion to what a change touches,
    not to the size of the window. A batch syncs only the nodes it changed,
    restyles every control only when the palette changes, and lays the
    window out again only when a size can change, reusing every other
    measurement. Windows a batch does not touch are not visited. In the
    Appearance gallery, a Volume slider tick visits 2 nodes instead of 90
    and lays nothing out, and an accent hue tick lays nothing out.
    ROC_WINDOWS_FULL_SYNC=1 restores the full sync for comparison.
  • windows.roc dev logs any sync whose native work
    is out of proportion to its change, naming the counters, the changed
    nodes and the time. Set ROC_HOST_BUDGET_SENTRY=0 to silence it.
    (tick-interval MS coalesced) lets specs budget the one sync that
    queued completions share, and specs write a JSON-lines work report
    with span timings and GDI and USER handle counts.
  • A change to one control lays out and moves only what it changed. A
    column places only its changed children, and the ones after them only
    when a height changes, and the controls that kept their place are not
    checked again.

Fixes

  • Windows taller than about 32,000 pixels show their lower controls when
    scrolled. Before, every control past that point piled up at the same
    place, and every change moved them all again.
  • Checkboxes, radio buttons, group boxes and toolbars on tinted panels
    now use the panel background instead of a system-colored box.
  • Resizing a window now keeps styled text and panel borders intact.
    This fixes clipped headings and streaks in apps such as Reading List.
  • Dragging a slider no longer makes the window flicker. Appearance
    changes repaint only the controls whose colors change, title bar colors
    are written only when they change, unchanged controls are not moved
    and custom painters draw off screen first.
  • Dark text...
Read more

roc-windows-msi 0.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:32
Immutable release. Only release title and notes can be modified.
3ffcae6

MSI packager roc-windows-msi 0.1.0 for roc-native-windows platform releases.

Each binary runs on the named build machine and produces Windows x64 or ARM64 installers.
Platform releases pin these files by SHA-256 in packaging/msi-release.sha256,
and windows.roc -- package downloads and checks the right one automatically.

2d0763ae76fb4da2b28ed87caae0ca261cf61c86bc92dcd0c8b8016f4c0ef9ec  roc-windows-msi-0.1.0-linux-arm64
690671d6feac4f301544514f4c0a72ff1dd982e07dd3b4031a8a475685499ed6  roc-windows-msi-0.1.0-linux-x64
de1650ca0a889479d8ddd6eeb91be9a79dc30401bec05d8be71b6ffac90fe23b  roc-windows-msi-0.1.0-macos-arm64
37e69da0ceaac14a4f39429e039b6d9f507bba2ac8aa0f9fcbc8ce2774fe94ec  roc-windows-msi-0.1.0-macos-x64
abf6e503e111093718735b6d61849cf1fc965d1869e35dc1eb27a415ff3f67b7  roc-windows-msi-0.1.0-windows-arm64.exe
a4e6f58f8b75ae9ef8de7bed75078e5c76714f4d5ba57a7291f6d983ed10b3d0  roc-windows-msi-0.1.0-windows-x64.exe

0.0.1

Choose a tag to compare

@github-actions github-actions released this 27 Nov 13:17
Immutable release. Only release title and notes can be modified.
69b0569

The first release of roc-native-windows builds native Win32 desktop apps for Windows x64 and ARM64. The included CLI creates a Reading List or Counter starter and packages apps as MSI installers or ZIPs.

Roc compiler

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

Use this release in an app

The Reading List starter uses this header in 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.0.1/roc-native-windows-0_0_1-AosJWtHK7QzuxRaPowBwZhgeMWZiQcmcVo5yArTquRnc.tar.zst",
}

Getting started

With the pinned compiler available as roc, run these commands in PowerShell on Windows x64.

$tool = 'https://github.com/lukewilliamboswell/roc-native-windows/releases/download/0.0.1/windows-0_0_1-3dmaJRWsqB3NwbrCJzxTSP7X8ExrMkBJZejmfHmB3WzX.tar.zst'
roc $tool -- init reading-list
Set-Location reading-list

roc windows.roc -- test --target x64mingw
roc windows.roc -- package --target x64mingw

The init command creates the app and writes windows.roc into it. Packaging downloads the matching MSI packager and writes dist/reading-list-x64mingw.msi. Open the installer and launch Reading List from the Start menu, or run it directly during development.

roc windows.roc -- run --target x64mingw

Use --target arm64mingw for native Windows ARM64. To start with a single-file Counter instead, run roc $tool -- init --simple counter from the parent directory. App manual · Standalone windows.roc launcher

Verify the release

GitHub build provenance covers the uploaded files. SHA256SUMS lists the asset and SBOM digests. The SPDX inventories identify resolved components and record coverage gaps for native runtime symbols and transitive supplier inputs. The dependency license archive contains the original notices. Checksums · Dependency licenses