🎉 Release v0.1.15 #2524
Closed
hexf00
announced in
Announcements | 公告
Replies: 1 comment
-
🎊 [email protected]🚧 重要提示该项目仍在积极开发中,预计会有重大 API 更改。您的反馈至关重要!请提交 issues 和建议,帮助我们塑造 Univer 的未来。 🚀 快速开始如果您希望了解 Univer,请查看我们的入门文档。 🆕 版本亮点🎉 新功能
🐞 Bug 修复
💔 破坏性更新在版本0.1.15中,我们对插件名称进行了统一,以确保Univer实例中插件的导入和注册方式更加一致。
为了统一命名规范,我们对部分插件的名称进行了修改。您需要更新这些插件的导入路径以适应新版本: - import { CollaborationPlugin } from '@univerjs-pro/collaboration'
- import { CollaborationClientPlugin } from '@univerjs-pro/collaboration-client'
- import { LiveSharePlugin } from '@univerjs-pro/live-share'
- import { SheetsPrintPlugin } from '@univerjs-pro/sheets-print'
+ import { UniverCollaborationPlugin } from '@univerjs-pro/collaboration'
+ import { UniverCollaborationClientPlugin } from '@univerjs-pro/collaboration-client'
+ import { UniverLiveSharePlugin } from '@univerjs-pro/live-share'
+ import { UniverSheetsPrintPlugin } from '@univerjs-pro/sheets-print'
在启用协作插件时,为了避免与内置实现的注入冲突,您需要在配置中将内置实现设置为 null。新增的 IUndoRedoService 也需要进行相同处理: const univer = new Univer({
theme: defaultTheme,
locale: LocaleType.EN_US,
logLevel: LogLevel.VERBOSE,
locales,
+ // 启用协作插件时,需将内置实现设为 null,避免双重注入导致的冲突
+ override: [
+ [IAuthzIoService, null],
+ [IUndoRedoService, null],
+ ],
}) 📢 加入讨论我们欢迎您的参与和见解,一起踏上这个激动人心的旅程。请通过以下方式与我们联系: 📝 更新日志完整的更新日志 (2024-06-14) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🎊 [email protected]
🚧 Important Note
This project is still in heavy development, and major API changes are expected. Your feedback is crucial! Please submit issues and suggestions to help us shape the future of Univer.
🚀 Getting Started
If you're eager to explore Univer, check out our getting started documentation.
Dive into the world of collaborative document, spreadsheet, and presentation editing powered by Univer!
🆕 What's new
🎉 Highlights
🐞 Bug Fixes
v0.15.4
. fix(core): fix disposing univer causing error #2515💔 Breaking Changes
In version 0.1.15, we have standardized plugin names to ensure a consistent approach to importing and registering plugins within the
Univer
instance.To maintain consistency, we have renamed several plugins. Update your imports accordingly:
When enabling the collaboration plugin, ensure to set the built-in implementations of IAuthzIoService and IUndoRedoService to null. This prevents conflicts and ensures proper functionality:
📢 Join the Conversation
We welcome your input and insights as we embark on this exciting journey. Connect with us on:
📝 Changelog
Full changelog (2024-06-14)
Bug Fixes
Features
This discussion was created from the release 🎉 Release v0.1.15.
Beta Was this translation helpful? Give feedback.
All reactions