Skip to content

Undo breaking change of UiManager.eventDispatcher by solving circular dependency#47457

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D65540601
Closed

Undo breaking change of UiManager.eventDispatcher by solving circular dependency#47457
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D65540601

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
The UIManager.eventDispatcher return type is wrong and is causing a breaking change in 0.77

For 0.76 we fixed it in the release branch but we should fix it for good in main as well.
To solve it I had to fix the circular dependency between .bridge and .uimanager.

I wish I could have isolated the .events package better but as everythign is public, any
change we do is going to be a breaking change so I'm being over cautios here.

Changelog:
[Android] [Fixed] - Undo breaking change of UiManager.eventDispatcher return type

Differential Revision: D65540601

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Nov 6, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65540601

… dependency (facebook#47457)

Summary:

The `UIManager.eventDispatcher` return type is wrong and is causing a breaking change in 0.77

For 0.76 we fixed it in the release branch but we should fix it for good in main as well.
To solve it I had to fix the circular dependency between .bridge and .uimanager.

I wish I could have isolated the .events package better but as everythign is public, any
change we do is going to be a breaking change so I'm being over cautios here.

Changelog:
[Android] [Fixed] - Undo breaking change of UiManager.eventDispatcher return type

Reviewed By: tdn120

Differential Revision: D65540601
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65540601

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in dbe509a.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 6, 2024
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in dbe509a

When will my fix make it into a release? | How to file a pick request?

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been reverted by 147e6c3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner Reverted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants