diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e28eff5..e6f8775 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.0.2" + ".": "4.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b19e64a..1b638b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [4.0.0](https://github.com/devlegacy/dvx-cli/compare/v3.0.2...v4.0.0) (2026-10-30) + + +### ⚠ BREAKING CHANGES + +* Node.js >= 24 and pnpm >= 12 are required (3.x ran on Node 22). Compared with 3.0.2 the commands also behave differently: + - WebP output is lossy and follows the --quality preset (3.x was lossless). + - JPEG is encoded by mozjpeg only, with the preset quality (3.x ran jpegtran + mozjpeg at 90); the default preset medium uses 80. + - PNG quality follows the preset (3.x used a fixed 0.6-0.8 range). + - GIF is optimized losslessly with gifsicle (3.x used lossy giflossy). + - SVG keeps the viewBox and removes width/height (3.x removed the viewBox). + - img:minify skips sources whose optimized copy is newer, and img:resize skips images that already fit. + - Image commands exit with code 1 when any file fails (3.x always exited 0). + - Log output changed: warnings and errors go to stderr; DVX_LOG_FORMAT=json, DVX_LOG_LEVEL, NO_COLOR and FORCE_COLOR control the format. +* requires Node >=24; per-file log format changed. + +### Features + +* improve code base ([#36](https://github.com/devlegacy/dvx-cli/issues/36)) ([1d61756](https://github.com/devlegacy/dvx-cli/commit/1d61756177527431991562d2018083d43be5191d)) +* require Node.js 24 and pnpm 12 ([ca6fd40](https://github.com/devlegacy/dvx-cli/commit/ca6fd40bddae5e0cac3917654940f01c58b75de4)) +* update pnpm workspace configuration and audit settings ([2dd6c75](https://github.com/devlegacy/dvx-cli/commit/2dd6c75ad71863cc9888a28ac7eb062b277fe98d)) + + +### Bug Fixes + +* correct Console import in console.ts ([758feb3](https://github.com/devlegacy/dvx-cli/commit/758feb325188df5e5dfd34da892d6ef3be4a61e5)) +* modify release-please configuration to exclude component in tag ([2dd6c75](https://github.com/devlegacy/dvx-cli/commit/2dd6c75ad71863cc9888a28ac7eb062b277fe98d)) +* update type definitions for htmlhint-stylish module ([2dd6c75](https://github.com/devlegacy/dvx-cli/commit/2dd6c75ad71863cc9888a28ac7eb062b277fe98d)) + ## [3.0.2](https://github.com/devlegacy/dvx-cli/compare/dvx-cli@v3.0.1...dvx-cli@v3.0.2) (2024-08-04) diff --git a/package.json b/package.json index bbdd0d2..76fb926 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devexteam/dvx-cli", - "version": "3.0.2", + "version": "4.0.0", "description": "CLI that encapsulates utilities for image processing and assets in frontend development.", "license": "MIT", "main": "bin/index.js",