Repository navigation
v1.17.2
Two bug fixes: a design-system worker that could fall one message out of step under heavy CPU load,
and no-default-palette reporting nothing in a project with a prefix().
Before you upgrade
- Nothing to change in your config. Every project computes its design system once more on the
first run after upgrading. - Reports that can appear with the same config: under
@import "tailwindcss" prefix(…),
no-default-paletteon the default palette's colors, andno-dark-without-lighton a variant
class whose only colour is avar(--tw-color-*)read.
Bug fixes
- A rare
TypeError: Cannot convert undefined or null to objectunder heavy CPU load is gone
(#251). The host and the design-system worker each took "Atomics.waitreturned" to mean "the
flag is set".storeandnotifyare separate steps, so a thread descheduled between them
delivered itsnotifylate, to the next wait; the host then read the shared buffer before the
worker had answered and found its own request there, and the two stayed one message out of step
for the next few files. Both sides now wait on the flag itself and ignore a wake-up that arrives
without it. no-default-palettereports under a project prefix (#253). With
@import "tailwindcss" prefix(tw), Tailwind names the theme's colors--tw-color-*, and the
precompute only looked for--color-*, so it found neither the palette nor the project's colors:
tw:bg-gray-500passed. It reads both spellings now. The same gap madeno-hardcoded-colorsuse
the message that doesn't name your theme colors, andno-dark-without-lightskip a class whose
only colour is such a read (an@utilitywithbackground: var(--tw-color-brand)).
Dependencies
- Tested against oxlint 1.93.0 and Tailwind CSS 4.3.5, which is the engine the plugin ships and the
newest one the engine check accepts without a warning.