diff --git a/CHANGELOG.md b/CHANGELOG.md index 24e31d96..53c657f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## [3.0.0](https://github.com/Doist/typist/compare/v2.3.1...v3.0.0) (2024-01-18) + +### ⚠ BREAKING CHANGES + +- **extensions:** The `smartToggleBulletList` and + `smartToggleOrderedList` commands were renamed to have the same name as + the built-in toggle functions so that they can easily be used by the + default keyboard shortcuts without having to change the + `addKeyboardShortcuts` function. + +The `BulletList` and `OrderedList` extensions now take an additional +option, `smartToggle` (default: `false`), that indicates whether hard +breaks should be replaced by paragraphs before toggling the +selection into a bullet/ordered list, or not. + +### Features + +- **extensions:** Overwrite built-in List/Ordered toggle functions with a `smartToggle` option ([#620](https://github.com/Doist/typist/issues/620)) ([059da61](https://github.com/Doist/typist/commit/059da61605370f8a3534d3c7669acbc952ea40d3)) + ## [2.3.1](https://github.com/Doist/typist/compare/v2.3.0...v2.3.1) (2024-01-17) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 7daed2ef..ea0d35a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@doist/typist", - "version": "2.3.1", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@doist/typist", - "version": "2.3.1", + "version": "3.0.0", "license": "MIT", "dependencies": { "@tiptap/core": "2.1.13", diff --git a/package.json b/package.json index c67c4bb1..94992e46 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@doist/typist", "description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.", - "version": "2.3.1", + "version": "3.0.0", "license": "MIT", "homepage": "https://typist.doist.dev/", "repository": "https://github.com/Doist/typist",