Releases: postcss/postcss
Releases · postcss/postcss
8.5.4
- Fixed Parcel compatibility issue (by @git-sumitchaudhary).
8.5.3
- Added more details to
Unknown word
error (by @hiepxanh). - Fixed types (by @romainmenke).
- Fixed docs (by @catnipan).
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”

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:
- Tidelift with a Spotify-like subscription model supporting all projects from your lock file.
- Direct donations at GitHub Sponsors or Open Collective.
8.4.49
- Fixed custom syntax without
source.offset
(by @romainmenke).
8.4.48
- Fixed position calculation in error/warnings methods (by @romainmenke).
8.4.47
- Removed debug code.
8.4.46
- Fixed
Cannot read properties of undefined (reading 'before')
.
8.4.45
- Removed unnecessary fix which could lead to infinite loop.