Repository navigation
Univer 1.6.2 expands worksheet protection to more editing surfaces, updates collaboration permission handling, and fixes sorting, Excel paste behavior, and floating-table pagination. It also removes several internal dependencies from Core and the renderer.
Permissions
Worksheet and range protection now covers number formats, filters, data validation, conditional formatting, hyperlinks, drawings, and split text to columns. Actions that previously bypassed protection now fail with a localized message and leave the sheet unchanged.
In collaboration (Pro), sheet permissions are fetched before a workbook opens and refreshed when your role changes. A viewer promoted to editor is asked to reload, because edits made with view-only access are discarded. A demoted editor switches to view-only immediately.
Improvements and fixes
- Sheets Preserve line breaks in cells when copying to and pasting from Excel. Sort text in ranges by locale collation, following Excel's symbol, digit, and letter order. Correct column auto-fit widths for numeric, merged, and empty columns. Replay drawing history written by older clients.
- Sheets Restore the paste menu, keep copied styles intact when underline or strikethrough uses a line style, close the bottom-right corner of thick borders, and skip redundant gridline work for hidden rows and columns.
- Facade
FRange.getValue()andgetValues()now return effective values: calculated results, plain text from rich text, and numbers for numeric strings. Scripts and AI agents can read the value they expect without choosing between raw and formatted getters. UsegetDisplayValue()/getDisplayValues()for formatted text andgetRawValue()/getRawValues()for the stored value. - Filters Treat
~as an escape in wildcard patterns, so~*,~?, and~~match literal characters. - Formulas Ignore text in ranges for
MEDIANand two-array statistics, and keep tied TRUE/FALSE values in their original order inSORTandSORTBY. - Docs Paginate floating tables the way Word does, including tables that split across pages, and restore the section break commands.
- UI Fix contrast in preset themes, make the ribbon tab selector keyboard-accessible, and correct mobile row spacing. Open IndexedDB storage on first use, disable Calculation Options for read-only workbooks, and align hyperlink popup and mobile dropdown spacing.
- Bases (Pro) Align field settings, panels, and editors with the design guide, and keep focus in people search.
- Core Replace
async-lock,fast-diff, andrbushwith internal implementations, remove a direct@floating-ui/utilsdependency from the renderer, and speed up replacing text across a whole selection.
Full changelog: v1.6.1…v1.6.2