Skip to content

0.1.4

Choose a tag to compare

@github-actions github-actions released this 08 Aug 06:04
· 1 commit to main since this release

Styling you write now actually reaches the page.

This release closes five separate mechanisms that silently discarded correct
input. Each of them accepted what you authored, reported success, and rendered
something else — which is why a carefully styled page could come out looking
like no styling had been applied at all.

Typography

  • Font Weight is now a port. There was no way to set a font weight on any
    node. The design system has shipped nine weight tokens (--font-thin through
    --font-black) and four Inter faces to serve them all along, and every element
    variant specifies a weight — but nothing could consume any of it, so text
    rendered at regular weight however you styled it. Accepts a token
    (var(--font-semibold)), a plain number (600), or Auto.
  • Font Style is now a port, for italic. Same gap: the blockquote variant has
    always asked for italic and nothing could apply it.

Layout

  • Align Items gains Stretch. A row of cards could not be made equal-height at
    all — each sized to its own content, so one with a shorter description sat
    proud of its neighbours, and the only workaround was a hand-computed fixed
    height that broke on the next content change.
  • Box Sizing is now a port, defaulting to border-box. Any node with a width of
    100% and padding used to overflow its parent by exactly the padding.
  • Design tokens work on radius, border width and shadow lengths. A token on
    one of these became an invalid value and the browser dropped the whole
    declaration, so colour and type resolved while every rounded corner, border and
    shadow silently vanished.

Validation

The checks that should have caught all of the above were switched off for the
exact nodes a page is built from — Text, Group, Image, Button, Text Input.

  • A parameter naming a port that does not exist is now reported.
  • New: a parameter is reported when a sibling has switched its port off —
    setting an image's fit without setting its size mode, for example, where the
    fit is silently ignored.
  • A page whose content is not connected to its Page node is now an error rather
    than a blank screen that validated clean.

AI authoring

  • Provisioned collections are created with the columns the conversation agreed.
    They were being created with none, so every field a generated app tried to read
    or write pointed at nothing.
  • The style vocabulary can no longer teach a style with no port behind it. Three
    separate rounds of this had shipped; a check now makes a fourth impossible.

Also

  • @nodegx/core, the companion library exported projects depend on.
  • A render-from-disk developer tool for rendering a project against a
    working-tree runtime, with no editor involved.

Upgrading

Existing projects may look different, deliberately. Parameters that were
previously ignored now take effect. If a project already had a font weight set on
a Text node, that text will now render at that weight; padded full-width nodes
will size to border-box; tokens on radius and border will resolve. In every case
the new rendering is what the project always asked for — but it is a visible
change, so look over an existing project after upgrading rather than assuming
nothing moved.

This is the first release that can auto-update. macOS builds are signed and
notarised, which Squirrel.Mac requires; earlier builds were not, so the
in-app updater had nothing it could install. Linux remains download-only by
design — electron-updater cannot replace an AppImage it did not launch.