一站式办公组件,赋能智能体文档处理
为univer打分
给出您宝贵的评分:
手机端可长按图片保存,分享到朋友圈 / 社群
使用 univer,你可以:
为 AI 智能体提供办公能力,集成表格、文档、幻灯片、画布、数据库与 PDF 处理能力。
用户评论 (0)
2024年02月05日
2025年10月13日
2024年07月29日
2024年10月16日
2026年10月18日
2026年10月14日
2026年07月28日
2026年07月08日
2026年06月12日
2026年06月11日
2026年05月30日
v1.6.2
2026年11月25日
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
详细ChangeLogv1.6.1
2026年11月23日
Improvements and fixes
- Sheets Fix lines left behind near row and column headers when scrolling at certain zoom levels and display scales.
- UI Reduce extra padding in dialogs, sidebars, and drawers on desktop and mobile. Show floating toolbar dividers only between visible groups of actions.
- Slides (Pro) Space out ruler ticks and hide numeric labels at low zoom. Keep the center mark visible and restore labels as users zoom in.
Full Changelog: v1.6.0...v1.6.1
详细ChangeLogv1.6.0
2026年11月21日
Univer 1.6.0 adds planned schedules and dependencies to Base Gantt, and PDF viewing and editing on mobile. It also reorganizes the PDF and Data ribbons, adds the AMORDEGRC and EUROCONVERT functions, and tightens edit and comment permissions in both the clients and the collaboration server.
New features
Plan comparison and predecessors in Base Gantt (Pro)
A Gantt view can keep a planned schedule beside its current one. Each view stores its own date bindings and color, and both schedules share the timeline and work calendar.
Binding a Completion field to a Progress column shows completed and remaining work on each bar, and adds a completion handle. Predecessors bind to a record link. Dragging from either end of a bar creates a finish-to-start link that supports undo and collaboration, and rejects cycles. Hovering a bar compares planned and current dates, completion, and start and finish variance.
Grid and Gantt share one outline, so collapsing a parent hides its descendants and their dependency arrows. Collaborative Gantt editing uses a new Base OT transform, so deploy a gateway that includes it before rolling out to clients.
PDFs on mobile (Pro)
A dedicated mobile PDF UI adds a thumbnail overview, page organization, and continuous page editing. Navigation and tools live in drawers. Text editing runs through Docs, so live editing and IME input behave as they do on desktop. Pinch zoom applies zoom and layout once on release.
The PDF ribbon is reorganized by editing task into Home, Insert, Annotate, and View. Text, Table, and Image tabs appear when their editing context is active.
@univerjs-pro/pdfs-exchange-client adds one-call entry points for appending files and exporting edits. PdfSetZoomRatioOperation sets zoom on desktop, mobile, and read-only workbenches. Registering the mobile plugin with { editor: { enabled: false } } gives read-only navigation and zoom.
Permissions
Sheets edit permissions now gate freeze panes, gridlines, row and column visibility, outline grouping, merge, sort, rename, protection, and worksheet tab actions. Menus disable without permission, and rejected actions report failure instead of success. Grouping and collapsing count as edits, so view-only users can no longer expand or collapse groups.
Notes and comments require their own permissions, with localized errors. The collaboration server rejects the same operations, and worksheet duplication checks WorkbookCopySheetPermission.
Improvements and fixes
- Formulas Add
AMORDEGRCandEUROCONVERT. EvaluateISO.CEILINGand fix Excel compatibility in text, date, and wildcard matching functions. - Sheets Keep date and time formats when changing decimals, and keep row heights through autofill. Correct sorting, data validation, and conditional formatting behavior.
- Docs Match Word for tab stops, split table borders, and justification. Fix IME and pasted-text formatting.
- Slides and shapes (Pro) Keep inherited placeholder text through concurrent edits. Align shape toolbar formatting, sizes, and menu widths.
- Boards (Pro) Redesign the container picker and restore context menu icons.
- Charts (Pro) Add radar scale labels with
setRadarAxisLabelandresetRadarAxisLabel, and inherit the All-series line type. Correct rendering across frozen panes and in 3D. - UI Unify ribbon spacing and alignment, and move overflowing groups into a More menu. Improve keyboard focus indicators, and group sorting, filtering, and table tools in one Data ribbon column.
Full changelog: v1.5.2…v1.6.0
详细ChangeLogv1.5.0
2026年11月14日
Univer 1.5.0 adds dedicated chart sheets, stacked line charts, and error bars. Pro's free tier now covers more editing and local output workflows. This release also reduces memory use during formula calculation, adds controls for Sheets interactions and Board layout, and improves Office file compatibility.
New features
Chart sheets, stacked line charts, and error bars
Give a chart its own tab while keeping its source cells in regular worksheets in the same workbook. Move charts between sheets with undo and redo. With the Sheets Chart Facade loaded, use workbook.insertChartSheet(info, { name, index }) to set the tab name and zero-based position, and getPrimaryChart() to access the main chart. A chart sheet can also continuously fit its main chart to the viewport using zoomToFit. Older snapshots without this setting use fixed zoom. Chart sheets guide
Create stacked and 100% stacked line charts. The chart editor and the builder and live chart APIs also support per-series error bars for basic 2D column, bar, line, and scatter charts. Use setErrorBars() and clearErrorBars() to control direction, end caps, styling, and error amounts. Supported amounts include fixed values, percentages, standard deviation, standard error, and positive or negative values from custom fields in the chart's data source. Scatter charts support separate X and Y error bars. Error bars guide
Editable Board diagrams and a dedicated LaTeX package
Use planLayout() to arrange a diagram or adjust connector routes, endpoints, labels, and text fitting. Inspect the returned diagnostics before applying a ready plan with applyLayoutPlan(). Applying a plan is undoable, and the resulting shapes and connectors remain editable. Imported tree branches can be collapsed or expanded with setTreeBranchCollapsed(). Rendered analysis reports issues such as label overflow and text that does not fit, and screenshot bounds can account for rendered paths and labels. Board Facade reference
The new @univerjs-pro/boards-latex-ui package renders LaTeX in Board text. Register UniverBoardsLatexUIPlugin after the Boards UI plugin. Plugin reference
Commit Slides text before saving
Load @univerjs-pro/slides-ui/facade to check presentation.isTextEditing() or call await presentation.endTextEditingAsync() before a custom save action. Save after it returns true. A return value of false means the draft could not be committed or IME composition is still in progress. Slides Facade reference
New configuration options
Sheets interaction settings
Set these options directly on UniverSheetsUIPlugin, or under sheets in UniverSheetsCorePreset.
| Option | Default | Behavior |
|---|---|---|
selectionAnimation |
true |
Animates the desktop selection outline when clicking between cells. The system's reduced-motion preference takes precedence. |
enableFillHandle |
true |
Shows the desktop fill handle. Fill commands and Facade APIs still work when it is hidden. |
warnBeforeDragOverwrite |
true |
Confirms before a dragged range overwrites existing cells. Move validation and undo/redo still apply when the prompt is disabled. |
Board layout and embedded UI
FBoard.planLayout()acceptsgraph,routes,ports,labels, andtextmodes. Graph layout acceptselementIds,fixedElementIds, andfeedbackConnectorIdsfor scope, plusdirection,layerGap,itemGap,origin, andmaxNodesfor placement. It defaults to horizontal layout, a layer gap of 100, an item gap of 48, and a limit of 500 nodes. Route, port, and label passes can target specificconnectorIds. Graph and text layout acceptmaximumWidthGrowthto cap text-driven widening, with a range of 1–2 and a default of 2. Board layout optionsanalyzeRenderedLayout()acceptsmaximumAutomaticLabelDistancein Board units for checking automatic label placement. The limit is opt-in. Board models also exposeconnectionPositionModefor automatic or fixed connector endpoints,lineJumpfor crossing styles, andlayoutOccupancy: "frame"to allow routes through a container’s interior. UsesetContainerStyle()withtitleOffsetXto offset a container caption, or set a swimlane’sheaderPositiontoleftortop. Rendered layout analysis- Custom canvas floating DOM layers can set
IFloatDom.preventBrowserZoomto suppress browser zoom gestures while forwarding events.eventOptionsconfigures nativepassiveandcapturesettings per wheel or pointer event. Events without an override continue to use React forwarding. Floating DOM layer API
Office import and export
These changes require the corresponding native Exchange artifacts.
- Charts. Preserve dedicated chart sheets in XLSX and supported stacked line chart groupings in XLSX, DOCX, and PPTX.
- PivotTables. Preserve more saved report layouts, merged headers, shared caches, and slicer, timeline, and PivotChart connections. Editable imported reports are stored as PivotTable resources so a second static copy does not appear in worksheet cells. Applications reading those report values should load the snapshot in a compatible frontend and read the rendered report. Re-import the original XLSX if an older snapshot retained a static copy or lost merge information.
- Optional Excel refresh. Set
deferPivotCalculation: trueon a Sheet XLSX export through Exchange Node to let Excel calculate eligible PivotTables on refresh. It defaults tofalse, which exports static results as usual. The supported profile is a new, simple PivotTable with one unfiltered, unsorted text row field, one numeric SUM measure, and grand totals, sourced from a separate two-column worksheet range. The matching Office binding is required for this option. - DOCX equations. Supported legacy Equation Editor and desktop MathType equations import as editable formulas and export as native Word equations. Objects that cannot be converted are preserved as OLE attachments.
- XLSX fidelity and memory. Preserve saved external-link values during offline conversion, including files saved after a failed link refresh. Retain supported custom OOXML metadata, significant whitespace, and implicit intersection formulas. Large exports of plain cell values use less peak memory.
- Native free exports. With the updated adapters, supported XLSX, DOCX, PPTX, and PDF exports can continue with a license watermark after the monthly allowance of 10 successful watermark-free exports. Watermark decisions use the completed export count when a conversion starts, so concurrent conversions can produce additional unwatermarked files.
Improvements and fixes
- Formulas. Reduce calculation memory in JavaScript and native engines and reuse work for repeated criteria and range lookups. Improve Excel compatibility for complex numbers,
ISOWEEKNUM,WEEKNUMwith type 21, andPV. - Sheets. Reuse more rendering work during scrolling, including on mobile. Keep open cell drafts through external updates and preserve whole-row and whole-column references through structural edits. Improve validation dropdowns for merged cells and preserve dropdown ranges when pasting. Prevent PivotTable expansion from overwriting occupied cells and reduce the work needed to check for those cells.
- Editing and accessibility. Improve keyboard access, menu dismissal, RTL separators, gradient stop editing, and IME confirmation in dialogs. Context menu buttons execute their configured
commandId, using the menu item ID when no override is specified. - Collaboration and history. Improve incremental Slides updates and selective undo, and keep Sheets notes attached to the correct cells through concurrent row and column operations. Version comparisons retain a visible sheet.
- Embeds and PDF. Improve embedded editor interactions on mobile and harden PDF tile and annotation rendering. Matching native Office and PDF bindings also fix Worker lifecycle issues.
Breaking changes and upgrading
Migrate custom Worker entry scripts
The deprecated root Worker exports announced in 1.4.0 have been removed. Built-in Worker presets already use the dedicated entries. Update custom browser and Node.js Worker scripts using the following table.
| New entry point | API |
|---|---|
@univerjs/rpc/worker |
UniverRPCWorkerThreadPlugin |
@univerjs/rpc-node/worker |
UniverRPCNodeWorkerPlugin |
@univerjs/sheets-formula/worker |
UniverRemoteSheetsFormulaPlugin |
@univerjs/sheets-filter-ui/worker |
UniverSheetsFilterUIWorkerPlugin |
@univerjs/engine-render/worker |
DocumentLayoutSession |
@univerjs-pro/bases/worker |
UniverRemoteBasesPlugin |
@univerjs-pro/bases-dashboard/worker |
UniverRemoteBaseDashboardPlugin |
@univerjs-pro/sheets-pivot-chart/worker |
UniverSheetsPivotChartWorkerPlugin |
@univerjs/docs/worker |
Register UniverDocsWorkerPlugin in place of startDocsLayoutWorker. |
@univerjs-pro/pdfs-ui/worker |
Register UniverPdfsUIWorkerPlugin in place of startPdfPageThumbnailWorker. |
Update integrations that use the affected exports
- Register
UniverBoardsLatexUIPluginexplicitly for Boards. ImportDocsLatexRenderServicefrom@univerjs-pro/docs-latex. Font injection is handled by the renderer, and theinjectRatexFontsexport has been removed. - Replace
IDrawingObjectListItem,IDrawingObjectListPanelLabels, andIDrawingObjectListPanelPropswithIObjectListPanelItem,IObjectListPanelLabels, andIObjectListPanelBasePropsfrom@univerjs/drawing-ui. - Remove direct imports of
CELL_INVERTED_INDEX_CACHEandFORMULA_REF_TO_ARRAY_CACHEfrom@univerjs/engine-formula. Cache ownership now belongs to the formula engine instance.
Upgrade before saving new chart data
Upgrade the Univer and Univer Pro packages used by your application together. For self-hosted deployments, update collaboration, rendering, and native Exchange components before writing chart sheets or the new stacked line chart types. Older readers may misinterpret the new data. Use matching native binaries for the Office/PDF changes and the native formula engine.
Full changelog for Univer v1.4.0…v1.5.0
详细ChangeLogv1.4.0
2026年11月07日
Univer 1.4.0 adds Office attachment workflows, shape merging in Slides, richer pivot filtering, and GETPIVOTDATA. This release also separates product-specific comment integrations and introduces several package and API migrations.
New features
Office attachments across Sheets, Docs, and Slides
Preserve embedded OLE files when working with Office documents, with actions to preview, download, rename, and delete attachments. Supported Office files can also be converted into independent online documents when the application provides the required collaboration, attachment, and exchange services.
Office export keeps the original embedded file by default. Applications can request the current confirmed version of a converted online document instead:
import { ExchangeFormat } from '@univerjs-pro/exchange-client';
const file = await univerAPI.exportSheetByUnitIdAsync(
unitId,
ExchangeFormat.XLSX,
undefined,
{ oleAttachmentSource: 'online' }
);The server must support this export option. Cross-type Office previews require the corresponding existing product UI module; conversion and preview use the existing drawing and exchange plugins.
Merge shapes in Slides
Combine supported selections with Union, Combine, Fragment, Intersect, and Subtract. The operations create new shape geometry and support undo/redo and collaboration. The first selected object determines the primary formatting and the subtraction direction.
Multiple filters and whole-day date filtering
Pivot tables and pivot charts can combine different filter categories on the same field after enabling Allow multiple filters per field. The option is off by default.
Fixed date filters also support whole-day comparison, so timestamps from the same day can match without requiring identical time values.
await pivotTable.setOptions({ allowMultipleFilters: true });
await pivotTable.setDateFilter(fieldId, {
operator: univerAPI.Enum.ST_PivotFilterOperatorEnum.dateEqual,
expected: dateSerial,
useWholeDay: true,
});Disabling multiple filters while combined filters are active clears the report's filters and the corresponding shared slicer/timeline selections. The UI asks for confirmation.
GETPIVOTDATA
Use GETPIVOTDATA to retrieve aggregated values from a visible PivotTable report:
=GETPIVOTDATA("Sales",$A$3,"Region","East")
The initial implementation reads the visible report from a single-cell anchor, searching up to 200 rows below and 50 columns to its right.
Paragraph word splitting
Docs now respects paragraph settings that allow Latin words to break across lines. A new control in paragraph settings makes this behavior editable and supports inherited and mixed paragraph states.
Product-specific comment integration packages
Image and chart comment Facade integrations have moved out of the generic shape-thread-comment Facade into four new packages:
| Package | Integration |
|---|---|
@univerjs-pro/sheets-drawing-thread-comment |
Images in Sheets |
@univerjs-pro/sheets-chart-thread-comment |
Charts in Sheets |
@univerjs-pro/docs-drawing-thread-comment |
Images in Docs |
@univerjs-pro/docs-chart-thread-comment |
Charts in Docs |
These packages provide the existing createCommentAsync, getComments, and listCommentsAsync methods for their respective objects. Generic FShape comments remain in @univerjs-pro/shape-thread-comment.
Improvements and fixes
- Formulas: Improve array-spill invalidation, shared-formula dependencies, and recalculation after worksheet-reference changes. Writing cell values through
setValue/setValuesnow persists removal of the replaced formula. - Sheets: Preserve imported XLSX table differential formats and inherited font sizes while editing; improve merged-cell rendering, autofill after scrolling, and sheet renaming.
- UI and mobile: Compact the two-row Ribbon before moving groups into More, improve keyboard navigation, and enforce permissions consistently in mobile controls and dialogs.
- Collaboration: Reconnect after Chrome page freeze/resume, include filter/table models during snapshot formula replay, and authorize comment-only changesets with the Unit Comment permission.
- Rendering and performance: Defer SmartArt reference-data initialization, correct spacing for charts with empty titles, preserve LaTeX formula backgrounds, and improve dark-mode editing panels.
Breaking changes and upgrading
Keep all @univerjs/* and @univerjs-pro/* dependencies used by your application on the same version.
Register the matching image/chart comment integration
Applications using image or chart comment methods must add the corresponding package and its Facade import. For example, in an existing Sheets application:
import { UniverSheetsDrawingThreadCommentPlugin } from '@univerjs-pro/sheets-drawing-thread-comment';
import '@univerjs-pro/sheets-drawing-thread-comment/facade';
univer.registerPlugin(UniverSheetsDrawingThreadCommentPlugin);Apply the same pattern to the other integrations in the table above. Retain the generic shape-comment integration when using FShape comments.
Move Board ink Facade imports
The @univerjs-pro/ink/facade entry has been removed. Board ink methods now belong to FBoard:
-import '@univerjs-pro/ink/facade';
+import '@univerjs-pro/boards/facade';Import Board ink enums and IBoardInkFacadeInsertOptions from @univerjs-pro/boards/facade as well.
Update custom Worker entry scripts
Use dedicated /worker entry points for worker-side plugins. For example:
-import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc';
-import { UniverSheetsPivotChartWorkerPlugin } from '@univerjs-pro/sheets-pivot-chart';
+import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc/worker';
+import { UniverSheetsPivotChartWorkerPlugin } from '@univerjs-pro/sheets-pivot-chart/worker';The retained root exports for worker-only APIs are deprecated in 1.4.0, with removal planned for 1.5.0 as described below. Docs workers can now register UniverDocsWorkerPlugin from @univerjs/docs/worker instead of calling startDocsLayoutWorker directly. Worker presets have been updated to use the dedicated entries.
Update custom resource serializers
Redundant version/schemaVersion fields have been removed from affected resource payloads, including document formulas, external references, Slides tables, and Slides fonts. Update custom serializers, validators, and imports of the removed schema-version constants.
For example, a document-formula resource is now:
-const resource = { schemaVersion: 1, formulas: {} };
+const resource = { formulas: {} };Protection and deployment notes
- Applying worksheet/range protection or setting worksheet permission points clears the affected workbook's undo/redo history. Review workflows that apply protection after editing.
- Deployments using the new OLE, shape-merge, or pivot-filter workflows need corresponding server-side support. Use an OLE-capable drawing model and compatible native exchange runtime at the import/export boundary.
- The new table differential-format import requires matching Sheets, Sheets Numfmt, and native exchange components. Historical snapshots are not rewritten automatically; re-import the original XLSX when possible to adopt the new format handling.
- Update self-hosted collaboration runtimes to receive the snapshot-replay and comment-permission fixes.
Upcoming breaking changes: Worker API cleanup
Removal of the deprecated Worker root exports is planned for 1.5.0, tracked in #8079 and its companion update. These exports are still available in 1.4.0, so custom Worker entry scripts can migrate before the next release.
Import the following APIs from their package's /worker entry instead of its root:
| Package | API moving to /worker |
|---|---|
@univerjs/rpc |
UniverRPCWorkerThreadPlugin |
@univerjs/rpc-node |
UniverRPCNodeWorkerPlugin |
@univerjs/sheets-formula |
UniverRemoteSheetsFormulaPlugin |
@univerjs/sheets-filter-ui |
UniverSheetsFilterUIWorkerPlugin |
@univerjs/engine-render |
DocumentLayoutSession |
@univerjs-pro/bases |
UniverRemoteBasesPlugin |
@univerjs-pro/bases-dashboard |
UniverRemoteBaseDashboardPlugin |
@univerjs-pro/sheets-pivot-chart |
UniverSheetsPivotChartWorkerPlugin |
The two manual startup helpers also need migration:
- Replace
startDocsLayoutWorkerfrom@univerjs/docswithUniverDocsWorkerPluginfrom@univerjs/docs/worker. - Replace
startPdfPageThumbnailWorkerfrom@univerjs-pro/pdfs-uiwithUniverPdfsUIWorkerPluginfrom@univerjs-pro/pdfs-ui/worker.
For a Docs Worker entry:
import { Univer } from '@univerjs/core';
import { UniverDocsWorkerPlugin } from '@univerjs/docs/worker';
const univer = new Univer();
univer.registerPlugin(UniverDocsWorkerPlugin);For a PDF thumbnail Worker entry:
import { UniverPdfsUIWorkerPlugin } from '@univerjs-pro/pdfs-ui/worker';
import { Univer } from '@univerjs/core';
const univer = new Univer();
univer.registerPlugin(UniverPdfsUIWorkerPlugin);Apply these changes inside the Worker entry files. The built-in Worker presets in 1.4.0 already use the dedicated entry points.
Full changelog: v1.3.1…v1.4.0
详细ChangeLogv1.3.0
2026年10月29日
👻 Halloween is around the corner, and Univer 1.3.0 comes with a few treats 🎃 This release adds slicers, timelines, and expanded pivot grouping, alongside improvements to document editing, rendering performance, and everyday interactions.
New features
Slicers and timelines (Pro)
Filter tables and pivot reports with interactive slicers. Timelines provide date-range filtering for pivot tables and pivot charts, with year, quarter, month, and day views.
Three new packages provide the feature:
| Package | Purpose |
|---|---|
@univerjs-pro/slicer |
Shared slicer and timeline models, rendering, and themes. |
@univerjs-pro/sheets-slicer |
Worksheet integration, data-source connections, commands, and Facade APIs. |
@univerjs-pro/sheets-slicer-ui |
Interactive controls, insertion menus, settings, and connection dialogs. |
These plugins and the slicer Facade API are included in UniverSheetsAdvancedPreset. For direct plugin integrations, register the Sheets Slicer and Sheets Slicer UI plugins and load the corresponding styles and locales.
Expanded pivot grouping (Pro)
Group selected items manually, organize numbers into ranges, and group dates by calendar units. These capabilities work with connected slicers and timelines for interactive report filtering.
Code block fonts and table alignment (Pro)
Code blocks now support built-in and custom monospaced fonts on desktop and mobile. Fonts registered with FontCategory.MONOSPACE are available in the code block font picker.
Traditional documents also gain left, center, and right table alignment controls in the Ribbon.
Conditional formatting: Stop If True
Use “Stop If True” to prevent lower-priority formatting rules from applying when a rule matches. The rule editor and rule list now expose this setting.
Improvements and fixes
- UI: Move overflowing Ribbon groups into a compact More menu, improve the color picker, and support resetting sheet tab colors.
- Sheets: Preserve text values during formatting, correct number-format colors, and retain table borders after filtering.
- Sheets: Improve mobile editing and row/column resizing, and support Format Painter on row and column headers.
- Docs: Improve block dragging, pasting, and focus handling across embedded editors and multiple instances.
- Bases (Pro): Improve view tabs, hierarchical rows, and selection interactions.
- Performance (Pro): Improve PDF scrolling and zooming, and reduce rendering work for 3D charts.
- Collaboration and export (Pro): Provide clearer license errors, expose server rejection reasons through
CollaborationConflict.message, and fix formatting loss in generated collaboration snapshots.
Breaking changes and upgrading
Keep all @univerjs/* and @univerjs-pro/* packages on the same version.
Font categories now use an enum
IFontConfig.category now accepts FontCategory from @univerjs/ui instead of string literals. Update custom font registrations and configuration:
import type { IFontConfig } from '@univerjs/ui';
+import { FontCategory } from '@univerjs/ui';
const font: IFontConfig = {
value: 'My Mono',
label: 'My Mono',
- category: 'monospace',
+ category: FontCategory.MONOSPACE,
};The enum also provides SANS_SERIF, SERIF, DISPLAY, and HANDWRITING.
Pivot date systems now use Core's DateSystem
Replace PivotDateGroupFieldDateSystemEnum with DateSystem from @univerjs/core:
-import { PivotDateGroupFieldDateSystemEnum, setDateSystem } from '@univerjs-pro/engine-pivot';
+import { setDateSystem } from '@univerjs-pro/engine-pivot';
+import { DateSystem } from '@univerjs/core';
-setDateSystem(PivotDateGroupFieldDateSystemEnum.Date1900);
+setDateSystem(DateSystem.Date1900);Use DateSystem.Date1904 for configurations using the 1904 date system.
PDF unit helpers now come from Core
These helpers are no longer exported by @univerjs-pro/pdfs. Update their imports:
-import { cssPxToEmu, emuToCssPx, EMU_PER_CSS_PX } from '@univerjs-pro/pdfs';
+import { cssPxToEmu, emuToCssPx, EMU_PER_CSS_PX } from '@univerjs/core';Update collaboration server deployments
Update the collaboration backend to include the new slicer transformations. Redeploy Helper with the updated collaboration-server package to apply the snapshot formatting fix.
Existing snapshots affected by formatting loss are not repaired automatically.
Full changelog: v1.2.0…v1.3.0
详细ChangeLogv1.2.0
2026年10月22日
New features
- Docs: Support persistent heading collapse and enable outlines by default in modern mode.
- Slides (Pro): Add dedicated picture and chart formatting tabs, with image cropping, sizing, and positioning controls.
- Collaboration (Pro): Add conflict callbacks with access to unsynced edits, pending-write status, and retry events.
Improvements and fixes
- Formulas: Correct behavior in
ISBLANK,AVERAGE,UNIQUE, andPROPER, and improve numeric literal parsing. - Sheets: Fix IME input and formula permission checks during autofill.
- Images: Preserve aspect ratios on insertion and keep drawing anchors stable when hiding rows or columns.
- Docs: Improve outline navigation, table layout, and popup positioning.
- Docs (Pro): Improve collaborative table editing, undo/redo, and embedded content loading.
- Slides (Pro): Improve thumbnail rendering and scrolling performance.
- Charts (Pro): Improve axis and legend layout, label placement, and rendering during resizing.
- Collaboration (Pro): Improve automatic retries, offline edit persistence, and status notifications.
- PDFs (Pro): Fix missing fonts and images in imported documents.
Breaking changes and upgrading
- Collaboration loading (Pro): Automatic URL loading and
enableUrlUnitLoaderhave been removed. Set the current user and load documents through the Facade APIs, or adapt theCustomUrlLoadPluginexample. - Import/export (Pro): Built-in import/export UI has moved to example plugins. Use the retained APIs or adapt the examples, and remove obsolete UI, locale, and style imports.
- Collaboration events (Pro): Legacy conflict and permission UI events no longer fire; use
CollaborationConflict. Replace the legacy submit-timeout UI event withCollaborationChangesetResend. - Docs collaboration (Pro): Upgrade clients and the collaboration backend together to include the shared transformation fixes for heading collapse and table editing.
Full changelog: v1.1.0…v1.2.0
详细ChangeLog