Skip to content

Commit b3f71f9

Browse files
committed
Update changelog for publishing
1 parent 45e8225 commit b3f71f9

4 files changed

Lines changed: 13 additions & 6 deletions

File tree

build/two.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ var Two = (() => {
766766
canvas: "CanvasRenderer"
767767
},
768768
Version: "v0.8.20",
769-
PublishDate: "2025-09-08T17:10:44.915Z",
769+
PublishDate: "2025-09-08T17:21:43.659Z",
770770
Identifier: "two-",
771771
Resolution: 12,
772772
AutoCalculateImportedMatrices: true,
@@ -1437,7 +1437,9 @@ var Two = (() => {
14371437
if (element.renderer && typeof element.renderer.type === "string") {
14381438
this.renderer.type = element.renderer.type;
14391439
}
1440-
this.className = element.className || "";
1440+
if (typeof element.className === "string") {
1441+
this.className = element.className;
1442+
}
14411443
return this;
14421444
}
14431445
toObject() {

build/two.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/two.module.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ var Constants = {
782782
canvas: "CanvasRenderer"
783783
},
784784
Version: "v0.8.20",
785-
PublishDate: "2025-09-08T17:10:44.915Z",
785+
PublishDate: "2025-09-08T17:21:43.659Z",
786786
Identifier: "two-",
787787
Resolution: 12,
788788
AutoCalculateImportedMatrices: true,
@@ -1455,7 +1455,9 @@ var _Element = class extends Events {
14551455
if (element.renderer && typeof element.renderer.type === "string") {
14561456
this.renderer.type = element.renderer.type;
14571457
}
1458-
this.className = element.className || "";
1458+
if (typeof element.className === "string") {
1459+
this.className = element.className;
1460+
}
14591461
return this;
14601462
}
14611463
toObject() {

wiki/changelog/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ All notable changes to this project will be documented in this file. The format
1111

1212
<carbon-ads />
1313

14-
## Nightly
14+
## September 8, 2025 v0.8.20
1515

16+
<h3 class="visible">Sep 8, 2025</h3><version-link v="v0.8.20" />
17+
18+
- Fixed `Two.Element.copy` to fail gracefully
1619
- Added `Two.Image` as a new shape that inherits `Two.Rectangle`
1720
- Expand `Two.RoundedRectangle` constructor to accept `Two.Vector` as the radius
1821
- Added `Two.Element.dispose`, `Two.Path.dispose`, `Two.Group.dispose`, `Two.Text.dispose`, `Two.Points.dispose`, `Two.ImageSequence.dispose`, `Two.Sprite.dispose`

0 commit comments

Comments
 (0)