Skip to content

Latest commit

 

History

History
93 lines (73 loc) · 3.14 KB

File metadata and controls

93 lines (73 loc) · 3.14 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.0 - 2026-08-06

Added

  • Secure, checksum-verified Tailwind CSS CLI downloads with version management
  • Cached binary restoration, upgrade checks, and runnable verification
  • Fully isolated unit tests for downloads, cache behavior, upgrades, and failure handling
  • Comprehensive documentation in /docs directory
  • LICENSE file (MIT)
  • .gitattributes for composer package optimization
  • .editorconfig for consistent coding style
  • phpcs.xml for PSR-12 code style checking
  • Enhanced test suite with 8 additional test cases covering edge cases
  • Test groups for better test organization (@group annotations)
  • composer.json metadata (keywords, homepage, support URLs)

Changed

  • Require symfony/cache 5.4.52 or newer and PHPUnit 9.6.33 or newer
  • Stream release assets to unique temporary files and install them atomically
  • Rename TailwindCSS.php to TailwindCss.php for case-sensitive PSR-4 compatibility
  • Improved test documentation with detailed docblocks
  • Updated composer.json with archive excludes configuration
  • Set minimum-stability to "stable" in composer.json

Fixed

  • Validate semantic release tags, GitHub asset URLs, and SHA-256 digests before installation
  • Reject unsafe paths and symlinks, serialize concurrent downloads, and clean up failed downloads
  • Check directory, copy, rename, permission, and cache operation failures
  • Cache file validation to check file existence (commit f663292)
  • Cache persistence across application restarts

1.0.0 - 2024-09-22

Added

  • Initial release
  • Automatic TailwindCSS CLI download for PHP projects
  • Platform detection for macOS (Intel/Apple Silicon), Linux (x64/ARM64), Windows
  • Smart caching system using Symfony Cache
  • Progress bar for downloads using Symfony Console
  • PHPUnit test suite with 11 test methods
  • Support for custom binary paths and cache directories
  • Watch command generation for TailwindCSS compilation

Fixed

  • Vendor directory detection for proper binary placement
  • Changed vendor name to "luberius"
  • Added download logging and caching functionality

Release Notes

Version 1.0.0 (September 22, 2024)

First stable release of Luberius TailwindCSS - a PHP library for automatic TailwindCSS CLI management.

Features:

  • Zero-configuration setup
  • Automatic platform detection
  • Fast caching (< 5 seconds retrieval)
  • Comprehensive test coverage
  • PSR-4 autoloading
  • MIT License

Requirements:

  • PHP 8.0 or higher
  • Symfony Cache ^5.4
  • Symfony Console ^5.4

Installation:

composer require luberius/tailwindcss

Quick Start:

use Luberius\TailwindCss\TailwindCss;

$tailwind = new TailwindCss();
$executablePath = $tailwind->getBinPath();