diff --git a/CHANGELOG.md b/CHANGELOG.md index f81f4fa4..7694ae45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## [7.0.0](https://github.com/Doist/typist/compare/v6.0.11...v7.0.0) (2024-08-28) + +### ⚠ BREAKING CHANGES + +- Fix TypeScript types for the Suggestion plugin + `command` function (allowing for generic override). + +Although this was not causing any issues for us due to the convoluted +implementation, the same fix was recently applied to Tiptap, and this +aligns our suggestion factory function implementation with the original +one. Unfortunately, this comes as a breaking change (examples were also +updated to reflect the required changes). + +Additionally, other smaller TypeScript types were refactored for +consistency and clarity, but these are safe changes. + +### Code Refactoring + +- General improvements for TypeScript types ([#883](https://github.com/Doist/typist/issues/883)) ([b235eaf](https://github.com/Doist/typist/commit/b235eaf9506c5bf8ed0a94e863f9262b9735ad7e)) + ## [6.0.11](https://github.com/Doist/typist/compare/v6.0.10...v6.0.11) (2024-08-23) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 1200c38b..6abfb2c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@doist/typist", - "version": "6.0.11", + "version": "7.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@doist/typist", - "version": "6.0.11", + "version": "7.0.0", "license": "MIT", "dependencies": { "@tiptap/core": "2.6.6", diff --git a/package.json b/package.json index 076614e9..1d6c60db 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": "6.0.11", + "version": "7.0.0", "license": "MIT", "homepage": "https://typist.doist.dev/", "repository": "https://github.com/Doist/typist",