Skip to content

Commit 02f812a

Browse files
authored
build(client): Regenerate changelogs for minor release 2.22.0 (#23887)
Manual cleanup of the changelogs to accomodate new changesets.
1 parent db9ab0f commit 02f812a

File tree

3 files changed

+15
-27
lines changed

3 files changed

+15
-27
lines changed

.changeset/itchy-pants-brake.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/witty-falcons-wonder.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/dds/shared-object-base/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,21 @@
22

33
## 2.22.0
44

5-
Dependency updates only.
5+
### Minor Changes
6+
7+
- Change when the `pre-op` and `op` events on `ISharedObjectEvents` are emitted ([#23836](https://github.com/microsoft/FluidFramework/pull/23836)) [5eb19a0fc6](https://github.com/microsoft/FluidFramework/commit/5eb19a0fc6f00ba47ddc338a1a5932e683a6039c)
8+
9+
Previous behavior - `pre-op` was emitted immediately before an op was processed. Then the op was processed and `op` was emitted immediately after that.
10+
11+
New behavior - `pre-op` will still be emitted before an op is processed and `op` will still be emitted after an op is processed. However, these won't be immediate and other ops in a batch for the shared object may be processed in between.
12+
13+
Note that these events are for internal use only as mentioned in the @remarks section of their definition.
14+
15+
- Deprecate `processCore` on `SharedObject` and `SharedObjectCore` in favor of `processMessagesCore` ([#23836](https://github.com/microsoft/FluidFramework/pull/23836)) [5eb19a0fc6](https://github.com/microsoft/FluidFramework/commit/5eb19a0fc6f00ba47ddc338a1a5932e683a6039c)
16+
17+
A new function `processMessagesCore` has been added in place of `processCore`, which will be called to process multiple messages instead of a single one on the channel. This is part of a feature called "Op bunching" where contiguous ops in a grouped batch are bunched and processed together by the shared object.
18+
19+
Implementations of `SharedObject` and `SharedObjectCore` must now also implement `processMessagesCore`. A basic implementation could be to iterate over the messages' content and process them one by one as it happens now. Note that some DDS may be able to optimize processing by processing the messages together.
620

721
## 2.21.0
822

0 commit comments

Comments
 (0)