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

chore(deps): update react monorepo #497

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore(deps): update react monorepo #497

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/react (source) ^19.0.4 -> ^19.0.7 age adoption passing confidence
@types/react-dom (source) ^19.0.2 -> ^19.0.3 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) ^8.19.1 -> ^8.21.0 age adoption passing confidence
@typescript-eslint/parser (source) ^8.19.1 -> ^8.21.0 age adoption passing confidence
eslint (source) ^9.17.0 -> ^9.18.0 age adoption passing confidence
eslint-plugin-prettier ^5.2.1 -> ^5.2.3 age adoption passing confidence
eslint-plugin-react ^7.37.3 -> ^7.37.4 age adoption passing confidence
sanity (source) ^3.69.0 -> ^3.71.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.21.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-duplicate-enum-values] handle template literal (#​10675)
  • eslint-plugin: [no-base-to-string] don't crash for recursive array or tuple types (#​10633)
  • eslint-plugin: [no-for-in-array] report on any type which may be an array or array-like (#​10535)
  • eslint-plugin: check JSX spread elements for misused spread usage (#​10653)
  • eslint-plugin: [no-unnecessary-type-arguments] handle type args on jsx (#​10630)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.20.0

Compare Source

🚀 Features
  • eslint-plugin: [consistent-type-assertions] add arrayLiteralTypeAssertions options (#​10565)
  • eslint-plugin: [no-deprecated] add allow options (#​10585)
  • eslint-plugin: [no-misused-spread] add new rule (#​10551)
🩹 Fixes
  • eslint-plugin: [no-unnecessary-condition] don't flag optional chaining for union types with an unconstrained type parameters (#​10602)
  • eslint-plugin: [no-shadow] ignore ordering of type declarations (#​10593)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v8.21.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.20.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

eslint/eslint (eslint)

v9.18.0

Compare Source

prettier/eslint-plugin-prettier (eslint-plugin-prettier)

v5.2.3

Compare Source

Patch Changes

v5.2.2

Compare Source

Patch Changes
jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.37.4

Compare Source

Fixed
sanity-io/sanity (sanity)

v3.71.0

Compare Source

✨ Highlights
The @sanity/presentation codebase has been migrated into the sanity codebase

The @sanity/presentation codebase has been migrated into the sanity codebase. We've always recommended using Presentation Tool by importing it from sanity/presentation, like so:

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from 'sanity/presentation'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  plugins: [presentationTool(), structureTool()]
})

If you've been following this pattern then this change won't impact you in any way.

If you've been installing @sanity/presentation and are using it directly (we've sometimes suggested this to let folks try out bugfixes before they ship in the next release of sanity):

// sanity.config.ts
import {defineConfig} from 'sanity'
import {presentationTool} from '@​sanity/presentation'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  plugins: [presentationTool(), structureTool()]
})

Then you need to search/replace all from '@​sanity/presentation' statements in your codebase with from 'sanity/presentation', and uninstall @sanity/presentation, as it'll no longer receive updates.

Other features
  • Adds disableActions option to array fields for disabling various array input capabilities.
🐛 Notable bugfixes
  • Fixes an issue preventing keyboard navigation to edit buttons for annotation and inline objects in the Portable Text Input.
  • Fixes an issue allowing custom form inputs to incorrectly patch a readOnly document by calling onChange.
  • The Presentation Tool's "Documents in use" pane now includes draft and unpublished documents, meaning it actually shows all documents in use, rather than just some of them.
  • No longer warns about duplicate keys when using Presentation on sanity dev with React Strict Mode, or embedded studios on Next.js App Router.
Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Christian Grøngaard | fix(core): replace @sanity/block-tools with @portabletext/block-tools (#​8260) | 0ff7c7f
Pedro Bonamin | chore(core): update <Resizable/>, accept a position prop and remove duped and export from sanity (#​8250) | 4bca7b9
Pedro Bonamin | chore(core): use displayed value for document title (#​8268) | 9a5fee3
Pedro Bonamin | chore(core): update diffValue to accept a generic Meta property (#​8269) | cef5237
Pedro Bonamin | chore(core): add getTransactionLogs helper (#​8261) | 03e7760
Rostislav Melkumyan | chore(renovate): add @sanity/template-validator (#​8280) | d351c5f
Pedro Bonamin | fix(core): cannot find namespace 'vi' (#​8282) | 3a3cc58
Jordan Lawrence | chore: playwright test wrapper creates router context (#​8258) | a1a80a8
RitaDias | test(e2e): add checks for properties in reference tests (#​8279) | 21aba08
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.22.0 (#​8295) | 847f30e
renovate[bot] | chore(deps): update dev-non-major (#​8267) | c094eb3
Per-Kristian Nordnes | fix(core/form/inputs): fix issue with tabbing to popover toolbar buttons in PT-input (#​5057) | 6c61c9c
renovate[bot] | chore(deps): update github artifact actions to v4 (major) (#​8298) | a7f5230
Jordan Lawrence | feat: Updated Navbar link for Tasks tool (#​8257) | 498b05e
Espen Hovlandsdal | fix(deps): upgrade vite to v6 | 532eb63
Espen Hovlandsdal | chore: temporary override to make vitest use vite 6 | 995eeba
Christian Grøngaard | fix(types): make ObjectSchemaType['__experimental_search'] optional (#​8289) | 7f5c037
Jordan Lawrence | chore: explicitly setting all navbar dropdowns and menu popovers as having default tone (#​8301) | c0d26c0
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8305) | 8d3ac75
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.22.1 (#​8308) | 3a49a11
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.24.4 (#​8307) | ee29383
Bjørge Næss | feat(preview): add experimental support for observing full documents (#​7397) | 56bcd0a
Jordan Lawrence | fix: patching a readOnly document is blocked (#​8292) | 49cc66f
Jordan Lawrence | fix: readOnly pane overrides patch (#​8313) | ad3fd48
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.25.0 (#​8315) | d4175f9
Cody Olsen | refactor: migrate @sanity/presentation codebase (#​8312) | 680930c
renovate[bot] | fix(deps): update dependency @​sanity/mutate to ^0.12.1 (#​8239) | b53b164
renovate[bot] | fix(deps): update dependency @​sanity/preview-url-secret to ^2.1.0 (#​8316) | e8faa3a
Cody Olsen | fix(presentation): always show all documents in use (#​8320) | cbbebd5
Cody Olsen | fix(presentation): avoid duplicate key warning (#​8319) | 48f3e68
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#​8327) | 2e1f58e
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8328) | 698d609
renovate[bot] | chore(deps): update dev-non-major (#​8321) | 4e4dc8f
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.16 (#​8329) | 76609d2
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.22.0 (#​8252) | 5379e4f
renovate[bot] | fix(deps): update dependency @​portabletext/block-tools to ^1.1.0 (#​8285) | ba61226
Rostislav Melkumyan | feat(cli): remote template bootstrapper to support write token (#​8277) | b5e5e9d
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.3 (#​8330) | 148c1ec
renovate[bot] | chore(lockfile): update dependency framer-motion to v11.18.1 (#​8331) | b99d808
Bjørge Næss | feat(form): add support for disabling array input capabilities (#​7615) | 9ce399c
Simeon Griggs | fix: add defineField helper to alt field (#​8333) | fc456ea
Christian Grøngaard | test: fix PTE copy/paste test case (#​8344) | 044f24c
Bjørge Næss | feat(preview): add experimental support for live document id sets (#​7398) | d1dc5b5

v3.70.0

Compare Source

✨ Highlights

Improvements to Visual Editing

This release includes several changes across the @sanity/astro and @sanity/visual-editing packages, resulting in a more stable Visual Editing experience with Astro and a smoother initial setup:

  • A React 19 peer dependency issue was fixed in @sanity/astro version 3.1.9 that caused errors in new projects setup using Astro’s CLI tool.
  • Added support for libraries publishing pre-compiled code with the React Compiler to the Astro codebase.
  • Previously, Visual Editing overlays would lose their titles/preview information after a change had been made when working with an Astro project. This is now fixed.

Other features

  • The sanity package now exports an experimental EditPortal component, which allows users to create Dialog or Popover components that include Presence and scroll virtualization out of the box, like so:
import React, {useRef, useState} from 'react'
+import {EditPortal} from 'sanity'

 export const CustomFormDialog: React.FC<Props> = ({parentProps, paths, onClose}) => {
   return (
-     <Dialog header="Edit Link" id="edit-link" animate width={600} onClose={onClose} zOffset={1000}>
+     <EditPortal header="Edit Link" id="edit-link" animate width={600} onClose={onClose} zOffset={1000}>
       ...rest
-      </Dialog>
+     </EditPortal>

🐛 Notable bugfixes

  • Fixes a case where the commands schema extract, manifest extract, graphql deploy, documents validate or schema validate would never complete.
  • Fixes an issue in Vision where the cursor would sometimes jump to the beginning of the editor.

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.20.2 (#​8219) | 5ddfe63
renovate[bot] | chore(deps): update typescript-tooling (#​8210) | fb1cf5b
renovate[bot] | fix(deps): update dependency get-it to ^8.6.6 (#​8221) | 17e10ca
renovate[bot] | fix(deps): update dependency @​sanity/insert-menu to v1.0.19 (#​8222) | 07651a5
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.20.3 (#​8223) | a363bba
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.24.3 (#​8213) | 47577ea
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.21.0 (#​8227) | 5c28f4f
Rostislav Melkumyan | feat(cli): skip directories without .env.example when bootstrapping remote template (#​8216) | 86c6ab1
Snorre Eskeland Brekke | fix: ensures singleworkspace falls back to the name 'default' as expected in all contexts (#​8228) | fe708e8
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.21.1 (#​8234) | 26b64c7
Pedro Bonamin | chore(core): export EditPortal from sanity (#​8229) | ab31417
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.21.1 (#​8230) | 9e624fa
Bjørge Næss | fix(ci): pin ubuntu version for e2e component tests to 22.04 (#​8245) | b3cce81
Pedro Bonamin | fix(core): support serverDocumentActions flag in plugins (#​8247) | 78318f3
Rostislav Melkumyan | feat(cli): slim down remote test template (#​8224) | 41580c4
ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#​8244) | 256ffac
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.14 (#​8246) | 2664f0f
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.11.2 (#​8248) | f3151c3
Magnus Holm | fix(cli): explicitly exit workers when they're done (#​8226) | 104b74c
Christian Grøngaard | fix(block-tools): "soft" deprecate in favour of @​portabletext/block-tools (#​8254) | 885cfe0
Pedro Bonamin | chore(core): add <AvatarSkeleton /> component (#​8249) | 0ab9c5b
Pedro Bonamin | fix(vision): debounce type setState to fix cursor jump (#​8238) | 15cba9a
Ash | feat(sanity): include _id field in groq2024 searches (#​8237) | e0a2b6d
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.21.2 (#​8253) | 39f8900
renovate[bot] | fix(deps): update dependency react-rx to ^4.1.15 (#​8259) | 9d362e1
renovate[bot] | chore(deps): update dev-non-major (#​8240) | 8299462
Christian Grøngaard | test: fix @​portabletext/block-tools alias (#​8262) | 7c2a68b
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​8263) | 5505240
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.21.3 (#​8265) | df392a4
Christian Grøngaard | fix(deps): update dependency @​portabletext/editor to ^1.21.5 (#​8264) | 1938999
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​8266) | c453b1f
Rostislav Melkumyan | chore(cli): bump @sanity/template-validator to latest (2.3.2) (#​8220) | 9266e11
Pedro Bonamin | fix(core): export EditPortal as beta (#​8270) | c65b13c


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 enabled auto-merge (squash) January 12, 2025 16:55
Copy link

vercel bot commented Jan 12, 2025

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

Name Status Preview Comments Updated (UTC)
tsdoc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 4:55pm

Copy link

socket-security bot commented Jan 12, 2025

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sanity/[email protected] 🔁 npm/@sanity/[email protected] Transitive: environment, network +28 6 MB
npm/@sanity/[email protected] 🔁 npm/@sanity/[email protected] None +10 10.1 MB sanity-io
npm/@types/[email protected] 🔁 npm/@types/[email protected] None 0 20.6 kB types
npm/@types/[email protected] 🔁 npm/@types/[email protected] None +1 2.05 MB types
npm/@typescript-eslint/[email protected] 🔁 npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +38 7.89 MB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] 🔁 npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +30 2.92 MB bradzacher, jameshenry
npm/[email protected] 🔁 npm/[email protected] Transitive: environment +3 18.3 MB react-bot
npm/[email protected] 🔁 npm/[email protected] Transitive: environment +5 255 kB bpscott, jounqin, lydell, ...3 more
npm/[email protected] 🔁 npm/[email protected] Transitive: environment, filesystem, shell, unsafe +51 21.8 MB react-bot
npm/[email protected] 🔁 npm/[email protected] Transitive: environment, eval, filesystem +115 6.45 MB ljharb, yannickcr
npm/[email protected] 🔁 npm/[email protected] Transitive: eval, filesystem, shell, unsafe +78 10.6 MB eslintbot
npm/[email protected] 🔁 npm/[email protected] None 0 11.8 kB adoprog, armandocerna, ash, ...67 more
npm/[email protected] 🔁 npm/[email protected] None 0 45.8 kB react-bot
npm/[email protected] 🔁 npm/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +825 251 MB adoprog, armandocerna, ash, ...66 more
npm/[email protected] 🔁 npm/[email protected] None 0 132 kB broofa

View full report↗︎

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.

0 participants