📐 Release v0.25.0 #6996
Replies: 1 comment
🎊 Univer@v0.25.0Important 📢 即将发布 1.0 版本 我们正全力准备 Univer 1.0 的正式发布,这将是项目的一个重要里程碑。敬请期待! 🚧 Work In Progress以下功能正在积极开发中,部分模块已可用,完整体验将在后续版本逐步交付:
📝 文档表格(Docs Table)文档表格在 Univer 和 Univer Pro 中均获得重大增强,带来更完整的文档表格编辑体验。 Univer:
Univer Pro:
Facade API 示例: const doc = univerAPI.getActiveDocument();
// 在当前光标位置插入一个 3x4 的表格
doc.insertTable(3, 4);
// 在指定位置插入表格
doc.insertTable(3, 4, { startIndex: 10 });🎨 文档生态扩展(Pro)Univer Pro 新增了一系列文档编辑模块,让文档创作能力超越表格:
这些模块均已集成 License 插件,并包含配置 Schema 以便自定义。 📊 数据透视表 Facade API 增强(Pro)数据透视表的 Facade API 得到全面增强:
🌍 国际化泰语渲染支持Univer 现在支持文档中的泰语文本渲染,包括泰语文字的正确塑形和换行处理。
新增语言支持本版本为 34 个包新增了 7 种语言支持,进一步扩展了 Univer 的全球化覆盖:
|
| 变更前 | 变更后 |
|---|---|
'button.confirm' |
'find-replace.button.confirm' |
'permission.filterErr' |
'sheets-filter-ui.permission.filterErr' |
每个包现在拥有唯一一个与其包名一致的命名空间。同一功能的核心层和 UI 层使用不同的命名空间(例如 sheets-filter 和 sheets-filter-ui)。
如果你维护了自定义的 locale 覆盖或自定义包,请相应地更新 locale key。
此次重构同时带来了以下语言包的新增与移除,请同步调整导入:
新增:
@univerjs/data-validation@univerjs/docs-thread-comment-ui@univerjs/sheets-data-validation@univerjs/sheets-filter@univerjs/sheets-hyper-link@univerjs/sheets-table@univerjs-pro/edit-history-loader
移除:
@univerjs/sheets-find-replace(Locale 文件已被全部删除)@univerjs/sheets-sort(Locale 内容合并到sheets-sort-ui)
示例:
// 新增包:如独立使用需导入其语言包
+ import dataValidationLocale from '@univerjs/data-validation/locale/zh-CN';
+ import sheetsDataValidationLocale from '@univerjs/sheets-data-validation/locale/zh-CN';
+ import sheetsFilterLocale from '@univerjs/sheets-filter/locale/zh-CN';
+ import sheetsHyperLinkLocale from '@univerjs/sheets-hyper-link/locale/zh-CN';
+ import sheetsTableLocale from '@univerjs/sheets-table/locale/zh-CN';
// 移除包:删除对应的语言包导入
- import sheetsSortLocale from '@univerjs/sheets-sort/locale/zh-CN';- PR: #6948
移除废弃的数据验证 API
@univerjs/sheets-data-validation 中以下废弃的 FWorkbook API 已移除:
| 已移除 API | 替代方案 |
|---|---|
FWorkbook.addDataValidation |
使用 FRange.setDataValidation 或直接使用命令 |
FWorkbook.removeDataValidation |
使用 FRange.setDataValidation(null) 或直接使用命令 |
FWorkbook.updateDataValidation |
使用 FRange.setDataValidation 或直接使用命令 |
FWorkbook.getDataValidation |
使用 FWorksheet.getDataValidations |
FWorkbook.getValidatorStatus |
使用 FWorksheet.getValidatorStatusAsync |
此外,列表选项序列化工具已从 sheets-data-validation 移动到 sheets。如果你直接引用了这些工具,请更新导入路径。
⚡ 性能与稳定性
内存泄漏修复
修复了 before-close 服务和 ribbon 服务中因 RxJS 订阅未正确清理导致的内存泄漏。
- PR: #6991
冻结区域残影修复
修复了滚动表格时冻结区域出现的残影问题。
- PR: #6969
大数据量表格滚动卡顿修复
修复了大数据量表格滚动卡顿的问题,提升了滚动流畅度。
- PR: #6959
协作图片上传修复
修复了协作文档编辑中粘贴的 base64 图片未能正确上传的问题。
- PR: #6985
🐛 问题修复
- 查找替换(#6970):修复跨工作表匹配导航时的滚动行为异常。
- 公式 Facade(#6947):修复 worker 线程下
onCalculationResultAppliedAPI 的问题。 - 筛选(#6954):Facade 命令现在无需 UI 插件即可正确注册。
- 表格(Table)(#6964、#6965):修复 Table 筛选行影响其它工作表的问题。
- 表格(Table)(#6946):修复 Table 公式引用相关问题。
- Sheet(#6976):修复 Sheet 向上滚动未到边界时触发外部容器滚动的问题。
- Sheet(#6957):修复部分场景下为空单元格设置
custom后边框消失的问题。
感谢社区贡献者 @IMSupperkaka 对此次版本的贡献:
- 数据验证(#6942):修复下拉列表下拉选项中的逗号丢失问题。
📢 加入讨论
有问题或建议?欢迎通过以下渠道找到我们:
完整的更新日志 (2026-05-30)
Uh oh!
There was an error while loading. Please reload this page.
🎊 Univer@v0.25.0
Important
📢 1.0 Release Coming Soon
We are working hard on the official release of Univer 1.0, which will be a major milestone for the project. Stay tuned!
🚧 Work In Progress
The following features are actively under development. Some modules are already available, and the full experience will be delivered gradually in subsequent versions:
📝 Docs Table
Docs Table receives significant enhancements across both Univer and Univer Pro, delivering a more complete table editing experience in documents.
Univer:
Univer Pro:
Facade API Example:
🎨 Docs Ecosystem (Pro)
A suite of new document editing modules is now available in Univer Pro, enabling rich document authoring beyond tables:
These modules are integrated with the license plugin and include configuration schemas for customization.
📊 Pivot Table Facade API (Pro)
The pivot table facade API has been enhanced with more comprehensive control:
FPivotTablefacade class with methods for updating fields, source ranges, collapse states, and value filtersFEnumfor easier programmatic configuration🌍 Internationalization
Thai Language Support
Univer now supports Thai language text rendering in documents, including proper character shaping and line breaking for Thai scripts.
New Language Support
This release adds support for 7 new languages across 34 packages, expanding Univer's global reach:
ar-SA Arabic (العربية)
de-DE German (Deutsch)
id-ID Indonesian (Bahasa Indonesia)
it-IT Italian (Italiano)
pl-PL Polish (Polski)
pt-BR Portuguese Brazilian (Português Brasileiro)
zh-HK Chinese Traditional Hong Kong (繁體中文 香港)
PR: #6958
Locale Namespace Restructure
All locale keys have been restructured to use package-name prefixes as namespaces. This is a global change across nearly all packages.
'button.confirm''find-replace.button.confirm''permission.filterErr''sheets-filter-ui.permission.filterErr'Each package now owns exactly one namespace that matches its package name. Core and UI layers of the same feature use different namespaces (e.g.,
sheets-filterandsheets-filter-ui).If you maintain custom locale overrides or custom packages, update your locale keys accordingly.
As part of this restructure, the following language packages have been added or removed. Update your imports accordingly:
Added:
@univerjs/data-validation@univerjs/docs-thread-comment-ui@univerjs/sheets-data-validation@univerjs/sheets-filter@univerjs/sheets-hyper-link@univerjs/sheets-table@univerjs-pro/edit-history-loaderRemoved:
@univerjs/sheets-find-replace(Locale files deleted entirely)@univerjs/sheets-sort(Locale content merged intosheets-sort-ui)Example:
Removed Deprecated Data Validation APIs
The following deprecated
FWorkbookAPIs in@univerjs/sheets-data-validationhave been removed:FWorkbook.addDataValidationFRange.setDataValidationor commands directlyFWorkbook.removeDataValidationFRange.setDataValidation(null)or commands directlyFWorkbook.updateDataValidationFRange.setDataValidationor commands directlyFWorkbook.getDataValidationFWorksheet.getDataValidationsFWorkbook.getValidatorStatusFWorksheet.getValidatorStatusAsyncAdditionally, list option serialization utilities have been moved from
sheets-data-validationtosheets. If you were importing these utilities directly, update your imports.⚡ Performance & Stability
Memory Leak Fixes
Fixed memory leaks in the
before-closeservice and ribbon service caused by improper RxJS subscription cleanup.Frozen Area Ghosting
Fixed ghosting artifacts in frozen areas when scrolling sheets.
Large Spreadsheet Scrolling Lag Fix
Fixed scrolling lag in large spreadsheets, improving scrolling smoothness.
Collaboration Image Upload
Fixed pasted base64 images not being uploaded correctly in collaborative document editing.
🐛 Bug Fixes
onCalculationResultAppliedAPI in worker threads.customon empty cells caused borders to disappear in some scenarios.Thanks to community contributor @IMSupperkaka for their contribution to this release:
📢 Join the Discussion
Have questions, feedback, or ideas? Reach out to us at:
Full Changelog (2026-05-30)
This discussion was created from the release 📐 Release v0.25.0.
All reactions