Skip to content

Conversation

@Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Oct 24, 2025

Explanation

In the next export of base-controller, the type StatePropertyMetadataConstraint mistakenly referenced the old metadata property name anonymous rather than includeInDebugSnapshot. The type has been updated to use the correct name.

References

Fixes a mistake introduced in #6593

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

Note

Corrects StatePropertyMetadataConstraint in the experimental next export to use includeInDebugSnapshot instead of anonymous, and updates the changelog.

  • Type fix (experimental next)
    • Update StatePropertyMetadataConstraint in packages/base-controller/src/next/BaseController.ts to use includeInDebugSnapshot (replacing anonymous).
  • Changelog
    • Add Unreleased entry documenting the fix in packages/base-controller/CHANGELOG.md.

Written by Cursor Bugbot for commit 31f5c11. This will update automatically on new commits. Configure here.

In the `next` export of `base-controller`, the type
`StatePropertyMetadataConstraint` mistakenly referenced the old metadata
property name `anonymous` rather than `includeInDebugSnapshot`. The type has
been updated to use the correct name.
@Gudahtt Gudahtt force-pushed the fix-next-state-property-metadata-constraint branch from 5b1b0c6 to 31f5c11 Compare October 24, 2025 19:35
@Gudahtt Gudahtt marked this pull request as ready for review October 24, 2025 19:36
@Gudahtt Gudahtt requested a review from a team as a code owner October 24, 2025 19:36
@Gudahtt Gudahtt enabled auto-merge (squash) October 24, 2025 19:38
@Gudahtt Gudahtt merged commit 0bf29e4 into main Oct 24, 2025
256 checks passed
@Gudahtt Gudahtt deleted the fix-next-state-property-metadata-constraint branch October 24, 2025 19:43
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.

3 participants