Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.76 KB

File metadata and controls

80 lines (52 loc) · 2.76 KB

Changelog

All notable changes to HTML Minifier will be documented in this file.

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

Unreleased — v1.9.3

Fixed

  • Issue #47 — Regex literals containing // (e.g. /\//g) were incorrectly stripped as JS line comments
  • Issue #30 — Downlevel-revealed IE conditional comments (<!--[if !IE]><!--> ... <!--<![endif]-->) were being partially stripped
  • Issue #38 — Edge case fixes in HTML structure handling

Added

  • <textarea> and <code> whitespace protection — content inside these tags is now preserved exactly, matching the existing <pre> tag behaviour
  • Attribute whitespace normalisation — excess whitespace inside attribute values (e.g. class=" foo bar ") is collapsed to single spaces
  • Parallel file processing — files and folders are now processed in parallel for significantly faster batch runs
  • --version and --help CLI flags — new command-line options for quick reference
  • Improved console reporting — output now shows bytes saved per file and total savings across a run
  • GitHub Pages site — marketing/documentation site added at docs/index.html
  • 81 tests covering issues #47, #30, #49, textarea/code protection, attribute normalisation, edge cases, and performance benchmarks

Changed

  • Updated to Visual Studio 2022 build toolchain
  • GitHub Actions CI/CD workflow added

v1.9.2 — Previous Release

  • Parallel processing improvements
  • Performance and reporting enhancements
  • Minor bug fixes
  • General improvements and stability fixes
  • Added support for additional file types
  • Performance improvements
  • Bug fixes
  • Added Knockout.js comment support (ignoreknockoutcomments flag)
  • Added JavaScript comment removal
  • Added Razor syntax support (@model, @using, @inherits)

[v1.2]

  • Initial stable release