Skip to content

Valle v0.1.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 12:49
· 27 commits to main since this release

Valle 0.1.2: renders are faster, and Motion scenes can use much more of SVG and CSS text.

Update

valle update

The browser engine is @openvalle/engine@0.1.2 on npm. The skill is the same as for 0.1.0.

Faster

  • Renders are faster, most of all for scenes with many shapes, paths or repeated boxes.
    A scene's code runs once to find what its frames hold; that run, and each frame after it,
    now does much less work, and repeated boxes and SVG shapes are drawn as one.
  • check proves what it can: a stretch of frames whose values it can bound is checked
    once instead of frame by frame.
  • Fonts and files whose URL names their content, such as jsDelivr's …@<commit>/…, are
    used from the cache without asking the server again, so a scene no longer waits on the
    network each time it loads.

New

  • --perf adds a perf object to any command's result: each stage's time and memory, and
    for a render the GPU memory it holds, its passes and layers, and how many times the scene
    was traced. See valle docs cli.
  • SVG text: text, tspan and textPath, with startOffset, textLength, alignment,
    decorations, bidirectional and vertical text.
  • SVG filters: every fe* primitive, including lighting, turbulence, convolution, tiles
    and images, with named results and filter: url(#…).
  • More of SVG: patterns, nested viewports, CSS transforms, filters and blending on SVG
    elements, vector-effect: non-scaling-stroke, clipping with text and use, stylesheets
    inside SVG files, external images and fragments, and font-relative and absolute units.
  • Text layout: vertical writing modes, bidirectional text, text-combine-upright,
    emphasis marks, underline positions, paragraph alignment and wrapping controls, and boxes
    laid out inside a line of text.
  • Fonts: the font shorthand, size keywords, font-size-adjust, ex units, control of
    synthetic bold and italic, petite and unicase capitals, and synthesized sub- and
    superscripts.
  • CSS values: inherit, initial and unset on every property, currentColor inside
    color-mix(), absolute units such as cm and pt, clip paths and motion paths that follow
    their box, and SVG files as background images.

Fixed

  • A bare number in a Tailwind class stopped the command: border-[3], rotate-[45] or
    text-[1.5] ended with an internal error. They now say what they need, such as
    border-width: 3 needs a unit: 3px.
  • GPU memory grew with every frame when a layer was drawn that nothing read.
  • A backdrop filter inside a translucent group lost its boundary, and a hidden box still
    painted its backdrop filter.
  • Sizing: a percentage height inside an absolutely positioned box that sizes to its
    content, and a flex item's intrinsic width under a max-width, came out wrong.
  • background-repeat: round placed its tiles before resizing them.
  • Glyph edges differed by a few pixels between Metal and the bundled CPU renderer.

Also

  • Blurs from 3 px up now go through a smaller copy, which was 6 px. The pixels change by
    at most a few levels, at a fraction of the cost.
  • docs/css.md lists every supported property, its values and the tests that show it works.
  • Over 1,000 new layout, text and compositing cases, each checked against Chrome, Firefox and
    WebKit.

Download

Platform File
macOS, Apple silicon valle-v0.1.2-macos-arm64.tar.gz
macOS, Intel valle-v0.1.2-macos-x86_64.tar.gz
Linux x86_64, glibc 2.28+ valle-v0.1.2-linux-x86_64.tar.gz
Linux arm64, glibc 2.28+ valle-v0.1.2-linux-arm64.tar.gz
Windows x86_64 valle-v0.1.2-windows-x86_64.zip
Windows arm64 valle-v0.1.2-windows-arm64.zip

The macOS executables are signed and notarized. Check a download against SHA256SUMS.

Dinner tonight: biangbiang noodles with chili oil.