@ai-matrx/office 0.8.56 → 0.8.58
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 +24 -2
- package/dist/collab-sheets-transform.cjs +2 -2
- package/dist/collab-sheets-transform.cjs.map +1 -1
- package/dist/collab-sheets-transform.d.cts +1 -1
- package/dist/collab-sheets-transform.d.ts +1 -1
- package/dist/collab-sheets-transform.js +2 -2
- package/dist/collab-sheets-transform.js.map +1 -1
- package/dist/univer-collab.cjs +4 -4
- package/dist/univer-collab.cjs.map +1 -1
- package/dist/univer-collab.d.cts +1 -1
- package/dist/univer-collab.d.ts +1 -1
- package/dist/univer-collab.js +4 -4
- package/dist/univer-collab.js.map +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.58
|
|
4
|
+
|
|
5
|
+
- Sheets convergence: a concurrent write under a merge explicitly clears old content on both seats, including merge repairs carried by row and column moves. Cell styles and loss notices are retained. Transformer `c5f-2` raises the editing protocol to 5; the fold still reads protocols 2, 3 and 4. Consumer action: adopt the same Office release in editor hosts and the fold; older-protocol rooms retain the existing read-only behavior.
|
|
6
|
+
|
|
3
7
|
## 0.8.56
|
|
4
8
|
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
10
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
11
|
+
Diff: `git diff 9137bf6ff3 d95485d3dc -- apps/shared/office/src`
|
|
12
|
+
|
|
13
|
+
Changed shipped source files (1):
|
|
14
|
+
- `apps/shared/office/src/pdf/PdfWorkspace.tsx`
|
|
7
15
|
|
|
8
16
|
## 0.8.55
|
|
9
17
|
|
|
18
|
+
- Sheets rooms: a value written into a cell at the same moment someone merges over it is cleared on every seat, as one
|
|
19
|
+
seat merging after the write would (it stayed hidden under the merge). Row and column hide/show travel (per index, the
|
|
20
|
+
later of two wins), so Make table's hidden Record ID column stays hidden in a room instead of being rolled back.
|
|
21
|
+
- Sheets rooms: a value with no format of its own committed over a peer's formatted value now leaves the cell plain on
|
|
22
|
+
every seat, also when the cell already had a format (the seat that applied the winner first kept the old format, the
|
|
23
|
+
quiet hashes disagreed and that seat was reloaded). A reload under an open cell editor closes the editor first (Esc),
|
|
24
|
+
so sheets-ui no longer throws `getEditLocation(...) is null`.
|
|
25
|
+
- Sheets rooms: a seat joins on the cell its editor is on (`SheetsOtPort.cursor()`, `joiningAwareness`), so its chip
|
|
26
|
+
shows on the other seats before its person clicks anything. No consumer action: `startWorkbookOtRoom` reads it.
|
|
27
|
+
- Sheets rooms: deleting a sheet from its tab now turns every formula that named it into #REF! on every seat and in the fold.
|
|
28
|
+
Univer 1.0.4's sheets-ui aborted the remove-sheet command's own formula rewrite when the removed sheet was the active one
|
|
29
|
+
(the tab menu activates it), so only the remover saw #REF!, peers kept the dead sheet's numbers and every delete raised
|
|
30
|
+
hash_mismatch. The port now reads the formulas that name the sheet right before the removal and sends each rewrite the
|
|
31
|
+
group lacks. No consumer action.
|
|
10
32
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
33
|
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
34
|
Diff: `git diff 2260c4580f 9137bf6ff3 -- apps/shared/office/src`
|
|
@@ -795,7 +795,7 @@ registerRangedResource({
|
|
|
795
795
|
});
|
|
796
796
|
|
|
797
797
|
// src/collab/sheets/transform/transform.ts
|
|
798
|
-
var SHEET_TRANSFORMER_VERSION = "c5f-
|
|
798
|
+
var SHEET_TRANSFORMER_VERSION = "c5f-2";
|
|
799
799
|
var ID = {
|
|
800
800
|
values: "sheet.mutation.set-range-values",
|
|
801
801
|
insertRow: "sheet.mutation.insert-row",
|
|
@@ -1162,7 +1162,7 @@ function valuesUnderMerge(x, y) {
|
|
|
1162
1162
|
if (v === null || !hasContent(v) || !coveredByMerge(ranges, r, c)) return putCell(out, r, c, v);
|
|
1163
1163
|
changed = true;
|
|
1164
1164
|
if (!isDerived(x)) dropped.push(cellRef(sheetOf(x), r, c));
|
|
1165
|
-
|
|
1165
|
+
putCell(out, r, c, { ...EMPTY_CONTENT, ..."s" in v ? { s: v.s } : {} });
|
|
1166
1166
|
});
|
|
1167
1167
|
if (!changed) return ok2([x]);
|
|
1168
1168
|
return ok2(isEmptyMatrix(out) ? [] : [cellsMutation(x, out)], [], dropped);
|