npm / postcss-url
postcss-url
What changed in postcss-url 6 to 10, from its official release notes, upgrade guides and advisories. Also covers @types/postcss-url. Sources checked 2026-10-26.
6 breaking3 new APIs and options2 behavior and defaults1 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpostcss-url 102 changes
Breaking changes 1
Added support for PostCSS 8.
Fixes and other changes 1
Fixed path resolution when to/from paths match.
postcss-url 91 changes
Fixes and other changes 1
The Async API was fixed.
postcss-url 81 changes
Breaking changes 1
The required Node.js version changed; the notes do not specify the new version.
postcss-url 71 changes
New APIs and options 1
Added support for PostCSS 6.
postcss-url 69 changes
Breaking changes 4
The arguments passed to the custom url callback changed.
filter now matches by asset path relative to the project (process.cwd).
The hash function changed to xxhash.
Without maxSize, _inline_ no longer processes the callback.
New APIs and options 2
The _copy_ option now accepts a basePath parameter.
Options for postcss-url can now be provided as an array.
Behavior and default changes 2
Multiple basePath values can now be provided as an array.
_copy_ can work without the postcss to option, but assetPath is required.
Tooling 1
Changed from ES5 to ES6.