Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(deps): update dependency @portabletext/editor to ^1.16.3 #8031

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 13, 2024

This PR contains the following updates:

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

Release Notes

portabletext/editor (@​portabletext/editor)

v1.16.3

Bug Fixes
  • deps: update react compiler dependencies 🤖 ✨ (f6845e9)

v1.16.2

Bug Fixes
  • perf: stream the initial value into the editor (135288b)

v1.16.1

Bug Fixes
  • event: replace toggle readOnly with update readOnly (0e6efbc)

v1.16.0

Features
  • add activeDecorators to EditorContext (e38e020)
  • selectors: add getActiveStyle and isActiveStyle (37ba256)
  • selectors: add getSelectedSpans (55b5e9e)
  • selectors: add isActiveAnnotation (6f7a172)
  • selectors: add isActiveListItem (efd64bf)
  • selectors: add isSelection(Collapsed|Expanded) (8440022)
  • selectors: add higher-order isDecoratorActive (4ce4e55)
Bug Fixes
  • abort value sync if value hasn't changed (1590795)
  • deps: update sanity monorepo to ^3.67.0 (3526fa5)
  • deps: update sanity monorepo to ^3.67.1 (1852219)
  • make editor read-only while setting up (3ff4318)
  • perf: don't emit selection while setting up (6f92cf2)
  • perf: don't sync range decorations while setting up (af70759)
  • selectors: account for non-span decorators in isActiveDecorator (9e287da)
  • selectors: rename isDecoratorActive->isActiveDecorator (184f7f6)
  • selectors: rename selectionIsCollapsed->isSelectionCollapsed (6d880d0)

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 13, 2024 10:28
@renovate renovate bot requested review from pedrobonamin and removed request for a team December 13, 2024 10:28
Copy link

vercel bot commented Dec 13, 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 17, 2024 0:23am
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 0:23am
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 0:23am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 0:23am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Dec 17, 2024 0:23am

@renovate renovate bot enabled auto-merge December 13, 2024 10:28
Copy link

socket-security bot commented Dec 13, 2024

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

🚮 Removed packages: npm/@portabletext/editor@1.15.3

View full report↗︎

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Dec 13, 2024

Component Testing Report Updated Dec 17, 2024 12:19 AM (UTC)

✅ All Tests Passed -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 12s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 14s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 42s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 56s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 29s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 16s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 30s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 15s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 2m 51s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 49s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 14s 3 9 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 29s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 56s 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

Copy link
Contributor

github-actions bot commented Dec 13, 2024

⚡️ Editor Performance Report

Updated Tue, 17 Dec 2024 00:21:35 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 24.7 efps (41ms) 23.3 efps (43ms) +3ms (+6.2%)
article (body) 63.3 efps (16ms) 72.5 efps (14ms) -2ms (-/-%)
article (string inside object) 24.4 efps (41ms) 26.3 efps (38ms) -3ms (-7.3%)
article (string inside array) 23.3 efps (43ms) 22.7 efps (44ms) +1ms (+2.3%)
recipe (name) 50.0 efps (20ms) 50.0 efps (20ms) +0ms (-/-%)
recipe (description) 58.8 efps (17ms) 58.8 efps (17ms) +0ms (-/-%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (6ms) +1ms (-/-%)
synthetic (title) 19.6 efps (51ms) 19.2 efps (52ms) +1ms (+2.0%)
synthetic (string inside object) 20.8 efps (48ms) 18.7 efps (54ms) +6ms (+11.5%)

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) 41ms 50ms 67ms 332ms 242ms 10.7s
article (body) 16ms 19ms 26ms 217ms 235ms 5.5s
article (string inside object) 41ms 43ms 48ms 184ms 158ms 7.1s
article (string inside array) 43ms 45ms 51ms 174ms 141ms 7.1s
recipe (name) 20ms 21ms 23ms 38ms 0ms 8.2s
recipe (description) 17ms 18ms 20ms 34ms 0ms 4.7s
recipe (instructions) 5ms 6ms 7ms 11ms 0ms 3.1s
synthetic (title) 51ms 52ms 56ms 279ms 523ms 13.6s
synthetic (string inside object) 48ms 50ms 57ms 541ms 232ms 8.0s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 43ms 47ms 65ms 512ms 859ms 10.4s
article (body) 14ms 16ms 22ms 172ms 228ms 5.2s
article (string inside object) 38ms 41ms 45ms 47ms 10ms 6.5s
article (string inside array) 44ms 46ms 50ms 192ms 149ms 7.2s
recipe (name) 20ms 22ms 26ms 38ms 0ms 7.3s
recipe (description) 17ms 18ms 20ms 33ms 0ms 4.4s
recipe (instructions) 6ms 7ms 8ms 10ms 0ms 3.1s
synthetic (title) 52ms 55ms 59ms 96ms 483ms 13.5s
synthetic (string inside object) 54ms 56ms 63ms 109ms 339ms 7.8s

📚 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 db5680e to df0fe7b Compare December 13, 2024 11:43
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from df0fe7b to ca263e0 Compare December 13, 2024 12:04
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from ca263e0 to f644c58 Compare December 13, 2024 12:19
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from f644c58 to a45a08c Compare December 13, 2024 13:04
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from c85201f to 1e90806 Compare December 16, 2024 22:27
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from 1e90806 to d846836 Compare December 16, 2024 22:37
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch 2 times, most recently from 822846a to d778000 Compare December 16, 2024 23:05
Copy link
Contributor

@binoy14 binoy14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me in some initial testing

@renovate renovate bot added this pull request to the merge queue Dec 17, 2024
Merged via the queue into next with commit cb1647b Dec 17, 2024
57 checks passed
@renovate renovate bot deleted the renovate/portabletext-editor-1.x branch December 17, 2024 04:20
stipsan pushed a commit that referenced this pull request Dec 18, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants