1.3.0 (30/11/2026)

1.2.1 could minify a sheet into one that renders differently, and cascade diff --diff=canonical could not tell a change in rendering from a change in spelling. This release fixes both and runs two to three times cheaper.

Most entries below come from checking --minify against the browsers it targets. The targets are floors: Chrome 111, Firefox 128 and Safari 16.4, each with every later release. --minify deletes nothing a target applies, and rewrites no form a target drops into one that target applies. So many fixes read "kept as written", for a form only some browsers read, or "dropped, as browsers drop it", for one no target reads.

The test suite asks headless Chromium. One harness generates values for every property and reports each value the browser keeps and cascade drops, or the reverse. A second does the same over malformed CSS, and a third renders a sheet beside its minified output and compares the pages. Fuzzers and a corpus of spellings check that printed output reads back as itself and that a second pass changes nothing. What Firefox and Safari do comes from MDN's compatibility data and from the releases the entries name.

Four more themes run through the list:

The price is under Breaking. On the command line, a script that reads cascade's diagnostics needs a new pattern. In the library, parsers return a result instead of raising, and two spellings of one selector are one value. Css.to_string ~minify:true prints the sheet it is given, and Css.minify does what it used to. Each removed function is listed with what to call instead, and most migrations are a rename or a deleted call.

Breaking

Command line
OCaml library

cascade keeps no deprecated aliases, so a removed function fails to compile where it is called. Each entry says what to write there. A type with new cases needs them in an exhaustive match.

Minified output

Rendering fixes

Each entry is a sheet 1.2.1 minified into one a browser renders differently. They are the reason to minify again, and are grouped by what they touch.

Rule order and shorthands
Selectors, nesting and at-rules
Fallbacks, and forms only some browsers read
Values beside a var(), and custom properties
Math functions and numbers
Colours
Gradients and images
Strings, counters and generated content
Other values
Stable output
Which rules merge
Smaller output

Formatted output

Comparing stylesheets

cascade diff --diff=canonical
cascade diff without --diff

Warnings, errors and help

The new form of a diagnostic is under Breaking.

Parsing

--inline-vars

Windows

Speed

Library

1.2.1

Parsing

1.2.0

Many fixes in this release change the CSS cascade emits for input 1.1.0 already accepted, and some are miscompiles that can change how a page renders. If you shipped minified output built with 1.1.0, rebuild it and run cascade diff --diff=canonical old.css new.css, which exits 1 and prints the difference wherever the two are not equivalent. Library callers should start at ### Breaking, where the public module set and the parser entry points both moved.

Breaking

Parsing

Printing

Minification

Custom properties

Canonical diff

Library

CLI tools

Testing

1.1.0

Breaking

Parsing

Printing and nesting

Minification

Custom properties and @layer

Canonical diff

Diff report

New properties and values

Testing

1.0.0

First public release. Cascade was extracted from the tw (Tailwind CSS v4 in OCaml) project as a standalone CSS command-line tool and library.

Library

CLI tools

Notes