Files
tansy-ui/CHANGELOG.md
T
thekhalidsha dc5e6ff800 Add versioning and harden deploy caching (v0.2.0)
Versioning:
- package.json is the single source of the version (0.2.0); the build
  injects it into the landing page and Storybook via src/version.ts
- Add CHANGELOG.md and a release section in the README

Deploy:
- Refuse to deploy uncommitted work unless --allow-dirty is passed
- Stamp each deploy with version.json and verify the live stamp
- Serve HTML and JSON with Cache-Control: no-cache and cache only the
  content-hashed assets/ folders long-term
- Return 404 for missing assets instead of index.html, which blanked
  the Storybook canvas for browsers holding a stale page
- Always restore the hardened .htaccess, even when a step fails
- Make the post-deploy PHP-off check real, build Storybook before
  checking for its index, and stop logging the session token
2026-09-28 17:21:35 +05:30

1.1 KiB

Changelog

All notable changes to Tansy UI are recorded here. The format follows Keep a Changelog, and the project uses Semantic Versioning. While the version is 0.x, a minor release may include breaking changes.

[Unreleased]

[0.2.0] - 2026-09-28

First tagged release.

Added

  • 15 components with colocated tokens and stories: Button, LinkButton, Accordion, TextField, Input, FeaturedInput, Select, Checkbox, Radio, Switch, TextArea, Alert, Spinner, Badge, Card and Tooltip.
  • Seven palettes (Classic Blue, Emerald, Violet, Amber, Crimson, Slate, Teal) applied at runtime with applyPalette().
  • Landing page built only from Tansy components, with five featured parts and a palette-switching playground form.
  • Storybook workshop with Tansy branding, a Welcome page and a palette toolbar.
  • Tansy mark and favicon.
  • version.json on every deploy, recording the version and commit that were shipped.

Fixed

  • Switch now honours defaultChecked, including after a form reset.
  • Button, Accordion and TextField follow the active palette.