From 2347b417e1955a6954223f1c17b815e177a01765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=9D?= Date: Wed, 15 Feb 2023 16:16:21 +0800 Subject: [PATCH] 2.4.1 --- CHANGELOG.md | 11 ++++++++++- npm/android-arm-eabi/package.json | 2 +- npm/android-arm64/package.json | 2 +- npm/darwin-arm64/package.json | 2 +- npm/darwin-x64/package.json | 2 +- npm/linux-arm-gnueabihf/package.json | 2 +- npm/linux-arm64-gnu/package.json | 2 +- npm/linux-arm64-musl/package.json | 2 +- npm/linux-x64-gnu/package.json | 2 +- npm/linux-x64-musl/package.json | 2 +- npm/win32-arm64-msvc/package.json | 2 +- npm/win32-ia32-msvc/package.json | 2 +- npm/win32-x64-msvc/package.json | 2 +- package.json | 2 +- wasm/package.json | 2 +- 15 files changed, 24 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 226b3bdb..b835ab79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ This changelog also contains important changes in dependencies. ## [Unreleased] +## [2.4.1] - 2023-02-15 + +### Fixed + +- fix: the `defaultFontFamily` not working. [#208](https://github.com/yisibl/resvg-js/pull/208) Thanks to @yisibl + + Starting with resvg 0.28.0, the logic for font loading has [changed](https://github.com/RazrFalcon/resvg/commit/36b0e0b928015ef0788a9d0babcbc77eaf8f34aa#diff-6d4d24ae259685abf64776b23b1c6e7af8c3a9718591d7db8d092e3b6cbb216fR684-R686), which causes the family passed in the defaultFontFamily option to not be applied. + ## [2.4.0] - 2023-02-09 This is a brand new version with 2-3x faster performance. It also resolves an issue with a specific SVG causing an error, and all users are advised to upgrade to this version. @@ -518,7 +526,8 @@ The first official version, use [resvg 0.18.0](https://github.com/RazrFalcon/res - Support custom fonts and system fonts. - Supports setting the background color of PNG. -[unreleased]: https://github.com/yisibl/resvg-js/compare/v2.4.0...HEAD +[unreleased]: https://github.com/yisibl/resvg-js/compare/v2.4.1...HEAD +[2.4.1]: https://github.com/yisibl/resvg-js/compare/v2.4.0...v2.4.1 [2.4.0]: https://github.com/yisibl/resvg-js/compare/v2.3.1...v2.4.0 [2.3.1]: https://github.com/yisibl/resvg-js/compare/v2.3.0...v2.3.1 [2.3.0]: https://github.com/yisibl/resvg-js/compare/v2.2.0...v2.3.0 diff --git a/npm/android-arm-eabi/package.json b/npm/android-arm-eabi/package.json index 160f579c..e4b803e2 100644 --- a/npm/android-arm-eabi/package.json +++ b/npm/android-arm-eabi/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-android-arm-eabi", - "version": "2.4.0", + "version": "2.4.1", "os": [ "android" ], diff --git a/npm/android-arm64/package.json b/npm/android-arm64/package.json index 8c09b6ea..2baddfa2 100644 --- a/npm/android-arm64/package.json +++ b/npm/android-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-android-arm64", - "version": "2.4.0", + "version": "2.4.1", "os": [ "android" ], diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index 5955e82e..4acacf00 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-darwin-arm64", - "version": "2.4.0", + "version": "2.4.1", "os": [ "darwin" ], diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index 88373b57..d71af3de 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-darwin-x64", - "version": "2.4.0", + "version": "2.4.1", "os": [ "darwin" ], diff --git a/npm/linux-arm-gnueabihf/package.json b/npm/linux-arm-gnueabihf/package.json index ee544e2f..78d82979 100644 --- a/npm/linux-arm-gnueabihf/package.json +++ b/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-linux-arm-gnueabihf", - "version": "2.4.0", + "version": "2.4.1", "os": [ "linux" ], diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json index e0ff5c21..04a0f81e 100644 --- a/npm/linux-arm64-gnu/package.json +++ b/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-linux-arm64-gnu", - "version": "2.4.0", + "version": "2.4.1", "os": [ "linux" ], diff --git a/npm/linux-arm64-musl/package.json b/npm/linux-arm64-musl/package.json index 677a851c..47d6262c 100644 --- a/npm/linux-arm64-musl/package.json +++ b/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-linux-arm64-musl", - "version": "2.4.0", + "version": "2.4.1", "os": [ "linux" ], diff --git a/npm/linux-x64-gnu/package.json b/npm/linux-x64-gnu/package.json index eb9ab7de..338481c9 100644 --- a/npm/linux-x64-gnu/package.json +++ b/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-linux-x64-gnu", - "version": "2.4.0", + "version": "2.4.1", "os": [ "linux" ], diff --git a/npm/linux-x64-musl/package.json b/npm/linux-x64-musl/package.json index 08931b61..59af1f2c 100644 --- a/npm/linux-x64-musl/package.json +++ b/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-linux-x64-musl", - "version": "2.4.0", + "version": "2.4.1", "os": [ "linux" ], diff --git a/npm/win32-arm64-msvc/package.json b/npm/win32-arm64-msvc/package.json index 455d114d..8a10b4fb 100644 --- a/npm/win32-arm64-msvc/package.json +++ b/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-win32-arm64-msvc", - "version": "2.4.0", + "version": "2.4.1", "os": [ "win32" ], diff --git a/npm/win32-ia32-msvc/package.json b/npm/win32-ia32-msvc/package.json index cc0754ba..f9709958 100644 --- a/npm/win32-ia32-msvc/package.json +++ b/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-win32-ia32-msvc", - "version": "2.4.0", + "version": "2.4.1", "os": [ "win32" ], diff --git a/npm/win32-x64-msvc/package.json b/npm/win32-x64-msvc/package.json index 0566c3ea..3beea510 100644 --- a/npm/win32-x64-msvc/package.json +++ b/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js-win32-x64-msvc", - "version": "2.4.0", + "version": "2.4.1", "os": [ "win32" ], diff --git a/package.json b/package.json index b254b1b7..fef643f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-js", - "version": "2.4.0", + "version": "2.4.1", "description": "A high-performance SVG renderer and toolkit, powered by Rust based resvg and napi-rs", "main": "index.js", "repository": "git@github.com:yisibl/resvg-js.git", diff --git a/wasm/package.json b/wasm/package.json index ee8e8a2a..c17a3651 100644 --- a/wasm/package.json +++ b/wasm/package.json @@ -1,6 +1,6 @@ { "name": "@resvg/resvg-wasm", - "version": "2.4.0", + "version": "2.4.1", "description": "A high-performance SVG renderer and toolkit, powered by Rust based resvg and napi-rs", "main": "index.js", "module": "index.mjs",