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

[patch] Update dependency @sanity/base to v2 - abandoned #36

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 12, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/base (source) ^1.0.0 -> ^1.0.0 || ^2.0.0 age adoption passing confidence

Release Notes

sanity-io/sanity

v2.35.7

Compare Source

⚠️ THIS IS A MAINTENANCE RELEASE OF A PREVIOUS MAJOR VERSION OF SANITY

We recommend updating to Sanity Studio v3 which provides exceptional flexibility and an unparalleled developer experience. The core packages for Sanity Studio v2 will only receive critical bug fixes until Dec 7th, 2023

Please head over to the documentation for Sanity Studio v3 to learn more.

You can find migration guides from Studio v2 here.

Installation and upgrading

Upgrade the v2 version of the Command Line Interface (CLI) with:

npm install --global @​sanity/cli@v2

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Fixes issue where clicking a document reference while still loading would result in an invalid link and cause the studio to crash
  • Fixes an issue that might cause the studio to crash when trying to view history in a dataset copied with the --skip-history flag
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | build: patch webpack to use md5 for cli hashes | 12044f1
Espen Hovlandsdal | chore: remove outdated ts-expect-error comment | 7aa7f4c
Espen Hovlandsdal | chore: upgrade nock to work around node 18 test issue | df5bdc5
Espen Hovlandsdal | build: add empty perf/studio folder so vercel build can be skipped | b1612f1
Espen Hovlandsdal | fix(desk): attempt to resolve missing document type automatically | 0f8fa98
Espen Hovlandsdal | build: add placeholder perf studio html | f9618c3
Binoy | fix(core): fix crash when history does not include valid user information (#​4250) | 9c3825f

v2.35.5

Compare Source

⚠️ THIS IS A MAINTENANCE RELEASE OF A PREVIOUS MAJOR VERSION OF SANITY

We recommend updating to Sanity Studio v3 which provides exceptional flexibility and an unparalleled developer experience. The core packages for Sanity Studio v2 will only receive critical bug fixes until Dec 7th, 2023

Please head over to the documentation for Sanity Studio v3 to learn more.

You can find migration guides from Studio v2 here.

Installation and upgrading

Upgrade the v2 version of the Command Line Interface (CLI) with:

npm install --global @​sanity/cli@v2

Upgrade Sanity Studio with:

sanity upgrade
Notable changes
  • Upgrades the portable text editor to the latest compatible version
  • Fixes a potential build error caused by multiple versions of RxJS
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | chore(form-builder): upgrade @​sanity/portable-text-editor | 013c538
Espen Hovlandsdal | refactor(export): drop use of getUrl() method | 46c165a
Espen Hovlandsdal | fix(base): pin bifur client to 0.3.0 | 3acf5d7
Espen Hovlandsdal | fix(core): add missing yargs types | 8de880c
Espen Hovlandsdal | chore: force react typings to use ^17 throughout monorepo | 839700f
Espen Hovlandsdal | fix(core): restore URL constructor after mocked browser env | b9e456b

v2.35.4

Compare Source

⚠️ THIS IS A MAINTENANCE RELEASE OF A PREVIOUS MAJOR VERSION OF SANITY

We recommend updating to Sanity Studio v3 which provides exceptional flexibility and an unparalleled developer experience. The core packages for Sanity Studio v2 will only receive critical bug fixes until Dec 7th, 2023

Please head over to the documentation for Sanity Studio v3 to learn more.

You can find migration guides from Studio v2 here.

Installation and upgrading

Upgrade the v2 version of the Command Line Interface (CLI) with:

npm install --global @​sanity/cli@v2

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes an issue that could give false validation errors for complex documents

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | fix(base): wait for all chunked requests to arrive before continuing (#​4017) | 3b6915b

v2.35.3

Compare Source

⚠️ THIS IS A MAINTENANCE RELEASE OF A PREVIOUS MAJOR VERSION OF SANITY

We recommend updating to Sanity Studio v3 which provides exceptional flexibility and an unparalleled developer experience. The core packages for Sanity Studio v2 will only receive critical bug fixes until Dec 7th, 2023

Please head over to the documentation for Sanity Studio v3 to learn more. You can find migration guides from Studio v2 here.

Installation and upgrading

Upgrade the v2 version of the Command Line Interface (CLI) with:

npm install --global @​sanity/cli@v2

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Improves inputmode detection for number input (#​3867)
  • Fixes an issue causing reference field filters not to update in some cases (#​3901)
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | ci: update branch name | 4d48d8b
Per-Kristian Nordnes | chore: update v2 publish command to tag release with v2 | cf1c64b
Raul de Melo | fix(form-builder): improve inputmode detection for number input and fix tests | 11988da
Nina Andal Aarvik | fix(form-builder): remove distinctUntilChanged function from handleQueryChange in referenceInput (#​3901) | f544e11
Snorre Eskeland Brekke | chore: deleted plugins that now live outside the monorepo (#​3899) | d477e34
Per-Kristian Nordnes | chore: simplify v2 tag publish command | a464646
Espen Hovlandsdal | chore: deprecate v2 modules (#​3997) | 0dba94b
Espen Hovlandsdal | fix(cli): specify 2.x version ranges for dependencies (#​3993) | a7e00a0
Bjørge Næss | chore: upgrade release notes template for 2.x | e78489f

v2.35.2

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Fixes an edge case where a cross dataset reference to a deleted document would prevent you from changing the referring document
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Fred Carlsen | fix(base): skip cross dataset validation on mutations (#​3856) | d746aae

v2.35.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Shared Content

This release introduces support for shared content through cross-dataset references. Read more in the announcement: https://www.sanity.io/blog/shared-content-introduction

Shared Content: Eliminate Content Debt

Improved search

Order search results by relevance, created and last updated date.

Ordering search results

🐛 Notable bugfixes
  • Fixes an issue where split panes might not persist after reloading the studio
  • Fixes a bug causing revision history selector to always display the current version instead of the selected revision
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Cody Olsen | fix: persist split panes on reload | 797315a
Bjørge Næss | fix(desk-tool): fix issue with history pane not showing the earlier version (#​3759) | 3ab221a
Robin Pyon | chore(default-layout): re-enable search sorting (#​3765) | 3a2fc45
Espen Hovlandsdal | fix(schema): include _dataset field for cross-dataset references | 9c6dd6b
Espen Hovlandsdal | feat(core): include (non-materialized) cross-dataset references in GraphQL schemas | 5d1e161
Fred Carlsen | refactor(form-builder): simplify cross dataset reference config (#​3670) | 6b0afbd

v2.34.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Performance improvements

This release includes several performance fixes that should now make the Studio more responsive while editing documents. (See more details in individual PRs #​3668, #​3662, #​3660)

Improved search

Search for documents containing an exact phrase by wrapping text inside double quotes.

Other features

  • Upgrade @sanity/ui to v.0.37.22

🐛 Notable bugfixes

  • Fixes an issue where the scroll position in global search wasn’t being correctly retained in some instances.
  • Fixes an issue in global search that would cause the studio to crash if Local Storage is unavailable.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | feature(form-builder): throttle onChange form text inputs | c8c1ab9
Per-Kristian Nordnes | feature(react-hooks): add low priority modality to useEditState hook | c81a611
Per-Kristian Nordnes | refactor(desk-tool): optimize DocumentPaneProvider | 6a53cfb
Bjørge Næss | feat(form-builder): add withParent higher order component | 0cc0a38
Robin Pyon | fix(default-layout): apply offset on search spinner wrapping element | b36cc94
Bjørge Næss | test(validation): drop test asserting eager execution of nested validation checks | b877b6d
Bjørge Næss | fix(validation): add requestIdleCallback shim for Safari | bf2eb5b
Bjørge Næss | perf(validation): refactor validation to be based on observables instead of promises, run in idle callback | 6d2e9b7
Bjørge Næss | lint(validation): rename reduce accumulator | ecfddc8
Bjørge Næss | deps(base): upgrade to latest rxjs-exhaustmap-with-trailing | 9df5705
Bjørge Næss | refactor(base): optimize validation scheduling | 7998aed
Bjørge Næss | test(base): tweak tests after validation schedule optimizations | 5539bcf
Bjørge Næss | fix(base): keep reference existence listener alive between document versions | 80a6b19
Bjørge Næss | fix(base): inline getDocumentExists and make it look up already existing info | 834c298
Bjørge Næss | fix(desk-tool): make sure validation result is about current revision before publishing | e8db04f
Robin Pyon | feat(default-layout): sortable search results, search phrases, experimental config (#​3652) | d60e29e
Per-Kristian Nordnes | fix(react-hooks): reuse already setup observable | 159cee9
Per-Kristian Nordnes | fix(desk-tool): don't render title until the editState is ready | 4237e3b
Per-Kristian Nordnes | refactor(dashboard): streamline user widget loading spinner with other plugins | c14679d
Per-Kristian Nordnes | chore(default-layout): disable search sort for now | ec293d3
Per-Kristian Nordnes | chore: upgrade @​sanity/ui to ^0.37.22 | adf025a
Per-Kristian Nordnes | fix(default-layout): fix issue with SearchHeader spinner icon not being correctly aligned | a1d9f5f
Per-Kristian Nordnes | fix(default-login): fix issue with CORS check Spinner misaligning | 4c51e19
Per-Kristian Nordnes | fix(studio-hints): fix issue with Spinner misaligning | 7ba632a

v2.33.3

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

New CLI flags!

We've added a few new flags to make automation easier!

The --force flag was added to a few already existing commands and will skip the confirmation prompt and proceed with the command:

sanity dataset alias unlink <alias-name> --force

sanity dataset alias delete <alias-name> --force

sanity dataset delete <dataset-name> --force

sanity graphql undeploy --dataset <dataset-name> --force

When added, the --no-open flag prevents the login page from automatically opening in the browser.

sanity login --provider <provider-name> --no-open

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | fix(form-builder): fix dialog issue with toplayer caused by omnipresent layer | 0d87380
Per-Kristian Nordnes | fix(form-builder): workaround weird Chrome bug related to flex and spellchecking | a8713a8
Espen Hovlandsdal | feat(cli): add --no-open flag to login command | 4c38a3d
Espen Hovlandsdal | feat(cli): add --force flag to sanity dataset delete command | bb08c41
Espen Hovlandsdal | feat(cli): add --force flag for dataset alias unlink command | bc012e5
Espen Hovlandsdal | feat(core): add --force flag to dataset alias delete command | 6d2a077
Fred Carlsen | fix(desk-tool): silence warning about animating stroke dash offset | 2b9fb7d
Fred Carlsen | fix(base): tag bifur requests | ae7e560
Espen Hovlandsdal | feat(core): add --force flag to graphql undeploy command | eb9684e
Bjørge Næss | perf(desk-tool): optimize useTimeAgo | 7a44a7d

v2.33.2

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes styling of a columnar fieldsets
  • Fixes an issue where older versions of Safari might crash when opening a referenced document
  • Fixes an issue with the cursor disappearing when arrowing down to the bottom of a collapsed Portable Text Input field
  • Fixes a Safari issue where the Portable Text editor's selection is reset when returning from an object edit modal of an embedded Portable Text object
  • Improved read only mode for the Portable Text Input

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Nina Andal Aarvik | fix(base): add alignment styling to a columnar fieldset (#​3279) | 3f450c6
Espen Hovlandsdal | fix(desk-tool): check for valid resize observer entry before use (#​3615) | 5d42458
Per-Kristian Nordnes | fix(form-builder): wrap non contentEditable in basic div | 7f8c231
Per-Kristian Nordnes | fix(form-builder): fix issue where Safari wasn't keeping the editor selection when editing objects | 7d1cdbd
Espen Hovlandsdal | fix(field): use correct type constraint for useRefValue | 0377429
Per-Kristian Nordnes | refactor(form-builder): improve PT-input readOnly mode | 49b0aae
Per-Kristian Nordnes | chore: update to latest v3 PTE | f732858
Per-Kristian Nordnes | refactor(form-builder): simplify readOnly PT-input colors | 75af89d
Per-Kristian Nordnes | refactor(form-builder): remove redundant key handler | 6202c39

v2.33.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Performance improvements

This release brings a number of performance improvements, mostly related to excessive re-rendering of components that do not change. Notable improvements are:

  • Better performance for presence indicators when many users are logged in at the same time
  • The Portable Text Editor should be faster and re-render less often

🐛 Notable bugfixes

  • Mitigated an issue that could cause a draft document to be overwritten by an earlier version after publish
  • The Presence list in the toolbar will now only show users who are working in the same dataset

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | fix(mutator): minor typing fix | 792af47
Per-Kristian Nordnes | fix(base): fix lint issues with defaultProps | 37bafc8
Per-Kristian Nordnes | fix(base): remove inline function passed as prop | a8674ee
Per-Kristian Nordnes | fix(dev): fix some issues in example studio custom PT input | fe92842
Espen Hovlandsdal | fix(hooks): short-circuit invalid dates in useTimeAgo hook | 4dac112
Per-Kristian Nordnes | chore(gulpfile): fix issue with watch command | 48d791d
RitaDias | fix(base): defer connection to presence client (#​3590) | 76176b1
Bjørge Næss | perf(form-builder): skip passing parent for schema types with no conditional fields | 24baddc
Bjørge Næss | fix(react-hooks): fix useDocumentOperation typing | 76bfd06
Bjørge Næss | refactor(base): clean up document operation typings | f65743a
Bjørge Næss | refactor(base): replace commit handler with stream of commit requests | 4d44543
Bjørge Næss | refactor: handle latency better during document publish | c961ce4
Bjørge Næss | fix(desk-tool): add useCondionalToast hook as workaround for missing @​sanity/ui feature | 5efb741
Bjørge Næss | fix(base): improve correctness of error check | 8e8e33a
Espen Hovlandsdal | refactor: optimize global/document presence | 090e0a9
Espen Hovlandsdal | refactor: optimize document form presence | e7a4f14
Espen Hovlandsdal | refactor: only subscribe to full presence info when menu is open | 024e5c4
Per-Kristian Nordnes | chore: remove @​sanity/portable-text-editor | 8644e11
Per-Kristian Nordnes | refactor(form-builder): update PT-input to work with v3 version of the PTE | ba1b8a5
Per-Kristian Nordnes | chore(language-filter): ignore ts-error due to incorrect Lerna hoisting of @​sanity/types | e8c9933
Per-Kristian Nordnes | chore(form-builder): update to latest v3 PTE version | f6978b8
Bjørge Næss | perf: split change indicator context into frequent/less frequent updating values | e6a4b40

v2.32.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Accessibility improvements
  • Screen readers will now identify that the main language in the Studio is English
  • Various accessibility improvements
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Bjørge Næss | fix(desk-tool): fix publish button tooltip displaying 'now ago' | 89c2ed0
Fred Carlsen | feat(cli): prefix commands if using npx (#​3602) | c4a87c7
Kitty Giraudel | refactor(desk-tool): remove unnecessary tabindex attribute (#​3570) | 14ec874
Kitty Giraudel | refactor(default-layout): Add an accessible name to the presence menu button (#​3569) | cb2b05c
Kitty Giraudel | refactor(desk-tool): Connect the review changes button and its tooltip (#​3567) | 85717f6
Kitty Giraudel | refactor(base): Ensure image previews in PT have an alt attribute (#​3566) | 1940377
Kitty Giraudel | refactor(base, server): Add missing document language to Sanity Studio (#​3307) | 60d973f
RitaDias | fix(default-layout): fix type missing in presence menu (#​3605) | 5ee4f20

v2.31.1

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixed an issue where incorrect references to image and file assets would crash the studio and display invalid diffs

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Nina Andal Aarvik | fix: remove muted prop from text inside every tooltip in the studio (#​3559) | b91c0b9
Marius Lundgård | build: update design system | 86d9dc3
Marius Lundgård | build: align react-refractor version | 490d8a3
Fred Carlsen | fix(form-builder): check for invalid image/file values, provide reset option (#​3560) | e160d06

v2.31.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Improved search 🕵️

Improved search

  • Adds support for filtering search results by any number of document types. You can also browse documents from any number of types without entering a search query.
  • Search is now toggleable with a hotkey (Command/Control-K) and fully navigable by keyboard.
  • Recent searches (including selected document types) are stored for later use
  • Search terms and results are retained upon close: handy if you want to quickly revisit or amend your last search
  • Improves performance when rendering and scrolling through large result sets
  • The search dialog is wider, giving you more space for the search result listing

NOTE: Documents listed in search results will no longer resolve custom components for block content and array views

🐛 Notable bugfixes
  • Fixes a case where sanity init would fail if ran inside of a yarn workspaces/monorepo setup in certain cases
  • Fixes a case where sanity init would fail if ran inside of a yarn workspaces/monorepo setup in certain cases
  • Fixes an issue with initialValueTemplates() being overridden if you called other methods after it
  • Fixes an issue potentially causing npm to go into an infinite loop when installing @​sanity/core
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Fred Carlsen | fix(form-builder): make sure to forward ref for object input with tabs (#​3522) | 900419a
Espen Hovlandsdal | fix(server): work around npm peer dependency issue | 7ab7b4d
Espen Hovlandsdal | fix(form-builder): remove unnecessary popover dialog placement prop | d1e8951
Fred Carlsen | fix(structure): fix regression with initialValueTemplates being overridden (#​3540) | d76570d
Espen Hovlandsdal | fix(cli): work around edge-case when unable to resolve @​sanity/core | 3824db4
Robin Pyon | feat(default-layout): search improvements (#​3525) | 52eb236

v2.30.5

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Improved the UX of the new reference indicator in document pane.
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Nina Andal Aarvik | fix(dashboard): fix typo in banner, open link in new pane (#​3486) | 84ae343
Nina Andal Aarvik | feat(desk): add reference count and learn more link to references indication (#​3484) | d3c5a81
Espen Hovlandsdal | chore: remove last remnants of perf workflow | 0064689
Dan Michael O. Heggø | fix(types): add params to MutationSelection type | e45efb2
Espen Hovlandsdal | refactor(types): format with prettier | ca567a4
Nina Andal Aarvik | fix(desk): document title ellipsis (#​3504) | 20e26d8
RitaDias | feat(cli): add new dashboard template (#​3430) | 09f10a9
Snorre Eskeland Brekke | fix(block-tools): ignore blocks inside list items (#​3492) | 73c0da8

v2.30.4

Compare Source

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Fixes a bug where desk tool document lists would sometimes fail to resolve a schema type for new documents when pane supports multiple types
  • Reduces amount of requests triggered by new reference indication
  • Fixes 404-errors being printed in developer console when checking references for unpublished documents
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(structure): resolve schema type from template if possible | 0113fae
Nina Andal Aarvik | feat(desk-tool): add pollInterval option on useReferringDocuments hook (#​3478) | 98b16df
Espen Hovlandsdal | feat(base): allow listenQuery to have separate listen and fetch queries | 022969b
Espen Hovlandsdal | feat(base): allow listenQuery to specify relevant transitions | a5e9193
Espen Hovlandsdal | feat(base): allow listenQuery to specify custom throttle time | f33bf0e
Espen Hovlandsdal | fix(desk-tool): only refetch references on appear/disappear | 9f10e86
Espen Hovlandsdal | fix(desk-tool): use longer throttle time when refetching references | 37fed13
Espen Hovlandsdal | refactor(desk-tool): prefer options object over numeric arg | d26d759
Espen Hovlandsdal | refactor(desk-tool): check for document existence before checking ref count | d9d23df
Espen Hovlandsdal | refactor(desk-tool): add request tag to external refs check | a39d8db
Espen Hovlandsdal | chore: fix tests by using combineLatest instead of forkJoin | 6a5ded0
Espen Hovlandsdal | chore: drop unused perf-studio | 46cc392
Espen Hovlandsdal | ci: drop unused perf tests | f153a7c

v2.30.3

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Notable changes
  • A document that has references to it will now clearly indicate this with a differently colored header/footer, as well as with a link symbol. Additionally, prior to publishing a referenced document, a confirmation dialog will indicate that the change might affect referencing documents
  • Added support for the presence feature when not using cookies for authentication
  • Dependencies upgraded for the Portable Text Editor, fixing issues where Chrome would be reported as missing beforeInput- support after Chrome went above version 100. This broke spellchecking in Chrome and degraded performance
  • Updated UI of dashboard feeds
🐛 Notable bugfixes
  • Fixes rare occurring bug in the Portable Text Editor where it would stop producing patches due to non-updated instance props
  • Fixes issue where the newest get-started templates did not include a gitignore file
  • Fixes a potential error when trying to access a file that does not exist
  • Fixes issue where field validation tooltips would sometimes be cut off when inside of modals
  • Fixes an issue where exporting certain old assets would fail because of an md5 mismatch
  • Fixes an issue where the unpublish dialog would use the term "delete" instead of "unpublish" in the confirm dialog
  • Fixes a few warnings from being printed when navigating the dashboard
  • Fixes an issue where documents with a large amount of references would sometimes fail to be published because of a failing request
  • Fixes an issue where a stray margins property would be passed to a div-element (thanks @​KittyGiraudel!)
  • Fixes a few typos in the pets project template (thanks @​nick-krantz!)
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(cli): include gitignore in get-started templates | c582201
RitaDias | refactor(cli): update field descriptions (#​3386) | 6503c3a
RitaDias | refactor(form-builder): add condition for name in upload progress (#​3387) | 317b4bd
Espen Hovlandsdal | feat(base): support presence for cookieless auth users (#​3400) | 46133a9
Per-Kristian Nordnes | chore(portable-text-editor): upgrade to latest slate and slate-react (#​3395) | 6cb6a80
Per-Kristian Nordnes | fix(portable-text-editor): support dynamic instance props for readOnly and maxBlocks (#​3295) | 71416d3
Victoria Bergquist | feat(dashboard): add feed sections to dashboard feed (#​3429) | a02320d
Nina Andal Aarvik | fix(base): add portal prop to the formfield (#​3432) | 509c455
Dain Cilke | feat(export): check sha1 hash first | ca188d3
Dain Cilke | fix(export): allow either hash check | c67241b
Espen Hovlandsdal | chore(vision): drop unused moment dependency | 16c4cd5
Espen Hovlandsdal | chore: normalize @​sanity/client dependency version | 6879b27
Espen Hovlandsdal | chore(util): upgrade moment to latest version | ef10e2b
Espen Hovlandsdal | chore(core): upgrade terser | a5a6a4c
Fred Carlsen | fix(desk-tool): show correct action message in unpublish dialog (#​3461) | 36feddb
Victoria Bergquist | feat(dashboard): add docs banner to sanity tutorials widget (#​3446) | 9103669
Nick Krantz | fix(cli): spelling corrections in getting-started-pets template (#​3468) | 9dcb8b2
Espen Hovlandsdal | chore(resolver): pin mock-fs to 5.1.2 | 2f9f03e
Espen Hovlandsdal | fix(dashboard): use correct property for feed item keys | a0faa37
Espen Hovlandsdal | chore(dashboard): drop usage of prop-types package | d11f6e1
Nina Andal Aarvik | feat(base): clearly indicate a referenced document | e0d6a1c
Nina Andal Aarvik | fix(base): add popover for referenced document | edd569c
Nina Andal Aarvik | fix(base): Fixes after QA and PR review | 123e2d3
Espen Hovlandsdal | fix(base): reposition referenced doc popover on resize | 476cc89
Nina Andal Aarvik | fix(base): add tooltip to referencedDocHeading | 19be6a0
Nina Andal Aarvik | fix(base): add empty div as referenceElement for popover | 6951a4a
Nina Andal Aarvik | fix(base): add autoFocus to popover | 41096c1
Nina Andal Aarvik | fix(base): add reference tooltip to title when popover is closed | fd2b177
Espen Hovlandsdal | fix(language-filter): use default tone for tooltip | b5ca6b8
Espen Hovlandsdal | fix(desk-tool): use default tone for header/foot popovers/menus | a770834
Espen Hovlandsdal | chore(desk-tool): fix lint issues caused by memoized component | ed8de89
Espen Hovlandsdal | refactor(desk-tool): use tone instead of ThemeColorProvider | cf5dfcf
Espen Hovlandsdal | refactor(desk-tool): use useEffect instead of useCallback for side effect | 7015351
Espen Hovlandsdal | fix(test): pass mock observable fetch method | c3489fc
Espen Hovlandsdal | fix(base): chunk document availability ids on id length | 217c558
Espen Hovlandsdal | fix(base): prevent RegionsWithIntersections margins prop from reaching the DOM | 3ff4182
Espen Hovlandsdal | chore: upgrade @sanity/client to v3.3.3 | c40c434

v2.30.1

Compare Source

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes hovering issue in array input with portable text block
  • Fixes issue where selected list ordering in desk structure would not be respected
  • Fixes issue where document list appeared to be loading forever when changing the ordering
  • Fixes issue where the the code input file name field would disappear when the language option was set
  • Improves error message when copying a dataset and the target dataset already exists, but a copy operation is already in progress

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
RitaDias | fix(form-builder): add safe-guard to only trigger the handle drag enter when the "drop offs" are the same as the target (#​3282) | cb80129
RitaDias | fix(desk-tool): prevent sortBy from overtaking the defaultOrdering (#​3296) | b9dda8a
Nina Andal Aarvik | fix(base): keep filename field and languageAlternatives when language is provided in codesnippet (#​3288) | 11df11a
Vincent Quigley | feat(cli): allow dataset copying to determine if target dataset exists (#​3289) | 49208ac

v2.30.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
  • CLI copy dataset command now always prints a job id to make it easier to resume watching running jobs
  • It is now possible to navigate to a referring document from the 'delete document' dialog
🐛 Notable bugfixes
  • Fixed an issue where sanity deploy would return "Hostname already taken" for all errors
  • Added explanation in sanity exec --help on how to add arbitrary arguments to the script
  • Fixed date formatting issue in validation tooltip
  • Added scroll to the types dropdown menu when creating a new reference
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Nina Andal Aarvik | fix(cli): show correct error msg for sanity deploy errors (#​3269) | d430381
Geoff Ball | fix(desk-tool): restore S.documentList().defaultOrdering() functionality (#​3245) | 65c773a
Espen Hovlandsdal | fix(cli): correct checks for cli auth token | f7a7c35
Nina Andal Aarvik | fix(cli): include explanation in exec helptext of how to pass arbitrary arguments (#​3270) | 7f8a042
Herman Wikner | feat(desk-tool): pass documentScrollElement as portal element to PortalProvider in DocumentPanel | 0b70237
Herman Wikner | fix(base): fix field presence tooltip z-index issues | e4ef2a1
Herman Wikner | fix(default-layout): restore focus on buttons when closing dialogs in navbar | c4f8f82
Per-Kristian Nordnes | fix(desk-tool): open documentation link in new window | c9976f7
Dain Cilke | feat(cli): print copy dataset job id | 5a41d1c
Herman Wikner | feat(desk-tool): add portal to DraftStatus and PublishedStatus | b1021c3
Herman Wikner | feat(desk-tool): add ReferencePreviewLink to ConfirmDeleteDialogBody + update UI | 179f0d9
Herman Wikner | feat(desk-tool): pass onReferenceLinkClick to ConfirmDeleteDialog | 9f7b134
Rico Kahler | test(desk-tool): mock usePaneRouter | 86b7458
Martin Jacobsen | feat: changes links for Hello Sanity (#​3241) | 5ea477a
Nina Andal Aarvik | fix(base): add scrolling to dropdown when adding new reference (#​3281) | 788a541
Herman Wikner | fix(validation): fix broken date validation message | ce58d83
Espen Hovlandsdal | refactor(validation): correct typings on date formatter | c35e63d
Espen Hovlandsdal | chore(test-studio): add schema example for minimum date value | 02c5a42

v2.29.8

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes an issue where the studio might crash when publishing due to a change in a third party dependency
  • Fixes an issue where user avatar from Google would sometimes not appear
  • Fixes a typo in the studio update dialog
  • Fixes a bug where initializing new projects with a dash in its name would not include it in the suggested output path

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(base): use same-origin referrer policy | 6571340
Rune Botten | fix(default-layout): add a missing word to the current version text | 5d3e515
Nina Andal Aarvik | fix(cli): don't remove dash from output path (#​3265) | b0c8767
Espen Hovlandsdal | chore(deps): upgrade @​sanity/ui | 7c186ad

v2.29.5

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Dry run mode for sanity graphql deploy

You can now preview GraphQL deployments and check for breaking changes without deploying.

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Marius Lundgård | fix(base): guard against missing module global | d152588
Marius Lundgård | build: update dependencies | 9f636e7
Marius Lundgård | build: upgrade @sanity/ui-workshop to v0.4 | a85cb26
Marius Lundgård | test(default-layout): fix story path | 32bb1de
Herman Wikner | refactor(default-layout): add data-ui attributes to elements in Navbar | 264e91b
Rune Botten | Chore: Refresh README (#​3224) | 44d924d
RitaDias | feat(core): add dry-run flag (#​3226) | d42ef78
RitaDias | fix(form-builder): allow for upload of items when dropping over text (#​3234) | b5f4b49

v2.29.3

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @&#8203;sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Select organization with the CLI

Allow selecting an organization to attach new projects to during sanity init.

Other features
  • Update image input height based on image size.
  • Adds support for @​sanity/language-filter to fallback to a different language select implementation when the current one is not relevant. (thank you @​LiamMartens)
🐛 Notable bugfixes
  • Improves how patches are sent to the server in the Portable Text editor, potentially fixing a very rare heisenbug where the latest change in the editor would not be persisted.
  • Fixes a regression in the Portable Text editor's custom paste handler support.
  • Fixes issues in the Portable Text editor when merging two paragraphs with text annotations in some circumstances.
  • Fixes an issue where the number input wasn't allowing for decimal numbers (when the input is active).
  • Fixes an issue with the changelog when filtering out entries without data to display.
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(types): use type-only imports, drop react dependency | e01014a
Espen Hovlandsdal | chore(deps): upgrade react types | ec97f05
Per-Kristian Nordnes | test(portable-text-editor): update refactored prop | a4941ea
Per-Kristian Nordnes | refactor(portable-text-editor): change plugin callstack | 304964b
Knut Melvær | refactor(import): improve error message on duplicate IDs | d6d4351
Liam Martens | feat(language-filter): implement fallback component for language-filter (#​3204) | 75e75c5
RitaDias | fix(form-builder): fix the number input to accept decimal values when default (#​3219) | 31af95f
Rune Botten | chore: update license files (#​3201) | ecb0444
Herman Wikner | fix(default-layout): prevent changelog crash by filtering out entries without data to display | b53b3e2
Herman Wikner | fix(default-layout): add missing link to changelog in github | 517648e
Per-Kristian Nordnes | refactor(portable-text-editor): add API .delete mode + rename option value | 205622f
Per-Kristian Nordnes | refactor(form-builder): update renamed option value for the PTE API | 9858830
Per-Kristian Nordnes | fix(portable-text-editor): fix issue with merging blocks | 33f3e4a
Per-Kristian Nordnes | fix(portable-text-editor): remove unus


Configuration

📅 Schedule: Branch creation - "after 11pm every weekday,every weekend,before 8am every weekday" in timezone Australia/Melbourne, 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. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 03c8f79 to 3e8db70 Compare October 13, 2020 14:27
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 3e8db70 to 125afa9 Compare October 30, 2020 14:43
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 125afa9 to da34425 Compare November 10, 2020 15:01
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from a226e1e to 431c70c Compare November 25, 2020 15:52
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 431c70c to e7b6acb Compare December 8, 2020 14:31
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from e7b6acb to d6c1f70 Compare December 22, 2020 14:29
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from d6c1f70 to c800b11 Compare January 5, 2021 14:19
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 57734fa to 2e4a00a Compare January 19, 2021 17:21
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 274e1ed to 0970899 Compare February 3, 2021 14:23
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from a2070bb to 4357e49 Compare February 16, 2021 14:48
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from cd32346 to dc398c4 Compare March 3, 2021 18:55
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from dc398c4 to f0b7474 Compare March 16, 2021 16:57
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 127e6d9 to 75d3759 Compare March 31, 2021 15:08
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 655c6ea to 2914f8c Compare April 13, 2021 17:16
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 2914f8c to 19d0104 Compare April 19, 2021 17:30
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 19d0104 to 221dc29 Compare April 27, 2021 15:49
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 3 times, most recently from e1c02a9 to f0adf9c Compare May 14, 2021 13:59
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 4dfbc94 to ea9c825 Compare July 7, 2021 21:21
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from ea9c825 to abc5f83 Compare July 30, 2021 22:07
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from abc5f83 to 67f129a Compare August 12, 2021 21:14
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 67f129a to e4787ca Compare March 7, 2022 12:11
@renovate
Copy link
Contributor Author

renovate bot commented Mar 7, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm WARN using --force I sure hope you know what you are doing.
npm WARN using --force I sure hope you know what you are doing.
chmod: cannot access '/home/ubuntu/.npm': No such file or directory
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^16.13.1" from the root project
npm ERR!   peer react@"^16.9 || ^17" from @sanity/[email protected]
npm ERR!   node_modules/@sanity/base
npm ERR!     peer @sanity/base@"^1.0.0 || ^2.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.2" from [email protected]
npm ERR! node_modules/react-dom
npm ERR!   peer react-dom@"^16.9 || ^17" from @sanity/[email protected]
npm ERR!   node_modules/@sanity/base
npm ERR!     peer @sanity/base@"^1.0.0 || ^2.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2022-03-07T12_11_50_797Z-debug-0.log

@renovate
Copy link
Contributor Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@renovate renovate bot changed the title [patch] Update dependency @sanity/base to v2 [patch] Update dependency @sanity/base to v2 - abandoned Jan 15, 2024
Copy link
Contributor Author

renovate bot commented Jan 15, 2024

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

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.

1 participant