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 groq to v3 #161

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
groq (source) ^2.29.3 -> ^3.0.0 age adoption passing confidence

Release Notes

sanity-io/sanity

v3.12.2

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 potential typing issues caused by mismatched versions of @types/react-is
  • Fixes issue where validation tooltips were clipped inside of the Portable Text editor
  • Improves accessibility of list panes when using screen readers

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | chore(ci): replace yarn v2 install flags with v1 (#​4568) | 744f7e0
Cody Olsen | ci: update renovate to use the new preset (#​4566) | 61b15a2
Tom Smith | fix(cli): shopify studio intent fixes (#​4592) | 1c301d4
Espen Hovlandsdal | fix(core): align @types/react-is module version (#​4594) | ae39220
Espen Hovlandsdal | fix(core): include request tag prefix for websocket (#​4590) | ccedf6e
Marius Lundgård | fix(deps): update @sanity/ui | b056494
Nina Andal Aarvik | fix(core): use portal prop on validation tooltip, remove muted text (#​4582) | 7d6dc90
vicbergquist | feat: add @sanity/tsdoc dependency | 17a5ec3
vicbergquist | docs: add docblock for useDataset hook | 87da83f
RitaDias | chore(lock): update yarn lock file | b45ccb5
Bjørge Næss | chore(test-studio): exclude @sanity/tsdoc from vite's dependency pre-bundling | a7b3797
Bjørge Næss | chore(deps): add @sanity/tsdoc as a dev dependency | 6350f3c
RitaDias | feat(sanity): add @hidden tag for tsdoc | a94d548
RitaDias | chore(sanity): add tsdoc config json | 178a956
RitaDias | fix(core): re-add missing DocumentActionCustomDialogComponentProps | d093e31
Binoy Patel | docs(sanity): fix typo in tsdoc config | 8285052
RitaDias | refactor: add hidden to two new beta items | 2a96d67
Binoy Patel | chore: version bump | 31e1633
Binoy Patel | chore(router): add docs for IntentLink, Link and withRouter APIs (#​4551) | 0297b39
Herman Wikner | fix(core): a11y issue in command list (#​4600) | bf59af0
RitaDias | fix: add missing tsdoc tags (#​4607) | 0de3b08

v3.12.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 issue where documents wasn't locked while a document was being synced
  • Fixes a bug where certain references would result in invalid GraphQL union types (thanks @​james2doyle!)

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): update dependency vite to v4.3.9 (#​4548) | b8337fb
renovate[bot] | chore(deps): update dependency esbuild to v0.17.19 (#​4547) | 9b14e07
Fred Carlsen | fix(desk): fix readOnly document state while document is syncing (#​4564) | 305fe16
Tom Smith | chore(cli): update shopify template to use strict mode schemas (#​4561) | f172680
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​4555) | b271b0f
Noah Gentile | feat(mutator): export extract method (#​4461) | e4779a6
Herman Wikner | fix(desk): pane item selected ui (#​4569) | 9d355f8
Simeon Griggs | chore: correct toast text for copied URL (#​4571) | 1e0fd23
Cody Olsen | chore(deps): unblock update to @​sanity/pkg-utils to v2.3.1 (#​4567) | 3479e11
Per-Kristian Nordnes | feature(portable-text-editor): add value snapshot to mutation change | 90b7d95
James Doyle | fix(cli): prevent empty references for graphql unions (#​4583) | 940dbb4

v3.12.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

Custom block, inlineBlock and annotation form components

Adds support for block, inlineBlock and annotation form components. You can now write plugins or create workspace configuration that change how these types are rendered in the studio

🐛 Notable bugfixes

  • Fixes a regression that broke document-level readOnly
  • Fixes a bug that caused conditional field callbacks inside fieldsets to get passed a wrong parent value
  • Improves deep linking to the Portable Text Input for visual editing
  • Fixes an issue where @sanity/block-tools would remove whitespace from <pre> tags
  • Fixes an issue that could sometimes cause newly inserted array items to be immediately removed

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | feature(core): Add support for block form components in config and plugins (#​4327) | 3527b6c
Robin Pyon | chore(test-studio): add a debug case for patching custom input components | aaa74c0
Fred Carlsen | fix(block-tools): preserve whitespace in preprocess for certain html tags (#​4540) | 4848781
Bjørge Næss | fix(perf): add flag to list known test ids (#​4553) | 981b99f
Bjørge Næss | refactor(util): rename isEmpty => isDeepEmpty and deprecate old name | e37be4a
Bjørge Næss | test(util): add tests for isDeepEmpty | 4ecf667
Bjørge Næss | refactor(util): expose isShallowEmptyObject util | 605d716
Bjørge Næss | fix(form): check for shallow emptyness instead of deep when determining whether a patch should unset the value | f2e16ff
Per-Kristian Nordnes | refactor(core/form/inputs): PT-input track irregular span node focusPath (#​4557) | 86bffd7
Per-Kristian Nordnes | refactor(portable-text-editor): improve onPaste typings (#​4544) | 0909774
Bjørge Næss | fix(form): pass the correct data to conditional fields contained inside fieldsets (#​4556) | a08334f
Bjørge Næss | fix(form): fix bug making fields not inherit document level readOnly state (#​4558) | 6f5578d
Knut Melvær | chore: fix installation command in release note template (#​4550) | 0d3c5b3

v3.11.5

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest
🐛 Notable bugfixes and improvements
  • Fixes an issue where change indicators were no longer showing up on boolean fields
  • Adds document action custom dialog component
  • Improves presence rendering performance
  • Improves how focus and selection is handled and tracked in Portable Text fields
  • Adds support for <sup>, <sub>, <ins> and <mark> in @​sanity/block-tools
  • Improves how image blocks in Portable Text fields are rendered for custom named image types

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): update dependency @​portabletext/types to v2 (#​4379) | 83711a4
Fred Carlsen | fix: whitelist all standard text decorators in block-tools (#​4526) | 47be700
renovate[bot] | fix(deps): update dependency groq-js to v1 (#​4384) | cf002fb
Per-Kristian Nordnes | fix(core/form/inputs): use isImage asserter to determine image preview (#​4532) | c2f98ba
Herman Wikner | feat(core): add document action custom dialog component (#​4529) | d6a841b
Per-Kristian Nordnes | fix(core/form/inputs): value should be passed here, not schematype | 854e37a
Per-Kristian Nordnes | refactor(core/form/inputs): refactor focus handling in the PT-input | 6ff2b45
Per-Kristian Nordnes | refactor(core/form/inputs): improve autofocus handling | f018467
Per-Kristian Nordnes | refactor(portable-text-editor): provide focus event for focus and blur change | c0cdf87
Per-Kristian Nordnes | chore(portable-text-editor): move debug msg out of loop | 121e906
Per-Kristian Nordnes | fix(core/form/inputs): clean up rebase leftovers (next branch) | 3923b6c
Per-Kristian Nordnes | refactor(core/form/inputs): remove possibly destructive blur | e4ea215
Per-Kristian Nordnes | refactor(core/form/inputs): make PT-input scroll to top of elements | 2efe806
Per-Kristian Nordnes | refactor(core/form/inputs): streamline prop names for PT-input components | dd9c9d0
Per-Kristian Nordnes | refactor(core/form/inputs): blur editor when opening object in PT-input | 76131d8
Per-Kristian Nordnes | refactor(core/form/inputs): rename var to conventions | 20fb696
Per-Kristian Nordnes | refactor(core/form/inputs): wrap delete in try/catch to finalize ref assignment | cd3eb90
Per-Kristian Nordnes | refactor(core/form/inputs): remove uneeded prop assignment | a2544a6
Per-Kristian Nordnes | docs(core/form/inputs): add some comments why we blur here. | 0cbd4f4
Per-Kristian Nordnes | doc(core/form/inputs): add comments on block props | fbd7be8
Per-Kristian Nordnes | refactor(core/form/inputs): add prop __unstable_textElementFocus | 2d8aa4d
Per-Kristian Nordnes | refactor(core/form/inputs): make PT annotations handle focus correctly | 021c2c6
Per-Kristian Nordnes | fix(core/form/inputs): fix issue with re-focusing the editor after toggling fullscreen | 02feb8d
Per-Kristian Nordnes | fix(core/form/inputs): rename autofocus > autoFocus | fb88521
Per-Kristian Nordnes | refactor(core/form/inputs): clean up useTrackFocusPath | bf77938
Per-Kristian Nordnes | feature(core/form): keep stable child presence list with immutableReconcile | f4a113f
Per-Kristian Nordnes | refactor(core/form/inputs): use child presence hook for PT-input nodes | 145c573
Victoria Wagenblast | fix(core): add change indicators to boolean fields (#​4538) | 94e1c7a

v3.11.3

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes a recent regression from v3.11.2 where text annotations nested inside Portable Text inputs could not be edited properly

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | chore(perf): support passing a comma-separated list of test-ids when running perf suite (#​4520) | 6fb3855
Herman Wikner | fix(core): add PortableTextInputProps to InputProps union (#​4522) | 4031d3c
renovate[bot] | fix(deps): update dependency @​tanstack/react-virtual to v3.0.0-beta.54 (#​4478) | 4bef600
Per-Kristian Nordnes | fix(core/form/inputs): fix rendering regression for PT-input (#​4530) | fba12cf

v3.11.2

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes issue where image and file upload fields were not uploading data
  • Fixes issue that would cause the dropdown list of autocomplete suggestions for reference fields to not overflow correctly inside the Portable Text editor
  • Fixes issue where the current value of reference fields would not be displayed in the Portable Text editor
  • Improves performance for arrays and portable text inputs

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(deps): update dependency @​sanity/client to 6.1.1 | 05b29b7
RitaDias | fix(core): fix image and file upload (#​4518) | 8861dfa
Binoy Patel | fix(core): fix PT reference autocomplete being cut off (#​4519) | 6581afd
Per-Kristian Nordnes | fix(form/inputs): use ref to value as dependency | 4c83b91
Per-Kristian Nordnes | fix(form/inputs): ensure same empty presence object for PT-input components | 6c7c4e4
Per-Kristian Nordnes | refactor(form/inputs): simplify tenary statement | 828e2da
Per-Kristian Nordnes | fix(form/inputs): fix re-rendering issue with PT-input block object | 75dfb9c
Per-Kristian Nordnes | refactor(form/inputs): improve value ref update for ArrayOfObjectsFiled | ff435ed
Per-Kristian Nordnes | refactor(core/form): make sure empty presence arrays are same object | 1299d60
Per-Kristian Nordnes | refactor(form/inputs): use stable empty presence from memberItem | a7ddef9
Binoy Patel | fix(core): editing reference input in PTE does not show value (#​4499) | 7a4275e

v3.11.1

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue causing field groups to be hidden if they only contain fieldsets

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | refactor(form): fix issue with hiding a field group that only have fieldsets (#​4477) | 906a6fe

v3.11.0

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

✨ Highlights

Document list search

It's now possible to search within document lists. We've also improved keyboard accessibility, making it much easier to navigate between lists and the document form editor itself.

🐛 Notable bugfixes

  • Fixes issue where Edit intent links that opens the on-screen keyboard in iOS/android while also opening dialogs would break the layout
  • Improves linking to single spans of text in the Portable Text Input
  • Fixes a bug that made fields without a group appear in all groups
  • Fixes a bug with the Portable Text Editor where single span texts could become out of sync with the server value
  • Fixes an issue where an object field’s value is not unset when all object field values are empty

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | fix: avoid scroll on overflow: hidden (#​4458) | 47302b5
Espen Hovlandsdal | test(cli): reduce dangling entity cleanup threhold to 16 hours (#​4431) | 5780487
Per-Kristian Nordnes | fix(form/inputs): improve tracking of formState focusPath for PT-input (#​4466) | bdcea25
Bjørge Næss | fix(form): show fields without groups only when 'All fields' is selected (#​4472) | b246b81
Herman Wikner | feat: document list search (#​4436) | c6a729f
Bjørge Næss | fix(desk): remove path param from url after initially read (#​4469) | eee026d
Cody Olsen | chore: delete junk files (#​4476) | 6b78d7e
Robin Pyon | chore(test-studio): add an author references block to simpleBlock | 8e83e86
renovate[bot] | fix(deps): update dependency @​vercel/fs-detectors to v3.9.2 | 56c81ff
renovate[bot] | fix(deps): update dependency framer-motion to v10.12.10 | 9602964
renovate[bot] | fix(deps): update dependency @​vercel/frameworks to v1.4.2 | 97b923e
Per-Kristian Nordnes | fix(portable-text-editor): fix sync issue with text spans (#​4467) | 036e68a
RitaDias | fix(core): unset objects when no values in patch when empty value (#​4495) | ba760f3
renovate[bot] | fix(deps): update dependency @​sanity/client to v6 (#​4454) | e092721

v3.10.3

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes an issue where array inputs inside Portable Text dialogs would not properly render

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | Add boundary provider for nested content inside PT-input dialogs (#​4486) | 4f961e9

v3.10.2

Compare Source

v3.10.1

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

🐛 Notable bugfixes

  • Fixes issue where the Create new document dialog didn't work on smaller screens
  • Fixes issue where out of range integers in number fields could crash the studio

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Robin Pyon | fix(core): ensure the create new button dialog is functional on smaller breakpoints (#​4450) | f1dc5ec
Robin Pyon | fix(core): prevent number primitive fields from triggering change callbacks when numbers are out of range (#​4456) | aa2dd6e
Bjørge Næss | chore(test-studio): add a second field to simpleBlock's block type | 82f6ee1
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​4453) | f395629

v3.10.0

Compare Source

Installation and upgrading

Initiate a new Sanity Studio without installing the CLI globally:

npm create sanity@latest

To upgrade Sanity Studio, update its dependency:

npm install sanity@latest

✨ Highlights

Visual Editing (Enterprise Only)

Note

Visual Editing is available for select Sanity enterprise customers. If you would like to use Visual Editing with Vercel, you will also need to contact Vercel to enable this feature for your Vercel team. You may contact our sales team for more information.

Screenshot of a front end with visual editing

This release includes support for Visual Editing and Content Source Maps. This feature enables you to make deep edit links from components in a front end that takes you to respective fields in the Studio. This enables a new workflow that substantially reduces the time it takes to make changes by bringing you directly to the relevant field where you can make edits reliably in its appropriate context. For more information on Visual Editing, check out the documentation here.

Visual Editing is available for mutual Sanity and Vercel Enterprise customers. Existing Sanity enterprise customers can contact their dedicated customer success manager to enable this feature. Customers interested in upgrading to an enterprise plan can contact our sales team for more information. You will also need to contact Vercel sales to enable this feature for your Vercel team.

Sanity enterprise customers can also use the Content Source Maps with GROQ to build custom Visual Editing capabilities. For more information, check out the Content Source Maps documentation here.

Quickly add Sanity Studio to Next.js

Command Line showing sanity init within a Next.js app

The sanity init command now recognizes if you are in a Next.js project, and will ask:

• What Sanity project you want to use (use existing or create new)
• Whether you want to place an embedded Studio using pages or app routes
• Whether you want to use TypeScript for your Studio
• What template you want to use (clean or blog)
• Whether you want to append the project ID and dataset to your .env file (you can also specify a custom env file with the --env flag)

If you have a Next.js project and want to quickly deploy an embedded Sanity Studio, you can run npx sanity init within your application's directory to get started.

Minimum version when using pnpm required: 8.x

Additional notable features

  • Enables fully unattended studio init with CLI when projectId, dataset and --y flags are set
  • sanity init will now determine default package manager choice based on currently running package manager

🐛 Notable bugfixes

  • Updates the Shopify Studio template with various fixes
  • Fixes an issue that caused field group buttons to steal focus when deep linking into a Studio value
  • Fixes an issue causing focus to be set on wrong element when deep linking to a field inside an array
  • Fixes an issue so deep linking to a field/input expands the right fieldsets/collapsed objects along the way
  • Fixes an issue where validation errors would not focus on collapsed fieldset
  • Fixes an issue where using pnpm to install dependencies would not install the latest available versions when creating a new project
  • Resolves issue where unattended mode (--yes flag) for sanity init would still show a confirmation prompt about running a v2-like CLI command
  • Fixes a bug with reference fields not receiving focus when clicking a validation error or following a link to the field
  • Fixes intent links to focus on the correct location
  • Fixes issue with pasting a file from clipboard into a file field that already has a value
  • Fixes support for deep linking in image and file fields
  • Fixes a bug that broke pasting a file into a file field when a value is already present

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | fix(form): fix focus issue with reference fields (#​4429) | 912ce0d
Espen Hovlandsdal | fix(cli): prefer package manager that is currently executing (#​4426) | 4523046
Espen Hovlandsdal | fix(cli): skip v3 init prompt in unattended mode (#​4425) | 7c17124
Rune Botten | feat(cli): skip dataset name validation in unattended mode when provided through options (#​4422) | 605d62b
Espen Hovlandsdal | fix(cli): resolve and install latest sanity+vision dependencies (#​4424) | 25303f9
renovate[bot] | fix(deps): update codemirror (#​4377) | 989dd81
Cody Olsen | chore(test-studio): use the @sanity/ui provided hook for 3d reduced motion | 0f01713
Nina Andal Aarvik | fix(core): add fieldset within field to expandOperation | 488676a
Bjørge Næss | fix(form): make sure getExpandOperations recursively expands objects and fieldsets | 8d50b9e
Robin Pyon | chore(test-studio): add fieldgroup with fieldset + validation debug case | 349e65f
Tom Smith | fix(cli): sync shopify template updates | 8047e5d
Tom Smith | fix(cli): shopify template docs typos | 46bcf81
Espen Hovlandsdal | fix(cli): update shopify template dependency ranges | d159107
Espen Hovlandsdal | fix(cli): add missing dependencies for shopify template | 8af0512
Espen Hovlandsdal | chore: add Tom as codeowner of shopify templates | 48738ef
renovate[bot] | chore(deps): update peter-evans/create-pull-request action to v5 (#​4448) | cfe0b6f
Bjørge Næss | chore: add codeowners to preview + file & image input | 01eb6b0
Bjørge Næss | fix(desk): set collapsed/fieldgroup/open path based on router path | b1f1eb4
Bjørge Næss | fix(form): prevent autofocus on array dialogs where focus is on a deeper value | 8cb0642
Binoy Patel | fix(core): scroll PTE input into view when receiving focus | 627640d
Bjørge Næss | fix(form): skip autofocus on field groups as it's handled by either focusPath or focusFirstDescendant | 51c9483
Bjørge Næss | feat(util): add resolveKeyedPath | ec31040
Binoy Patel | fix(core): focus first descendant in FormView when empty initial focus path is given | 350b567
Binoy Patel | fix(desk): use resolveKeyedPath to set initial open/focus path from url | dc04b49
Binoy Patel | fix(form): sync local focus state when focused/focusPath props change | 89adbd8
Bjørge Næss | fix(form): improve focus handling for image and file inputs (#​4451) | dd8e424
Benjamin Akar | feat(cli): sanity init for Next.js apps (#​4439) | 6effcfe
Bjørge Næss | ci(github): drop node 14 from test matrix (#​4452) | 6fe2b9f

v3.9.1

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npm create sanity@latest

To upgrade a Sanity Studio:

npm install sanity@latest

Improvements

  • Add ability to use custom favicons - see https://www.sanity.io/docs/favicons for more information
  • Improves document history performance
  • Enables passing skipVisibilityCheck prop to preview components to avoid flickering when already in the viewport

🐛 Notable bugfixes

  • Fixes virtualized list (arrays) not rendering properly when inside a modal
  • Fixes bug where validation messages on Portable Text annotations were shown twice
  • Improves wording on message shown after successfully deleting a document
  • Fixes issue where unused references are cleared on clicking outside
  • Resolves issue where validation errors are not focused when clicking on an error in the panel
  • Fixes issue where annotation popovers were not scrollable in the Portable Text Editor
  • Fixes a bug in the Portable Text Editor, which could lead to duplicating single sentence content with mixed marks in the editor when overwritten by another text
  • Fixes an issue where creating a portable text annotation and inserting a value inside it would make a listening text editor crash
  • Fixes an issue where documents would sometimes automatically scroll without user actually performing a scroll

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Binoy Patel | chore(test-studio): enable source-maps (#​4392) | c3669f2
Espen Hovlandsdal | fix(cli): use more recent version ranges for new projects (#​4393) | b382120
Robin Pyon | fix(desk): document timeline performance improvements (#​4347) | 4d56352
Espen Hovlandsdal | fix(cli): remove broken custom document component link | 71f0d45
Per-Kristian Nordnes | dev(test-studio): add validation to recursive blocks test | 2d3b0cf
Geoff Ball | Update README.md | b55bca8
Nina Andal Aarvik | fix(validation): remove recursive validation check for annotations in pte (#​4397) | 5e47c39
Nina Andal Aarvik | fix(desk): change message shown after successfully deleting document (#​4398) | 14f7f6d
Nina Andal Aarvik | refactor(schema): add fields causing form to render empty | bc2ff46
Bjørge Næss | fix(form): wrap members in an intermediate structure and hide field groups with no fields | e6bafe0
Bjørge Næss | fix(form): force-select "all fields" group and disable all others when changes panel is open | 755c337
Bjørge Næss | fix(form): hide field groups where all fields are hidden | fcfe3a8
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​4401) | 148f4eb
renovate[bot] | chore(deps): update linters to v5.59.0 (#​4376) | c646440
RitaDias | chore(.github): add code owners (#​4403) | 1be86d7
Per-Kristian Nordnes | fix(portable-text-editor): keep selection when emtied remotely | d30d93c
Per-Kristian Nordnes | test(portable-text-editor): update test snapshot according to placeholder change | 4d57da1
Binoy Patel | fix(core): fix focus issues when a new reference field is added (#​4400) | c575bcb
Espen Hovlandsdal | fix: exhaustive dependency arrays (#​4368) | 2d7fe78
Cody Olsen | chore(desk-tool): fix sort order dependency | 9f6f4e8
Cody Olsen | chore: fix artifact from merge conflict in #​4368 | 5e1cb7b
Per-Kristian Nordnes | test(portable-text-editor): skip native pasting tests for MacOS | f703848
Espen Hovlandsdal | test(e2e): use reduced motion selector for tests | 968d723
Espen Hovlandsdal | test(e2e): fix incorrect boolean flag parsing | da6f875
Espen Hovlandsdal | test(e2e): add SANITY_E2E_DEBUG flag for testing headful chrome | 5fb28f8
Espen Hovlandsdal | test(e2e): simplify authentication setup | c242e7c
Per-Kristian Nordnes | fix(portable-text-editor): fix issue with PTE merge operation not producing unset patch (#​4416) | 3f2b278
RitaDias | fix(core): allow for skipping visibility in preview element (fix flickering issue) (#​4408) | 2aa071b
Bjørge Næss | chore(renovate): open individual PRs for individual packages | 3689ccf
Cody Olsen | refactor(timeline): use official external store with selector API (#​4413) | e1f2b7e
renovate[bot] | fix(deps): update dependency framer-motion to v10 (#​4380) | 09d7f7c
Bjørge Næss | chore(renovate): autorebase dependency PRs when behind base branch | e47ab0d
Nina Andal Aarvik | fix(core): add max height to popover (#​4414) | 6742eda
Binoy Patel | fix(core): list virtualization is broken inside modals (#​4410) | a00f0b9
Per-Kristian Nordnes | fix(portable-text-editor): ignore void edits inside markDefs (#​4419) | 1800fe5
Per-Kristian Nordnes | feature(core): show to-blockstyle in pt-diff (#​4321) | 38bc5d8
Bjørge Næss | chore(test-studio): add repro schema for scroll bug | 050164c
Binoy Patel | fix(core): fix scrolling issue with documents | 35c0ba9
Espen Hovlandsdal | feat(cli): support serving custom favicons (#​4394) | 14be444
Espen Hovlandsdal | test(e2e): wait for JS bundles to be ready in global setup | 46c9a0b
Espen Hovlandsdal | test(e2e): bring back html reports for CI | 8ec5f5d
Binoy Patel | fix(core): array item not showing when using modal: 'popover' (#​4423) | 8106688

v3.9.0

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade an existing Studio (v3):

npm install sanity@latest

✨ Highlights

New init flags: --bare, --env

The npm create sanity and sanity init CLI commands now have two new flags available:

  • --bare - skips the installation of a Sanity Studio. Instead, it takes you through the project and dataset creation process and prints the project ID and dataset names to the console.
  • --env [path] - detects the framework used in the current directory and creates a .env file with the correct prefix for environment variables. The path is optional; the default value is .env, but you can change it to anything beginning with .env, for example, .env.local.example.

These flags are useful when you want to integrate an application with a new or existing project, when you have some existing Studio code you want to set up, or when you only need the Content Lake capabilities.

Improved performance on large arrays

Lists of objects and references are now virtualized in the Sanity Studio UI. This should significantly improve performance in documents with large arrays.

Improvements for custom Vite configuration

Any custom Vite configuration defined in sanity.cli.ts will now be merged with the default configuration using Vite’s merge logic. This improvement will make it easier customize the Vite configuration without having to deeply understand the defaults. The configuration now also has improved TypeScript types.

Other features

  • The schema validator now checks for fields that use the block type outside of an array, which is not currently supported (thanks @​pauloborges!)

🐛 Notable bugfixes

  • Resolves an error that occurred when attempting to create a document of a certain type with an empty object as the initial value, resulting in a permission error
  • Addresses an issue where CSS files were not properly updated with a configured Studio base path
  • Fixes a bug that caused the Studio to crash when trying to fetch user data without proper permissions
  • Resolves a problem where multiple sorting options could be selected at the same time in a dropdown menu
  • Addresses an issue where long filenames/MIME types were not truncated in the file picker list
  • Resolves a bug that caused the Portable Text Editor to crash when encountering an invalid value.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | test(cli): resolve user email for configured test token (#​4353) | 868fc61
Espen Hovlandsdal | test(cli): use --detach for dataset copy for faster runs (#​4357) | d085af0
Binoy Patel | chore(perf): add perf test for large document (#​4356) | 5c319e9
renovate[bot] | fix(deps): update dependency scroll-into-view-if-needed to v3.0.10 (#​4328) | 0e598ba
Binoy Patel | fix(core): fix permissions when initialValue is empty object (#​4360) | 937421a
Binoy Patel | fix(cli): fix basePath not assigned to css files (#​4354) | 7126000
Noah Gentile | fix(cli): apply user vite config in preview | 9432959
Noah Gentile | feat(cli): merge user vite config object | 53f7808
Noah Gentile | feat(cli): align with vite config fn behavior | 437a1b4
Noah Gentile | refactor(cli): mock vite typings | b43b69a
Paulo Borges | fix(schema): validate that object has no standalone block fields (#​4199) | c131116
Espen Hovlandsdal | test(e2e): bump initial setup timeout to 120s | 11c5efb
Espen Hovlandsdal | chore: fix prettify script not specifying path | 538d31c
Per-Kristian Nordnes | refactor(portable-text-editor): ignore operations or patches targeting inside non-editable objects of the editor (#​4334) | 8e7a323
Binoy Patel | fix(core): clear unused references in an array when clicked outside (#​4361) | cb9ef3a
Binoy Patel | chore(cli): fix basePath test flakiness (#​4366) | 0cd32eb
shur | fix: log inability to fetch user for avatars, prevent studio crash (#​4367) | bcc240d
renovate[bot] | chore(deps): update devdependencies (non-major) (#​4329) | 3cd83d4
Nina Andal Aarvik | fix(core): add ellipsis textOverflow to type in file picker list (#​4348) | fcbea4b
Nina Andal Aarvik | fix(desk): compare selected on sortOrderRaw instead of sortOrder (#​4345) | 16cf235
Benjamin Akar | feat(cli): add --bare and --env flags to sanity init (#​4290) | 345d319
Cody Olsen | chore(CI): create yarn lockfile maintenance action (#​4370) | f7fd7a1
ecospark[bot] | chore(deps): lock file maintenance (#​4371) | 2657ad0
Cody Olsen | chore(renovatebot): ignore the v2 text fixture deps | bbb3a41
renovate[bot] | chore(deps): lock file maintenance (#​4372) | 0270793
renovate[bot] | fix(deps): update dependency @​types/three to ^0.150.0 (#​4382) | 629acf4
renovate[bot] | fix(deps): update dependency three to ^0.151.0 (#​4383) | f6f9b8c
Per-Kristian Nordnes | fix(portable-text-editor): invalid Portable Text value causing crash (#​4364) | 2a15433
Marius Lundgård | fix(core): fix typos in config reducer error messages | 72b37a5
Cody Olsen | fix: refactor desk tool intent resolver to reduce remounts (#​4363) | e888f51
Marius Lundgård | fix(deps): update @sanity/icons | 2f0ec12
renovate[bot] | chore(deps): lock file maintenance (#​4387) | 9e9d286
Bjørge Næss | fix(perf-runner): add support for running tests against recent tags only (#​4386) | 036c029
Nina Andal Aarvik | fix(core): capitalize type name if item type lacks title in pte (#​4385) | df16d46
Binoy Patel | fix(core): add virtualization to array of objects and references (#​4299) | 09afa59

v3.8.3

Compare Source

Installation and upgrading

To initiate a new Studio without installing the CLI globally:

npx create-sanity@latest

To upgrade a v3 Studio:

npm install sanity@latest

🐛 Notable bugfixes

  • Improves performance when inputing text in large documents
  • Fixes the issue where the document pane title, as defined in the desk structure, was not being utilized properly
  • Fixes a problem where intent route would not open the correct desk structure

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | chore(typings): remove get-it overrides (#​4319) | de48e28
Robin Pyon | chore(test-studio): filter out unavailable document types in recently edited documents | b0c92bc
Binoy Patel | chore(perf-test): Fix


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.

🔕 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

@socket-security
Copy link

socket-security bot commented Jun 12, 2023

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

Packages Version New capabilities Transitives Size Publisher
groq 2.33.2...3.14.1 None +0/-0 8.43 kB binoy14

@renovate renovate bot force-pushed the renovate/major-3-sanity-monorepo branch 2 times, most recently from 30341b2 to 1d62847 Compare July 3, 2023 20:34
@renovate renovate bot force-pushed the renovate/major-3-sanity-monorepo branch from 1d62847 to ff508a7 Compare July 5, 2023 00:42
@renovate renovate bot force-pushed the renovate/major-3-sanity-monorepo branch from ff508a7 to 5758a03 Compare July 7, 2023 12:56
@robinpyon robinpyon merged commit 92e94c0 into main Jul 7, 2023
@robinpyon robinpyon deleted the renovate/major-3-sanity-monorepo branch July 7, 2023 14:41
@github-actions
Copy link

github-actions bot commented Jul 7, 2023

🎉 This PR is included in version 2.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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