Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Stats —
|
| Metric | Value | vs main (f1a6fb4) |
|---|---|---|
| Internal (raw) | 758.4 KB | - |
| Internal (gzip) | 142.7 KB | - |
| Bundled (raw) | 1.37 MB | - |
| Bundled (gzip) | 306.7 KB | - |
| Import time | 98ms | +1ms, +0.5% |
@portabletext/editor/behaviors
| Metric | Value | vs main (f1a6fb4) |
|---|---|---|
| Internal (raw) | 467 B | - |
| Internal (gzip) | 207 B | - |
| Bundled (raw) | 424 B | - |
| Bundled (gzip) | 171 B | - |
| Import time | 6ms | -0ms, -1.5% |
@portabletext/editor/plugins
| Metric | Value | vs main (f1a6fb4) |
|---|---|---|
| Internal (raw) | 2.5 KB | - |
| Internal (gzip) | 910 B | - |
| Bundled (raw) | 2.3 KB | - |
| Bundled (gzip) | 839 B | - |
| Import time | 12ms | -0ms, -1.8% |
@portabletext/editor/selectors
| Metric | Value | vs main (f1a6fb4) |
|---|---|---|
| Internal (raw) | 60.5 KB | - |
| Internal (gzip) | 9.5 KB | - |
| Bundled (raw) | 56.9 KB | - |
| Bundled (gzip) | 8.7 KB | - |
| Import time | 10ms | -0ms, -0.5% |
@portabletext/editor/utils
| Metric | Value | vs main (f1a6fb4) |
|---|---|---|
| Internal (raw) | 24.2 KB | - |
| Internal (gzip) | 4.7 KB | - |
| Bundled (raw) | 22.2 KB | - |
| Bundled (gzip) | 4.4 KB | - |
| Import time | 9ms | -0ms, -0.7% |
🗺️ . · ./behaviors · ./plugins · ./selectors · ./utils · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
21be859 to
2328ce6
Compare
2328ce6 to
f49a3e1
Compare
f49a3e1 to
18cbf0b
Compare
18cbf0b to
b954e4e
Compare
b3241f8 to
ec4e382
Compare
ec4e382 to
6e1c5a2
Compare
3d96d2d to
14e92ff
Compare
14e92ff to
6e98cad
Compare
6e98cad to
023dd82
Compare
023dd82 to
6511961
Compare
6511961 to
85e187d
Compare
85e187d to
97f3d9e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@portabletext/editor@6.6.0
Minor Changes
#2387
055bdb1Thanks @christianhg! - feat: simplify internal DOM mappingIntroduces a new
data-pt-pathattribute on editor DOM nodes to aid the mapping between the internal model and the DOM.Path attributes use serialized paths like
data-pt-path="[_key=="k0"].children[_key=="s1"]"for a text block span.#2398
041fef0Thanks @christianhg! - feat: internal Portable Text-native node traversalReplaces the vendored Slate traversal system with schema-driven functions that resolve children on any node type, not just
.children. The old system hardcoded.childrenas the only child field, which blocks first-class nesting where children will live in schema-defined fields likerows,cells, orcontent.Patch Changes
#2414
ff8220dThanks @christianhg! - fix: add proper internal check for leaf nodesAdd an
isLeafpredicate that correctly distinguishes between nodes that cannot have children and nodes that currently have no children. This replaces ad-hocisSpan || isObjectNodechecks in operations with a proper leaf node check that is aware of editable containers.#2430
f1a6fb4Thanks @christianhg! - fix: allowsetpatch to replace entire editor value#2427
a8bdabbThanks @christianhg! - fix: inlineextractPropsintoapplySplitNode#2421
b97146cThanks @christianhg! - fix: use lax type guards for text block and span identification#2429
4247d17Thanks @christianhg! - fix(perf): reduce unnecessary memory allocations in editor hot path#2420
56c20c3Thanks @christianhg! - fix: handle spans with missing text property during normalization and rendering#2425
d1928a2Thanks @christianhg! - fix: movetext/plaininherit-formatting todeserialize.dataConsumer behaviors on
deserialize.datacan now override the defaulttext/plainpaste handling. Previously, the inherit-formatting logic ran ondeserialization.success, which stripped structure from any blocks produced by consumerdeserialize.databehaviors.Updated dependencies [
251c51b]:@portabletext/markdown@1.2.0
Minor Changes
#2417
251c51bThanks @christianhg! - feat: add first-class GFM callout supportGFM callouts (
> [!NOTE],> [!TIP],> [!WARNING], etc.) are now parsed as structured callout objects instead of regular blockquotes. ADefaultCalloutRendereris also available for serializing callout objects back to GFM syntax. Consumers can customize callout handling via thetypes.calloutmatcher option.@portabletext/plugin-character-pair-decorator@7.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-emoji-picker@6.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-input-rule@4.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-markdown-shortcuts@7.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-one-line@6.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-paste-link@3.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-sdk-value@6.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-typeahead-picker@5.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/plugin-typography@7.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]:@portabletext/toolbar@7.0.23
Patch Changes
ff8220d,f1a6fb4,a8bdabb,b97146c,4247d17,055bdb1,041fef0,56c20c3,d1928a2]: