Skip to content

Releases: dream-num/univer

🎉 Release v0.2.14

13 Sep 13:09
Compare
Choose a tag to compare

🎊 [email protected]

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!

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

  • Support for hyperlinks in rich text within cells #3322
  • Format painter now supports conditional formatting #3420
  • Added 7 new lookup and reference formula functions #3352
  • Introduced new formula functions: bycol, byrow, map, reduce, and scan #3320
  • Added 16 new mathematical formula functions #3381
  • Now supporting 319 formula functions, with a goal of 500+

🐞 Bug Fixes

  • Optimized scrolling performance when using filters with large datasets #3396
  • Permission errors no longer output to console #3363
  • Optimized behavior related to formula IDs #3339
  • Fixed issue where custom property was being overwritten as { __link_url: "" } #3434

💔 Breaking Changes

  • Refactored data-validation model #3383

📝 Univer Docs

💔 Breaking Changes

  • refactor of doc selections #3299
    • The TextSelectionManagerService service was renamed to DocSelectionManagerService.
    • Some of the APIs in the docs package were moved to the docs-ui package.
    • TextSelectionRenderManagerService is migrated to the docs-ui package, renamed to DocSelectionRenderService, and the IRenderModule interface is implemented.

📢 Join the Conversation

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

📝 Changelog

Full changelog (2024-09-13)

