Skip to content

Commit 0883345

Browse files
committed
2.6.3-alpha.2
1 parent 7fa7341 commit 0883345

File tree

15 files changed

+22
-14
lines changed

15 files changed

+22
-14
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ This changelog also contains important changes in dependencies.
99

1010
## [Unreleased]
1111

12+
## [2.6.3-alpha.2] - 2025-09-26
13+
14+
- feat: the `padding` of `cropByBBox()` no longer scales with image dimensions
15+
16+
Previously, padding scaled proportionally with changes to the output image dimensions. Now, regardless of the width/height values set in fitTo, the padding remains constant.
17+
18+
When the padding exceeds half of the set dimensions, the output image will become transparent.
19+
1220
## [2.6.3-alpha.1] - 2025-09-24
1321

1422
- Add a `square` parameter to `cropByBBox()` so it always generates square images. Thanks to @yisibl.

npm/android-arm-eabi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-android-arm-eabi",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"android"
66
],

npm/android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-android-arm64",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"android"
66
],

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-darwin-arm64",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"darwin"
66
],

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-darwin-x64",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"darwin"
66
],

npm/linux-arm-gnueabihf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-linux-arm-gnueabihf",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"linux"
66
],

npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-linux-arm64-gnu",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"linux"
66
],

npm/linux-arm64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-linux-arm64-musl",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"linux"
66
],

npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-linux-x64-gnu",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"linux"
66
],

npm/linux-x64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@resvg/resvg-js-linux-x64-musl",
3-
"version": "2.6.3-alpha.1",
3+
"version": "2.6.3-alpha.2",
44
"os": [
55
"linux"
66
],

0 commit comments

Comments
 (0)