Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @portabletext/editor to ^1.25.0 #8368

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@portabletext/editor (source) ^1.24.0 -> ^1.25.0 age adoption passing confidence

Release Notes

portabletext/editor (@​portabletext/editor)

v1.25.0

Features
  • behaviors: promote annotation.toggle to an event (8383b3b)
  • behaviors: promote decorator.(add|remove) to events (079b4e4)
  • behaviors: promote delete.block to an event (df466a3)
  • behaviors: promote delete.text to an event (435de66)
  • behaviors: promote insert.span to an event (7b3b2c3)
  • behaviors: promote insert.text block to an event (3c78ed2)
  • behaviors: promote list item.(add|remove) to events (63cbaca)
  • behaviors: promote move.* actions to events (485e189)
  • behaviors: promote select.* actions to events (81f3858)
  • behaviors: promote style.(add|remove) to events (6a5f1f6)
  • behaviors: promote text block.* actions to events (b9057da)
  • core behaviors: raise annotation.(add|remove) events (3ff7498)
  • core behaviors: raise decorator.(add|remove) events (ce99235)
  • core behaviors: raise delete.block and select (ab5fb23)
  • core behaviors: raise insert.text block and select.previous block events (17bc728)
  • core behaviors: raise list item.(add|remove) events (2b1fdb7)
  • core behaviors: raise style.(add|remove) events (6f5acb8)
  • core behaviors: raise text block.* events (6c4b581)
Bug Fixes
  • behaviors: add missing events to editor.send(...) (03f3192)
  • deps: update sanity monorepo to ^3.71.1 (6234d33)
  • EditorEventListener: only emit external events (f5df2e3)
Dependencies

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner January 22, 2025 15:42
@renovate renovate bot requested review from pedrobonamin and removed request for a team January 22, 2025 15:42
@renovate renovate bot enabled auto-merge January 22, 2025 15:42
Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 5:14pm
performance-studio ✅ Ready (Inspect) Visit Preview Jan 22, 2025 5:14pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 5:14pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2025 5:14pm
test-next-studio ⬜️ Ignored (Inspect) Jan 22, 2025 5:14pm

Copy link

socket-security bot commented Jan 22, 2025

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@portabletext/[email protected]

View full report↗︎

@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch 2 times, most recently from 608d637 to 2335c83 Compare January 22, 2025 15:59
Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Jan 22, 2025

Component Testing Report Updated Jan 22, 2025 4:45 PM (UTC)

❌ Failed Tests (2) -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 5s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 12s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ❌ Failed (Inspect) 1m 59s 4 0 2
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 51s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 14s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 27s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 7s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 31s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 2m 1s 21 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 13s 3 9 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 43s 21 0 0
formBuilder/tree-editing/TreeEditing.spec.tsx ✅ Passed (Inspect) 0s 0 3 0
formBuilder/tree-editing/TreeEditingNestedObjects.spec.tsx ✅ Passed (Inspect) 0s 0 3 0

stipsan
stipsan previously approved these changes Jan 22, 2025
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from 2335c83 to 1e37b58 Compare January 22, 2025 16:33
Copy link
Contributor

github-actions bot commented Jan 22, 2025

⚡️ Editor Performance Report

Updated Wed, 22 Jan 2025 16:57:13 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 23.3 efps (43ms) 19.2 efps (52ms) +9ms (+20.9%) 🔴
article (body) 53.5 efps (19ms) 59.9 efps (17ms) -2ms (-10.7%)
article (string inside object) 24.7 efps (41ms) 21.7 efps (46ms) +6ms (+13.6%)
article (string inside array) 20.8 efps (48ms) 19.8 efps (51ms) +3ms (+5.2%)
synthetic (title) 18.5 efps (54ms) 18.0 efps (56ms) +2ms (+2.8%)
synthetic (string inside object) 18.9 efps (53ms) 18.5 efps (54ms) +1ms (+1.9%)

efps — editor "frames per second". The number of updates assumed to be possible within a second.

Derived from input latency. efps = 1000 / input_latency

Detailed information

🏠 Reference result

The performance result of sanity@latest

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 43ms 52ms 76ms 482ms 973ms 11.3s
article (body) 19ms 28ms 67ms 306ms 502ms 6.6s
article (string inside object) 41ms 44ms 48ms 228ms 379ms 7.7s
article (string inside array) 48ms 52ms 59ms 302ms 549ms 7.9s
synthetic (title) 54ms 60ms 68ms 356ms 1084ms 19.5s
synthetic (string inside object) 53ms 56ms 61ms 174ms 897ms 8.5s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 52ms 78ms 100ms 539ms 1155ms 11.9s
article (body) 17ms 22ms 47ms 194ms 486ms 6.4s
article (string inside object) 46ms 48ms 53ms 208ms 470ms 7.6s
article (string inside array) 51ms 54ms 60ms 260ms 449ms 7.9s
synthetic (title) 56ms 58ms 71ms 112ms 621ms 12.9s
synthetic (string inside object) 54ms 56ms 70ms 318ms 738ms 8.5s

📚 Glossary

column definitions

  • benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
  • latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
  • p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
  • p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
  • p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
  • blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
  • test duration — how long the test run took to complete.

@renovate renovate bot added this pull request to the merge queue Jan 22, 2025
Merged via the queue into next with commit 0a0d1ea Jan 22, 2025
30 of 35 checks passed
@renovate renovate bot deleted the renovate/portabletext-editor-1.x branch January 22, 2025 16:36
juice49 pushed a commit that referenced this pull request Jan 23, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant