@ai-matrx/office 0.8.36 → 0.8.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,9 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.38
4
+
5
+ **Undo and redo never touch other people's text in a co-edited document.** The room rebased both sides of every
6
+ undo item (and every mutation of a batched item) against the same collaborator edit, so undo → a peer types →
7
+ redo → undo deleted the peer's letters on every seat. Each side now meets the edit in the order it applies, each
8
+ mutation in turn, and Univer's still-open typing burst is stacked before a collaborator's edit applies
9
+ (`DocumentViewPort.docHistory`, new and optional). Consumer action: pass `docHistory` (the view's
10
+ `DocStateChangeManagerService`) from the editor that attaches a view.
11
+
12
+ ## 0.8.37
13
+
14
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
15
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
16
+ Diff: `git diff 1700d8bdd6 c1e46e1043 -- apps/shared/office/src`
17
+
18
+ Changed shipped source files (1):
19
+ - `apps/shared/office/src/collab/sheets/transform/registry.ts`
20
+
3
21
  ## 0.8.36
4
22
 
5
- UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
6
- Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/office/src`.
23
+ SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
24
+ so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
25
+ Diff: `git diff ea809490d8 1700d8bdd6 -- apps/shared/office/src`
26
+
27
+ Changed shipped source files (6):
28
+ - `apps/shared/office/src/collab/sheets/comment-anchor-transform.ts`
29
+ - `apps/shared/office/src/collab/sheets/transform/fuzz/corpus.ts`
30
+ - `apps/shared/office/src/collab/sheets/transform/fuzz/seats.ts`
31
+ - `apps/shared/office/src/collab/sheets/transform/registry.ts`
32
+ - `apps/shared/office/src/collab/sheets/transform/transform.ts`
33
+ - `apps/shared/office/src/univer/collab/sheets-ot/room.ts`
7
34
 
8
35
  ## 0.8.35
9
36
 
@@ -164,10 +164,13 @@ var SHEET_MUTATIONS = {
164
164
  "data-validation.mutation.updateRule": covered("dv", "ruleId", "payload", "source", "derived"),
165
165
  "data-validation.mutation.removeRule": covered("dv", "ruleId", "source", "derived"),
166
166
  "sheet.mutation.set-filter-range": covered("filter", "range", "derived"),
167
- // C5f: Univer's cell notes, keyed by note id, anchored to one cell (their transform: comment-anchor-transform.ts)
168
- "sheet.mutation.update-note": covered("note", "sheetId", "row", "col", "note", "silent", "derived"),
169
- "sheet.mutation.remove-note": covered("note", "sheetId", "noteId", "row", "col", "silent", "derived"),
170
- "sheet.mutation.update-note-position": covered("note", "sheetId", "noteId", "row", "col", "newPosition", "silent", "derived"),
167
+ // C5f: Univer's cell notes. Their transform is built (comment-anchor-transform.ts `transformCellNote`, pairwise and
168
+ // chained fuzz green) but the session fuzz still diverges on note cells (seed 1015, 6 seats: a note at column 5 on
169
+ // one seat, 8 on another), so they stay barriers until that seed is green. Covered form, for the next lane:
170
+ // covered("note", "sheetId", "row", "col", "note" | "noteId", "newPosition", "silent", "derived")
171
+ "sheet.mutation.update-note": barrier("C5c", "cell note: the session fuzz diverges on note cells (seed 1015)"),
172
+ "sheet.mutation.remove-note": barrier("C5c", "cell note: the session fuzz diverges on note cells (seed 1015)"),
173
+ "sheet.mutation.update-note-position": barrier("C5c", "cell note: the session fuzz diverges on note cells (seed 1015)"),
171
174
  "sheet.mutation.set-filter-criteria": covered("filter", "col", "criteria", "reCalc", "derived"),
172
175
  "sheet.mutation.remove-filter": covered("filter", "derived"),
173
176
  "sheet.mutation.add-table": barrier("C5c", RESOURCE),