diff --git a/.changeset/angry-files-kick.md b/.changeset/angry-files-kick.md deleted file mode 100644 index c687a9635..000000000 --- a/.changeset/angry-files-kick.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'slate-react': minor ---- - -- Introduces a `useSlateSelection` hook that triggers whenever the selection changes. -- This also changes the implementation of SlateContext to use an incrementing value instead of an array replace to trigger updates -- Introduces a `useSlateWithV` hook that includes the version counter which can be used to prevent re-renders diff --git a/.changeset/fresh-taxis-itch.md b/.changeset/fresh-taxis-itch.md deleted file mode 100644 index 576262756..000000000 --- a/.changeset/fresh-taxis-itch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'slate-react': minor -'slate': patch ---- - -Android input handling rewrite, replace composition insert prefixes with decoration based mark placeholders diff --git a/packages/slate-history/package.json b/packages/slate-history/package.json index b4fd6f45a..b706a4ef4 100644 --- a/packages/slate-history/package.json +++ b/packages/slate-history/package.json @@ -19,7 +19,7 @@ "devDependencies": { "@babel/runtime": "^7.7.4", "lodash": "^4.17.21", - "slate": "^0.81.3", + "slate": "^0.82.0", "slate-hyperscript": "^0.81.3", "source-map-loader": "^4.0.0" }, diff --git a/packages/slate-hyperscript/package.json b/packages/slate-hyperscript/package.json index 8e7bf8b17..3a7e93aab 100644 --- a/packages/slate-hyperscript/package.json +++ b/packages/slate-hyperscript/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@babel/runtime": "^7.7.4", - "slate": "^0.81.3", + "slate": "^0.82.0", "source-map-loader": "^4.0.0" }, "peerDependencies": { diff --git a/packages/slate-react/CHANGELOG.md b/packages/slate-react/CHANGELOG.md index b662c63f9..f0f17e41d 100644 --- a/packages/slate-react/CHANGELOG.md +++ b/packages/slate-react/CHANGELOG.md @@ -1,5 +1,15 @@ # slate-react +## 0.82.0 + +### Minor Changes + +- [#5041](https://github.com/ianstormtaylor/slate/pull/5041) [`9bc0b613`](https://github.com/ianstormtaylor/slate/commit/9bc0b6132aa288a37ae9a85d0e59a9d5a75ebdd7) Thanks [@bryanph](https://github.com/bryanph)! - - Introduces a `useSlateSelection` hook that triggers whenever the selection changes. + - This also changes the implementation of SlateContext to use an incrementing value instead of an array replace to trigger updates + - Introduces a `useSlateWithV` hook that includes the version counter which can be used to prevent re-renders + +* [#4988](https://github.com/ianstormtaylor/slate/pull/4988) [`fbab6331`](https://github.com/ianstormtaylor/slate/commit/fbab6331a5ecebd9e98c6c8c87d6f4b3b7c43bd0) Thanks [@BitPhinix](https://github.com/BitPhinix)! - Android input handling rewrite, replace composition insert prefixes with decoration based mark placeholders + ## 0.81.3 ### Patch Changes diff --git a/packages/slate-react/package.json b/packages/slate-react/package.json index 9b88f2bac..d71ad5ec3 100644 --- a/packages/slate-react/package.json +++ b/packages/slate-react/package.json @@ -1,7 +1,7 @@ { "name": "slate-react", "description": "Tools for building completely customizable richtext editors with React.", - "version": "0.81.3", + "version": "0.82.0", "license": "MIT", "repository": "git://github.com/ianstormtaylor/slate.git", "main": "dist/index.js", @@ -33,7 +33,7 @@ "react": ">=16.8.0", "react-dom": ">=16.8.0", "react-test-renderer": ">=16.8.0", - "slate": "^0.81.3", + "slate": "^0.82.0", "slate-hyperscript": "^0.81.3", "source-map-loader": "^4.0.0" }, diff --git a/packages/slate/CHANGELOG.md b/packages/slate/CHANGELOG.md index e74c8ce7b..35a55808d 100644 --- a/packages/slate/CHANGELOG.md +++ b/packages/slate/CHANGELOG.md @@ -1,5 +1,11 @@ # slate +## 0.82.0 + +### Patch Changes + +- [#4988](https://github.com/ianstormtaylor/slate/pull/4988) [`fbab6331`](https://github.com/ianstormtaylor/slate/commit/fbab6331a5ecebd9e98c6c8c87d6f4b3b7c43bd0) Thanks [@BitPhinix](https://github.com/BitPhinix)! - Android input handling rewrite, replace composition insert prefixes with decoration based mark placeholders + ## 0.81.3 ### Patch Changes diff --git a/packages/slate/package.json b/packages/slate/package.json index ac06aef11..00a1d1771 100644 --- a/packages/slate/package.json +++ b/packages/slate/package.json @@ -1,7 +1,7 @@ { "name": "slate", "description": "A completely customizable framework for building rich text editors.", - "version": "0.81.3", + "version": "0.82.0", "license": "MIT", "repository": "git://github.com/ianstormtaylor/slate.git", "main": "dist/index.js", diff --git a/yarn.lock b/yarn.lock index b5b910391..1a1815b5a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14115,7 +14115,7 @@ resolve@^2.0.0-next.3: "@babel/runtime": ^7.7.4 is-plain-object: ^5.0.0 lodash: ^4.17.21 - slate: ^0.81.3 + slate: ^0.82.0 slate-hyperscript: ^0.81.3 source-map-loader: ^4.0.0 peerDependencies: @@ -14129,7 +14129,7 @@ resolve@^2.0.0-next.3: dependencies: "@babel/runtime": ^7.7.4 is-plain-object: ^5.0.0 - slate: ^0.81.3 + slate: ^0.82.0 source-map-loader: ^4.0.0 peerDependencies: slate: ">=0.65.3" @@ -14236,7 +14236,7 @@ resolve@^2.0.0-next.3: react-dom: ">=16.8.0" react-test-renderer: ">=16.8.0" scroll-into-view-if-needed: ^2.2.20 - slate: ^0.81.3 + slate: ^0.82.0 slate-hyperscript: ^0.81.3 source-map-loader: ^4.0.0 tiny-invariant: 1.0.6 @@ -14247,7 +14247,7 @@ resolve@^2.0.0-next.3: languageName: unknown linkType: soft -"slate@^0.81.3, slate@workspace:*, slate@workspace:packages/slate": +"slate@^0.82.0, slate@workspace:*, slate@workspace:packages/slate": version: 0.0.0-use.local resolution: "slate@workspace:packages/slate" dependencies: