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 @sanity/mutator to v3 #240

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/mutator (source) ^2.33.2 -> ^3.0.0 age adoption passing confidence

Release Notes

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

v3.14.5

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

  • Various microcopy improvements
  • Adds isSlug() method to @sanity/types for type-safe asserting of a slug object
  • Fixes an issue where using multiple desk tools in the same studio would cause duplicate "review changes" actions and validation lists to appear. Thanks @​andparsons!
  • userHasRole will now accept null as well as a user object, making it more convenient in certain situations where the user might not yet be accessible
  • Fixes issue with auto scrolling on collapsed fieldset
  • Fixes issue where array list would not display all items when wrapped in a custom element
  • Fixes issue where array list would not display when inside a popover

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(core): optimize wheel event on CommandList virtual element (#​4722) | 3dffb11
Fred Carlsen | PTE microcopy updates (#​4624) | c3d0234
Nina Andal Aarvik | fix(core): change cdr tooltip text (#​4750) | c78f9bd
Espen Hovlandsdal | feat(types): add isSlug asserter method (#​4746) | 31cee8f
Espen Hovlandsdal | fix(desk): prevent duplicate validation/change inspectors (#​4748) | 3c1a0e5
Espen Hovlandsdal | test(block-tools): update snapshots to match copy changes | 1378b95
Espen Hovlandsdal | fix(core): allow null and role-less user in userHasRole fn (#​4740) | a735461
renovate[bot] | fix(deps): update dependency @​vercel/frameworks to v1.5.0 (#​4752) | d9dcc3c
Binoy Patel | fix(core): fix auto scrolling issue on collapsed fieldset w/ array (#​4738) | 0cb1a0e
Binoy Patel | fix(core): fixes issues with virtualized list when wrapped in an element (#​4739) | 8779740
renovate[bot] | fix(deps): update dependency @​vercel/fs-detectors to v4.1.1 (#​4764) | bae83ad
Espen Hovlandsdal | refactor(validation): clean up imports/exports (always use named) | e21c7eb
Espen Hovlandsdal | refactor(validation): move @sanity/validation into monopackage | 856131e
Binoy Patel | docs(desk): fix 404 links (#​4770) | 109c3c3

v3.14.4

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

  • Implements the 'document' creation context in the document.newDocumentOptions API
  • Fixes an issue where exported datasets with cross-dataset references could not be imported to different projects. Note that referenced datasets must exist within same project - otherwise use --skip-cross-dataset-references.
  • Removes warning about missing titles for schema types (titles are automatically created based on schema type name - a title is only necessary if the automatic name is incorrect/inaccurate)
  • Titles are now automatically applied to field groups and fieldsets, in the same way as with schema types.
  • Improves error messages from configuration errors
  • Boolean inputs will now show validation errors at the input level
  • Fixes alignment/scrolling issues of references in delete/unpublish dialog
  • Fixes accessibility issues in tooltip text color contrast
  • Fixes various accessibility label issues in the desk tool
  • Fixes issue where focus would jump to first element when hovering divider in menu
  • Fixes an issue where the fallback editor had the title "Editor", instead of the name of the document being edited

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(core): deprecate projectId in cross-dataset reference definitions | 103d99d
Espen Hovlandsdal | fix(import): rewrite cross-dataset references, add option to skip | ad10b38
Espen Hovlandsdal | feat(import): check for missing datasets prior to importing | 8e8242d
Espen Hovlandsdal | feat(cli): add --skip-cross-dataset-references flag to dataset import | c9cac66
Espen Hovlandsdal | fix(types): deprecate experimental search for CDRs | ea075f0
Espen Hovlandsdal | fix(import): skip datasets lookup if no CDRs are found | ed34949
Herman Wikner | feat(core): implement document creation context in document.newDocumentOptions (#​4680) | b9298e8
Binoy Patel | docs(desk): fix links in tsdoc comment (#​4714) | 1bae93a
Espen Hovlandsdal | refactor(config): use human-readable types for config error messages | 6224f47
Espen Hovlandsdal | feat(schema): do not warn on missing title for schema type | 6164d24
Espen Hovlandsdal | feat(schema): automatically create titles for field groups without one | ffb8339
Espen Hovlandsdal | fix(types): add missing group property on fieldset definitions | 87d642a
Espen Hovlandsdal | fix(types): adjust icon property for field group (can only be component) | cf968aa
Espen Hovlandsdal | feat(schema): automatically create titles for fieldsets without one | 6f201e0
RitaDias | fix(core): add missing validation at input level validation (boolean) (#​4719) | cb64607
Espen Hovlandsdal | refactor(desk): drop unused validation menu component | f70c3df
Espen Hovlandsdal | refactor(core): drop unused validation list components | cddba6d
Nina Andal Aarvik | fix(desk): minor style change of references in delete/unpublish dialog (#​4705) | a8e7c24
vicbergquist | fix(desk): add accessible label to publish icon | fd6c2e9
vicbergquist | fix(core): add a11y labels to presence indicators | 5182529
vicbergquist | fix(desk): add accessible labels to publish status | dcb1fc7
vicbergquist | fix(desk): add accessible labels to review changes button | 736437b
Nina Andal Aarvik | fix(core): add logic to focusFirst in customised popover (#​4667) | 1313dd4
renovate[bot] | fix(deps): update dependency get-it to v8.3.0 (#​4736) | 52d7eb7
renovate[bot] | fix(deps): update dependency @​sanity/client to v6.1.7 (#​4737) | dacb164
renovate[bot] | fix(deps): update dependency @​sanity/ui to v1.7.3 (#​4728) | 8176fba
renovate[bot] | chore(deps): update dependency sanity-plugin-mux-input to v2.1.1 (#​4734) | 6a5f9f4
renovate[bot] | fix(deps): update dependency framer-motion to v10.13.1 (#​4735) | 4af3c69
renovate[bot] | fix(deps): update dependency vite to v4.4.7 (#​4733) | 1f83fce
renovate[bot] | fix(deps): update dependency react-focus-lock to v2.9.5 (#​4732) | 0c6f3a2
renovate[bot] | fix(deps): update dependency esbuild to v0.18.16 (#​4731) | 9437194
renovate[bot] | fix(deps): update dependency @​vitejs/plugin-react to v4.0.3 (#​4730) | ba4e659
renovate[bot] | fix(deps): update dependency @​sanity/uuid to v3.0.2 (#​4729) | 5f65434
renovate[bot] | chore(deps): update dependency @​sanity/pkg-utils to v2.3.6 (#​4727) | b33ba8a

v3.14.3

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 changes

  • Added scrolling to list of workspace (when many workspaces are configured)
  • Improved contrast of text in certain tooltips

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): update dependency @​vercel/frameworks to v1.4.3 (#​4669) | f49db76
renovate[bot] | chore(config): migrate renovate config (#​4679) | a79dc3f
renovate[bot] | fix(deps): update dependency esbuild to ^0.18.0 (#​4630) | bae43bf
renovate[bot] | fix(deps): update dependency @​vitejs/plugin-react to v4 (#​4635) | de75d69
ecospark[bot] | chore(prettier): fix unformatted files 🤖 ✨ (#​4693) | cc937d2
Espen Hovlandsdal | chore(test-studio): remove dep optimization exclusion | 867675a
RitaDias | docs(sanity): update sanity package tsdocs (#​4608) | ffa183f
renovate[bot] | chore(deps): update dependency @​sanity/ui-workshop to v1.2.4 (#​4690) | 9e50e22
renovate[bot] | fix(deps): update dependency @​vercel/fs-detectors to v4 (#​4634) | ada8367
renovate[bot] | chore(deps): update dependency @​vercel/node to v2 (#​4632) | a4f1558
renovate[bot] | fix(deps): update dependency vite to v4.4.4 (#​4673) | 6c37226
renovate[bot] | chore(deps): update dependency @​sanity/eslint-config-studio to v2.0.4 (#​4696) | c6d0cac
Espen Hovlandsdal | chore(test-studio): add back dep optimization exclusions, include jsx-runtime | a749d6a
renovate[bot] | chore(deps): update dependency @​sanity/assist to v1.0.11 (#​4695) | 4a0fee5
Nina Andal Aarvik | fix(core): add scrolling to workspace login screen (#​4697) | d2c85b4
Espen Hovlandsdal | chore: drop unused root-level dependencies (#​4694) | d94892d
Espen Hovlandsdal | test: temporarily use --forceExit flag until leak is found | 64fea88
Nina Andal Aarvik | fix(core/desk): remove muted prop in tooltip content (#​4703) | 5d58280
Binoy Patel | fix(cli): warn about putting secrets in .env (#​4683) | 69083ce

v3.14.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 an issue where the styled-components dependency would not be installed when installing Sanity in an existing project
  • Fixes an issue where the "Restore" document action would sometimes not restore the document
  • Fixed an issue where the fallback editor had the title "Editor", instead of the name of the document being edited

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Marius Lundgård | docs: add missing @hidden modifier tags | 358300b
Snorre Eskeland Brekke | chore(deps): updated @​sanity/assist | 49acd6f
renovate[bot] | fix(deps): update dependency get-it to v8.2.0 | 72ce4ef
Espen Hovlandsdal | fix(cli): typing update for request/response client errors | d548dbd
renovate[bot] | fix(deps): update dependency @​sanity/client to v6.1.6 (#​4628) | 27bfeae
renovate[bot] | fix(deps): update dependency @​sanity/ui to v1.7.1 (#​4670) | 4802d7c
RitaDias | docs(sanity): structure/desktool items docs (#​4612) | 278b1ed
Binoy Patel | chore(router): add docs for sanity/router package (#​4617) | 415dd84
renovate[bot] | fix(deps): update dependency @​vercel/fs-detectors to v3.9.3 (#​4642) | 946ec16
Jon Eide Johnsen | fix: add missing styled component dependency (#​4681) | cafa41b
Binoy Patel | fix(core): restore not working on nested panes (#​4668) | b7886ec
Espen Hovlandsdal | fix(desk): prevent fallback editor node from getting 'Editor' as title (#​4688) | 9952de9

v3.14.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 issue with small hit area for collapsible fieldsets.
  • Fixes an issue where using sanity init on a Next.js project with embedded Studio would result in an error if an outdated version of next-sanity was being used.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
renovate[bot] | fix(deps): update dependency framer-motion to v10.12.17 (#​4643) | f82b718
renovate[bot] | chore(deps): update dependency typedoc to v0.24.8 (#​4641) | a56da0c
Binoy Patel | chore(deps): version bump @​sanity/tsdoc (#​4655) | bf7cdea
Nina Andal Aarvik | fix(core): increase button hit area of collapsible fieldset (#​4646) | 7d9086b
Cody Olsen | fix: upgrade next-sanity in init to v5 (#​4658) | cdf810c
Espen Hovlandsdal | build(etl): improve output of etl command (#​4656) | 8fe12bf
Nina Andal Aarvik | fix(core): add aria-label to resources button (#​4659) | e0ae4bf

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

Support for Perspectives in Vision

Perspectives in vision

Coinciding with today's studio release, we're bringing support for trying out Perspectives in the vision plugin.

With Perspectives, you can add a single parameter to fetch a either the latest draft (previewDrafts) or latest published (published) version of a document.

To learn more about Perspectives, read our announcement post or our documentation.

New Help & Resources menu

We've consolidated some helpful resources to customize the Studio experience, learn more about our latest updates, and connect with our team. You can also compare your current Studio version to the latest version available.

help-resources

📓 Full changelog

Author Message Commit
renovate[bot] fix(deps): update dependency @​portabletext/react to v3.0.4 (#​4647) ae38208d5
Nina Andal Aarvik fix(core): add Help&Resources button to navbar (#​4545) a4cb4a7cc
Marius Lundgård chore: improve etl command 6503bc81e
Marius Lundgård chore: add tsdoc:dev script 70ef1d80d
Bjørge Næss chore(perf): add support for --excludeTestIds and fail test runner if wrong test-id is provided (#​4619) cd2075b37
Snorre Eskeland Brekke chore: add @​sanity/assist to test-studio workspace (#​4648) 67a1af5ae
Michael Wain chore(deps): update dependency @​sanity/client to 6.1.5 e5f7af5f6
Michael Wain feat(vision): add perspective support 2f9cbc701

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

  • New Document inspector @beta API
  • Document validation now opens in a sidepanel

🐛 Notable bugfixes

  • Improves behavior of popovers in the Portable Text editor
  • sanity debug now outputs all the roles of the currently authenticated user

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | docs(sanity): update license badge url | e1dbd1c
Marius Lundgård | fix(core): improve PTE popover behavior (#​4606) | c17929e
RitaDias | feat: add etl layer (#​4584) | aff1e63
RitaDias | docs(cli): update docs for getStudioEnvironmentVariables (#​4597) | 06d5928
Espen Hovlandsdal | feat(cli): print all current user roles in debug output (#​4609) | ea322f2
Binoy Patel | chore(deps): bump version of @​sanity/tsdoc (#​4614) | 6e58931
Espen Hovlandsdal | test(e2e): retry once on failures, record video on retry (#​4618) | b4f7fa2
Marius Lundgård | fix(deps): update @sanity/icons | 0b2c40e
Marius Lundgård | feat(desk): document inspectors (@beta) (#​4252) | e9c068a
Marius Lundgård | feat(core): add TooltipOfDisabled component | b58e238
Marius Lundgård | feat(core): add StatusButton hotkey property | f1b154a
Marius Lundgård | feat(core): take StatusButton disabled reason | 38c6e93
Marius Lundgård | feat(core): take StatusButton mode property | ba1092d
Marius Lundgård | feat(core): fieldActions config property | 18c5894
Marius Lundgård | feat(core): render field actions | 3c0ea55
Marius Lundgård | feat(desk): resolve field actions | 4086ddd
Marius Lundgård | feat(desk): render document field actions | cc9edc7
Marius Lundgård | test: document field actions | 941b9a0
Marius Lundgård | test(core): update tests | 2263b8e
Marius Lundgård | perf: add field actions to perf studio | a1a4182
Cody Olsen | chore: dedupe @sanity/icons and update snapshot (#​4638) | 791efec
ecospark[bot] | chore(deps): dedupe yarn.lock (#​4599) | f8fc12a
renovate[bot] | fix(deps): update dependency @​portabletext/types to v2.0.5 (#​4627) | 0b01660
Espen Hovlandsdal | docs: update contribution guidelines (#​4616) | 8131d83
renovate[bot] | fix(deps): update three packages (#​4631) | ef36686
renovate[bot] | fix(deps): update dependency get-it to v8.1.3 (#​4644) | d461bb6
renovate[bot] | fix(deps): update dependency styled-components to v5.3.11 (#​4629) | 76df1cf
renovate[bot] | fix(deps): update dependency @​portabletext/react to v3 (#​4625) | e3c3223
renovate[bot] | chore(deps): update dependency @​sanity/pkg-utils to v2.3.3 (#​4626) | fdeac3f

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 is

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

@vercel
Copy link

vercel bot commented Jun 19, 2023

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

Name Status Preview Comments Updated (UTC)
gatsby-source-sanity ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 2:01pm

@socket-security
Copy link

socket-security bot commented Jun 19, 2023

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

🚮 Removed packages: @sanity/mutator@2.36.1

@renovate renovate bot force-pushed the renovate/major-3-sanity-monorepo branch from f46a691 to 00ffeb2 Compare July 24, 2023 13:57
@renovate renovate bot changed the title fix(deps): update dependency @sanity/mutator to v3 fix(deps): Update dependency @sanity/mutator to v3 Aug 4, 2023
@stipsan stipsan closed this Aug 21, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Aug 21, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-3-sanity-monorepo branch August 21, 2023 23:42
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.

None yet

1 participant