diff --git a/.changeset/eleven-cycles-kneel.md b/.changeset/eleven-cycles-kneel.md deleted file mode 100644 index 551eea7b7b..0000000000 --- a/.changeset/eleven-cycles-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'slate-react': patch ---- - -Use extended `Editor` type in `useSlateWithV` return type diff --git a/.changeset/large-cars-itch.md b/.changeset/large-cars-itch.md deleted file mode 100644 index 059ffdc2cb..0000000000 --- a/.changeset/large-cars-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'slate': patch ---- - -Keep data in normalization when blocks are not allowed diff --git a/.changeset/serious-eels-pay.md b/.changeset/serious-eels-pay.md deleted file mode 100644 index 17cc7795ca..0000000000 --- a/.changeset/serious-eels-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'slate-react': patch ---- - -Fix ReactEditor.toDOMRange crash in setDomSelection diff --git a/.changeset/tiny-cheetahs-ring.md b/.changeset/tiny-cheetahs-ring.md deleted file mode 100644 index 25855593d5..0000000000 --- a/.changeset/tiny-cheetahs-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'slate': minor ---- - -Add `merge` optional function to decorations and change related type signatures to `DecoratedRange`. Now developers can specify how two decoration object with the same key but different value are merged together if they overlap" diff --git a/packages/slate-dom/package.json b/packages/slate-dom/package.json index 6146f5da63..3510c81481 100644 --- a/packages/slate-dom/package.json +++ b/packages/slate-dom/package.json @@ -29,7 +29,7 @@ "@types/jsdom": "^21.1.4", "@types/lodash": "^4.14.200", "@types/resize-observer-browser": "^0.1.8", - "slate": "^0.110.2", + "slate": "^0.112.0", "slate-hyperscript": "^0.100.0", "source-map-loader": "^4.0.1" }, diff --git a/packages/slate-history/package.json b/packages/slate-history/package.json index fbe61ea032..139561ab5d 100644 --- a/packages/slate-history/package.json +++ b/packages/slate-history/package.json @@ -19,7 +19,7 @@ "devDependencies": { "@babel/runtime": "^7.23.2", "lodash": "^4.17.21", - "slate": "^0.110.2", + "slate": "^0.112.0", "slate-hyperscript": "^0.100.0", "source-map-loader": "^4.0.1" }, diff --git a/packages/slate-hyperscript/package.json b/packages/slate-hyperscript/package.json index d61814bc7a..a556f33895 100644 --- a/packages/slate-hyperscript/package.json +++ b/packages/slate-hyperscript/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@babel/runtime": "^7.23.2", - "slate": "^0.110.2", + "slate": "^0.112.0", "source-map-loader": "^4.0.1" }, "peerDependencies": { diff --git a/packages/slate-react/CHANGELOG.md b/packages/slate-react/CHANGELOG.md index 0cf883149c..d689150cfa 100644 --- a/packages/slate-react/CHANGELOG.md +++ b/packages/slate-react/CHANGELOG.md @@ -1,5 +1,13 @@ # slate-react +## 0.112.0 + +### Patch Changes + +- [#5763](https://github.com/ianstormtaylor/slate/pull/5763) [`644ebdc8`](https://github.com/ianstormtaylor/slate/commit/644ebdc8f5f30878fb87dc8685f62e0636c23491) Thanks [@TyMick](https://github.com/TyMick)! - Use extended `Editor` type in `useSlateWithV` return type + +- [#5741](https://github.com/ianstormtaylor/slate/pull/5741) [`90fbcdef`](https://github.com/ianstormtaylor/slate/commit/90fbcdeff58d9b1f5de13102a1198f1c7244ae0c) Thanks [@AdrienPoupa](https://github.com/AdrienPoupa)! - Fix ReactEditor.toDOMRange crash in setDomSelection + ## 0.111.0 ### Minor Changes diff --git a/packages/slate-react/package.json b/packages/slate-react/package.json index 63613425bd..a04408e3d5 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.111.0", + "version": "0.112.0", "license": "MIT", "repository": "git://github.com/ianstormtaylor/slate.git", "main": "dist/index.js", @@ -34,7 +34,7 @@ "@types/resize-observer-browser": "^0.1.8", "react": "^18.2.0", "react-dom": "^18.2.0", - "slate": "^0.110.2", + "slate": "^0.112.0", "slate-dom": "^0.111.0", "slate-hyperscript": "^0.100.0", "source-map-loader": "^4.0.1" diff --git a/packages/slate/CHANGELOG.md b/packages/slate/CHANGELOG.md index bf5f4deef6..0fd2e6f0c9 100644 --- a/packages/slate/CHANGELOG.md +++ b/packages/slate/CHANGELOG.md @@ -1,5 +1,15 @@ # slate +## 0.112.0 + +### Minor Changes + +- [#5776](https://github.com/ianstormtaylor/slate/pull/5776) [`5a1c728c`](https://github.com/ianstormtaylor/slate/commit/5a1c728c62bcc6bafe60b9598946bb3adde21cdf) Thanks [@yf-yang](https://github.com/yf-yang)! - Add `merge` optional function to decorations and change related type signatures to `DecoratedRange`. Now developers can specify how two decoration object with the same key but different value are merged together if they overlap" + +### Patch Changes + +- [#5768](https://github.com/ianstormtaylor/slate/pull/5768) [`4bc552f7`](https://github.com/ianstormtaylor/slate/commit/4bc552f71ff75c4b7ad18386a65dabdd8b4e1bba) Thanks [@ahoisl](https://github.com/ahoisl)! - Keep data in normalization when blocks are not allowed + ## 0.110.2 ### Patch Changes diff --git a/packages/slate/package.json b/packages/slate/package.json index cb9395212a..e607b06c07 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.110.2", + "version": "0.112.0", "license": "MIT", "repository": "git://github.com/ianstormtaylor/slate.git", "main": "dist/index.js", diff --git a/yarn.lock b/yarn.lock index 8888dc116d..09e5db2e19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13274,7 +13274,7 @@ __metadata: is-plain-object: "npm:^5.0.0" lodash: "npm:^4.17.21" scroll-into-view-if-needed: "npm:^3.1.0" - slate: "npm:^0.110.2" + slate: "npm:^0.112.0" slate-hyperscript: "npm:^0.100.0" source-map-loader: "npm:^4.0.1" tiny-invariant: "npm:1.3.1" @@ -13290,7 +13290,7 @@ __metadata: "@babel/runtime": "npm:^7.23.2" is-plain-object: "npm:^5.0.0" lodash: "npm:^4.17.21" - slate: "npm:^0.110.2" + slate: "npm:^0.112.0" slate-hyperscript: "npm:^0.100.0" source-map-loader: "npm:^4.0.1" peerDependencies: @@ -13304,7 +13304,7 @@ __metadata: dependencies: "@babel/runtime": "npm:^7.23.2" is-plain-object: "npm:^5.0.0" - slate: "npm:^0.110.2" + slate: "npm:^0.112.0" source-map-loader: "npm:^4.0.1" peerDependencies: slate: ">=0.65.3" @@ -13415,7 +13415,7 @@ __metadata: react: "npm:^18.2.0" react-dom: "npm:^18.2.0" scroll-into-view-if-needed: "npm:^3.1.0" - slate: "npm:^0.110.2" + slate: "npm:^0.112.0" slate-dom: "npm:^0.111.0" slate-hyperscript: "npm:^0.100.0" source-map-loader: "npm:^4.0.1" @@ -13428,7 +13428,7 @@ __metadata: languageName: unknown linkType: soft -"slate@npm:^0.110.2, slate@workspace:*, slate@workspace:packages/slate": +"slate@npm:^0.112.0, slate@workspace:*, slate@workspace:packages/slate": version: 0.0.0-use.local resolution: "slate@workspace:packages/slate" dependencies: