Skip to content

Release - #1942

Merged
wang1212 merged 3 commits into
masterfrom
release
May 23, 2025
Merged

Release#1942
wang1212 merged 3 commits into
masterfrom
release

Conversation

@wang1212

Copy link
Copy Markdown
Member

No description provided.

Alexzjt and others added 3 commits May 19, 2025 17:42
Co-authored-by: huiyu.zjt <huiyu.zjt@antgroup.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@petercat-assistant

Copy link
Copy Markdown

Walkthrough: This release includes updates across several packages, primarily focusing on patch changes. The key update involves fixing an issue in the g-web-animations-api package where animations are discarded when the target is destroyed. This change is propagated through dependencies in the g and react-g packages.

Changes:

Files Summary
packages/g-web-animations-api/CHANGELOG.md Added changelog entry for version 2.1.25, noting a fix for discarding animations when the target is destroyed.
packages/g-web-animations-api/package.json Version update to 2.1.25.
packages/g-web-animations-api/src/dom/Animation.ts Added logic to discard animations when the target is destroyed by setting promises to undefined.
packages/g/CHANGELOG.md Updated changelog for version 6.1.25, reflecting dependency updates.
packages/g/package.json Version update to 6.1.25.
packages/react-g/CHANGELOG.md Updated changelog for version 2.0.41, reflecting dependency updates.
packages/react-g/package.json Version update to 2.0.41.

if (this.effect.target?.destroyed) {
this.readyPromise = undefined;
this.finishedPromise = undefined;
return false;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that returning false when the target is destroyed does not inadvertently affect other logic that depends on the return value of updatePromises. This change should be thoroughly tested to confirm it doesn't introduce unintended side effects.

@wang1212
wang1212 merged commit a5abca7 into master May 23, 2025
@wang1212
wang1212 deleted the release branch May 23, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants