fix(deps): update packages dependencies #101
Merged
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 contains the following updates:
^3.4.0->^3.5.0^3.64.3->^3.66.0^2.8.25->^2.9.1^18.3.12->^18.3.14^3.3.3->^3.4.2^3.64.3->^3.66.0Release Notes
sanity-io/icons (@sanity/icons)
v3.5.0Compare Source
Features
Bug Fixes
pinsymbol (29c72c0)sanity-io/sanity (@sanity/types)
v3.66.0Compare Source
✨ Highlights
React Compiler for auto-updating studios
Studios that have opted in to the auto-updating feature will now use code optimized by the React Compiler. In many cases, this results in a faster user interface.
Other features
Configurable slug field weight
It's now possible to configure search weights for slug fields using the options.search.weight field option:
defineField({ name: 'slug', type: 'slug', + options: { + search: { + weight: 50, + }, + }, }),The slug field's weight will now be respected when using global search with "Best match" sorting selected, and when using reference search. Learn more about search weights in the Studio Search Configuration documentation.
Crop/hotspot vector format warning
When using vector formats (like SVG), any crop/hotspot defined for the image will only be applied if the image is delivered in a raster format. To make this clear, a warning is now displayed when setting a crop/hotspot on vector images.
Document links in Vision
When using the
@sanity/visionplugin, if query results contain either_idor_refattributes, a link icon is displayed next to the value making it easier to find and edit the document.Note: This is currently only displayed if the queried dataset matches the dataset of the active workspace.
Sanity v2 CLI commands removed
v2 has been end-of-life since April 2024 and the CLI commands for v2 will no longer display a removed error.
You can still use
@sanity/cli@^2should you need to run CLI commands against the an old studio project. See the guide for more details on migrating from v2 to v3.🐛 Notable bugfixes
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
------------ | ------------- | -------------
Snorre Eskeland Brekke | feat: Start in Create button is now enabled by default (#7884) |
723f7feSnorre Eskeland Brekke | Revert "feat: Start in Create button is now enabled by default (#7884)" |
e515f9erenovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.12.0 (#7883) |
1dc2a68renovate[bot] | chore(deps): update typescript-tooling (#7882) |
aebe3ceAsh | refactor(sanity): clarify variable name |
fcff773Ash | chore(sanity): remove duplicate test |
ee3f331Ash | feat: support search weight configuration for slug fields |
022c910renovate[bot] | fix(deps): Update dev-non-major (#7893) |
3f7892erenovate[bot] | chore(lockfile): update dependency @sanity/react-loader to v1.10.22 (#7896) |
b13265drenovate[bot] | chore(deps): update dependency @sanity/code-input to v5 (#7901) |
a323dddrenovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.2 (#7899) |
e432e37renovate[bot] | fix(deps): Update dev-non-major (#7902) |
56ed6cbrenovate[bot] | fix(deps): update dependency @sanity/icons to ^3.5.0 (#7900) |
1ed427ePedro Bonamin | fix(core): portable text annotations slow to show (#7588) |
ef50844renovate[bot] | fix(deps): update dependency groq-js to ^1.14.1 (#7910) |
037a2f4renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.12.2 (#7909) |
b2f1ff2renovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.26 (#7906) |
5b58cedrenovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.3 (#7914) |
e609391renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.15 (#7913) |
d91efd9Cody Olsen | fix: vertically center pane header when no tabs (#7912) |
481febdMarius Lundgård | fix(sanity): support future UI tones (#7916) |
f5e85aerenovate[bot] | fix(deps): Update dev-non-major (#7905) |
b4c157crenovate[bot] | fix(deps): update dependency @sanity/ui to ^2.9.0 (#7918) |
d3a4a1frenovate[bot] | fix(deps): update dependency @sanity/ui to ^2.9.0 (#7919) |
b28b160Rostislav Melkumyan | feat(cli): add test-template for testing
--templateflag (#7877) |52ab8b2renovate[bot] | fix(deps): update dependency @sanity/client to ^6.23.0 (#7931) |
90f884drenovate[bot] | chore(deps): update typescript-tooling (#7928) |
755cd44renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.4 (#7930) |
ee5f3b6renovate[bot] | fix(deps): Update dev-non-major (#7920) |
5b25212Cody Olsen | fix: support react compiler for auto updating studios (#7897) |
e40d5b6Rostislav Melkumyan | feat(cli): remove v2 init messaging (#7887) |
2333027RitaDias | test(e2e): add unpublish e2e test (#7927) |
079824eRostislav Melkumyan | feat(cli): add support for remote templates with
--template(#7867) |1f59825ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#7933) |
4fff528renovate[bot] | fix(deps): update dependency @sanity/icons to ^3.5.0 (#7929) |
8ee3384renovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.12.3 (#7921) |
1e6a839renovate[bot] | fix(deps): update dependency @sanity/client to ^6.24.0 (#7935) |
5bce66eYang Yu | fix(deps): bump sentry/react to 8.33 (#7932) |
e855a41Bjørge Næss | fix(vision): add a warning about unsupported perspective when pasting (#7937) |
bd2b3cfrenovate[bot] | fix(deps): update dependency @sanity/client to ^6.24.1 (#7938) |
4bc55d6Rostislav Melkumyan | feat: add CI specific token label (#7934) |
4b64fbbrenovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.13.0 (#7939) |
ad43939Bjørge Næss | chore(vision): revert accidental file rename (#7945) |
b4df341renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.16 (#7942) |
2aac70crenovate[bot] | fix(deps): Update dev-non-major (#7946) |
59ebd9bBjørge Næss | fix: add svg hotspot+crop warning to image tool dialog (#7917) |
3bd79afRitaDias | test(e2e): restore last e2e tests (#7926) |
b74b50ePedro Bonamin | fix(core): disable scheduledPublishing and tasks if
/featuresreturns error (#7517) |a20fb8fSindre Gulseth | feat(vision): link to edit documents on
_id,_refattributes (#6124) |2379f2brenovate[bot] | fix(deps): update dependency @sanity/ui to ^2.9.1 (#7948) |
561e7fcrenovate[bot] | fix(deps): update dependency @sanity/mutate to ^0.11.1 (#7903) |
08d3686Rostislav Melkumyan | feat(cli): generate read token conditionally for remote template (#7953) |
ff90128Bjørge Næss | fix(cli): remove v2 commands (#5750) |
d98873cChristian Grøngaard | fix(core): only open one annotation object edit modal at a time (#7898) |
fbecbc8renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.5 (#7957) |
7c5a231Bjørge Næss | fix(core): add telemetry debug/noop logger (#7958) |
4767ac7renovate[bot] | fix(deps): Update dev-non-major (#7959) |
c06deefEspen Hovlandsdal | fix: reword warning about vector images not support crop/hotspot (#7960) |
eecd0c5v3.65.1Compare Source
🐛 Notable bugfixes
v3.65.0where array list references rendered too lazily requering focus or clicking to render, when initially "below the fold" of the browser window.options.sanityCreate.exclude: trueon a document type wasn't correctly hiding "Start in Sanity Create" button for new documents of that type.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
------------ | ------------- | -------------
Cody Olsen | fix: opt-out
@tanstack/react-virtualfrom React Compiler (#7891) |db5495bSnorre Eskeland Brekke | fix: Start in Create type exclusion now recursively checks for sanityCreate.exclude options (#7890) |
af03b86renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.19.1 (#7894) |
0bbc018renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.14 (#7895) |
c5ed867v3.65.0Compare Source
✨ Highlights
React Compiler Beta
The
sanityand@sanity/visionpackages are now precompiled with the React Compiler.So far, 1,231 out of 1,411 components have been compiled, resulting in a 20%-30% overall reduction in render time and latency. We anticipate even greater improvements as we refactor the remaining 180 components to support auto-memoization.
For several weeks, we’ve already been shipping key packages—including our design system (@sanity/ui), the PortableText editor (@portabletext/editor), and react-rx (responsible for state management across Sanity Studio)—precompiled with the React Compiler.
We continue to see impressive results in our profiling and analysis, and with the release of React Compiler in beta we are excited to add support for auto-memoizing your own studio code:
pnpm add react-compiler-runtime@beta && pnpm add --save-dev babel-plugin-react-compiler@beta eslint-plugin-react-compiler@betayarn add react-compiler-runtime@beta && yarn add --save-dev babel-plugin-react-compiler@beta eslint-plugin-react-compiler@betanpm install --save-exact react-compiler-runtime@beta && npm install --save-exact --save-dev babel-plugin-react-compiler@beta eslint-plugin-react-compiler@betaAnd in your
sanity.cli.tsadd:import {defineCliConfig} from 'sanity/cli' export default defineCliConfig({ api: { projectId: 'abc123', dataset: 'production', }, reactStrictMode: true, + reactCompiler: {target: '18'}, })If you decide to give the React Compiler a try make sure you share your feedback and experience using it with the Working Group!
Sanity plugin authors, provided they're using
@sanity/pkg-utils, can also ship pre-compiled plugins by running:and changing the
package.config.tsto:import {defineConfig} from '@​sanity/pkg-utils' export default defineConfig({ // ... + babel: {reactCompiler: true}, + reactCompilerOptions: {target: '18'}, })History UI updates
The history inspector UI has been updated to display edits collapsed into the Published event they belong to. From and To revision selectors are added to the top of the inspector.
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
------------ | ------------- | -------------
Cody Olsen | feat: add support for React Compiler beta (#7702) |
8aace40renovate[bot] | chore(lockfile): update dependency react-focus-lock to v2.13.2 (#7848) |
e8c7e68renovate[bot] | chore(lockfile): update dependency @sanity/asset-utils to v2.2.0 (#7847) |
b7b0a84renovate[bot] | chore(deps): update dependency turbo to ^2.3.0 (#7846) |
c52a456Espen Hovlandsdal | chore(cli): temporarily disable telemetry tests (#7845) |
9b5f565Pedro Bonamin | feat(structure): History UI updates (#7462) |
16532a8Pedro Bonamin | fix(core): discard announcements dialog onClickOutside (#7863) |
7888272ecospark[bot] | fix(deps): update React Compiler dependencies 🤖 ✨ (#7872) |
6fbae0bCody Olsen | chore(ci): max react compiler warnings are now 79 |
363235eecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#7873) |
1ebdc17renovate[bot] | fix(deps): update dependency react-rx to ^4.1.7 (#7874) |
456187crenovate[bot] | fix(deps): update dependency @portabletext/editor to ^1.11.3 (#7865) |
a43bf85Bjørge Næss | fix(telemetry): log (well known) workspace and dataset names (#7859) |
b97d4aarenovate[bot] | fix(deps): update dependency @sanity/ui to ^2.8.25 (#7876) |
ecce434renovate[bot] | fix(deps): Update dev-non-major (#7875) |
4baafb1renovate[bot] | fix(deps): update dependency @sanity/presentation to v1.18.5 (#7881) |
00cc366renovate[bot] | fix(deps): update dependency @sanity/insert-menu to v1.0.13 (#7880) |
71a5524sanity-io/ui (@sanity/ui)
v2.9.1Compare Source
Bug Fixes
v2.9.0Compare Source
Features
neutralandsuggesttones (18c08b8)Bug Fixes
neutraltone forinfostatus (cb56633)v2.8.26Compare Source
Bug Fixes
prettier/prettier (prettier)
v3.4.2Compare Source
diff
Treat U+30A0 & U+30FB in Katakana Block as CJK (#16796 by @tats-u)
Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.
U+30A0 can be used as the replacement of the
-in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).Fix comments print on class methods with decorators (#16891 by @fisker)
Fix non-idempotent formatting (#16899 by @seiyab)
This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
v3.4.1Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on(#16887 by @fisker)v3.4.0Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: Branch creation - "before 4am on monday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.