diff --git a/.changeset/remove-change-observable.md b/.changeset/remove-change-observable.md deleted file mode 100644 index d23f9a976..000000000 --- a/.changeset/remove-change-observable.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -'@portabletext/editor': major ---- - -feat!: remove `change$` observable and `rxjs` dependency - -The `PortableTextEditor.change$` observable isn't used internally anymore. It's -purely a legacy public API that allows consumers to read editor changes/events -through an Observable rather than through the ordinary subscription API. This -does not justify declaring `rxjs` as a peer dependency of PTE and therefore -this commit removes the `change$` Observable along with the `rxjs` dependency. - -BREAKING CHANGES: -- Removed `PortableTextEditor.change$` property -- Removed `EditorChanges` type export (`Subject`) -- Removed `PatchObservable` type export (`Observable<...>`) -- Removed `rxjs` from peerDependencies - -Migration: Replace `change$.subscribe()` with `editor.on()` or -``. Every active `EditorChange` type -has a 1:1 equivalent in the new event API. - -What's preserved: -- `PortableTextEditor` class (separate deprecation path) -- All static methods and `schemaTypes` property - -### Migration - -Replace `change$.subscribe()` with `editor.on()` or ``: - -**Before (rxjs):** - -```tsx -import {usePortableTextEditor} from '@portabletext/editor' - -const editor = usePortableTextEditor() - -useEffect(() => { - const sub = editor.change$.subscribe((change) => { - if (change.type === 'mutation') { - // ... - } - }) - return () => sub.unsubscribe() -}, [editor]) -``` - -**After (editor.on):** - -```tsx -import {useEditor} from '@portabletext/editor' - -const editor = useEditor() - -useEffect(() => { - const unsubscribe = editor.on('mutation', (event) => { - // ... - }) - return unsubscribe -}, [editor]) -``` - -**After (EventListenerPlugin):** - -```tsx -import {EventListenerPlugin} from '@portabletext/editor/plugins' - - { - if (event.type === 'mutation') { - // ... - } - }} -/> -``` - -Every active `EditorChange` type has a 1:1 equivalent in the new event API. See the [event listener documentation](https://www.portabletext.org/reference/event-listener-plugin/) for details. diff --git a/.changeset/remove-editor-change.md b/.changeset/remove-editor-change.md deleted file mode 100644 index 02bbd7e0e..000000000 --- a/.changeset/remove-editor-change.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@portabletext/editor': major ---- - -feat!: remove `EditorChange` type - -The `EditorChange` type and its variant types (`BlurChange`, `ConnectionChange`, `LoadingChange`, `MutationChange`) have been removed. `EditorChange` was the event type emitted by the removed `PortableTextEditor` React component and consumed by the `onChange` callback on the `PortableTextEditor` class. - -Use `editor.on()` instead: `editor.on('value changed', ...)`, `editor.on('focused', ...)`, `editor.on('blurred', ...)`, `editor.on('selection', ...)`. diff --git a/.changeset/remove-sanity-dependencies.md b/.changeset/remove-sanity-dependencies.md deleted file mode 100644 index 4d35580ce..000000000 --- a/.changeset/remove-sanity-dependencies.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@portabletext/editor': major ---- - -feat!: remove `@sanity/*` dependencies - -BREAKING CHANGES: - -- `EditorConfig` no longer accepts `schema` — use `schemaDefinition` instead -- `PortableTextMemberSchemaTypes` removed from exports (available from `@portabletext/sanity-bridge`) -- `PasteData.schemaTypes` type changed from `PortableTextMemberSchemaTypes` to `EditorSchema` -- Render prop `schemaType` fields now use PTE schema types (`BlockObjectSchemaType`, `InlineObjectSchemaType`, `AnnotationSchemaType`, `DecoratorSchemaType`, `ListSchemaType`, `StyleSchemaType`) instead of Sanity types (`ObjectSchemaType`, `BlockDecoratorDefinition`, `BlockListDefinition`, `BlockStyleDefinition`) -- Deprecated `type` prop removed from `BlockRenderProps`, `BlockChildRenderProps`, `BlockAnnotationRenderProps`, and `BlockDecoratorRenderProps` diff --git a/.changeset/remove-unused-type-exports.md b/.changeset/remove-unused-type-exports.md deleted file mode 100644 index 4cf195fb3..000000000 --- a/.changeset/remove-unused-type-exports.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@portabletext/editor': major ---- - -feat!: remove `EditableAPI` and `OnBeforeInputFn` type exports - -`EditableAPI` is an internal interface backing the `PortableTextEditor` static methods, never intended for public use. It was accidentally exported to fix typedoc resolution. `OnBeforeInputFn` was the callback type for the `onBeforeInput` prop, which has since been removed. - -The static methods on `PortableTextEditor` still work as before. Only the type exports are removed. diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index 9e3c2b213..68dfd1b5e 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,5 +1,104 @@ # Changelog +## 6.0.0 + +### Major Changes + +- [#2184](https://github.com/portabletext/editor/pull/2184) [`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95) Thanks [@christianhg](https://github.com/christianhg)! - feat!: remove `change$` observable and `rxjs` dependency + + The `PortableTextEditor.change$` observable isn't used internally anymore. It's + purely a legacy public API that allows consumers to read editor changes/events + through an Observable rather than through the ordinary subscription API. This + does not justify declaring `rxjs` as a peer dependency of PTE and therefore + this commit removes the `change$` Observable along with the `rxjs` dependency. + + BREAKING CHANGES: + - Removed `PortableTextEditor.change$` property + - Removed `EditorChanges` type export (`Subject`) + - Removed `PatchObservable` type export (`Observable<...>`) + - Removed `rxjs` from peerDependencies + + Migration: Replace `change$.subscribe()` with `editor.on()` or + ``. Every active `EditorChange` type + has a 1:1 equivalent in the new event API. + + What's preserved: + - `PortableTextEditor` class (separate deprecation path) + - All static methods and `schemaTypes` property + + ### Migration + + Replace `change$.subscribe()` with `editor.on()` or ``: + + **Before (rxjs):** + + ```tsx + import {usePortableTextEditor} from '@portabletext/editor' + + const editor = usePortableTextEditor() + + useEffect(() => { + const sub = editor.change$.subscribe((change) => { + if (change.type === 'mutation') { + // ... + } + }) + return () => sub.unsubscribe() + }, [editor]) + ``` + + **After (editor.on):** + + ```tsx + import {useEditor} from '@portabletext/editor' + + const editor = useEditor() + + useEffect(() => { + const unsubscribe = editor.on('mutation', (event) => { + // ... + }) + return unsubscribe + }, [editor]) + ``` + + **After (EventListenerPlugin):** + + ```tsx + import {EventListenerPlugin} from '@portabletext/editor/plugins' + + ; { + if (event.type === 'mutation') { + // ... + } + }} + /> + ``` + + Every active `EditorChange` type has a 1:1 equivalent in the new event API. See the [event listener documentation](https://www.portabletext.org/reference/event-listener-plugin/) for details. + +- [#2244](https://github.com/portabletext/editor/pull/2244) [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942) Thanks [@christianhg](https://github.com/christianhg)! - feat!: remove `EditorChange` type + + The `EditorChange` type and its variant types (`BlurChange`, `ConnectionChange`, `LoadingChange`, `MutationChange`) have been removed. `EditorChange` was the event type emitted by the removed `PortableTextEditor` React component and consumed by the `onChange` callback on the `PortableTextEditor` class. + + Use `editor.on()` instead: `editor.on('value changed', ...)`, `editor.on('focused', ...)`, `editor.on('blurred', ...)`, `editor.on('selection', ...)`. + +- [#2136](https://github.com/portabletext/editor/pull/2136) [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642) Thanks [@christianhg](https://github.com/christianhg)! - feat!: remove `@sanity/*` dependencies + + BREAKING CHANGES: + - `EditorConfig` no longer accepts `schema` — use `schemaDefinition` instead + - `PortableTextMemberSchemaTypes` removed from exports (available from `@portabletext/sanity-bridge`) + - `PasteData.schemaTypes` type changed from `PortableTextMemberSchemaTypes` to `EditorSchema` + - Render prop `schemaType` fields now use PTE schema types (`BlockObjectSchemaType`, `InlineObjectSchemaType`, `AnnotationSchemaType`, `DecoratorSchemaType`, `ListSchemaType`, `StyleSchemaType`) instead of Sanity types (`ObjectSchemaType`, `BlockDecoratorDefinition`, `BlockListDefinition`, `BlockStyleDefinition`) + - Deprecated `type` prop removed from `BlockRenderProps`, `BlockChildRenderProps`, `BlockAnnotationRenderProps`, and `BlockDecoratorRenderProps` + +- [#2245](https://github.com/portabletext/editor/pull/2245) [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e) Thanks [@christianhg](https://github.com/christianhg)! - feat!: remove `EditableAPI` and `OnBeforeInputFn` type exports + + `EditableAPI` is an internal interface backing the `PortableTextEditor` static methods, never intended for public use. It was accidentally exported to fix typedoc resolution. `OnBeforeInputFn` was the callback type for the `onBeforeInput` prop, which has since been removed. + + The static methods on `PortableTextEditor` still work as before. Only the type exports are removed. + ## 5.1.1 ### Patch Changes diff --git a/packages/editor/package.json b/packages/editor/package.json index b4ebbfdf5..7c38d1ef3 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/editor", - "version": "5.1.1", + "version": "6.0.0", "description": "Portable Text Editor made in React", "keywords": [ "sanity", diff --git a/packages/plugin-character-pair-decorator/CHANGELOG.md b/packages/plugin-character-pair-decorator/CHANGELOG.md index d98712f90..ec7e32bdb 100644 --- a/packages/plugin-character-pair-decorator/CHANGELOG.md +++ b/packages/plugin-character-pair-decorator/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + ## 6.0.6 ### Patch Changes diff --git a/packages/plugin-character-pair-decorator/package.json b/packages/plugin-character-pair-decorator/package.json index 903409900..5142d0403 100644 --- a/packages/plugin-character-pair-decorator/package.json +++ b/packages/plugin-character-pair-decorator/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-character-pair-decorator", - "version": "6.0.6", + "version": "7.0.0", "description": "Automatically match a pair of characters and decorate the text in between", "keywords": [ "portabletext", diff --git a/packages/plugin-emoji-picker/CHANGELOG.md b/packages/plugin-emoji-picker/CHANGELOG.md index bbc2151fc..2cc5e7f29 100644 --- a/packages/plugin-emoji-picker/CHANGELOG.md +++ b/packages/plugin-emoji-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-emoji-picker +## 6.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + - @portabletext/plugin-input-rule@4.0.0 + ## 5.0.6 ### Patch Changes diff --git a/packages/plugin-emoji-picker/package.json b/packages/plugin-emoji-picker/package.json index 14dc10ba8..fe484366d 100644 --- a/packages/plugin-emoji-picker/package.json +++ b/packages/plugin-emoji-picker/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-emoji-picker", - "version": "5.0.6", + "version": "6.0.0", "description": "Easily configure an Emoji Picker for the Portable Text Editor", "keywords": [ "portabletext", @@ -77,7 +77,7 @@ "vitest": "^4.0.18" }, "peerDependencies": { - "@portabletext/editor": "workspace:^5.1.1", + "@portabletext/editor": "workspace:^6.0.0", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-input-rule/CHANGELOG.md b/packages/plugin-input-rule/CHANGELOG.md index 15a8ade3f..2318d60f0 100644 --- a/packages/plugin-input-rule/CHANGELOG.md +++ b/packages/plugin-input-rule/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-input-rule +## 4.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + ## 3.0.6 ### Patch Changes diff --git a/packages/plugin-input-rule/package.json b/packages/plugin-input-rule/package.json index bb5c752c5..9ebd74a96 100644 --- a/packages/plugin-input-rule/package.json +++ b/packages/plugin-input-rule/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-input-rule", - "version": "3.0.6", + "version": "4.0.0", "description": "Easily configure input rules in the Portable Text Editor", "keywords": [ "portabletext", @@ -75,7 +75,7 @@ "vitest": "^4.0.18" }, "peerDependencies": { - "@portabletext/editor": "workspace:^5.1.1", + "@portabletext/editor": "workspace:^6.0.0", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-markdown-shortcuts/CHANGELOG.md b/packages/plugin-markdown-shortcuts/CHANGELOG.md index 5efdc1087..3fc28c120 100644 --- a/packages/plugin-markdown-shortcuts/CHANGELOG.md +++ b/packages/plugin-markdown-shortcuts/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 7.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + - @portabletext/plugin-character-pair-decorator@7.0.0 + - @portabletext/plugin-input-rule@4.0.0 + ## 6.0.6 ### Patch Changes diff --git a/packages/plugin-markdown-shortcuts/package.json b/packages/plugin-markdown-shortcuts/package.json index 466dc9a56..446cd21c4 100644 --- a/packages/plugin-markdown-shortcuts/package.json +++ b/packages/plugin-markdown-shortcuts/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-markdown-shortcuts", - "version": "6.0.6", + "version": "7.0.0", "description": "Adds helpful Markdown shortcuts to the editor", "keywords": [ "portabletext", diff --git a/packages/plugin-one-line/CHANGELOG.md b/packages/plugin-one-line/CHANGELOG.md index c2794a0c4..bb4a2ef2f 100644 --- a/packages/plugin-one-line/CHANGELOG.md +++ b/packages/plugin-one-line/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 6.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + ## 5.0.6 ### Patch Changes diff --git a/packages/plugin-one-line/package.json b/packages/plugin-one-line/package.json index be47c907e..b5b0eca17 100644 --- a/packages/plugin-one-line/package.json +++ b/packages/plugin-one-line/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-one-line", - "version": "5.0.6", + "version": "6.0.0", "description": "🤏 Restricts the Portable Text Editor to a single line", "keywords": [ "portabletext", diff --git a/packages/plugin-paste-link/CHANGELOG.md b/packages/plugin-paste-link/CHANGELOG.md index f0cd4739e..08cc973a8 100644 --- a/packages/plugin-paste-link/CHANGELOG.md +++ b/packages/plugin-paste-link/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-paste-link +## 3.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + ## 2.0.6 ### Patch Changes diff --git a/packages/plugin-paste-link/package.json b/packages/plugin-paste-link/package.json index e9efc56ef..722e4b4ad 100644 --- a/packages/plugin-paste-link/package.json +++ b/packages/plugin-paste-link/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-paste-link", - "version": "2.0.6", + "version": "3.0.0", "description": "Allows pasting links in the Portable Text Editor", "keywords": [ "portabletext", diff --git a/packages/plugin-sdk-value/CHANGELOG.md b/packages/plugin-sdk-value/CHANGELOG.md index 0865ff56a..b5576c73e 100644 --- a/packages/plugin-sdk-value/CHANGELOG.md +++ b/packages/plugin-sdk-value/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 6.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + ## 5.0.8 ### Patch Changes diff --git a/packages/plugin-sdk-value/package.json b/packages/plugin-sdk-value/package.json index 9bb00461d..36e72af85 100644 --- a/packages/plugin-sdk-value/package.json +++ b/packages/plugin-sdk-value/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-sdk-value", - "version": "5.0.8", + "version": "6.0.0", "description": "Synchronizes the Portable Text Editor value with the Sanity SDK, allowing for two-way editing.", "keywords": [ "portabletext", diff --git a/packages/plugin-typeahead-picker/CHANGELOG.md b/packages/plugin-typeahead-picker/CHANGELOG.md index b18e248b0..30bc69d4f 100644 --- a/packages/plugin-typeahead-picker/CHANGELOG.md +++ b/packages/plugin-typeahead-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-typeahead-picker +## 5.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + - @portabletext/plugin-input-rule@4.0.0 + ## 4.0.6 ### Patch Changes diff --git a/packages/plugin-typeahead-picker/package.json b/packages/plugin-typeahead-picker/package.json index e2cd80d56..b09f7c15e 100644 --- a/packages/plugin-typeahead-picker/package.json +++ b/packages/plugin-typeahead-picker/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-typeahead-picker", - "version": "4.0.6", + "version": "5.0.0", "description": "Generic typeahead picker infrastructure for the Portable Text Editor", "keywords": [ "portabletext", @@ -82,7 +82,7 @@ "vitest": "^4.0.18" }, "peerDependencies": { - "@portabletext/editor": "workspace:^5.1.1", + "@portabletext/editor": "workspace:^6.0.0", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-typography/CHANGELOG.md b/packages/plugin-typography/CHANGELOG.md index bcbcacfa3..d1edac6c7 100644 --- a/packages/plugin-typography/CHANGELOG.md +++ b/packages/plugin-typography/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-typography +## 7.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + - @portabletext/plugin-input-rule@4.0.0 + ## 6.0.6 ### Patch Changes diff --git a/packages/plugin-typography/package.json b/packages/plugin-typography/package.json index 5415adddc..287bcc9a6 100644 --- a/packages/plugin-typography/package.json +++ b/packages/plugin-typography/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-typography", - "version": "6.0.6", + "version": "7.0.0", "description": "Automatically transform text to typographic variants", "keywords": [ "portabletext", @@ -74,7 +74,7 @@ "vitest": "^4.0.18" }, "peerDependencies": { - "@portabletext/editor": "workspace:^5.1.1", + "@portabletext/editor": "workspace:^6.0.0", "react": "^19.2" }, "engines": { diff --git a/packages/toolbar/CHANGELOG.md b/packages/toolbar/CHANGELOG.md index 87afc4243..1e91a79cb 100644 --- a/packages/toolbar/CHANGELOG.md +++ b/packages/toolbar/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.0.0 + +### Patch Changes + +- Updated dependencies [[`79b69a5`](https://github.com/portabletext/editor/commit/79b69a5cd7f5a19d4393453b993611916ab86a95), [`5a3e8bf`](https://github.com/portabletext/editor/commit/5a3e8bf33d9591b9cfbf310e37ae95f736862942), [`2f8d366`](https://github.com/portabletext/editor/commit/2f8d36694ddad97a5b1ca910ffc7f7e60937c642), [`3ce0561`](https://github.com/portabletext/editor/commit/3ce056153812bf75c3d95a452417f1f7e45f352e)]: + - @portabletext/editor@6.0.0 + ## 6.0.6 ### Patch Changes diff --git a/packages/toolbar/package.json b/packages/toolbar/package.json index cc68b4a01..cb6b376c3 100644 --- a/packages/toolbar/package.json +++ b/packages/toolbar/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/toolbar", - "version": "6.0.6", + "version": "7.0.0", "description": "Utilities for building a toolbar for the Portable Text Editor", "keywords": [ "portabletext", @@ -61,7 +61,7 @@ "typescript-eslint": "^8.48.0" }, "peerDependencies": { - "@portabletext/editor": "workspace:^5.1.1", + "@portabletext/editor": "workspace:^6.0.0", "react": "^19.2.3" }, "engines": {