PostCSS 8.5.24
PostCSS 8.5.24 is here -- a focused patch release that addresses one important edge case while continuing the project commitment to reliable CSS processing. Released July 28, 2026.
BOM Preservation -- PostCSS now preserves the Byte Order Mark (BOM) after processing. If your source file starts with a BOM, the output will retain it, matching the behavior developers expect when working with UTF-16 or mixed-encoding environments. This fix ensures that tools downstream of PostCSS receive files with the same encoding signature as the input.
Under the Hood -- While 8.5.24 is a small release, it reflects PostCSS attention to compatibility. The BOM fix, contributed by hdimer, closes a long-standing gap where PostCSS would silently strip the BOM during transformation -- a rare but disruptive issue for teams working with legacy or non-UTF-8 codebases.
Upgrade Now -- Update via your package manager: npm install postcss@latest or pnpm add [email protected]. If you are already on 8.5.x, this is a zero-config drop-in replacement.
Stay tuned for the next minor release, which is expected to include further plugin API improvements and expanded source-map handling.