Skip to content

Commit df8b159

Browse files
[Release] Version packages (beta)
1 parent 89cf190 commit df8b159

115 files changed

Lines changed: 1455 additions & 184 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/pre.json

Lines changed: 65 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,75 @@
5454
"@udecode/react-utils": "52.3.4",
5555
"@udecode/utils": "52.3.4",
5656
"@platejs/utils": "53.1.2",
57-
"@platejs/yjs": "53.2.0"
57+
"@platejs/yjs": "53.2.0",
58+
"plite": "0.0.0-private",
59+
"@platejs/browser": "54.0.0-beta.0",
60+
"@platejs/plite-dom": "54.0.0-beta.0",
61+
"@platejs/plite-history": "54.0.0-beta.0",
62+
"@platejs/plite-hyperscript": "54.0.0-beta.0",
63+
"@platejs/plite-layout": "54.0.0-beta.0",
64+
"@platejs/plite-react": "54.0.0-beta.0"
5865
},
5966
"changesets": [
60-
"auto-main-to-next-sync-platejs-ai",
67+
"ai-v54-runtime",
6168
"auto-main-to-next-sync-platejs-core",
6269
"auto-main-to-next-sync-platejs-markdown",
6370
"auto-main-to-next-sync-platejs-utils",
64-
"auto-main-to-next-sync-platejs",
65-
"prepare-v54-beta-core",
66-
"prepare-v54-beta-plite"
71+
"basic-nodes-plugin-kits",
72+
"basic-styles-v54-runtime",
73+
"callout-v54-runtime",
74+
"cmdk-active-descendant",
75+
"cn-hoc-inference",
76+
"code-block-commands",
77+
"code-drawing-block-insert",
78+
"combobox-command-runtime",
79+
"comment-v54-runtime",
80+
"csv-v54-runtime",
81+
"cursor-dom-editor",
82+
"date-v54-runtime",
83+
"depset-safe-execution",
84+
"diff-replacement-markers",
85+
"dnd-cross-editor-drop",
86+
"docx-base-plugin-cleanup",
87+
"docx-io-v54-api",
88+
"emoji-v54-runtime",
89+
"excalidraw-v54-runtime",
90+
"find-replace-v54-runtime",
91+
"fix-test-utils-fixtures",
92+
"floating-v54-runtime",
93+
"footnote-v54-runtime",
94+
"indent-v54-runtime",
95+
"infer-plite-hyperscript-tags",
96+
"juice-v54-runtime",
97+
"layout-v54-runtime",
98+
"link-v54-runtime",
99+
"list-classic-v54-runtime",
100+
"list-scoped-api",
101+
"markdown-plite-runtime",
102+
"math-transaction-transforms",
103+
"media-v54-runtime",
104+
"mention-v54-runtime",
105+
"platejs-product-codecs",
106+
"plite-canonical-architecture",
107+
"plite-dom-host-codecs",
108+
"plite-history-persistence",
109+
"plite-layout-runtime",
110+
"plite-react-read-only-provider",
111+
"plite-yjs-attribute-keys",
112+
"plugin-portal-scoped-api",
113+
"react-hotkeys-lifecycle",
114+
"react-utils-clean-runtime",
115+
"resizable-v54-runtime",
116+
"selection-plite-runtime",
117+
"slash-command-plite-plugin",
118+
"slate-browser-proof-lane",
119+
"suggestion-v54-runtime",
120+
"tabbable-plite-navigation",
121+
"table-block-insert",
122+
"tag-v54-runtime",
123+
"toc-v54-runtime",
124+
"toggle-v54-runtime",
125+
"udecode-utils-clean-surface",
126+
"utils-plite-node-types"
67127
]
68128
}

packages/ai/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @platejs/ai
22

