Skip to content

refactor!: Remove comment_ field from CommentMove - #10601

Merged
gonfunko merged 2 commits into
rc/v14from
comment-move
Oct 21, 2026
Merged

gonfunko merged 2 commits into
rc/v14from
comment-move

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10219

Proposed Changes

This PR removes the CommentMove.comment_ field in v14, which was marked as deprecated in v13 in #10600.

Reason for Changes

This field is inconsistent with other event types and retains references to even deleted workspace comments as long as it remains in the undo stack.

Breaking Change

If you were using this field, you can instead use Blockly.common.getWorkspaceById(moveEvent.workspaceId)?.getCommentById(moveEvent.commentId) to get a reference to the actual workspace comment object referenced by the event.

@gonfunko
gonfunko requested a review from a team as a code owner October 20, 2026 21:49
@gonfunko
gonfunko requested a review from zspriggs October 20, 2026 21:49
@gonfunko gonfunko changed the title Comment move refactor!: Remove comment_ field from CommentMove Oct 20, 2026
@github-actions github-actions Bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: refactor Refactors code labels Oct 20, 2026
@gonfunko
gonfunko merged commit 8e09d2b into rc/v14 Oct 21, 2026
12 of 13 checks passed
@gonfunko
gonfunko deleted the comment-move branch October 21, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: refactor Refactors code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants