🎉 Release v0.4.0 #3786
Closed
hexf00
announced in
Announcements | 公告
Replies: 1 comment
-
🎊 Univer@v0.4.0🚧 重要提示该项目仍在积极开发中,预计会有重大 API 更改。您的反馈至关重要!请提交 issues 和建议,帮助我们塑造 Univer 的未来。 🚀 快速开始如果您希望了解 Univer,请查看我们的入门文档。 📊 Univer Sheets🎉 新功能
🐞 Bug 修复
💔 破坏性变更
修改示例: ///plugin/controllers/custom-menu.controller.ts
-@OnLifecycle(LifecycleStages.Ready, CustomMenuController)
export class CustomMenuController extends Disposable {
...
}
...
//plugin/plugin.ts
export class UniverSheetsCustomMenuPlugin extends Plugin {
...
+ onReady(): void {
+ this._injector.get(CustomMenuController);
+ }
...
}
-pnpm add @univerjs/sheets-formula
+pnpm add @univerjs/sheets-formula @univerjs/sheets-formula-ui
-import '@univerjs/sheets-formula/lib/index.css'
+import '@univerjs/sheets-formula-ui/lib/index.css'
-import SheetsFormulaZhCN from '@univerjs/sheets-formula/locale/zh-CN';
+import SheetsFormulaUiZhCN from '@univerjs/sheets-formula-ui/locale/zh-CN';
import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula'
+import { UniverSheetsFormulaUIPlugin } from '@univerjs/sheets-formula-ui'
univer.registerPlugin(UniverSheetsFormulaPlugin)
+univer.registerPlugin(UniverSheetsFormulaUIPlugin)
-pnpm add @univerjs/data-validation @univerjs/sheets-data-validation
+pnpm add @univerjs/data-validation @univerjs/sheets-data-validation @univerjs/sheets-data-validation-ui
-import '@univerjs/sheets-data-validation/lib/index.css';
+import '@univerjs/sheets-data-validation-ui/lib/index.css';
-import SheetsDataValidationZhCN from '@univerjs/sheets-data-validation/locale/zh-CN';
+import SheetsDataValidationUiZhCN from '@univerjs/sheets-data-validation-ui/locale/zh-CN';
import { UniverDataValidationPlugin } from '@univerjs/data-validation';
import { UniverSheetsDataValidationPlugin } from '@univerjs/sheets-data-validation'
+import { UniverSheetsDataValidationUIPlugin } from '@univerjs/sheets-data-validation-ui'
univer.registerPlugin(UniverDataValidationPlugin)
univer.registerPlugin(UniverSheetsDataValidationPlugin)
+univer.registerPlugin(UniverSheetsDataValidationUIPlugin) 📝 Univer Docs🔧 改进🎢 特别感谢感谢以下社区用户为本次发布做出的杰出贡献:
📢 加入讨论我们欢迎您的参与和见解,一起踏上这个激动人心的旅程。请通过以下方式与我们联系: 📝 更新日志完整的更新日志 (2024-10-17) |
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
-
🎊 Univer@v0.4.0
🚧 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!
📊 Univer Sheets
🎉 Highlights
In this release, we are excited to introduce a new set of features and improvements to enhance your Univer experience. Here are the highlights:
formulaBar
configuration option to control the display of the formula bar feat(sheets-ui): addformulaBar
option #3632onCellDataChange
andonBeforeCellDataChange
methods to the Facade APIFWorksheet
for monitoring cell data changes feat(facade): add lifecycle and cellChange event api #3626fa_IR
support feat: support for rtl and farsi i18n #3558REGEXEXTRACT
,REGEXMATCH
, andREGEXREPLACE
formula functions [Feature] When using merge function to merge cells, pass a parameter like true or false to control whether the confirm dialog is show or not? #3633🐞 Bug Fixes
disposeUnit
fix: dispose and createUnit cause viewport height collapse #3598SetStyleCommand
only affecting the current active sheet fix(sheets): correct unitId and subUnitId usage in SetStyleCommand #3586SetRangeValuesCommand
changing user focus fix(sheets-ui): error quit edit when set-range-values was called #3697IF
formula calculation error fix(formula): fix some bug #3774💔 Breaking Changes
OnLifecycle
decorator has been removed. Please complete the corresponding instance initialization logic in the plugin's lifecycle methods instead refactor: remove runOnLifecycle and add smoking tests #3672example:
injector
parameter in plugin lifecycle methods has been removed. Please use the class property_injector
directly refactor: remove runOnLifecycle and add smoking tests #3672@univerjs/sheets-formula
has been split into two plugins:@univerjs/sheets-formula
and@univerjs/sheets-formula-ui
. Please import@univerjs/sheets-formula-ui
into your frontend code as well.univer.registerPlugin(UniverSheetsFormulaPlugin) +univer.registerPlugin(UniverSheetsFormulaUIPlugin)
@univerjs/sheets-data-validation
has been split into two plugins:@univerjs/sheets-data-validation
and@univerjs/sheets-data-validation-ui
. Please import@univerjs/sheets-data-validation-ui
into your frontend code as well. The configuration for@univerjs/sheets-data-validation
should also be moved to@univerjs/sheets-data-validation-ui
.univer.registerPlugin(UniverDataValidationPlugin) univer.registerPlugin(UniverSheetsDataValidationPlugin) +univer.registerPlugin(UniverSheetsDataValidationUIPlugin)
📝 Univer Docs
🔧 Improvements
🎢 Special Thanks
Special thanks to the following community members who have made outstanding contributions to this release:
📢 Join the Conversation
We welcome your input and insights as we embark on this exciting journey. Connect with us on:
📝 Changelog
Full changelog (2024-10-17)
Bug Fixes
Features
setOptions
on f-data-validation-builder (#3773) (4008c86)formulaBar
option (#3632) (d0a9f24)Performance Improvements
This discussion was created from the release 🎉 Release v0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions