Packages

postcss

8.5.33 · 13 Nov 2026MIT443.1M / weekRepositoryHomepagenpmAtom feed

Upgrading postcss From 7.0.39 to 8.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.0.39Clears its 5 advisories8.5.23Latest8.5.33
  1. 7.0.39yours
  2. 8.0.0target
3
changes to make
0
advisories fixed
13
new
1
fix

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Security

Release by release

  1. 8.0.0

    Migration needed15 Sep 202013 new · 1 fix
    • Breaking

      PostCSS 8 dropped Node.js 6.x, 8.x, 11.x, and 13.x versions support. All these versions have no security updates anymore.

    • Breaking

      We now serve ES6+ sources in the npm package without Babel compilation. If you are creating tools like CodePen and put PostCSS into the client-side JS bundle, you may need to run Babel on node_modules/postcss for old browsers.

    • Breaking

      We removed rarely used postcss.vendor API.

    • New

      With new API, all plugins can share a single scan of the CSS tree. It makes CSS processing up to 20% faster.

12 other lines we could not sort, mostly version bumps
  • We now treat sources in map as URLs instead of file paths.

    8.0.0
  • We now resolve sources relative to map file, not CSS file.

    8.0.0
  • opts.maps.absolute = true option for absolute paths in source map.

    8.0.0
  • opts.maps.annotation = (file, root) => url for a dynamic path to source map.

    8.0.0
  • Node#origin() now returns position.url in addition to position.file for compatibility with absolute URLs in source map’s sources.

    8.0.0
  • We moved API docs from JSDoc to TypeDoc. Check out our new API docs.

    8.0.0
  • We keep types in separate files for better readability.

    8.0.0
  • With the new structure and test system, we fixed many small issues in types.

    8.0.0
  • Fixed calling replaceWith with input replaced node

    8.0.0
  • Reduce dependencies by replacing chalk to colorette.

    8.0.0

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.