unstale

npm / postcss

postcss

What changed in postcss 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.

2 breaking3 security2 new APIs and options4 performance31 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.0 on npm

postcss 842 changes

Breaking changes 2

Security 3

New APIs and options 2

  • Set unsafeMap to true to disable the previous source maps folder restriction.

    8.5.18release notes

  • Added opts.unsafeMap to disable checks.

    8.5.12release notes

Performance 4

  • Declaration parsing performance was fixed, improving how PostCSS processes declarations.

    8.5.15release notes

  • Improved performance when parsing nested brackets.

    8.5.11release notes

  • Speeds up source map encoding parsing when an error occurs.

    8.5.9release notes

  • Improved performance when cleaning source map annotations.

    8.5.7release notes

Fixes and other changes 31

  • Fixes broken source maps caused by escaping </style> in CSS.

    8.5.30release notes

  • Comments are now supported when using list.comma() and list.space().

    8.5.29release notes

  • Improved escaping of closing style tags.

    8.5.29release notes

  • Fixes a types regression.

    8.5.28release notes

  • Fixed removing comments starting with /*#.

    8.5.27release notes

  • Fixed handling of the * hack before a comment in Custom Properties.

    8.5.27release notes

  • Fixed Chinese text displayed in a deprecation warning.

    8.5.27release notes

  • Fixed empty values appearing in the middle of comma-separated lists.

    8.5.27release notes

  • Fixed handling of whitespace-only values in space-separated lists.

    8.5.27release notes

  • Fixed a rule's end position when a space appears before a semicolon.

    8.5.27release notes

  • Fixed type definitions.

    8.5.27release notes

  • Fixed a regression in list.split().

    8.5.26release notes

  • Source map loading now tracks symlinks in path protection.

    8.5.26release notes

  • Fixed list.split for non-string values.

    8.5.25release notes

  • Fixed a regression affecting visitors introduced in 8.5.17.

    8.5.25release notes

  • Preserves the BOM after processing.

    8.5.24release notes

  • Fixed custom properties losing their semicolon before a comment.

    8.5.22release notes

  • Fixed childless at-rules losing their semicolon before a comment during processing.

    8.5.21release notes

  • Fixed a missing space when AtRule#params is set after.

    8.5.20release notes

  • Fixed a mixing AST error that occurred on warnings.

    8.5.20release notes

  • Fixed cleaning before for new nodes inserted to Root.

    8.5.19release notes

  • Fixed Input#origin() behavior for unmapped end positions.

    8.5.17release notes

  • Fixed an error that could exceed the maximum call stack size.

    8.5.17release notes

  • Fixed the position returned by Input#origin.

    8.5.16release notes

  • Fixed putting a parent-less node in nodes of a new node.

    8.5.16release notes

  • Fixed computing offset in positionBy().

    8.5.16release notes

  • Fixed rangeBy() when index is 0.

    8.5.16release notes

  • Fixed raws after rehydrating a JSON AST.

    8.5.16release notes

  • Fixed a regression affecting custom syntax.

    8.5.14release notes

  • Fixed a command regression in postcss-scss.

    8.5.13release notes

  • Fixed Processor#version so it works correctly for developers using the API.

    8.5.8release notes