v0.166.0

plain-tailwind changelog

0.25.0 (2026-09-21)

What's changed

Upgrade instructions

  • Requires Python 3.14 — see the plain 0.165.0 upgrade instructions.

0.24.2 (2026-09-20)

What's changed

  • On Windows, installing a downloaded Tailwind binary into the machine-wide cache tolerates the PermissionError raised when another process (for example plain tailwind build --watch in another checkout) has that binary open — if the file is already there, the install is done (8766bb72ce)

Upgrade instructions

  • No changes required.

0.24.1 (2026-08-12)

What's changed

  • Unsupported-platform detection raises RuntimeError instead of a bare Exception; internal download/write cleanups (f52e18f532)

Upgrade instructions

  • No changes required.

0.24.0 (2026-07-22)

What's changed

  • The Tailwind CLI binary is now downloaded to the machine-level cache at ~/.cache/plain/tailwind/<version>/ instead of the per-checkout .plain/ directory, so every checkout and worktree on the machine shares one download. Because the path is version-addressed, projects pinned to different Tailwind versions coexist without re-downloading when you switch between them. (0cc0500f63)
  • The .plain/tailwind.version sidecar lockfile is gone — the version in the cache path is the state. Tailwind.needs_update() and Tailwind.get_installed_version() were removed, and plain tailwind install now installs whenever the configured version isn't present in the cache. (0cc0500f63)
  • plain tailwind version now reports the version configured in pyproject.toml, distinguishing "configured but not installed" from "no version configured" instead of just saying the binary is missing. (0cc0500f63)
  • Downloads stream to a temporary file and are atomically moved into place, so two checkouts installing at the same time can't leave a truncated binary behind. (0cc0500f63)
  • Running Tailwind with no version configured in pyproject.toml now raises a clear error pointing at plain tailwind install. (0cc0500f63)

Upgrade instructions

  • No changes required — the binary downloads to the new location on the next plain tailwind install or build. The stale tailwind and tailwind.version files in each checkout's .plain/ can be deleted.
  • If you called Tailwind.needs_update(), get_installed_version(), or standalone_path directly, use is_installed(), get_version_from_config(), and binary_path(version) instead.

0.23.2 (2026-07-15)

What's changed

  • Migrated the Tailwind CLI downloader from requests to httpx, keeping connection retries and the streamed download with a progress bar. requests is no longer a dependency. (17570d71cf)

Upgrade instructions

  • No changes required.

0.23.1 (2026-05-12)

What's changed

  • The {% tailwind_css %} template extension now imports from plain.templates (which is a separate package as of plain.templates 0.1.0). The extension is still autoloaded when plain.templates is in INSTALLED_PACKAGES — plain.tailwind itself does not hard-depend on plain.templates so apps that use plain.tailwind only for CSS compilation don't pull in the templating stack. (19b622a7ca)
  • Pins plain>=0.143.0.

Upgrade instructions

  • No changes required if you upgrade plain to 0.143.0 in the same step.

0.23.0 (2026-05-12)

What's changed

  • Entry-point group renamed from plain.assets.build to plain.assets.compile to match the renamed plain assets compile command (see plain-assets 0.3.0). README updated to show [tool.plain.assets.run] for plain tailwind build --minify. Pins plain.assets>=0.3.0. (3b30b62309)

Upgrade instructions

  • Rename [tool.plain.assets.build.run] to [tool.plain.assets.run] in your pyproject.toml.

0.22.0 (2026-05-12)

What's changed

  • Entry-point group renamed from plain.build to plain.assets.build to match the new plain.assets.build namespace (see plain-assets 0.2.0). README updated to show [tool.plain.assets.build.run] for users adding plain tailwind build --minify as a build step. Pins plain.assets>=0.2.0. (f698ec3436)

Upgrade instructions

  • If you wrote [tool.plain.build.run] in your project's pyproject.toml, rename it to [tool.plain.assets.build.run].

0.21.2 (2026-05-12)

What's changed

  • Adds explicit plain.assets>=0.1.0,<1.0.0 dependency now that plain.assets is a separate package (extracted from plain core in 0.142.0). plain.tailwind uses _APP_ASSETS_DIR from plain.assets.finders. (844f46e428)

Upgrade instructions

  • No changes required if you're upgrading plain in the same step — plain.assets comes along as a transitive dependency.

0.21.1 (2026-05-05)

What's changed

  • Exposes __version__ from importlib.metadata on plain.tailwind for version probes that don't want to scrape pip metadata. (c6cf6edb)

Upgrade instructions

  • No changes required.

0.21.0 (2026-04-30)

