Skip to content

Conversation

@cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Feb 3, 2025

Explanation

This PR removes several deprecated exports and aliases from the base-controller package to simplify the codebase and reduce confusion. The following changes are made:

  • Remove ControllerMessenger export (was an alias for Messenger)
  • Remove RestrictedControllerMessenger export (was an alias for RestrictedMessenger)
  • Remove RestrictedControllerMessengerConstraint type export (was an alias for RestrictedMessengerConstraint)
  • Simplify RestrictedMessenger constructor by removing the deprecated controllerMessenger parameter in favor of using only the messenger parameter

These aliases were originally introduced to help with migration but are no longer needed

References

Related to #4538

Changelog

See CHANGELOG changes

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 highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@cryptodev-2s cryptodev-2s added the team-wallet-framework Deprecated: Please use `team-core-platform` instead. label Feb 3, 2025
@cryptodev-2s cryptodev-2s self-assigned this Feb 3, 2025
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner February 3, 2025 14:31
@cryptodev-2s cryptodev-2s changed the title breaking: remove old messenger aliases breaking: Remove deprecated messenger-related exports and aliases Feb 3, 2025
@cryptodev-2s cryptodev-2s force-pushed the cryptodev2s/remove-old-messenger branch from 6d03427 to 6ae88ac Compare February 3, 2025 14:36
@cryptodev-2s cryptodev-2s marked this pull request as draft February 3, 2025 14:46
@cryptodev-2s cryptodev-2s mentioned this pull request Feb 3, 2025
4 tasks
@cryptodev-2s cryptodev-2s force-pushed the cryptodev2s/remove-old-messenger branch 4 times, most recently from dc02969 to deb8a84 Compare February 4, 2025 17:02
@cryptodev-2s cryptodev-2s force-pushed the cryptodev2s/remove-old-messenger branch from deb8a84 to 6ca65af Compare February 5, 2025 15:02
@cryptodev-2s cryptodev-2s marked this pull request as ready for review February 5, 2025 15:02
mcmire
mcmire previously approved these changes Feb 5, 2025
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

LGTM!

@cryptodev-2s cryptodev-2s enabled auto-merge (squash) February 5, 2025 15:14
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@cryptodev-2s cryptodev-2s merged commit 29839f8 into main Feb 5, 2025
127 checks passed
@cryptodev-2s cryptodev-2s deleted the cryptodev2s/remove-old-messenger branch February 5, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-wallet-framework Deprecated: Please use `team-core-platform` instead.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants