# @atlaskit/prosemirror-history

## 1.3.0

### Minor Changes

- [`06360d6f00779`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/06360d6f00779) -
  Add a document-guarded history checkpoint subpath for restoring pre-session undo and redo history.

## 1.2.2

### Patch Changes

- Updated dependencies

## 1.2.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.

## 1.2.0

### Minor Changes

- [`3b2f9c185d4b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3b2f9c185d4b6) -
  Imports from the package root are deprecated and will be removed in a future release. Migrate to
  dedicated entry-point imports to reduce upgrade friction:
  - `@atlaskit/prosemirror-history/closeHistory`
  - `@atlaskit/prosemirror-history/history`
  - `@atlaskit/prosemirror-history/undo`
  - `@atlaskit/prosemirror-history/redo`
  - `@atlaskit/prosemirror-history/undoNoScroll`
  - `@atlaskit/prosemirror-history/redoNoScroll`
  - `@atlaskit/prosemirror-history/undoDepth`
  - `@atlaskit/prosemirror-history/redoDepth`

## 1.1.0

### Minor Changes

- [`51c33ef5349b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51c33ef5349b6) -
  Enable compatibility with React 19.2.0

## 1.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

## 0.2.7

### Patch Changes

- [`1fd2b267eb592`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1fd2b267eb592) -
  Cleanup `platform_editor_ai_aifc_patch_ga` flag

## 0.2.6

### Patch Changes

- [`c7ffaaf8ea609`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c7ffaaf8ea609) -
  Cleaned up undo-redo FG since chnages should be only used when the history mark metadata is
  applied to transactions and is only used in streaming

## 0.2.5

### Patch Changes

- [`df991f927a9e8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df991f927a9e8) -
  Fix undo for majority of non-collab cases for history slices

## 0.2.4

### Patch Changes

- [`c60de47015108`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c60de47015108) -
  Fix types for editor related dependencies

## 0.2.3

### Patch Changes

- [`34d352d2bcb95`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/34d352d2bcb95) -
  EDITOR-2445 Gracefully handle errors in createTransformFromSteps

## 0.2.2

### Patch Changes

- [`e947a9d9c57f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e947a9d9c57f0) -
  [fix] Resets redo history when starting a new history slice

## 0.2.1

### Patch 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.

## 0.2.0

### Minor Changes

- [`0ac75e0d28c72`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ac75e0d28c72) -
  Migrate @atlaskit/editor-prosemirror/history to @atlaskit/prosemirror-history package
