Skip to main content

Changelog

The list of changes for ONLYOFFICE Apps Plugins SDK.

Version 3.0​

For migration instructions, see Updating a plugin to SDK 3.0.0.

  • Added IArticleNavigationPlugin and IArticleNavigationItem to embed first-class navigation items in the article sidebar.
  • Added the Section enum for the appears property of article navigation items.
  • Added the component property to IInfoPanelItem, IArticleButtonItem, IMediaViewer, and ISettings, and dialogBodyComponent to IModalDialog, so a React component can be passed instead of a declarative IBox tree. See React components.
  • Added the @onlyoffice/docspace-plugin-sdk/react hooks: usePluginAPI, usePluginActions, usePluginSettings, useCurrentFile, useCurrentUser, and usePluginRuntime.
  • Added PluginAPIClient (via usePluginAPI) for authenticated HTTP requests to the portal, and PluginApiError / isPluginApiError for failed requests.
  • Deprecated body in IInfoPanelItem and IArticleButtonItem, settings in ISettings, content in IMediaViewer, and dialogBody / dialogFooter in IModalDialog. Use component (dialogBodyComponent in IModalDialog) instead.
  • Deprecated onLoad on those items and components. Load data with useEffect inside the React component.
  • Replaced Webpack with Vite in the plugin template and build process.
  • Raised minDocSpaceVersion to "4.0.0". Plugins built with SDK 3.0.0 require ONLYOFFICE Apps 4.0.0 or later.

Version 2.1.1​

  • Added markdown documentation generation with TypeDoc
  • Added LLM instructions for DocSpace Plugin SDK development

Version 2.1.0​

Version 2.0​

  • Separated file security into a new FilesSecurity enum.
  • Added the fileSecurity and security properties to IFileItem.
  • Added the withoutBodyPadding and withoutHeaderMargin properties to IModalDialog.
  • Added the updateCreateDialogModal action to Actions.
  • Added the isAutoFocusOnError, errorText, onError, onChange, isCloseAfterCreate, and isCreateDisabled properties to ICreateDialog.
  • Added the itemSecurity property to IContextMenuItem.