Releases · postcss/postcss

8.5.8

  • Fixed Processor#version.

8.5.7

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

8.5.6

  • Fixed ContainerWithChildren type discriminating (by @Goodwine).

8.5.5

  • Fixed package.jsonexports compatibility with some tools (by @JounQin).

8.5.4

8.5.3

8.5.2

  • Fixed end position of rules with semicolon (by @romainmenke).

8.5.1

  • Fixed backwards compatibility for complex cases (by @romainmenke).

8.5 “Duke Alloces”

President Alloces seal

PostCSS 8.5 brought API to work better with non-CSS sources like HTML, Vue.js/Svelte sources or CSS-in-JS.

@romainmenke during his work on Stylelint added Input#document in additional to Input#css.

root.source.input.document //=> "<p>Hello</p>
                           //    <style>
                           //    p {
                           //      color: green;
                           //    }
                           //    </style>"
root.source.input.css      //=> "p {
                           //      color: green;
                           //    }"

Thanks to Sponsors

This release was possible thanks to our community.

If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:

8.4.49

  • Fixed custom syntax without source.offset (by @romainmenke).