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.15.0 #7971

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 6, 2024

This PR contains the following updates:

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

Release Notes

portabletext/editor (@​portabletext/editor)

v1.15.0

Features

v1.14.2

Bug Fixes
  • deps: Update sanity monorepo to ^3.66.1 (#​510) (6d1f0d0)
  • performance regression: bail out quicker on native behavior events (437e87e)

v1.14.1

Bug Fixes
  • editor-events: emit blurred/focused instead of blur/focus (30a93d4)

v1.14.0

Features
  • add experimental useEditorSelector (04a290c)
  • behavior: add 'move block down/up' actions (d53a844)
  • behavior: add blur event and action (e4720e5)
  • behavior: add insert.inline object event and action (39407b8)
  • behavior: add list item.toggle event and list item.(add|remove|toggle) actions (2152950)
  • behavior: add noop action (0139a7c)
  • behavior: add style.toggle event and style.(add|remove|toggle) actions (12825bd)
  • behavior: allow code editor behaviors to move multiple blocks (5da6b4f)
  • behavior: allow imperative decorator.(add|remove|toggle) (bb5fbfd)
  • behavior: allow imperative insert block object (eaeb5ed)
  • behavior: allow imperative insert.inline object (3ddf73d)
  • behavior: allow imperative list item.toggle (3927074)
  • behavior: allow imperative style.toggle (174b64d)
  • export experimental getActiveListItem selector (2fd7261)
Bug Fixes
  • behavior: '(un)set block' actions now only accept one path (35ed503)
  • behavior: mark editable as _internal (a8156fc)
  • behavior: merge EditorContext and EditorState into EditorSnapshot (27ee5ac)
  • behavior: move schema from EditorState to EditorContext (cc3d61b)
  • behavior: namespace all delete.* events and actions (915d373)
  • behavior: namespace all insert.* events and actions (982cc9e)
  • behavior: namespace all move.* actions (46b1249)
  • behavior: remove noop event (763fdff)
  • behavior: rename (set|unset) block to text block.(set|unset) (0ef0396)
  • behavior: rename BehaviorContext->EditorState (88fd672)
  • behavior: rename blockPath->at in 'move block' action (4bb435e)
  • behavior: rename config->initialConfig (48718be)
  • behavior: rename useEditorContext->useEditor (927e165)
  • behavior: route legacy focus method through behaviors (3d091c7)
  • behavior: simplify BehaviorActionIntendSet callback (a6f9a48)
  • deps: update sanity monorepo to ^3.66.0 (#​505) (58fa31e)
  • guard against nullable target block when producing move node patch (eb7049f)
  • selectors: export all experimental selectors (cf042a7)
  • switch to "type": "module" (a8c7c78)

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 December 6, 2024 12:05
@renovate renovate bot requested review from ricokahler and removed request for a team December 6, 2024 12:05
@renovate renovate bot enabled auto-merge December 6, 2024 12:05
Copy link

vercel bot commented Dec 6, 2024

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 Dec 6, 2024 5:52pm
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 5:52pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 5:52pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 5:52pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2024 5:52pm

Copy link

socket-security bot commented Dec 6, 2024

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

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

View full report↗︎

Copy link
Contributor

github-actions bot commented Dec 6, 2024

No changes to documentation

@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from a279218 to 9d57340 Compare December 6, 2024 12:19
Copy link
Contributor

github-actions bot commented Dec 6, 2024

Component Testing Report Updated Dec 6, 2024 5:47 PM (UTC)

✅ All Tests Passed -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 8s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 13s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 41s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 53s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 27s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 16s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 2m 8s 2 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 9s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 2m 48s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 46s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 13s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 40s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 27s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 57s 12 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

Copy link
Contributor

github-actions bot commented Dec 6, 2024

⚡️ Editor Performance Report

Updated Fri, 06 Dec 2024 17:49:15 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 21.7 efps (46ms) 22.2 efps (45ms) -1ms (-2.2%)
article (body) 56.5 efps (18ms) 53.5 efps (19ms) +1ms (+5.6%)
article (string inside object) 25.0 efps (40ms) 24.4 efps (41ms) +1ms (+2.5%)
article (string inside array) 21.3 efps (47ms) 21.1 efps (48ms) +1ms (+1.1%)
recipe (name) 41.7 efps (24ms) 41.7 efps (24ms) +0ms (-/-%)
recipe (description) 46.5 efps (22ms) 52.6 efps (19ms) -3ms (-11.6%)
recipe (instructions) 99.9+ efps (9ms) 99.9+ efps (9ms) +0ms (-/-%)
synthetic (title) 18.7 efps (54ms) 18.5 efps (54ms) +1ms (+0.9%)
synthetic (string inside object) 19.2 efps (52ms) 19.2 efps (52ms) +0ms (-/-%)

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) 46ms 51ms 89ms 269ms 267ms 13.3s
article (body) 18ms 23ms 43ms 268ms 417ms 6.6s
article (string inside object) 40ms 43ms 49ms 211ms 187ms 7.1s
article (string inside array) 47ms 52ms 57ms 170ms 177ms 7.5s
recipe (name) 24ms 27ms 30ms 82ms 0ms 8.7s
recipe (description) 22ms 23ms 26ms 61ms 0ms 5.1s
recipe (instructions) 9ms 11ms 13ms 44ms 0ms 3.7s
synthetic (title) 54ms 58ms 63ms 332ms 659ms 13.3s
synthetic (string inside object) 52ms 55ms 59ms 373ms 339ms 8.2s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 45ms 51ms 69ms 218ms 223ms 12.0s
article (body) 19ms 24ms 72ms 192ms 390ms 6.5s
article (string inside object) 41ms 44ms 52ms 194ms 187ms 7.4s
article (string inside array) 48ms 51ms 66ms 148ms 269ms 7.8s
recipe (name) 24ms 26ms 40ms 71ms 0ms 8.3s
recipe (description) 19ms 21ms 22ms 28ms 0ms 4.8s
recipe (instructions) 9ms 10ms 11ms 13ms 0ms 3.4s
synthetic (title) 54ms 58ms 67ms 325ms 863ms 14.1s
synthetic (string inside object) 52ms 55ms 72ms 596ms 1055ms 8.6s

📚 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 force-pushed the renovate/portabletext-editor-1.x branch from 9d57340 to 9b1bf98 Compare December 6, 2024 12:28
@renovate renovate bot changed the title fix(deps): update dependency @portabletext/editor to ^1.14.0 fix(deps): update dependency @portabletext/editor to ^1.14.1 Dec 6, 2024
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from 9b1bf98 to 4a7c0dc Compare December 6, 2024 12:40
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from 4a7c0dc to 21d2efa Compare December 6, 2024 15:22
@renovate renovate bot changed the title fix(deps): update dependency @portabletext/editor to ^1.14.1 fix(deps): update dependency @portabletext/editor to ^1.14.2 Dec 6, 2024
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from 21d2efa to 72bcdf6 Compare December 6, 2024 17:36
@renovate renovate bot added this pull request to the merge queue Dec 6, 2024
Merged via the queue into next with commit 6eacd33 Dec 6, 2024
56 of 57 checks passed
@renovate renovate bot deleted the renovate/portabletext-editor-1.x branch December 6, 2024 19:26
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