3+
## 54.0.0-beta.2
4+
5+
### Major Changes
6+
7+
- [#5036](https://github.com/udecode/plate/pull/5036) by [@zbeyens](https://github.com/zbeyens) – Expose AI, AI Chat, and Copilot behavior through flat plugin capabilities and
8+
remove their standalone command, streaming, prompt, and suggestion helpers.
9+
10+
**Migration:** Use `tx.ai.*` and `tx.copilot.*` inside grouped updates. Use
11+
`editor.plugin(BaseAIPlugin).api.*`,
12+
`editor.plugin(AIChatPlugin).api.*`, and
13+
`editor.plugin(CopilotPlugin).api.*` for one-shot behavior.
14+
315
## 53.2.2
416

517
### Patch Changes

packages/ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@platejs/ai",
3-
"version": "54.0.0-beta.1",
3+
"version": "54.0.0-beta.2",
44
"description": "Text AI plugin for Plate",
55
"keywords": [
66
"plate",

packages/basic-nodes/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @platejs/basic-nodes
22

3+
## 54.0.0-beta.2
4+
5+
### Major Changes
6+
7+
- [#5036](https://github.com/udecode/plate/pull/5036) by [@zbeyens](https://github.com/zbeyens) – Remove the Heading, Basic Blocks, and Basic Marks grouping descriptors and
8+
package-owned preset arrays. The package exports each Base and React capability
9+
plugin independently. Blockquotes store inline children directly, and built-in
10+
marks are boolean text properties in compiled schemas.
11+
12+
**Migration:** List the package plugins your editor supports, or install the
13+
matching app-owned Plate registry kit. Store text and inline nodes directly in
14+
blockquote children instead of nested paragraphs.
15+
16+
```tsx
17+
import { H1Plugin, H2Plugin } from "@platejs/basic-nodes/react";
18+
19+
const plugins = [H1Plugin, H2Plugin];
20+
```
21+
322
## 53.0.0
423

524
### Major Changes

packages/basic-nodes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@platejs/basic-nodes",
3-
"version": "54.0.0-beta.0",
3+
"version": "54.0.0-beta.2",
44
"description": "Basic nodes plugin for Plate",
55
"keywords": [
66
"plate",

packages/basic-styles/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @platejs/basic-styles
22

3+
## 54.0.0-beta.2
4+
5+
### Major Changes
6+
7+
- [#5036](https://github.com/udecode/plate/pull/5036) by [@zbeyens](https://github.com/zbeyens)
8+
9+
- Move style mutations to plugin-owned `editor.update.*.set` commands, with
10+
typed `clear` updates for foreground and background colors
11+
- Register validated font, alignment, indentation, and line-height properties in compiled schemas, using the resolved plugin type as their storage key
12+
- Decode and encode style properties through schema-inferred
13+
`codecs: ({ defineCodecs }) =>
14+
defineCodecs({ 'text/html': ... })` constructor declarations
15+
16+
**Migration:** Replace `setAlign(editor, value)` with
17+
`editor.update.textAlign.set(value)` and `setLineHeight(editor, value)` with
18+
`editor.update.lineHeight.set(value)`. Configure a custom storage key through
19+
the plugin's top-level `type`, and configure style targets through
20+
`targetPluginKeys`.
21+
322
## 53.0.0
423

524
## 52.3.10

packages/basic-styles/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@platejs/basic-styles",
3-
"version": "54.0.0-beta.0",
3+
"version": "54.0.0-beta.2",
44
"description": "Block and text styles for Plate",
55
"keywords": [
66
"plate",

packages/browser/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# @platejs/browser
2+
3+
## 54.0.0-beta.2
4+
5+
### Patch Changes
6+
7+
- [#5036](https://github.com/udecode/plate/pull/5036) by [@zbeyens](https://github.com/zbeyens) – Add `@platejs/browser/core`, `@platejs/browser/browser`, and
8+
`@platejs/browser/playwright` proof surfaces with typed editor harnesses,
9+
canonical serializable scenarios, replay and reduction helpers, DOM and
10+
selection assertions, and an explicit `harness.scenario.runImperative` escape
11+
hatch for non-replayable setup. Versioned replay decoding validates exact
12+
step, assertion, and kernel-trace contracts, rejects no-op or lossy payloads,
13+
and fails closed on unknown imported steps.
14+
Replay decoders, scenario builders, native trace limits, and release artifacts
15+
reject invalid discrete numeric domains and reversed ranges.
16+
17+
**Migration:** Remove `@platejs/playwright` and its React adapter helpers. Use
18+
`openExample` or `createPliteBrowserEditorHarness` from
19+
`@platejs/browser/playwright`.

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@platejs/browser",
3-
"version": "54.0.0-beta.0",
3+
"version": "54.0.0-beta.2",
44
"description": "Browser proof harness for Plite editors.",
55
"keywords": [
66
"browser",

packages/callout/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @platejs/callout
22

3+
## 54.0.0-beta.2
4+
5+
### Major Changes
6+
7+
- [#5036](https://github.com/udecode/plate/pull/5036) by [@zbeyens](https://github.com/zbeyens)
8+
- Move callout insertion to `editor.update.callout.insert(options)`
9+
- Register callout appearance properties in compiled schemas
10+
311
## 53.0.0
412

513
## 52.3.10

0 commit comments

Comments
 (0)