Repository navigation
fix(plugin): support Gutenberg provider Yjs and release 0.5.15 - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Keeps WebSocket collaboration working when Gutenberg stops exposing
wp.sync, while retaining support for existing Gutenberg versions. Bumps the plugin to 0.5.15 so merging this PR tomaintriggers the standard GitHub Release workflow.Uses VIP's shared-Yjs shim approach. Our legacy fallback is resolved when the provider is created, which also supports the global becoming available after bundle loading. No Worker deployment is needed.
Related: Automattic/vip-real-time-collaboration#226
Related: WordPress/gutenberg#81999
Validation
wp-collab-cf-v0.5.15from the 0.5.14 baseline.Post-Deploy Monitoring & Validation
The owner is currently the only consumer and has elected to test in the browser after release. Full two-editor testing against the Gutenberg PR build has not been performed.
On first installation of 0.5.15, the owner will check bidirectional editing, presence, undo/redo, save/reload, and reconnect. Expected signals are synchronized content and normal connection recovery; check the console for
WP Collab CF: no Yjs module availableor repeated connection/sync errors. If editing fails to synchronize, restore the previous working plugin/Gutenberg combination.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.