Skip to content

Releases

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 10:20

2.0.0 (2026-11-15)

Features

  • a playground that runs the plugin in the browser (54ab21c)
  • fallbacks that apply for var() values, custom properties and at-rules (7c44f3e)
  • know which CSS properties can meet (a012159)
  • write the runtime in ES5 syntax and update once per frame (1d80b62)

BREAKING CHANGES

  • @supports feature queries are no longer rewritten, and
    declarations already guarded by a matching @supports get no twin.
  • values with var() or env(), custom properties
    (includeCustomProps) and the initial-value of @Property get their fallback
    through an @supports block instead of a twin declaration.
  • @media gets a longer query list instead of a twin block;
    @container keeps the twin rule.
  • logical units (dvi, dvb and their sv/lv variants) fall back to
    vw and vh. Set logicalFallback: "logical" for the previous vi/vb mapping.
  • an existing fallback is recognised only where it holds the
    same place in the cascade.
  • the css-var seed targets ":root, :host", upgrades all
    built-in units in one @supports block, sits after @import/@charset, is not
    wrapped in control comments and is written into every <style> block that needs
    it.
  • the replace option is removed (use preserve: false); unknown
    option names and invalid values throw when the plugin is created, and so does
    a customUnits chain that leaves the built-in units and returns to them.
  • next to plugins that visit nodes the plugin works after
    them: such plugins no longer see the fallbacks, and a minifier has to be
    listed after the plugin.
  • require('postcss-viewport-fallback') returns the plugin
    function; onTransform's selector is the nearest enclosing rule; values with CSS
    escapes and @container style() queries are left untouched.

v1.6.1

Choose a tag to compare

@github-actions github-actions released this 11 Jul 20:01

1.6.1 (2026-07-11)

Bug Fixes

  • runtime viewport semantics, css-var chain resolution, filter and validation hardening (c6252c2)

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 22:40

1.6.0 (2026-07-06)

Features

  • pixel-perfect css-var strategy + browser runtime, toolchain majors (8712db3)

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Jun 15:06

1.5.0 (2026-06-11)

Features

  • v1.5.0 — full unit set, fastSkip, comment ranges, browserslist queries (a2b14cc)

v1.4.0 — PostCSS 8 Listener API, preserve, browserslist, strict mode

Choose a tag to compare

@Surdeddd Surdeddd released this 26 Apr 13:18

PostCSS 8 Listener API • preserve mode • browserslist auto-skip • strict mode validation. See CHANGELOG.md for the full list.