0.19.0
Highlights in this release are the bump in minimum supported environments (quite conservative), reduce of Node js specific dependencies (EventEmitter, Buffer), more granular image transparency and roundedRect options and the usual quality of life fixes
- [BREAKING] Bump node version requirement to 20+
- [BREAKING] Bump minimum supported browsers to Firefox 115, iOS/Safari 16
- Fix text with input x as null
- Add opacity option to
doc.image()to control image transparency - Fix corrupted PDF when mixing standard and embedded fonts that share postscript name
- Fix PDF/UA compliance issues in kitchen-sink-accessible example
- Add bbox and placement options to PDFStructureElement for PDF/UA compliance
- Extend
roundedRectwithborderRadiusas number for all corners or per-corner array (CSS order) - Fix accessibility: scope in TH element
- Fix PDF Name escaping for spot colors with spaces (#1644)
v0.35.0-rc.6
-
Breaking: Drop support for Node.js 18, now requires Node.js >= 20.9.0.
-
Breaking: Remove
installscript frompackage.jsonfile. Compiling from source is now opt-in via thebuildscript. -
Breaking: Lossy AVIF output is now tuned using SSIMULACRA2-based
iqquality metrics. -
Breaking: Add
limitInputChannelswith a default value of 5. -
Breaking: Remove deprecated
failOnErrorconstructor property. -
Breaking: Remove deprecated
paletteBitDepthfrommetadataresponse. -
Breaking: Remove deprecated properties from
sharpenoperation. -
Breaking: Rename
format.jp2kasformat.jp2for API consistency. -
Upgrade to libvips v8.18.3 for upstream bug fixes.
-
Remove experimental status from WebAssembly binaries.
-
Add prebuilt binaries for FreeBSD (WebAssembly).
-
Deprecate Windows 32-bit (win32-ia32) prebuilt binaries.
-
Ensure TIFF output
bitdepthoption is limited to 1, 2 or 4. -
Add AVIF/HEIF
tuneoption for control over quality metrics. #4227 -
Add
keepGainMapandwithGainMapto process HDR JPEG images with embedded gain maps. #4314 -
Add
toUint8Arrayfor output image as aTypedArraybacked by a transferableArrayBuffer. #4355 -
Require prebuilt binaries using static paths to aid code bundling. #4380
-
TypeScript: Ensure
FormatEnumkeys match reality. #4475 -
Add
marginoption totrimoperation. #4480 @eddienubes -
Ensure HEIF primary item is used as default page/frame. #4487
-
Add image Media Type (MIME Type) to metadata response. #4492
-
Add
withDensityto set output density in EXIF metadata. #4496 -
Improve
pkg-configpath discovery. #4504 -
Add WebP
exactoption for control over transparent pixel colour values. -
Add support for ECMAScript Modules (ESM). #4509 @florian-lefebvre
@formatjs/cli-native-win32-x64: 1.1.5
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli-native-win32-x64@1.1.4...@formatjs/cli-native-win32-x64@1.1.5
@formatjs/cli-native-linux-x64: 1.1.4
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli-native-linux-x64@1.1.3...@formatjs/cli-native-linux-x64@1.1.4
@formatjs/cli: 6.16.10
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli@6.16.9...@formatjs/cli@6.16.10
- The following workspace dependencies were updated
- optionalDependencies
- @formatjs/cli-native-darwin-arm64 bumped to 1.1.4
- @formatjs/cli-native-linux-arm64 bumped to 1.2.4
- @formatjs/cli-native-linux-arm64-musl bumped to 1.0.2
- @formatjs/cli-native-linux-x64 bumped to 1.1.4
- @formatjs/cli-native-linux-x64-musl bumped to 1.0.2
- @formatjs/cli-native-win32-x64 bumped to 1.1.5
- optionalDependencies
@formatjs/cli-native-darwin-arm64: 1.1.4
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli-native-darwin-arm64@1.1.3...@formatjs/cli-native-darwin-arm64@1.1.4
@formatjs/cli-native-linux-x64-musl: 1.0.2
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli-native-linux-x64-musl@1.0.1...@formatjs/cli-native-linux-x64-musl@1.0.2
formatjs_cli: 1.1.16
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/formatjs_cli_v1.1.15...formatjs_cli_v1.1.16
- macOS Apple Silicon:
formatjs_cli-darwin-arm64 - Linux ARM64:
formatjs_cli-linux-arm64 - Linux x86_64:
formatjs_cli-linux-x64 - Windows x64:
formatjs_cli-win32-x64.exe
# macOS (Apple Silicon)
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-darwin-arm64
chmod +x formatjs_cli-darwin-arm64
sudo mv formatjs_cli-darwin-arm64 /usr/local/bin/formatjs
# Linux
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-linux-x64
chmod +x formatjs_cli-linux-x64
sudo mv formatjs_cli-linux-x64 /usr/local/bin/formatjs
# Linux ARM64
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-linux-arm64
chmod +x formatjs_cli-linux-arm64
sudo mv formatjs_cli-linux-arm64 /usr/local/bin/formatjs
# Windows x64 (PowerShell)
curl.exe -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/formatjs_cli-win32-x64.exe
Verify the checksums:
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.1.16/checksums.txt
shasum -a 256 -c checksums.txt
@formatjs/cli-native-linux-arm64: 1.2.4
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli-native-linux-arm64@1.2.3...@formatjs/cli-native-linux-arm64@1.2.4
@formatjs/cli-lib: 8.7.9
- chore(deps): update dependency svelte to v5.56.0 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6741
- chore(deps): update commitlint monorepo to v21.0.2 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6748
- chore(deps): update dependency lefthook to v2.1.9 by @renovate[bot] in https://github.com/formatjs/formatjs/pull/6749
- fix(formatjs_cli_napi): build musl packages with bazel by @longlho in https://github.com/formatjs/formatjs/pull/6754
- fix(formatjs_cli_napi): package musl runtime library by @longlho in https://github.com/formatjs/formatjs/pull/6756
- ci(formatjs_cli): build release artifacts in opt mode by @longlho in https://github.com/formatjs/formatjs/pull/6757
Full Changelog: https://github.com/formatjs/formatjs/compare/@formatjs/cli-lib@8.7.8...@formatjs/cli-lib@8.7.9
- The following workspace dependencies were updated
- optionalDependencies
- @formatjs/cli-native-darwin-arm64 bumped to 1.1.4
- @formatjs/cli-native-linux-arm64 bumped to 1.2.4
- @formatjs/cli-native-linux-arm64-musl bumped to 1.0.2
- @formatjs/cli-native-linux-x64 bumped to 1.1.4
- @formatjs/cli-native-linux-x64-musl bumped to 1.0.2
- @formatjs/cli-native-win32-x64 bumped to 1.1.5
- optionalDependencies