What's changed

  • Auto-import package tailwind.css files into the Tailwind build. If an installed package ships a tailwind.css file next to its __init__.py, an @import for it is automatically added to .plain/tailwind.css — no user configuration required. Use it for design tokens (@theme), component layers, @custom-variants, or anything else that needs to be part of the Tailwind compilation. plain-admin 0.80.0 uses this mechanism to ship its component CSS layer. (6a49f35a84bd)
  • App-local packages (those inside the project root) are no longer redundantly emitted as @source entries in .plain/tailwind.css, since Tailwind already scans the project root by default. (6a49f35a84bd)
  • .plain/tailwind.css is now generated with @import rules first and @source rules after, per the CSS spec requirement that @import precede other rules. (6a49f35a84bd)
  • Path separators in the generated .plain/tailwind.css are normalized to POSIX forward slashes regardless of platform, since backslashes in CSS strings are escape sequences. (6a49f35a84bd)

Upgrade instructions

  • No changes required for project authors. After upgrading, your next Tailwind build will regenerate .plain/tailwind.css; expect new @import "..." lines if any of your installed packages ship a tailwind.css.
  • Package authors: if you want to contribute design tokens, components, or custom variants to user Tailwind builds, add a tailwind.css file next to your package's __init__.py.

0.20.5 (2026-02-26)

What's changed

  • Added type annotations to TAILWIND_SRC_PATH and TAILWIND_DIST_PATH settings (37e8a58ca9b5)

Upgrade instructions

  • No changes required.

0.20.4 (2026-02-26)

What's changed

  • Auto-formatted config files with updated linter configuration (028bb95c3ae3)

Upgrade instructions

  • No changes required.

0.20.3 (2026-02-04)

What's changed

  • Removed @internalcode decorator from Tailwind, TailwindCSSExtension, and entrypoint functions (e7164d3891b2)

Upgrade instructions

  • No changes required.

0.20.2 (2026-01-28)

What's changed

  • Converted the plain-tailwind skill to a passive .claude/rules/ file with path-based activation on **/*.html files (512040ac51)

Upgrade instructions

  • Run plain agent install to update your .claude/ directory.

0.20.1 (2026-01-28)

What's changed

Upgrade instructions

  • No changes required.

0.20.0 (2026-01-15)

What's changed

  • Internal version bump with no user-facing changes

Upgrade instructions

  • No changes required

0.19.0 (2026-01-13)

What's changed

  • Improved README documentation with better structure, more examples, and FAQs section (da37a78)

Upgrade instructions

  • No changes required

0.18.0 (2026-01-13)

What's changed

  • Internal version bump with no user-facing changes

Upgrade instructions

  • No changes required

0.17.0 (2025-12-04)

What's changed

  • Internal type annotation improvements (ac1eeb0)

Upgrade instructions

  • No changes required

0.16.0 (2025-11-24)

What's changed

  • Internal version bump with no user-facing changes

Upgrade instructions

  • No changes required

0.15.4 (2025-11-03)

What's changed

  • Internal version bump with no user-facing changes

Upgrade instructions

  • No changes required

0.15.3 (2025-10-12)

What's changed

  • Removed outdated reference to Heroku buildpack in documentation (ee4710a)

Upgrade instructions

  • No changes required

0.15.2 (2025-10-06)

What's changed

  • Added comprehensive type annotations to improve IDE and type checker support (9b6882b)

Upgrade instructions

  • No changes required

0.15.1 (2025-09-25)

What's changed

  • Improved Tailwind download performance by using larger chunk sizes (8MB) and optimized HTTP connection pooling (9bf4eca)

Upgrade instructions

  • No changes required

0.15.0 (2025-09-19)

What's changed

  • Added plain-tailwind standalone script for running Tailwind installation separately from Plain (a9d1ab6)

Upgrade instructions

  • No changes required

0.14.0 (2025-09-19)

What's changed

  • Added new plain tailwind version command to display the currently installed Tailwind CSS version (4679a42)
  • Minimum Python version requirement updated from 3.11 to 3.13 (d86e307)

Upgrade instructions

  • Update your Python environment to Python 3.13 or later

0.13.3 (2025-09-03)

What's changed

  • Comprehensive README update with improved documentation structure, table of contents, and detailed usage examples (4ebecd1)
  • Added AGENTS.md file with guidance for conditional Tailwind styling using data- attributes (df3edbf)

Upgrade instructions

  • No changes required

0.13.2 (2025-07-07)

What's changed

  • The CLI now shows a progress bar while downloading the Tailwind standalone binary, so long downloads no longer appear to hang (ec637aa).

Upgrade instructions

  • No changes required

0.13.1 (2025-06-26)

What's changed

  • No user-facing changes in this patch release. Internal housekeeping of the CHANGELOG file only (e1f5dd3).

Upgrade instructions

  • No changes required