Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
33f1da1
Bump plugin version to 21.7.0-rc.1
gutenbergplugin Sep 17, 2025
6ff8d11
Update Changelog for 21.7.0-rc.1
gutenbergplugin Sep 17, 2025
15c7258
Update changelog files
gutenbergplugin Sep 17, 2025
56dae5a
chore(release): publish
gutenbergplugin Sep 17, 2025
295b59e
Revert "Allow template duplication + concept of active templates (#67…
ellatrix Sep 24, 2025
8435ae3
Block Bindings: Fix pattern override bug, editing was allowed on non …
cbravobernal Sep 23, 2025
1b8f345
Bump plugin version to 21.7.0-rc.2
gutenbergplugin Sep 24, 2025
dc1774a
Update Changelog for 21.7.0-rc.2
gutenbergplugin Sep 24, 2025
370d3e2
Bump plugin version to 21.7.0
gutenbergplugin Sep 24, 2025
7ae5aba
Add `core.getSyncProvider` filter
chriszarate Jul 24, 2025
1e37167
Promote @wordpress/sync to public package
chriszarate Jul 24, 2025
5ee4583
Separate experimental flags for feature and transport
chriszarate Jul 24, 2025
941f38f
Restore `register` property, for now.
chriszarate Jul 25, 2025
a3dd164
Fix unit test
chriszarate Jul 25, 2025
f31022d
Remove conditional loading of @wordpress/sync
chriszarate Jul 28, 2025
9a63755
Remove @wordpress/hooks dependency
chriszarate Jul 28, 2025
9baf9c2
Remove new experimental flag
chriszarate Jul 28, 2025
b73ec39
Correctly fall back to no-op sync provider
chriszarate Jul 28, 2025
53e6e2e
Remove dependency from base package-lock
chriszarate Jul 28, 2025
b58a3da
Add Yjs-aware entity config
chriszarate Jul 29, 2025
f8b89d3
Remove awareness implementation
chriszarate Jul 29, 2025
e7120f8
Convert SyncProvider to class
chriszarate Jul 30, 2025
57b5a77
Update the package-lock.json and bump the y- packages
ingeniumed Aug 1, 2025
c502fff
Add awareness as optional property on ConnectDocResult
chriszarate Aug 5, 2025
7238e25
Update SyncProvider for better extensibility
chriszarate Aug 5, 2025
d106afc
Add the Yjs undo manager in the provider.ts
ingeniumed Aug 6, 2025
24f75b4
Make a separate exported clas for the undo manager coming from the pr…
ingeniumed Aug 6, 2025
f45c444
Cleanup and separation of concerns
chriszarate Aug 6, 2025
f9c2417
Rely on a single instance of UndoManager
chriszarate Aug 6, 2025
8003a81
Remove launch.json
chriszarate Aug 6, 2025
0b9da11
Remove feature flag check
chriszarate Aug 6, 2025
93b8ffa
Add supportsAwareness: true to post entities
chriszarate Aug 6, 2025
f7d789e
Minor change in the return for undo and undo manger return type
ingeniumed Aug 7, 2025
3ea97f9
Fix the missing path in tsconfig for hooks
ingeniumed Aug 7, 2025
5da1bda
Remove sync configs for non-synced entities
chriszarate Aug 14, 2025
b2296a6
Allow custom sync provider to override initial CRDT doc
chriszarate Aug 14, 2025
147f7af
Rename method for clarity
chriszarate Aug 15, 2025
914c4eb
Filter synced properties
chriszarate Aug 18, 2025
73cd8fb
Reform object
chriszarate Aug 18, 2025
dab67f6
Remove content and excerpt from synced property list
chriszarate Aug 18, 2025
c7ff56a
Move merge functions to separate utils file
chriszarate Aug 19, 2025
40eee89
Rename Foo type and add comment
chriszarate Aug 19, 2025
cede8e2
Sync post title
chriszarate Aug 21, 2025
875f62d
Improve block support
ingeniumed Aug 21, 2025
f1a456b
Move applyChangesToDoc core code to utils/crdt
chriszarate Aug 21, 2025
6ebc612
Add post type support for collaborative editing
chriszarate Aug 21, 2025
cd6a609
Add editor support check
chriszarate Aug 21, 2025
8e309e7
Tweak the flow with comments
ingeniumed Aug 25, 2025
97fc9c3
Drop the filter
ingeniumed Aug 25, 2025
53fcf18
Change 'mergeBlocks()' to 'mergeCrdtBlocks()' to make it distinct
alecgeatches Aug 27, 2025
fc4c2de
Change mergeCrdtBlocks() to use direct Y types for yblocks. First ste…
alecgeatches Aug 27, 2025
3e50de5
Provide bindings for CRDT persistence
chriszarate Aug 27, 2025
63006d6
Control and validate CRDT doc version internally
chriszarate Aug 28, 2025
ff2ad53
Fix CRDT merge object equality check against yBlockAsJson
alecgeatches Aug 28, 2025
8659569
Add createNewYBlock for recursive insert
chriszarate Aug 28, 2025
0c7d31f
Ensure we always recursively merge innerBlocks
chriszarate Aug 28, 2025
2dd4783
In areBlocksEqual(), ensure YBlock type instead of JSON value for com…
alecgeatches Aug 28, 2025
f0776d2
Use Y.Map type for attributes in yblocks
alecgeatches Aug 28, 2025
35f4804
Bugfix: Don't allow non-array values for innerBlocks
chriszarate Aug 28, 2025
7c66d7c
Cast rich-text types into Y.Text in the ydoc
alecgeatches Aug 28, 2025
9aea412
Improve type safety, DRY up, and slightly more efficient
chriszarate Aug 28, 2025
e6bef33
Ensure attributes are deleted when removed
chriszarate Aug 28, 2025
c53ebe6
Bugfix: Make sure new attributes are set.
chriszarate Aug 28, 2025
3feafe2
Disable autosave warnings when collaborative editing is enabled
chriszarate Aug 29, 2025
e7e6886
Only use current record if persisted doc does not exist (or was inval…
chriszarate Aug 29, 2025
9dac50b
Improve SyncConfig function docblocks
chriszarate Aug 29, 2025
3b92b41
Add comparison logic to sync only known changes
chriszarate Aug 30, 2025
17791e7
Add a state map and sync last persisted date
chriszarate Sep 3, 2025
adf88a4
Improve comments and types. Simplication of interfaces
chriszarate Sep 4, 2025
3dc21b3
Update CODE.md
chriszarate Sep 4, 2025
962bb16
Remove redundant exports
chriszarate Sep 4, 2025
cf77438
Remove unused sync dependency
chriszarate Sep 4, 2025
0b09e14
Add `syncedProperties` to `syncConfig`
chriszarate Sep 10, 2025
ce26462
Add `syncedProperties` to `SyncConfig` type
chriszarate Sep 10, 2025
c98d4c7
Allow meta properties to be synced via an opt-in filter
chriszarate Sep 11, 2025
4cc9f2c
Remove confusing get inside setValue function
chriszarate Sep 11, 2025
f12d07c
Add filter comment
chriszarate Sep 11, 2025
f0596fd
Add footnotes to default set of synced meta properties
chriszarate Sep 11, 2025
4379abc
Add crdtPersistence support (tangentially related)
chriszarate Sep 11, 2025
cf90c09
Switch meta to opt-out, filter each unique sync decision
chriszarate Sep 12, 2025
2becca3
Return original blocks when controlledBlocks represent post content i…
alecgeatches Sep 15, 2025
fdd0005
Expand comment about cloneBlock() workaround in useBlockSync()
alecgeatches Sep 16, 2025
4e9784a
Pass merged record to createEntityMeta
chriszarate Sep 17, 2025
96a20d6
Organize sync constants and move CRDT version to state map
chriszarate Sep 17, 2025
757f819
Update naming of record to rawRecord for clarity
chriszarate Sep 18, 2025
05eddfa
Create dedicated getInitialPostObjectData alongside similar functions
chriszarate Sep 17, 2025
2e63a84
Update treatment of initial CRDT doc using invalidated meta
chriszarate Sep 18, 2025
da070ba
Supply Awareness instance to connection and observe changes
chriszarate Sep 19, 2025
8a8ff6d
Move from Y.transact to ydoc.transact
chriszarate Sep 22, 2025
067a90c
Don't dispatch edits if they are empty
chriszarate Sep 22, 2025
814674b
Use map key constant
chriszarate Sep 22, 2025
f492674
Allow edits from local Y.UndoManager
chriszarate Sep 22, 2025
215504c
Only mark document as restored if there is an initial document
chriszarate Sep 23, 2025
ba48a1b
Allow post lock dialog to return and retain functionality
pkevan Sep 19, 2025
6d23feb
add todo
pkevan Sep 23, 2025
1b32630
Use YMultiDocUndoManager
chriszarate Sep 26, 2025
81fc950
Add the clientID and the ignoremotemapchanges back to the undomanager
ingeniumed Sep 29, 2025
1ee2122
Simplify origin tracking
chriszarate Sep 29, 2025
c7a6eb3
Disable adding doc client ID until we have a reproducible use case
chriszarate Sep 29, 2025
4ceb4a5
Remove ignoreRemoteMapChanges override since Y.Text improvements are …
chriszarate Sep 29, 2025
f367a37
Lower captureTimeout changes to 200
chriszarate Sep 29, 2025
87141d8
Merge pull request #34 from Automattic/add/multi-doc-undo-manager
chriszarate Sep 29, 2025
8ee9c66
Use v2 for applying the update
ingeniumed Sep 30, 2025
e0d1e10
Switch another one to V2
ingeniumed Sep 30, 2025
0d08512
Merge pull request #35 from Automattic/reduce/doc-size
ingeniumed Sep 30, 2025
6c4101e
Add tests for the actions#editEntityRecord changes
ingeniumed Oct 1, 2025
cf2f293
Add tests for actions#editEntityRecord
ingeniumed Oct 1, 2025
b2167ad
Add the trunk gutenberg code back in order to get the cache working p…
ingeniumed Oct 1, 2025
eeb3261
Add tests for entities changes
ingeniumed Oct 1, 2025
b9e616f
Add tests for resolvers
ingeniumed Oct 1, 2025
07d22e3
Add the sync package to the polyfills test
ingeniumed Oct 1, 2025
abb6d2f
Reverse the previous script change
ingeniumed Oct 1, 2025
9af8c45
Fix the undefined type problem
ingeniumed Oct 1, 2025
7c6315a
Merge pull request #36 from Automattic/add/tests-for-sync-code
ingeniumed Oct 1, 2025
597b9a5
Tweak the docgen command
ingeniumed Oct 1, 2025
367ba2a
Add documentation for the sync package methods
ingeniumed Oct 1, 2025
0c19ca1
Merge pull request #37 from Automattic/fix/docgen-command
ingeniumed Oct 1, 2025
94bec69
Add types for jest, add tests for most of the sync package code
ingeniumed Oct 2, 2025
09a9b76
Clean up the test comments
ingeniumed Oct 2, 2025
880addc
Stop the jest package pattern
ingeniumed Oct 2, 2025
f15deea
Update the script dependencies test
ingeniumed Oct 2, 2025
911e41d
Attempting to fix the build process
ingeniumed Oct 2, 2025
5033ffc
Add node types to the dataviews package
ingeniumed Oct 3, 2025
daa92ac
Merge pull request #38 from Automattic/add/test-for-sync-package
ingeniumed Oct 3, 2025
d9e17bb
Add <BlockCanvasCover> and <VisualEditorOverlay>
maxschmeling Oct 3, 2025
1ae56e5
Pass containerRef instead of containerElement in <BlockCanvasCover>
maxschmeling Oct 6, 2025
4b384a6
Remove VisualEditorOverlay
maxschmeling Oct 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions backport-changelog/6.8/8063.md

This file was deleted.

461 changes: 461 additions & 0 deletions changelog.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
* Requires at least: 6.7
* Requires PHP: 7.2
* Version: 21.6.0
* Version: 21.7.0
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand Down

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions lib/compat/wordpress-6.9/preload.php

This file was deleted.

169 changes: 0 additions & 169 deletions lib/compat/wordpress-6.9/template-activate.php

This file was deleted.

17 changes: 17 additions & 0 deletions lib/experimental/synchronization.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,20 @@ function gutenberg_rest_api_init_collaborative_editing() {
wp_add_inline_script( 'wp-sync', 'window.__experimentalCollaborativeEditingSecret = "' . $collaborative_editing_secret . '";', 'before' );
}
add_action( 'admin_init', 'gutenberg_rest_api_init_collaborative_editing' );

/**
* Add support for collaborative editing to a some built-in post types.
*/
function gutenberg_add_collaborative_editing_post_type_support() {
$gutenberg_experiments = get_option( 'gutenberg-experiments' );
if ( ! $gutenberg_experiments || ! array_key_exists( 'gutenberg-sync-collaboration', $gutenberg_experiments ) ) {
return;
}

foreach ( array( 'page', 'post' ) as $post_type ) {
if ( post_type_exists( $post_type ) ) {
add_post_type_support( $post_type, 'collaborative-editing' );
}
}
}
add_action( 'init', 'gutenberg_add_collaborative_editing_post_type_support', 10, 0 );
Loading
Loading