Bug Fixes

  • border auxiliary is unexpectedly cleared after the merge cell is hidden (#3358) (c11c324)
  • cell margin top is not right (#3382) (8b4027e)
  • cell value should adjust rich text & function (#3385) (ca628e1)
  • docs-drawing: drawing resource (#3410) (4f2b148)
  • docs-ui: editor focusing conflict when update content (#3423) (f2deabc)
  • formular: fix sheet maximum (#3384) (41affb7)
  • formula: update formula id (#3339) (1434966)
  • incorrectly quit autofill mode (#3390) (f0fc942)
  • render: fix the issue loop span many times (#3394) (f3d55f7)
  • sheet getRowVisible lags after filter (#3396) (cb2cf7e)
  • sheet: adjust move range old mutation not has fromRange property (#3361) (11748a5)
  • sheet: fix type error (#3401) (7ce40a5)
  • sheet: merge cell custom property (#3365) (880ef44)
  • sheets-ui: recover float-dom delete menu & focusing when zen-editor mount (#3426) (2bf1177)
  • sheet: the first style of span is not set is merge to true (#3398) (6def773)
  • sort: i18n error in sheet sort (#3419) (771eeb6)
  • the viewport size is too big after cancel filter rule, then viewport main is blank because graphic mem is full. (#3415) (f31cefd)
  • ui: prevent dropdown usage when menu bar is disabled (#3400) (5f2e9fa)
  • sheet: custom will overwrite the original value (#3431) (e1042d4)
  • sheets-ui: formula error when cross sub-sheet (#3436) (97ae314)

Features

  • action-recorder: add experimental action recorder plugin (#3386) (83238fa)
  • conditional-formatting: support formatting painter (#3420) (2b121d7)
  • doc-hyper-link: polyfill history data for doc hyper link (#3406) (5f2c2fe)
  • formula: add some lookup formulas (#3352) (5ab9c7d)
  • formula: add some math formulas (#3381) (e736b8a)
  • formula: bycol/byrow/map/reduce/scan (#3320) (85b9d90)
  • sheets-hyper-link-ui: sheet link support rich-text mode (#3322) (d19d224)
  • sheets-ui: optimize shortcut for comment & hyperlink editor (#3434) (9604020)

🎉 Release v0.2.12

07 Sep 12:03
Compare
Choose a tag to compare

🎊 [email protected]

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!

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

  • Added support to disable transform for floating elements by setting allowTransform to false when adding them to a worksheet. #3342
  • Added 3 new formula functions: ISFORMULA, N, and NA. #3304
  • Added new facade APIs supporting cell data retrieval (FRange.getValues), simplified merge operations, clipboard functionality, and selection management. #3344 #3289 #3216
  • Now supporting 291 formula functions, with a goal of 500+

🐞 Bug Fixes

  • Fixed scroll freezing issue when filtering large datasets by optimizing row visibility checks. #3319
  • Fixed errors in the UniScript panel for smooth typing and editing. #3350
  • Fixed permission-related rendering bugs. #3300
  • Other optimizations and fixes

💔 Breaking Changes

A new way to customize the menu

Refactored the menu service and configuration service (#3246).

The purpose is to prepare for the inability to specify menu sorting and to provide simplified registration of menus and more customization capabilities in the future.

Key differences:

  1. Service Change:
    • Before: Used IMenuService for menu management
    • After: Now uses IMenuManagerService

IMenuService will provide several versions of fallback compatibility for developers to migrate.

- @IMenuService private readonly _menuService: IMenuService,
+ @IMenuManagerService private readonly _menuMangerService: IMenuManagerService,
  1. Menu Registration:
    • Before: Added menu items individually using addMenuItem
    • After: Uses a new mergeMenu method to define the entire menu structure
- this.disposeWithMe(this._menuService.addMenuItem(this._injector.invoke(MenuItemFactory), {}));
+ this._menuMangerService.mergeMenu({
+     [RibbonStartGroup.OTHERS]: {
+         [MenuItemId]: {
+             order: 10,
+             menuItemFactory: MenuItemFactory
+         },
+         // ... other menu items
+     },
+     // ... other menu groups
+ });
  1. Menu Item Configuration:
    • Before: Included positions and group properties in menu item definitions
    • After: These properties are now defined in the menu item configuration within the mergeMenu method, rather than in the menu item definition itself
 return {
     id: MENU_ITEM_ID,
     type: MenuItemType.BUTTON,
     icon: 'IconName',
     tooltip: 'tooltipKey',
     title: 'titleKey',
-    group: MenuGroup.TOOLBAR_FORMULAS_INSERT,
-    positions: [MenuPosition.TOOLBAR_START, MenuPosition.CONTEXT_MENU],
 };

These changes provide a more centralized and structured approach to menu management. Univer plugin developers will need to update their menu registration code to align with this new structure.

📝 Univer Docs

  • Added support for line height settings in documents, allowing both fixed values and multiple line spacing options. #3176
  • Hyperlink refactor. #3148
  • Other optimizations and fixes

📢 Join the Conversation

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

📝 Changelog

Full changelog (2024-09-07)

Bug Fixes

  • auto-fill: change apply type will undo last commands (#3311) (391c523)
  • clipboard: copy will not use filtered-out rows content (#3292) (ec601c3)
  • conditional-formatting: init view model (#3349) (ad145f2)
  • conditional-formatting: render cache error (#3345) (e812441)
  • conditional-formatting: the maximum and minimum values are corre… (#3270) (5d41a9b)
  • crosshair: fix no plugin name for the plugin (19564c7)
  • design: popup style (#3325) (675933c)
  • detect row/col index in selection (#3348) (c9fef1b)
  • docs: link break in link (#3254) (ff17894)
  • drawing issues (#3245) (d848d33)
  • filter: filter range change error when remove rows/cols (#3324) (a70ef37)
  • filter: filter render controller should dispose its vars when unit disposed (#3340) (be7da80)
  • fix dependencies of telemetry (#3280) (965064e)
  • fix the sorting menu item display position (#3314) (3f18a4f)
  • fix threshold error handling (#3261) (1e1dde5)
  • fix uni menu (#3338) (af63f7d)
  • font rendering diffrange condition fix (#3264) (c920d53)
  • formula: bracket has more blank (#3331) (4900a3c)
  • formula: fix formula paste (#3257) (771f191)
  • formular: fix dependency performance issue (#3359) (f2f7f5b)
  • mobile selection did not drawing (#3312) (d1773ed)
  • permission: fix permission render bugs (#3300) (9751c0a)
  • selection type did not update when set type to normal(0) (#3317) (2909cf8)
  • sheet-data-validation: auto-format data validation non-standard date string & data-validation auto-fill (#3336) (fc3dc44)
  • sheets-drawing-ui: sheet-drawing error receive data from doc (#3337) (b8e6e42)
  • sheets-drawing-ui: sheet-drawing-import (#3277) (183b3e0)
  • sheets-formula: fix the issue of missing formula description list (#3323) (9d314ce)
  • sheets-ui: auto-fill will copy auto-height strategy from origin region (#3287) (04f156e)
  • sheets: skip remove-sheet on watch range if skipIntersects was se...
Read more

🎉 Release v0.2.11

31 Aug 03:46
Compare
Choose a tag to compare

🎊 [email protected]

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!

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

  • Added cross-highlighting plugin, which highlights the row and column of the selected cell when enabled
  1. Install the following packages:
pnpm add @univerjs/sheets-crosshair-highlight
  1. Import the plugins:
import '@univerjs/sheets-crosshair-highlight/lib/index.css';
 
import { UniverSheetsCrosshairHighlightPlugin } from '@univerjs/sheets-crosshair-highlight';
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core';
+import SheetsCrosshairHighlightZhCN from '@univerjs/sheets-crosshair-highlight/locale/zh-CN';
 
const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.ZH_CN,
  locales: {
    [LocaleType.ZH_CN]: Tools.deepMerge(
+      SheetsCrosshairHighlightZhCN 
    ),
  },
});
  1. Register the plugin:
univer.registerPlugin(UniverSheetsCrosshairHighlightPlugin);
  • Added 26 new financial formula functions #3137
  • Added 26 new engineering formula functions #3070
  • Added row and column operation Facade APIs #3163
  • Added comment and floating DOM Facade APIs #3200
  • Now supporting 288 formula functions, with a goal of 500+

🐞 Bug Fixes

  • Fixed abnormal issue when users of lower versions of React upgrade to 0.2.9 #3248
  • Fixed modifying selection range with shift+arrow keys when selected #3193
  • Fixed scrolling lag caused by incorrect destruction after import #3205
  • Fixed decimal place interaction #3195
  • Fixed number format to support percentage calculation display #3195
  • Fixed number format to skip null or undefined #3188
  • Fixed underline not displaying when bottom-aligned #3139
  • Fixed merged cell performance optimization #3187
  • Fixed inability to input dates in STOP mode #3237
  • Optimized formula calculation precision #3244

📝 Univer Docs

🐞 Bug Fixes

  • Fixed selection issues in tables and paragraphs #3170
  • Optimized table operations #3214 #3234
  • Improved copy and paste functionality #3233 #3227
  • Various other optimizations

🌐 Univer Server

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

  • Fixed the export failure issue, no need to configure the S3 address after deployment.
  • Optimizations for domestic developers' deployment:
    • Choose appropriate mirror addresses based on network conditions;
  • Improved the installation experience of one-click deployment scripts, including:
    • System checks before installation;
    • Service health checks after installation;
    • Installation guidance of Docker if not exists;
    • Simplified one-click deployment command: bash -c "$(curl -fsSL https://get.univer.ai)"

📢 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-30)

Bug Fixes

Read more

🎉 Release v0.2.9

23 Aug 11:56
Compare
Choose a tag to compare

🎊 [email protected]

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!

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

  • Added more Facade APIs related to permission protection #3132
  • Added more Facade APIs related to filter #3103
  • Added more Facade APIs related to pivot table
  • Added internationalization support for currency shortcuts #3062
  • Added rank/rank.avg/rank.eq sorting functions #3140
  • 236 formula functions are supported, with a goal of 500+

🐞 Bug Fixes

  • Fixed an issue with formula calculations #3114
  • Fixed an issue where imports were not displayed completely #3114
  • Fixed an issue with incorrect positioning of the floating DOM layer #3152
  • Fixed a timing issue during the initialization of conditional formatting #3142
  • Fixed an issue where custom menu items were hidden by default when hidden$ was not configured #3122
  • Fixed a date validator error when errorStyle=STOP was set in sheets data validation #3102

💔 Breaking Changes

  • The method to get workbook data has been updated. Also, FWorkbook.getSnapshot will be removed in the future, so please switch to the FWorkbook.save method. #3128

  • Some useless properties on snapshots are removed: houldStartRenderingImmediately, container, selections #3154

  • The package name for the pivot table plugin has been updated from @univerjs-pro/pivot-engine to @univerjs-pro/engine-pivot. Additionally, the default configuration options required by the plugin have been removed.

install the new package:

pnpm add @univerjs-pro/sheets-pivot @univerjs-pro/sheets-pivot-ui
- pnpm add @univerjs-pro/pivot-engine
+ pnpm add @univerjs-pro/engine-pivot

plugin registration:

-univer.registerPlugin(UniverSheetsPivotTablePlugin, {
-  notExecuteFormula: true,
-  registerInOneThread: true,
-})
+univer.registerPlugin(UniverSheetsPivotTablePlugin)
univer.registerPlugin(UniverSheetsPivotTableUIPlugin)

📝 Univer Docs

🐞 Bug Fixes

  • Fixed bugs in docs-ui / docs / docs-drawing-ui

📢 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-23)

Bug Fixes

  • conditional-formatting: initialization timing problem (#3142) (7d1c9d6)
  • crosshair: fix rendering controller (f697951)
  • debug currentSkeleton$ if param is null (#3164) (3283d61)
  • docs-ui: limit list maxLevel to 3 when in table & set line-through style on checklist (#3096) (9a62d77)
  • docs-ui: link & checklist can't work on header-footer (#3107) (106e7c4)
  • docs: disable some menu items when no selections (#3094) (07a24cb)
  • docs: find cursor by coods (#3143) (9998feb)
  • docs: line space between image and line (#3101) (32915ff)
  • docs: no need to scroll to selection when resize page (#3092) (9697d87)
  • fix issue where custom menu items are hidden by default when hidden$ is not configured (#3122) (701131d)
  • fix some permission bugs (#3037) (eb30bdc)
  • fix type error (983a323)
  • formula: array input (#3097) (774d09c)
  • formula: skip tree after add to formula run list (#3114) (a238ea9)
  • hyper-link ref-range error on filter (#3135) (014dd67)
  • permission: optimize permission calculation logic in dv (#2811) (d127e02)
  • ref selection expand after bottom line is over top line, and ref selection fill area(primary cell) and formula editor should clear when change sheet. (#3104) (e73fc3c)
  • selection render and insert char (#2982) (411d328)
  • sheet: defined name panel style (#2797) (23a581b)
  • sheet: mixin should not use class self (#3130) (1d7c3ab)
  • sheet: move function to a file and export (#3125) (8483725)
  • sheets-data-validation: data-validation absolute offset (#3091) (135e5c0)
  • sheets-data-validation: date validator error when errorStyle=STOP was set (#3102) (a5015c8)
  • sheets-drawing-ui: float-dom-layer position not correct on sheets and uni mode (#3152) (4e434b0)
  • sheets-ui: data-validation dropdown hidden when selection change (#3119) (b8bf3b1)

Features

Read more

🎉 Release v0.2.8

16 Aug 09:06
Compare
Choose a tag to compare

🎊 [email protected]

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!

📊 Univer Sheet

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

  • Add data validation facade API #3050
  • support dropdown filter for data validation #3057
  • add 28 financial formula functions #2868
  • add 28 engineering formula functions #2893
  • 233 formula functions are supported, with a goal of 500+

🐞 Bug Fixes

  • ensure state is correctly updated after modifying the hover image #3069
  • fix data validation paste #3057
  • permission protection focus judgment optimization #3081
  • fix error prompt that may occur when setting styles in some cases #3059
  • fix abnormal display of data validation dropdown date, multi-language display #3055 #3018

💔 Breaking Changes

  • Pivot table plugin registration configuration adjustment
univer.registerPlugin(UniverSheetsPivotTablePlugin, {
  notExecuteFormula: true,
-  isServer: true,
+  registerInOneThread: true,
})

📝 Univer Doc

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

  • Support docx file import
  1. Install the following packages:
pnpm add @univerjs-pro/exchange-client @univerjs-pro/docs-exchange-client
  1. Import the plugins:
import '@univerjs-pro/exchange-client/lib/index.css'

import { UniverExchangeClientPlugin } from '@univerjs-pro/exchange-client'
import { UniverDocsExchangeClientPlugin } from '@univerjs-pro/docs-exchange-client'
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import UniverExchangeClientEnUS from '@univerjs-pro/exchange-client/locale/en-US'

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

🌐 Univer Server

  • Support docx file import

📢 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-16)

Bug Fixes

  • add inputFormula$ (#3013) (c5ce261)
  • doc drawing load error on uni mode (#3033) (bd32e08)
  • docs-drawing-ui: doc drawing load error on uni mode (#3034) (ba4ce37)
  • docs: delete list between tables (#3041) (97842a0)
  • docs: delete paragraph break in table cell (#3077) (dc566fd)
  • doc: should not resize all internal editors except zen mode (#3005) (0cf5e2d)
  • docs: insert footer (#3058) (14469e5)
  • docs: line space (#3082) (f5dcea0)
  • editor: slide editor should use a different id from sheet cell editor (#3008) (b95d337)
  • export resetCahce from sheet-skeleton (#3087) (c400ab1)
  • filtered & hidden rows should not be calculated in statusbar (#3026) (803ced4)
  • fix permission initialization in multi-unit situation (#3019) (fd73710)
  • fix sheet editor life (fc08d5f)
  • formula: async formula (#3025) (aff2b29)
  • lint (#3088) (397e446)
  • permission: fix permission bugs 0815 (#3081) (870cd22)
  • sheet: add from & to range in moverange & clone the cellvalue (#3044) (bd91317)
  • sheet: pivot data spill (#3039) (bf697b6)
  • sheets-data-validation: date data validation format not work & optimize popup-service (#3018) (92dedd6)
  • sheets-data-validation: date dropdown display error on invalid value (#3055) (2e89983)
  • sheets-drawing-ui: export SheetsHyperLinkCopyPasteController for usage of pro (#3052) (dbf2101)
  • sheets-drawing: drawing on uni mode (#3009) (9644695)
  • sheets-drawing: sheet-drawing error depend on renderManagerService (#3030) (efc1702)
  • sheets-ui: watch-range error on move-range (#3060) (7430e84)
  • slide canvasview to slide render controller (#3032) (dbdd85c)
  • slide&sheet image component-name duplicated (#3012) (afe89d4)
  • slide: init cursor stage change listener really late (759ba75)
  • some ui problems in uni-mode (#3029) (19eb1dc)
  • spread operator with Math.min max cause Maximum call stack size … (#3059) (1e52972)
  • ui: move event bubbling prevention from "More" menu to button (#3031) (e07e0c8)
  • ui: optimize Menu component rendering and filtering logic (#3028) (9a19335)
  • uni drawing update (#3016) (607e400)
  • update drawing panel state at end of changing (#3069) (3a5635f)
  • worker not disposed...
Read more

🎉 Release v0.2.7

10 Aug 04:23
Compare
Choose a tag to compare

🎊 [email protected]

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:

  • pivot table (beta) and restoration from history in Univer Sheet
  • custom style lists, to-do lists, and table insertion in Univer Doc
  • commenting in both documents and spreadsheets
  • new server APIs for querying, document deletion, and USIP, and expands formula support to 176 with a goal of over 500 formulas.

Univer Sheet Supports Pivot Table(beta)

  1. Install the following packages:
pnpm add @univerjs-pro/pivot-engine @univerjs-pro/sheets-pivot @univerjs-pro/sheets-pivot-ui
  1. Import the plugins:
import '@univerjs-pro/sheets-pivot-ui/lib/index.css';

import { UniverSheetsPivotTablePlugin } from '@univerjs-pro/sheets-pivot'
import { UniverSheetsPivotTableUIPlugin } from '@univerjs-pro/sheets-pivot-ui'
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import UniverSheetsPivotEnUs from '@univerjs-pro/sheets-pivot/locale/en-US';
+ import UniverSheetsPivotUiEnUs from '@univerjs-pro/sheets-pivot-ui/locale/en-US';


const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
+      UniverSheetsPivotEnUs,
+      UniverSheetsPivotUiEnUs
    ),
  },
});
  1. Register the plugin:
// tip: Please note that the configs in the beta version are not stable, and be mindful of future updates.
univer.registerPlugin(UniverSheetsPivotTablePlugin, {
  notExecuteFormula: true,
  isServer: true,
})
univer.registerPlugin(UniverSheetsPivotTableUIPlugin)

Univer Sheet supports restoration from history.

To use this feature, please refer to the documentation and install version 0.2.7 of the Univer server first.

  1. Install the following packages:
pnpm add @univerjs-pro/edit-history-viewer @univerjs-pro/edit-history-loader
  1. Import the plugins:
import '@univerjs-pro/edit-history-viewer/lib/index.css'

import { UniverEditHistoryLoaderPlugin } from '@univerjs-pro/edit-history-loader'
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import EditHistoryViewerEnUS from '@univerjs-pro/edit-history-viewer/locale/en-US'


const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
+      EditHistoryViewerEnUS
    ),
  },
});
  1. Register the plugin:
// need equal to the univer container id, if not set, default is univer-container
const configService = univer.__getInjector().get(IConfigService);
configService.setConfig('UNIVER_CONTAINER_ID', `univer`)
univer.registerPlugin(UniverEditHistoryLoaderPlugin)

Univer Sheet supports comments

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

import { UniverSheetsThreadCommentPlugin } from '@univerjs/sheets-thread-comment'
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import UniverThreadCommentUiEnUs from '@univerjs/thread-comment-ui/locale/en-US';
+ import UniverSheetsThreadCommentEnUs from '@univerjs/sheets-thread-comment/locale/en-US';

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

Univer Doc supports comments

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

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

const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
+      UniverThreadCommentUiEnUs
    ),
  },
});
  1. Register the plugin:
univer.registerPlugin(UniverDocsThreadCommentUIPlugin);
  • Univer Doc supports custom styles for ordered and unordered lists, to-do lists, table insertion with nested content, and paragraph panel settings.

  • Univer Server adds document query API, document deletion API, and USIP API.

  • Formula expansion: Now supports 176 formulas with a target to support over 500 formulas.

For more information, please visit the official website documentation.

🐞 Bug Fixes

  • fix DataValidation config ui styles #2991
  • fix formula iseven and isodd #2920
  • fix formula sheet name uppercase bug #2908
  • fix data-validation ref-range error init form snapshot & support hyperlink target #2975
  • fix can not add custom formula #2915

🎢 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-08-10)

Bug Fixes

Read more

🎉 Release v0.2.6

02 Aug 08:47
Compare
Choose a tag to compare

🎊 [email protected]

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:

  • Added 4 text formulas, 1 math formulas, and 10 find reference formulas. (169/508 formulas supported) #2842
  • Support for custom number formats #2888
  • @univerjs-pro/sheets-print now supports screenshots, with a right-click menu option to copy as an image.

🐞 Bug Fixes

  • When destroying a Univer instance, leftover DOM from custom Vue3 components will be cleaned up #2892
  • Fix error occurring after input cancellation #2907

💔 Breaking Changes

  • Adjustments to the import and export plugin @univerjs-pro/sheets-exchange-client introduction
  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
    ),
  },
});
  • Plugin developers should be aware that the Injector parameter in onStarting will be deprecated in upcoming versions. Please transition to using class properties promptly #2903
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

  • doc: list update (#2862) (b045042)
  • docs-drawing: formula ts error & docs-drawing load error (#2879) (1182bee)
  • drawing: update (#2871) (1880552)
  • formula: fix formula parameter assignment (#2905) (8fb9655)
  • ref selection should call updateSelection after skelenton change (#2839) (d37f669)
  • sheet: fix expand range performance (#2882) (0de3488)
  • sheet: parse snapshot string (#2897) (f4fe38d)
  • ui: ensure container DOM is removed when destroying Vue 3 components (#2892) (5c38528)
  • unitId type error in handle editor invisible (#2907) (5e09017)
  • use new selectionData not workbook._worksheetSelections (#2909) (b597194)

Features

Performance Improvements

  • skip hidden row & col in sheet's extension drawing process (#2899) (5dcfaa3)

🎉 Release v0.2.5

26 Jul 07:15
Compare
Choose a tag to compare

🎊 [email protected]

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:

  • Univer Doc supports context menus and zooming #2830
  • Added 30+ math formulas, 7 date formulas, and 3 information formulas #2761 #2798
  • Optimized table scrolling #2779
  • Enhanced formula input experience #2772

🐞 Bug Fixes

  • Improved URL recognition #2845

💔 Breaking Changes

  • The Inject related imports from redi have been moved to @univerjs/core #2801

Before:

import type { Dependency } from '@wendellhu/redi';
import { Inject, Injector } from '@wendellhu/redi';

Now:

import type { Dependency } from '@univerjs/core';
import { Inject, Injector } from '@univerjs/core';

📢 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-26)

Bug Fixes

Features

🎉 Release v0.2.4

19 Jul 09:46
Compare
Choose a tag to compare

🎊 [email protected]

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:

  • Univer Doc supports headers and footers, as well as image insertion.

docs-drawing-ui

Allows you to insert images in Univer Doc.

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

import { UniverDocsDrawingUIPlugin } from '@univerjs/docs-drawing-ui';
  1. Add locale resources:
import { LocaleType, Tools } from '@univerjs/core'
+ import DocsDrawingUiEnUs from '@univerjs/docs-drawing-ui/locale/en-US';


const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
+     DocsDrawingUiEnUs
    ),
  },
});
  1. Register the plugin:
univer.registerPlugin(UniverDocsDrawingUIPlugin);
  • Added some date-related formulas #2729
  • Enhanced the ability to configure protection range pop-up #2603

🐞 Bug Fixes

  • FRange.generateHTML fix, copy-paste enhancement #2773

💔 Breaking Changes

  • Adjustments made to the unit property data structure in IParagraphStyle within IDocumentBody of Univer Doc #2760

🎢 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-19)

Bug Fixes

Features

🎉 Release v0.2.3

12 Jul 11:36
Compare
Choose a tag to compare

🎊 [email protected]

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:

  • Support for formula calculation pause #2661
  • Formula: added 6 more functions #2701
  • Added Traditional Chinese(zh-TW) and Vietnamese languages (vi-VN) #2694

🐞 Bug Fixes

  • Fixed document white screen bug #2704
  • Fixed internationalization display error in the UMD version date picker #2719
  • React 16 compatibility improvements #2739 #2755

🎢 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-12)

Bug Fixes

  • backspace in header and footer (#2704) (749b407)
  • docs-hyper-link: hyper link resource (#2732) (1b17ec5)
  • docs: fix blank screen (#2720) (fbed267)
  • failed to get scene in scroll render controller (#2737) (987c5d2)
  • fix replace content params options (c2bbaaf)
  • formula: len counts displayed value (#2702) (ce887b0)
  • load resource (#2752) (9606194)
  • sheet: keep text formatting when setting range value (#2711) (a1a3dbc)
  • sheets-hyper-link-ui: popup observable error on react16 (#2755) (f0edc5b)
  • tons of memory leak (#2754) (3f3dcff)
  • ui: fix issue where context menu item cannot be selected in React 16 (#2739) (d971be9)
  • umd: fix issue with datepicker localization not working in UMD bundle (#2719) (962e057)

Features

Reverts

  • "chore: image menu show on insert position" (#2714) (2965f28)