MyGit

v0.2.6

dream-num/univer

版本发布时间: 2024-08-02 16:47:27

dream-num/univer最新发布版本:v0.2.9(2024-08-23 19:56:49)

🎊 Univer@v0.2.6

Univer Banner

🚧 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!

🎉 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:

🐞 Bug Fixes

💔 Breaking Changes

  1. Install the following packages:
-pnpm add @univerjs-pro/sheets-exchange-client
+pnpm add @univerjs-pro/exchange-client @univerjs-pro/sheets-exchange-client
  1. Import the plugins:
-import '@univerjs-pro/sheets-exchange-client/lib/index.css';
+import '@univerjs-pro/exchange-client/lib/index.css';
  1. Add locale resources:
-import SheetsExchangeClientEnUS from '@univerjs-pro/sheets-exchange-client/locale/en-US';
+import ExchangeClientEnUS from '@univerjs-pro/exchange-client/locale/en-US';

const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
-     SheetsExchangeClientEnUS
+     ExchangeClientEnUS
    ),
  },
});
export class UniverXXXPlugin extends Plugin {
    static override type = UniverInstanceType.UNIVER_DOC;
    static override pluginName = PLUGIN_NAME;

    constructor(
        private _config: unknown,
        @Inject(Injector) protected override _injector: Injector
    ) {
        super();
    }

-    override onStarting(injector: Injector): void {
+    override onStarting(): void {
-        injector.add(dep);
+        this._injector.add(dep);
    }
}

📢 Join the Conversation

We welcome your input and insights as we embark on this exciting journey. Connect with us on:

📝 Changelog

Full changelog (2024-08-02)

Bug Fixes

Features

Performance Improvements

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-08-02发行的版本