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 sanity monorepo to v3 (major) #81

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/cli (source) 2.25.0 -> 3.52.2 age adoption passing confidence
@sanity/vision (source) 2.25.4 -> 3.52.2 age adoption passing confidence

Release Notes

sanity-io/sanity (@​sanity/cli)

v3.52.2

Compare Source

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.

🐛 Notable bugfixes

  • General improvements to studio performance
  • Switching between workspaces now uses an anchor link, resolving an issue where document operations might occur across datasets.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.21.1 (#​7215) | 08658f2
Cody Olsen | chore: enable production react profiling in test studios (#​7198) | 3a9dafa
Cody Olsen | fix: remove "a key prop is spread into JSX" warning (#​7224) | 615c3c8
renovate[bot] | fix(deps): update dependency @​sanity/export to ^3.41.0 (#​7223) | 0332d38
Cody Olsen | fix(WorkspacesProvider): run prepareConfig in a passive effect (#​7226) | 2c35087
Cody Olsen | chore: add dev:test-studio-production-profiling script (#​7225) | 8dfa353
Cody Olsen | fix: improve hook collection state performance (#​7218) | bebeac5
Cody Olsen | refactor: replace useClickOutside with useClickOutsideEvent (#​7201) | b4740aa
renovate[bot] | fix(deps): update dependency groq-js to ^1.11.0 (#​7229) | 8b92196
Cody Olsen | feat: refactor createTrackerScope internals to be more efficient (#​6946) | c4f9a1f
Carolina Gonzalez | fix: hard link between datasets, for now (#​7228) | 2e77986

v3.52.1

Compare Source

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.

🐛 Notable bugfixes

  • Fixes a regression that caused the Media plugin (sanity-plugin-media) to crash due to a configuration issue with the build tooling in the CLI.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | fix: ensure context provider values are memoized (#​7199) | ff49411
renovate[bot] | fix(deps): Update dev-non-major (#​7216) | f6bb311
RitaDias | chore: set up | c0cec21
RitaDias | fix(sanity/cli): issue with plugins would crash | 3682286

v3.52.0

Compare Source

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.

🐛 Notable bugfixes

  • Fixes a package bundle configuration issue in auto-updating Studios that caused Presentation to crash.
  • Adds aliases to internal Vite configuration used when running sanity build and sanity deploy to prevent missing React context issues.
  • Improves error messages when duplicate instances of Sanity are found in node_modules.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | fix(deps): update dependency @​sanity/ui to ^2.7.0 (#​7168) | b60195b
Espen Hovlandsdal | chore: clean up e2e studio tasks, headless env var (#​7158) | 9dbb9f6
Ash | fix(sanity): ensure Actions API client uses adequate API version (#​7166) | 25a983b
renovate[bot] | chore(deps): update dependency styled-components to ^6.1.12 (#​7178) | 8805315
renovate[bot] | chore(deps): update dependency turbo to ^2.0.7 (#​7182) | 9b79104
renovate[bot] | chore(deps): update pnpm to v8.15.9 (#​7183) | f73fb0f
renovate[bot] | fix(deps): Update dev-non-major (#​7184) | 706a86b
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.2 (#​7188) | ef0d937
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.2 (#​7185) | 6535562
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.5 (#​7192) | 1515df1
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.5 (#​7191) | 8a9730c
Rico Kahler | fix: unify externals in auto-updating builds (#​7187) | a6def04
Cody Olsen | refactor: replace useOnClickOutside with useClickOutsideEvent (#​7189) | d68bb94
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.6 (#​7196) | 7771ee0
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.7 (#​7197) | fe8efa0
renovate[bot] | fix(deps): update dependency @​sanity/icons to ^3.3.1 (#​7204) | bf9ca0b
renovate[bot] | fix(deps): Update dev-non-major (#​7203) | f0d5f82
Cody Olsen | fix: detect duplicate context errors (#​7160) | 7f3a881
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.8.8 (#​7210) | 944d392
renovate[bot] | chore(lockfile): update dependency @​sanity/logos to v2.1.13 (#​7211) | 208a2d1
renovate[bot] | fix(deps): Update dev-non-major (#​7212) | a20e9b1
Rico Kahler | feat(core): add aliases to mitigate context issues (#​7172) | 776f16b

v3.51.0

Compare Source

✨ Highlights

Clickable links in comments

clickable link

URLs included in comments are now rendered as clickable links, which is infinitely more useful than unclickable links.

Other features

  • Updates to configuration and blog template files when initializing a project inside a Next.js app: using an src folder in your directory if it exists, some changes to schemas and how they're imported.

🐛 Notable bugfixes

  • Fixes a regression causing platform-aware hotkeys (for example, Ctrl + Option + D for duplicating a document) not to be displayed in tooltips.

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
------------ | ------------- | -------------
Espen Hovlandsdal | fix: force arborist ^7.5.4 | 49f278a
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​7146) | 213f4b1
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​7145) | 75a409a
Espen Hovlandsdal | fix(core): restore platform-aware keyboard shortcuts (#​6819) | 512965c
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.6.8 (#​7144) | 3fca2ef
renovate[bot] | fix(deps): Update dev-non-major (#​7149) | 3ae92a5
Herman Wikner | feat(core): clickable links in comment message (#​7093) | 6fad0c5
Simeon Griggs | feat: update schema types formatting and init to include src (#​7094) | d42da14
Cody Olsen | chore: remove 3d demos from test studio (#​7157) | 97fed17
Cody Olsen | chore: setup workflow for E2E tests that @sanity/ui can run on its PRs (#​7156) | 88bd6c4
Rupert Dunk | fix(sanity): open correct groups and fieldsets on setOpenPath (#​7154) | b278800
renovate[bot] | fix(deps): Update dev-non-major (#​7164) | 41a3039

v3.50.0

Compare Source

✨ Highlights

New: Copy-and-paste fields and documents

This version of Sanity Studio introduces a powerful new way to work with structured content within Sanity Studio: Copy-paste support for fields and documents. You can now use the familiar copy-and-paste hotkeys (cmd/ctrl+c and cmd/ctrl+v) and the field and document actions menus to copy content across different fields and document types seamlessly.

  • Copy between different document types: You can seamlessly copy fields from one document and paste them into a different document type while maintaining the content structure.
  • Copy deeply bested structures: Easily copy entire blocks of Portable Text and arrays with complex nested structures between documents.
  • Copy full documents: Effortlessly copy full documents and integrate them into existing documents of the same or similar types.
CleanShot.2024-07-10.at.14.27.46.mp4

Beta: Array Tree Editing

Sanity offers powerful content models that let you define lists of object types and even nest these, if necessary. This enables developers to work with intuitive and convenient data structures in the API, but it has sometimes led to a cumbersome editorial experience with a lot of navigation between layers of modals.

That's why we're thrilled to introduce an improved experience for editing arrays of objects. With the array tree editing, you can browse and edit array items in one place, making working with nested content much simpler and faster.

Screenshot of new Array Tree Editor

To enable the new array tree editor, add the following to your Sanity Studio configuration:

// sanity.config.ts
export default defineConfig({
  // ...
  beta: {
    treeArrayEditing: {
      enabled: true,
    },
  },
});

Note: While in beta, the array tree editor has limited support for references. References to other documents do not appear in the array tree editor and will open in a new modal. Additionally, Portable Text fields are not fully supported.

Beta: Auto-updating Sanity Studio deployments

We're shipping improvents and fixes to Sanity Studio on a weekly basis. To make it easier to get these improvements to Sanity Studio users without requiring developer involvement, we have shipped a way to build the studio for auto-updates.

You can try this out with the new --auto-updates flag to the sanity build and sanity deploy CLI commands. This enables your Sanity Studio to automatically update to the latest minor and patch versions (3.x.x) of Sanity Studio without having to rebuild and redeploy new bundles.

Learn more about the new auto-update flag in docs.

image

Improved support for large datasets exports

To improve the export experience for users with large datasets, we have introduced a new cursor export mode in the Sanity CLI:

sanity dataset export --mode cursor

In this mode, the CLI will use cursors under the hood when exporting, which can significantly speed up the export process for larger datasets.

Note: Unlike the traditional export mode, the cursor mode does not create a snapshot of the dataset. Instead, it pulls data as it exports, which may result in inconsistencies if documents in the dataset is modified during the export process.

🐛 Notable bugfixes

  • Fixes an issue when trying to extract schemas/deploy GraphQL APIs when a sub-dependency tries to call document.execCommand at import time.
  • Fixes a warning being printed about using useClient() without specifying an API version.
  • Fixes an issue where having styled-components listed in devDependencies instead of dependencies would cause the CLI to try to install it as a dependency in a loop.

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
------------ | ------------- | -------------
Binoy Patel | fix(core): fixes url for checking studio version (#​7060) | a44fd5b
Sindre Gulseth | refactor(typegen): use typenode to lookup referencing type names (#​7038) | e622011
renovate[bot] | chore(deps): update dependency @​sanity/tsdoc to v1.0.75 (#​7005) | 48a7266
Herman Wikner | feat(core): focus root array item when closing tree editing dialog (#​7049) | 8e80b14
renovate[bot] | chore(deps): update dependency turbo to ^2.0.6 (#​7067) | d04d061
renovate[bot] | chore(deps): update dependency ts-node to ^10.9.2 (#​7066) | 630f558
renovate[bot] | chore(deps): update dependency lerna to ^8.1.5 (#​7065) | 0d2f0d9
Sindre Gulseth | feat(cli): Add support for exporting dataset with cursor (#​7068) | d019845
Jordan Lawrence | chore(config): comment to clarify logo deprecation (#​7075) | 6d1f496
Jordan Lawrence | docs(migrate): updating insert examples to showing always 3 args (#​7070) | 60ad7e7
Espen Hovlandsdal | fix(cli): mock document.execCommand when emulating browser env (#​7062) | e54ae8a
Herman Wikner | fix(core): handle array fields within nested objects in array items (#​7069) | 3c057a8
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.16.2 (#​7078) | 7aa5732
renovate[bot] | chore(deps): update dependency @​sanity/insert-menu to v1.0.7 (#​7064) | c3079c1
renovate[bot] | chore(deps): update dependency lerna to ^8.1.6 (#​7083) | 5d94ce7
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.20.1 (#​7088) | baa20cb
renovate[bot] | fix(deps): Update dev-non-major (#​7086) | 554d579
Ash | feat(sanity): allow Actions API enablement based on Studio version semver constraint | 47a160b
Ash | test(e2e): add helper to mock Actions API feature toggle response | f31671b
Ash | test(e2e): re-enable tests for Actions API feature toggle and expand test cases | daca8e9
Cody Olsen | chore(renovate): add preset that allows internal PRs to open right away (#​7087) | 43616e4
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​7096) | e4a237b
Cody Olsen | chore(renovate): add fixtures to ignorePaths (#​7081) | e948e68
renovate[bot] | fix(deps): update dependency @​portabletext/editor to ^1.0.8 (#​7101) | 07771ed
renovate[bot] | fix(deps): update dependency @​sanity/icons to ^3.3.0 (#​7098) | 451e841
renovate[bot] | fix(deps): Update dev-non-major (#​7100) | b9d98bf
renovate[bot] | fix(deps): update dependency get-it to ^8.6.3 (#​7108) | 32024fe
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.20.2 (#​7111) | 8ec952e
RitaDias | refactor(sanity): remove "features" (#​7097) | a5e6212
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.20.2 (#​7110) | 2e1c86a
renovate[bot] | fix(deps): update dependency @​sanity/bifur-client to ^0.4.1 (#​7102) | 048b4fb
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.6.3 (#​7104) | 8cba533
renovate[bot] | fix(deps): update dependency react-rx to ^3.1.1 (#​7113) | 0d4c8e6
renovate[bot] | chore(deps): update dependency @​sanity/tsdoc to v1.0.83 (#​7080) | 5b8de2d
renovate[bot] | chore(deps): update dependency esbuild to ^0.23.0 (#​7106) | 24c8c96
Espen Hovlandsdal | test(cli): use separate tarball location for cursor export test (#​7118) | 7025ffa
Espen Hovlandsdal | fix(core): minor typo fix in i18n comment (#​7115) | 04c374a
Pedro Bonamin | feat(router): update router to support query params in intent links (#​7095) | 793b2b0
renovate[bot] | chore(lockfile): Update dev-non-major to v1.1.5 (#​7122) | 6e4ad38
Espen Hovlandsdal | chore(deps): roll back esbuild dependency to 0.21.5 (#​7126) | b02fe6f
renovate[bot] | fix(deps): update dependency react-rx to ^3.1.2 (#​7123) | 3030181
Cody Olsen | chore(renovate): only bump esbuild within 0.21.x (#​7128) | 0c2103c
Espen Hovlandsdal | fix(core): error reporting consent tweaks (#​7131) | 1552e20
Rune Botten | chore(core): update copy for new version available toast (#​7129) | d298503
Espen Hovlandsdal | fix(cli): allow styled-component as dev dependency (#​7132) | ff31556
Espen Hovlandsdal | fix(i18n): allow locale plugins to translate "All fields" field group (#​7117) | 24f9936
renovate[bot] | fix(deps): update dependency react-rx to ^3.1.3 (#​7138) | 137bf75
renovate[bot] | fix(deps): update dependency @​sanity/client to ^6.21.0 (#​7137) | a23b2a5
renovate[bot] | fix(deps): Update dev-non-major (#​7139) | 5606d85
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.6.6 (#​7136) | 2548de6
renovate[bot] | fix(deps): Update dev-non-major (#​7140) | b95094c
Rune Botten | chore: Update PULL_REQUEST_TEMPLATE.md (#​7133) | 27c13a5
Fred Carlsen | feat(core): global copy paste (#​6856) | 53aa46b
Rico Kahler | fix(deps): bump @​sanity/ui ^2.6.7 (#​7143) | b58b0f8

v3.49.0

Compare Source

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.

✨ Highlights

New TypeGen Features

Better GROQ Function Coverage

We have added the following improvements to type generation for GROQ query results:

Improved Union Handling in TypeGen

TypeGen now correctly expands all unions inside an object, addressing this reported issue on GitHub. Previously, only a part of a union might be returned. TypeGen now ensures that all object types in a union are expanded and included in the generated types.

// Example query
export const HomePageQuery = groq`*[_type == "page" && slug.current == "homepage"]{
  title,
  components[] {
    _type == "hero" => { title, "image": image.asset->url },
    _type == "cta" => { title, link }
  }
}`;

TyeGen will now generate the following type for the query above:

export type HomePageQueryResult = Array<{
  title: string;
  components: Array<
    | { _type: 'hero'; title: string; image: string }
    | { _type: 'cta'; title: string; link: string }
  >;
}>;

New import path for the Portable Text Editor

We’ve started work on a standalone Portable Text Editor package, and thus transitioned to using the @portabletext/editor package instead of the now deprecated @sanity/portable-text-editor package. This change includes several internal improvements and fixes. You can follow this work in this repository on GitHub — more documentation to come.

Advanced users who have used the @sanity/portable-text-editor dependecy should update to @portabletext/editor to ensure continued support and improvements.

🐛 Notable bugfixes

  • Fixes an issue where FormInput would not render fields inside a fieldset.
  • Various TypeGen bug fixes.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | chore(deps): upgrade turbo to v2 (#​6985) | 2fb8f9b
Nina Andal Aarvik | fix(core): change padding to fix tab box (#​7000) | 7ed682e
Herman Wikner | fix(core): handle fieldset members in FormInput (#​7045) | b932de6
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​7034) | 8820979
Herman Wikner | fix(core): open PTE dialogs in tree editing dialog with openPath (#​7046) | d0b9ab0
renovate[bot] | fix(deps): update dependency groq-js to ^1.10.0 (#​7053) | 628cb76
Rico Kahler | refactor: use @portabletext/editor instead of @sanity/portable-text-editor (#​7035) | 9864985
renovate[bot] | fix(deps): update dependency get-it to ^8.6.2 (#​7052) | b73b68c
renovate[bot] | fix(deps): update dependency @​sanity/export to ^3.40.0 (#​7056) | c44c405

v3.48.1

Compare Source

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.

🐛 Notable Bugfixes

  • Fixes a regression that caused the Select button to not appear for single-asset sources.
  • Fixes a bug to allow the --no-dry-run and --no-confirm CLI options to be used together. Big thanks to @​pawelngei!

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Binoy Patel | fix(core): update url for notify endpoint (#​7022) | 6e2ad73
Christian Grøngaard | chore(page-building): clean up schema types (#​6973) | af414d5
Rostislav Melkumyan | Fix(CLI): Set integration value for createProject directly in the createProject function (#​7021) | 2d11505
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​7028) | 8c66d24
Jason Rose | Fixes NO_CHANGES localization key (#​7008) | 666c420
Carolina Gonzalez | fix: check for telemetry consent before error reporting (#​7019) | 83e1111
Rico Kahler | fix(core): put back select button for single-asset source (#​7030) | 4af12eb
Rico Kahler | fix(cli): allow no-confirm no-dry-run migrations (#​7031) | b06d143
Rico Kahler | build: remove Version step from release workflow (#​7032) | 5006d7f

v3.48.0: 3.48.0

Compare Source

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.

🐛 Notable Bugfixes

  • Fixes an issue that caused trailing commas to appear when sanitizing schemas.
  • Adds periodic debug logging and improves error handling in the dataset export workflow.

📓 Full changelog

Author Message Commit
ecospark[bot] chore(deps): dedupe pnpm-lock.yaml (#​6994) 1d3b68d
Fred Carlsen chore(ci): upgrade pnpm setup to use node20 (#​6968) e39e7f6
RitaDias test(e2e): rewrite e2e toolbar tests to component tests & update e2e expectations on others (#​6967) 5aa2ee8
renovate[bot] chore(deps): update dependency recast to ^0.23.9 (#​7006) b29a444
Rostislav Melkumyan fix: remove trailing commas when sanitizing (#​7007) 6b9f910
Christian Grøngaard feat(core): support insert menu options in array item context menus (#​6921) 784cfd3
RitaDias feat(core): array editing improvements (#​6682) 6fbfcdc
Herman Wikner fix(core): tree editing dialog open issue (#​7013) fcb09f9
Sindre Gulseth chore(deps): always bump @​sanity/export package (#​7010) fd6f56c
renovate[bot] fix(deps): update dependency @​sanity/export to ^3.38.2 (#​7015) d09cc9b
Rico Kahler chore: update release note template (#​7017) 7e633bb
Christian Grøngaard fix: deprecate @​sanity/portable-text-editor (#​7020) f2ddfa7
Rico Kahler feat: utilize timestamps in build and renderDocument for AUS (#​6964) a1da8cc
Rico Kahler feat: include hashes in vendor builds (#​7018) 4bbe337

v3.47.1

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes a potential crash in certain javascript environments when trying to access process.env
  • Errors occuring during a migration now provides more details

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​6975) | 355e1b9
Binoy Patel | fix(migrate): fixes error message to be more helpful (#​6986) | df89f88
Espen Hovlandsdal | fix(cli): correct noop return value on esbuild-register in dev (#​6990) | 51ecce0
Espen Hovlandsdal | fix(core): make version check not depend on process.env (#​6991) | 7c00b8f

v3.47.0

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

✨ Highlights

Array insert menu

This release includes a much requested upgrade of the array insert menu with various new options available. Including a new and more informative grid view, the ability to organize available schema types in groups, and filter them with a search term, and more. Check out the array article in the docs for examples.

array insert menu

Other features

Adds a type export of all the discovered Sanity schema variants resulting from running sanity typegen in the CLI. This can be useful in mocks/testing environments and used by third party tools to get a list of potential types. This union type is accessible as AllSanitySchemaTypes in the generated type definitions.

🐛 Notable bugfixes

  • Fixes an issue where a text preview image would be included into the Portable Text Editor (PTE) when pasting text from Word.
  • Fixes an issue where navigation options were not being passed as expected when calling a scoped router's navigate function.
  • Fixes an issue where the PTE wouldn't activate when you start dragging files into it.
  • Images in the Hotspot & Crop tool now render faster, and use far less memory.
  • Reduces layout shift when uploading images that replace existing image assets.
  • Fixes an issue that could cause a 409 error when restoring a document from history.
  • Fixes an issue where image and file types might be listed in their lowercase variant in array insert menus

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​6916) | 7f20f24
renovate[bot] | chore(deps): update dependency @​sanity/tsdoc to v1.0.72 (#​6911) | 7d312e4
Cody Olsen | feat(deps): upgrade react-rx to v3 (#​6883) | c0fe9f6
renovate[bot] | fix(deps): Update dev-non-major (#​6915) | f00ca7e
Per-Kristian Nordnes | fix(core): fix issue with pasting mixed content (files and text) for pt-input (#​6924) | fda9387
Rupert Dunk | fix(router): pass options on scoped router navigation (#​6923) | 2fabc2e
Fred Carlsen | chore: clean playwright-ct cache on each run (#​6928) | 286aaed
Fred Carlsen | fix(form): activate PTE input when dragging files (#​6929) | a2be16c
Ash | chore: update lockfile (#​6932) | d935a3a
Cody Olsen | fix: improve perf of by creating the canvas in a side effect (#​6874) | 5d8031b
Cody Olsen | fix: layout shift when uploading images (#​6930) | ae142d4
renovate[bot] | fix(deps): Update dev-non-major (#​6941) | 3300904
renovate[bot] | fix(deps): update dependency @​sanity/presentation to v1.16.0 (#​6942) | abe562b
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.3.6 (#​6943) | c1869b9
renovate[bot] | chore(lockfile): update dependency @​sanity/import to v3.37.5 (#​6940) | 6cfe40e
Cody Olsen | fix: change useListFormat to no longer violate the rule of hooks (#​6876) | cae047f
Bjørge Næss | fix(sanity): only include create action when restoring a deleted document (#​6937) | 2736835
Cody Olsen | refactor: change memoization of margins to support the rule of hooks (#​6875) | fbf90ec
Espen Hovlandsdal | fix(schema): use base type for title if no subtype title or name is given (#​6947) | bbe7ac0
Binoy Patel | fix(cli): account for base path in the importmap (#​6919) | 8f28054
renovate[bot] | chore(lockfile): update dependency @​sanity/bifur-client to v0.4.1 (#​6939) | e161e0b
Nina Andal Aarvik | fix(vision): center loading spinner (#​6900) | 5943d4f
Christian Grøngaard | chore: allow clean:deps to remove test studio node_modules (#​6951) | 339128d
Christian Grøngaard | feat(core): new insert menu for arrays with filtering, type preview support (#​6853) | 203f135
ecospark[bot] | chore(deps): dedupe pnpm-lock.yaml (#​6957) | 4b89dd5
renovate[bot] | fix(deps): Update dev-non-major (#​6958) | d89acea
renovate[bot] | fix(deps): update dependency @​sanity/ui to ^2.4.0 (#​6959) | 5a38691
Sindre Gulseth | feat(typegen): add all schema types exported union | 5d97a0e
Sindre Gulseth | Revert "feat(typegen): add all schema types exported union" | e65adee
RitaDias | test(e2e): update e2e flaky tests (#​6927) | 6b20e5f
Sindre Gulseth | feat(typegen): add all schema types exported union (#​6962) | fa459a4
Ash | test(e2e): ensure custom publish action can patch document before publication | 17d0bbf
Ash | fix(sanity): remove ifDraftRevisionId optimistic lock usage when publishing documents | 3064705
Christian Grøngaard | fix(core): make array insert menu full width if grid view is configured (#​6969) | 47d204c
Christian Grøngaard | deps(core): update @​sanity/insert-menu (#​6971) | de01b7c
Bjørge Næss | fix(structure): don't replace url when navigating back to list after document deletion (#​6953) | f662ae2
Bjørge Næss | refactor(core): change revision history label from 'Version' to the more accurate 'Revision' (#​6956) | b90820c
Espen Hovlandsdal | feat(core): implement basic error reporting (#​6914) | 02dab2a
Binoy Patel | fix(ci): importmap path on windows (#​6948) | 6bbf609
Carolina Gonzalez | feat: notify AUS studio users of new studio versions (#​6893) | e9b16c8

v3.46.1

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest
🐛 Notable bugfixes
  • Fixes a bug causing Structure Tool to crash when attempting to read the scrollTop of a nonexistent element.
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Ash | fix(sanity): ignore sticky overlay regions with a falsey DOM node (#​6910) | 4f1be6c

v3.46.0

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a v3 Studio, run this command in its folder:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue where projects with a la

Configuration

📅 Schedule: Branch creation - "before 4am 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.

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from fd99e89 to 341262d Compare June 6, 2023 15:45
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from dbde69a to 134b515 Compare June 20, 2023 18:35
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 3 times, most recently from 4db7044 to a550b26 Compare June 30, 2023 15:58
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from a550b26 to d14af50 Compare July 11, 2023 22:17
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from f97acdd to 427759f Compare July 25, 2023 16:54
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 9139e9d to 4243d82 Compare August 8, 2023 18:17
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 4243d82 to 33f9bc9 Compare August 10, 2023 19:51
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 4 times, most recently from 1e523d5 to d3a52b6 Compare September 5, 2023 17:24
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from d3a52b6 to b6224c5 Compare September 14, 2023 17:55
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from e582f5c to c273783 Compare October 10, 2023 16:13
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from c273783 to eafed5e Compare October 17, 2023 22:35
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 91975ed to dc73495 Compare November 3, 2023 00:42
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 6d02113 to 2c5173d Compare November 14, 2023 16:09
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 5f711e0 to 8bac284 Compare November 21, 2023 21:09
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from b0eea12 to 13af06e Compare December 5, 2023 19:49
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 37aafe6 to ac9cb57 Compare December 13, 2023 01:32
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 3 times, most recently from 8672141 to 253762f Compare April 9, 2024 16:59
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 3 times, most recently from b840d21 to cbdd971 Compare April 16, 2024 17:22
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 42c9c18 to 6a6c1b4 Compare April 27, 2024 01:54
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from f09fdba to f71f234 Compare May 7, 2024 16:06
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 0b8a964 to e109fc1 Compare May 14, 2024 20:26
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 9a77c53 to 2630fb2 Compare May 22, 2024 04:21
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 40df9b2 to d11ce53 Compare June 4, 2024 20:13
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 4 times, most recently from 80a1a4a to ab2ac95 Compare June 19, 2024 14:07
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 50a8530 to b9f92d2 Compare June 27, 2024 03:56
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from b9f92d2 to 6424bef Compare July 2, 2024 23:00
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 3 times, most recently from 3c1ad24 to e0e6279 Compare July 16, 2024 16:48
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 74e70b7 to ef54460 Compare July 23, 2024 20:43
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from ef54460 to 75ba39c Compare July 24, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants