MyGit

v0.2.0

dream-num/univer

版本发布时间: 2024-07-06 16:50:18

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

🎊 Univer@v0.2.0

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!

🆕 What's new

[!IMPORTANT]
The MVP version of Univer Doc is here! We are thrilled to announce the release of the MVP version of Univer Doc. Now, you can explore and utilize the document editing features with Univer. We welcome community members to test it out and share their feedback to help us refine and enhance the platform.

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

Improvements

docs-thread-comment

Our latest update introduces a docs thread comment feature, allowing you to comment on specific sections of a document.

  1. Install the following packages:
pnpm add @univerjs/docs-thread-comment-ui @univerjs/thread-comment @univerjs/thread-comment-ui
  1. Import the plugins:
import '@univerjs/docs-thread-comment-ui/lib/index.css';

import { UniverThreadCommentPlugin } from '@univerjs/thread-comment';
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui';
import { UniverDocsThreadCommentUIPlugin } from '@univerjs/docs-thread-comment-ui';
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import DocsThreadCommentUIEnUS from '@univerjs/docs-thread-comment-ui/locale/en-US';

const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
+     DocsThreadCommentUIEnUS
    ),
  },
});
  1. Register the plugin:
univer.registerPlugin(UniverThreadCommentPlugin);
univer.registerPlugin(UniverThreadCommentUIPlugin);
univer.registerPlugin(UniverDocsThreadCommentUIPlugin);

docs-hyper-link

Our latest update introduces a docs hyper link feature, allowing you to link to specific sections of a document.

  1. Install the following packages:
pnpm add @univerjs/docs-hyper-link @univerjs/docs-hyper-link-ui
  1. Import the plugins:
import '@univerjs/docs-hyper-link-ui/lib/index.css';

import { UniverDocsHyperLinkPlugin } from '@univerjs/docs-hyper-link';
import { UniverDocsHyperLinkUIPlugin } from '@univerjs/docs-hyper-link-ui';
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import UniverDocsHyperLinkUIEnUS from '@univerjs/docs-hyper-link-ui/locale/en-US';

const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
+     UniverDocsHyperLinkUIEnUS
    ),
  },
});
  1. Register the plugin:
univer.registerPlugin(UniverDocsHyperLinkPlugin);
univer.registerPlugin(UniverDocsHyperLinkUIPlugin);

🐞 Bug Fixes

💔 Breaking Changes

From v0.2.0, we have changed the package name of the conditional formatting plugin, developers need to modify the import path:

- import { SheetsConditionalFormattingPlugin } from '@univerjs/sheets-conditional-formatting'

+ import { UniverSheetsConditionalFormattingPlugin } from '@univerjs/sheets-conditional-formatting'

🎢 Special Thanks

Special thanks to the following contributors who have made this release possible:

📢 Join the Conversation

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

📝 Changelog

Full changelog (2024-07-06)

Bug Fixes

Features

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

查看:2024-07-06发行的版本