Skip to content

chore(release): version packages - #131

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore(release): version packages#131
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

tailwindcss-obfuscator@3.2.0

Minor Changes

  • #143 d7ebffe Thanks @josedacosta! - New extractor option scanObjectStrings (default false) — opt-in pass that walks Tailwind class strings stored in object property values, factory args, and lookup tables that the standard JSX / cn() / cva() / tv() walkers don't reach. Heuristic-gated to avoid false positives: a string is picked up only if it contains ≥2 whitespace-separated tokens AND every token validates as a Tailwind class. Single-word strings ("flex", "red", "info") are NEVER auto-extracted — wrap them in cn(…) or add to safelist.

    Fixes the « broken design with obfuscator » class of bugs where status-color tables, badge variants by level, etc. produced inconsistent obfuscation across siblings of the same lookup table.

Patch Changes

  • #130 c5c1684 Thanks @josedacosta! - Documentation: corrected the v4 feature-status pages (research/tailwind-v4-features-analysis, research/tailwind-v4-summary, research/v4-implementation-checklist). Most v4 utilities and variants previously labelled « ❌ MISSING » have actually shipped since v2.0.x — the docs were stale. The pages now accurately reflect that wildcard variants, 3D transforms, inset shadows, radial/conic gradients, field-sizing/color-scheme/font-stretch utilities, CSS-variable parens shorthand, arbitrary underscores and the v4 important-suffix syntax are all supported. No code change.

  • #133 d000dca Thanks @josedacosta! - Documentation: removed the stale « tv() currently broken » card on the Limitations page. The fix shipped in PR fix: extract tv() (tailwind-variants) base + variants + compoundVariants (#61) #63 (issue fix: tv() (tailwind-variants) extractor misses base + variants + compoundVariants classes #61 closed) on 2026-04-29 and is verified end-to-end on every release by apps/test-tailwind-variants/. The card now correctly says supported, with a single noted caveat (multi-element slot API not yet in test matrix).

  • #134 b246940 Thanks @josedacosta! - CI: added a weekly version-watch cron (Monday 08:00 UTC) that surveils every package this project supports for SemVer-major bumps OR explicit breaking-change keywords in upstream release notes. Anti-overkill: patches and minors are intentionally not surfaced (routine bumps are out of scope). Notification path is SMTP email when SMTP_* secrets are configured, GitHub-issue fallback otherwise. Adjustable via .github/version-watch-config.json.

  • #140 aaaac48 Thanks @josedacosta! - Test apps: added apps/test-eleventy/ exercising Eleventy (11ty) v3 + Tailwind v4 + the tailwindcss-obfuscator/internals CLI-mode pipeline. Eleventy emits multi-page HTML output from Nunjucks templates; the post-build pass walks every _site/**/*.html page and rewrites _site/styles.css in lockstep. 78 classes extracted at 100 % CSS obfuscation, 0 % residual. Adds _site to the verify-obfuscation.mjs build-dir search list so the new app (and any future Eleventy/Jekyll app) is auto-detected.

  • #142 92d943e Thanks @josedacosta! - Test apps: added apps/test-lit/ exercising Lit (web components) v3 + Vite + Tailwind v4. Confirms the JSX/AST extractor handles class="..." attributes embedded inside Lit's html\`tagged template literals (Babel parses the template's quasis and the existing JSXAttribute/HTML regex catches the class strings). 52 classes extracted at 100 % obfuscation, 0 % residual. No package code change needed; the only app-specific config was extending thecontentglob to include*/.ts` (Lit lives in .ts files, not .tsx).

  • #135 759009a Thanks @josedacosta! - Test apps: added apps/test-preact/ exercising Preact + Vite + Tailwind v4. Verifies the JSX extractor correctly handles Preact's class attribute (vs React's className) and signal-based reactive class bindings. 50 classes extracted at 100 % obfuscation coverage with 0 % residual on first build, no code change to the package needed.

  • #139 142690f Thanks @josedacosta! - Test apps: added apps/test-vite-react-v5/ to close the « claimed but untested Vite v5 » gap. The README advertises the supported Vite range as v4 → v8, but until now CI only exercised v6, v7, v8. The new app pins Vite v5.4 as the floor of the matrix. 105 classes extracted at 100 % obfuscation, no code change to the package needed.

  • #132 8515f6b Thanks @josedacosta! - Test coverage: added 39 new unit tests covering previously-uncovered modules — core/tailwind-validator.ts (was 0%), core/config.ts config-file loader (was 21%), and utils/logger.ts formatters / sink wiring (was 27%). Total test count rises from 432 to 471. No code change.

@github-actions
github-actions Bot requested a review from josedacosta as a code owner April 30, 2026 11:53
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 12 times, most recently from b317d66 to 01542f2 Compare April 30, 2026 14:00
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 01542f2 to d196a7e Compare June 23, 2026 06:59
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from d196a7e to 8ec5d37 Compare June 23, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant