UNPKG

@atlaskit/editor-plugin-history

Version:

History plugin for @atlaskit/editor-core

587 lines (340 loc) 13.2 kB
# @atlaskit/editor-plugin-history ## 19.0.0 ### Patch Changes - Updated dependencies ## 18.0.0 ### Patch Changes - Updated dependencies ## 17.1.0 ### Minor Changes - [`db3dc405020c5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db3dc405020c5) - Fix undo of a source synced block creation deleting the converted content (e.g. a table). Behind the `platform_editor_blocks_exp_patch_10` experiment, once the deletion is confirmed and persisted the undo is replayed against the live editor state instead of recomputing a whole-node delete, and a redo of the creation unwraps the block instead of deleting its content. `@atlaskit/editor-plugin-history` gains an `undo` `EditorCommand` that builds the next history undo onto a given transaction. EDITOR-8863 ### Patch Changes - Updated dependencies ## 17.0.0 ### Patch Changes - Updated dependencies ## 16.1.0 ### Minor Changes - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) - Remove stale API report artifacts from published Platform packages. ### Patch Changes - Updated dependencies ## 16.0.0 ### Patch Changes - Updated dependencies ## 15.0.1 ### Patch Changes - [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) - VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API changes. - Updated dependencies ## 15.0.0 ### Patch Changes - Updated dependencies ## 14.0.0 ### Patch Changes - Updated dependencies ## 13.0.0 ### Patch Changes - Updated dependencies ## 12.1.0 ### Minor Changes - [`51c33ef5349b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51c33ef5349b6) - Enable compatibility with React 19.2.0 ### Patch Changes - Updated dependencies ## 12.0.0 ### Major Changes - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ### Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**. Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist. Types are now exclusively via the `"types": "dist/types/index.d.ts"` property. ```diff - "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - }, ``` ### Patch Changes - Updated dependencies ## 11.0.0 ### Patch Changes - Updated dependencies ## 10.1.0 ### Minor Changes - [`acbb2aa5cc917`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/acbb2aa5cc917) - Autofix: add explicit package exports (barrel removal) ## 10.0.0 ### Patch Changes - Updated dependencies ## 9.0.0 ### Patch Changes - Updated dependencies ## 8.0.2 ### Patch Changes - [`3da5fc5ff18bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3da5fc5ff18bc) - Update README.md and 0-intro.tsx - Updated dependencies ## 8.0.1 ### Patch Changes - [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) - Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme` - Updated dependencies ## 8.0.0 ### Patch Changes - Updated dependencies ## 7.0.0 ### Patch Changes - Updated dependencies ## 6.1.2 ### Patch Changes - [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) - tsignores added for help-center local consumpton removed - Updated dependencies ## 6.1.1 ### Patch Changes - [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) - ts-ignore added temporarily to unblock local consumption for help-center, will be removed once project refs are setup - Updated dependencies ## 6.1.0 ### Minor Changes - [`cf00301977e5b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cf00301977e5b) - Adds new history slice API which can be used to group together transactions over a period so they can be undone at once. ### Patch Changes - Updated dependencies ## 6.0.0 ### Patch Changes - Updated dependencies ## 5.0.0 ### Patch Changes - Updated dependencies ## 4.0.0 ### Patch Changes - Updated dependencies ## 3.1.1 ### Patch Changes - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) - Sorted type and interface props to improve Atlaskit docs ## 3.1.0 ### Minor Changes - [#189314](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/189314) [`22c6251496010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22c6251496010) - Exported missing types that were already being inferred from existing exports ## 3.0.0 ### Major Changes - [#181024](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181024) [`8e80c487ca307`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e80c487ca307) - ## Make `@atlaskit/editor-common` a peer dependency **WHAT:** `@atlaskit/editor-common` has been moved from `dependencies` to `peerDependencies` in all editor plugin packages. **WHY:** This change ensures that only a single version of `@atlaskit/editor-common` is used in consuming applications, preventing issues caused by multiple versions of singleton libraries (such as context mismatches or duplicated state). This is especially important for packages that rely on shared context or singletons. **HOW TO ADJUST:** - Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use any of these editor plugins. - Ensure the version you install matches the version required by the plugins. - You can use the [`check-peer-dependencies`](https://www.npmjs.com/package/check-peer-dependencies) package to verify that all required peer dependencies are installed and compatible. - Example install command: ``` npm install @atlaskit/editor-common ``` or ``` yarn add @atlaskit/editor-common ``` **Note:** This is a breaking change. If `@atlaskit/editor-common` is not installed at the application level, you may see errors or unexpected behavior. ### Patch Changes - Updated dependencies ## 2.0.7 ### Patch Changes - Updated dependencies ## 2.0.6 ### Patch Changes - Updated dependencies ## 2.0.5 ### Patch Changes - Updated dependencies ## 2.0.4 ### Patch Changes - Updated dependencies ## 2.0.3 ### Patch Changes - Updated dependencies ## 2.0.2 ### Patch Changes - Updated dependencies ## 2.0.1 ### Patch Changes - Updated dependencies ## 2.0.0 ### Major Changes - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363) [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) - This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases. Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026 ### Patch Changes - Updated dependencies ## 1.5.0 ### Minor Changes - [#108583](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108583) [`2fce949f7105c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2fce949f7105c) - Add getDocBeforeUnconfirmedSteps and syncFromAnotherSource functions to @atlaskit/prosemirror-collab. Add updatePluginState action to historyPlugin. ### Patch Changes - Updated dependencies ## 1.4.0 ### Minor Changes - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322) [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) - Bumped editor-prosemirror version to 7.0.0 ### Patch Changes - Updated dependencies ## 1.3.15 ### Patch Changes - Updated dependencies ## 1.3.14 ### Patch Changes - Updated dependencies ## 1.3.13 ### Patch Changes - Updated dependencies ## 1.3.12 ### Patch Changes - [#176419](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176419) [`effc4757ea064`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/effc4757ea064) - updated history plugin to match EES003 ## 1.3.11 ### Patch Changes - Updated dependencies ## 1.3.10 ### Patch Changes - Updated dependencies ## 1.3.9 ### Patch Changes - [#155735](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155735) [`1beeeda29023a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1beeeda29023a) - Upgrades editor packages to react 18 ## 1.3.8 ### Patch Changes - Updated dependencies ## 1.3.7 ### Patch Changes - Updated dependencies ## 1.3.6 ### Patch Changes - Updated dependencies ## 1.3.5 ### Patch Changes - Updated dependencies ## 1.3.4 ### Patch Changes - Updated dependencies ## 1.3.3 ### Patch Changes - [#139334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139334) [`30793649657c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30793649657c0) - [HOT-111629] We had an incident where the last character disappears when hitting the enter key on windows OS for Korean characters. Bumping to prosemirror-view@1.34.2 for the fix. ## 1.3.2 ### Patch Changes - Updated dependencies ## 1.3.1 ### Patch Changes - Updated dependencies ## 1.3.0 ### Minor Changes - [#130825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130825) [`d8a00de5637ff`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8a00de5637ff) - ENGHEALTH-9890: Bumps React peer dependency for Lego editor plugins ## 1.2.1 ### Patch Changes - Updated dependencies ## 1.2.0 ### Minor Changes - [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209) [`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) - bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0 ### Patch Changes - Updated dependencies ## 1.1.9 ### Patch Changes - Updated dependencies ## 1.1.8 ### Patch Changes - Updated dependencies ## 1.1.7 ### Patch Changes - Updated dependencies ## 1.1.6 ### Patch Changes - Updated dependencies ## 1.1.5 ### Patch Changes - Updated dependencies ## 1.1.4 ### Patch Changes - Updated dependencies ## 1.1.3 ### Patch Changes - Updated dependencies ## 1.1.2 ### Patch Changes - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698) [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) - [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any language triggering composition on an empty line.This was fixed in a patch bump of prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5 ## 1.1.1 ### Patch Changes - Updated dependencies ## 1.1.0 ### Minor Changes - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934) [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) - bumped editor-prosemirror version to 4.0.0 ### Patch Changes - Updated dependencies ## 1.0.1 ### Patch Changes - Updated dependencies ## 1.0.0 ### Major Changes - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386) [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) - This changeset exists to bump all editor plugins that currently don't have a major version. This is to address an issue with Jira plugin consumption. ## 0.1.2 ### Patch Changes - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572) [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) - Upgrading @atlaskit/editor-prosemirror dependency ## 0.1.1 ### Patch Changes - Updated dependencies ## 0.1.0 ### Minor Changes - [#41770](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41770) [`0d7961fbb3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d7961fbb3b) - Extract History Plugin