Packages

postcss

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

Upgrading postcss From 7.0.34 to 8.5.23

132 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.0.34Newest 7.x7.0.39Latest8.5.33
  1. 7.0.34yours
  2. 1 release
  3. 7.0.36security
  4. 3 releases
  5. 8.0.0major
  6. 34 releases
  7. 8.2.10security
  8. 2 releases
  9. 8.2.13security
  10. 45 releases
  11. 8.4.31security
  12. 28 releases
  13. 8.5.10security
  14. 12 releases
  15. 8.5.23target

Start here

Before you upgrade

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

Security

  • Fixed XSS via unescaped </style> in non-bundler cases

    8.5.10
  • Fixed \r parsing to fix CVE-2023-44270.

    8.4.31
  • Fixed ReDoS vulnerabilities in source map parsing

    8.2.13
  • Fixed ReDoS vulnerabilities in source map parsing.

    8.2.10
  • Backport ReDoS vulnerabilities from PostCSS 8.

    7.0.36

Release by release

  1. 8.5.23

    24 Jul 20261 fix
    • Fixed

      Do not load source map without opts.from for security reasons.

  2. 8.5.22

    22 Jul 20261 fix
    • Fixed

      Fixed custom property losing semicolon before a comment

  3. 8.5.21

    21 Jul 20262 fixes
    • Fixed

      Fixed childless at-rule losing semicolon before comment

    • Fixed

      Fixed docs

  4. 8.5.20

    19 Jul 20262 fixes
    • Fixed

      Fixed missing space if AtRule#params is set after

    • Fixed

      Fixed mixing AST error on warnings

  5. 8.5.19

    13 Jul 20261 fix
    • Fixed

      Fixed cleaning before for new nodes inserted to Root

  6. 8.5.18nothing new or fixed in the note

  7. 8.5.17

    11 Jul 20263 fixes
    • Fixed

      Fixed Maximum call stack size exceeded error.

    • Fixed

      Fixed Prototype hijacking for postcss.fromJSON().

    • Fixed

      Fixed Input#origin() for unmapped end position

  8. 8.5.16

    28 Jun 20265 fixes
    • Fixed

      Fixed Input#origin() position

    • Fixed

      Fixed raws after rehydrating a JSON AST

    • Fixed

      Fixed putting parent-less node in nodes of new node

    • Fixed

      Fixed computing offset in positionBy()

    • Fixed

      Fixed rangeBy() on index: 0

45 other lines we could not sort, mostly version bumps
  • Restricted loading previous source maps file to the opts.from folder for security reasons (use unsafeMap: true to disable the check).

    8.5.18
  • Improved source map annotation cleaning performance (by CodeAnt AI).

    8.5.7
  • Removed debug code.

    8.4.47
  • Removed unnecessary fix which could lead to infinite loop.

    8.4.45
  • Another way to fix markClean is not a function error.

    8.4.44
  • Cleaned up RegExps

    8.4.41
  • Moved to getter/setter in nodes types to help Sass team

    8.4.40
  • Cleaned up code

    8.4.34
  • Improved source map performance

    8.4.30
  • Improve stringify performance

    8.4.25

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.