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 sanity monorepo to v2 (major) - abandoned #123

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
@sanity/components (source) ^1.0.0 -> ^1.0.0 || ^2.0.0 age adoption passing confidence

Release Notes

sanity-io/sanity

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 @​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 @​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 @​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 @​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 unused prop | 13a1294
Per-Kristian Nordnes | refactor(portable-text-editor): export prop types for the PTE components | d618119
Per-Kristian Nordnes | refactor(portable-text-editor): minor code enhancements | cbca96c
Per-Kristian Nordnes | fix(portable-text-editor): remove orphaned markDefs when splitting block at start | d8d0dbf
RitaDias | fix(form-builder) fix image resizing on initial load (#​3196) | bf66218
radhe | fix(core): emit reconnect on non-channel error in dataset copy job listener (#​3167) | d891474
Per-Kristian Nordnes | refactor(portable-text-editor): refactor mutation and patch handling | b318626
Espen Hovlandsdal | feat(cli): allow selecting organization during project creation | a114845
Per-Kristian Nordnes | fix(portable-text-editor): fix wrong type option sent to custom paste handler | f746973
Per-Kristian Nordnes | fix(portable-text-editor): fix issues with insertion of data from custom paste handler | 94a4e11
Per-Kristian Nordnes | test(example-studio): add updated config files | 3212d3c

v2.29.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 issue where client configured with a token via part:@​sanity/base/configure-client would be reset.
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | chore(deps): pin node-ipc to 9.2.0 | e0d6a69
Per-Kristian Nordnes | fix(base): respect client already configured with token | de12045

v2.29.1

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Fixes an issue with the v2.29.0 release that prevented the @sanity/default-layout module from being installed
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | chore(default-layout): remove @​santy/base from devDeps as it's now a runtime dep | 0ed8ab7

v2.29.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

New changelog dialog

The Studio now has a new changelog dialog that features more in-depth information about the latest features and bugfixes.

🐛 Notable bugfixes

  • Fixes an issue in array inputs where the input was disabled when dragging items within a Portable Text Editor

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
RitaDias | fix(form-builder): fix hovering issue in PTE when within an array object (#​3187) | 59d458c
Herman Wikner | chore(default-layout): update dependencies | 044416a
Herman Wikner | feat(default-layout): add update UI components | 6b22ed6
Herman Wikner | feat(default-layout): add changelog to Navbar | ce1a7bf
Herman Wikner | refactor(default-layout): remove studioStatus | caad7d1
Herman Wikner | feat(base): add changelog typings to module-status | 00e243d
Herman Wikner | chore(base): update dependencies | cfbe491

v2.28.2

Compare Source

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Fixes an issue where sanity exec would use an unauthenticated user session for the client
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | fix(base): return empty auth token stream in non-browser env | e70dde0

v2.28.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
  • Adds a check for superfluous image metadata properties being specified
  • The studio now supports authentication for browsers that block third-party cookies
🐛 Notable bugfixes
  • Fixes a bug where document lists would not always show items in the correct order until scrolling down and back up again
  • Fixes a bug where the studio could crash if a user had insufficient permissions to fetch user profiles while collaborating with others
  • Fixes a number of issues with the sanity upgrade command when using --tag or --range
  • Upgraded @​sanity/base to use react-refractor version 2.1.6 (thanks @​JamesSingleton!)
  • Upgraded @​sanity/base to use refractor version 3.6.0 (thanks @​miketheman!)
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
James Singleton | chore(deps): update react-refractor@^2.1.6 | 65666b6
Espen Hovlandsdal | fix(cli): ignore @sanity/client major upgrades | aaed678
Espen Hovlandsdal | fix(base): ignore presence sessions with no user profile | 51d1f5b
Per-Kristian Nordnes | feat(base): authToken datastore | 36a8294
Per-Kristian Nordnes | feat(base): new cross window messaging store | aeee9ab
Per-Kristian Nordnes | refactor(base): wrappedClient will supports token auth | afe5e99
Per-Kristian Nordnes | refactor(base): userStore will take tokens into account | d62d684
Per-Kristian Nordnes | chore(default-login): wire up @​santy/base | 0e2e9f7
Per-Kristian Nordnes | refactor(default-login): use auth tokens when necessary | 49f2fb6
Rita | feat(desk-tool): add support for tokens in getJsonSt ream | 96fb1ad
Per-Kristian Nordnes | chore(default-login): add @​sanity/client | ce4349f
Per-Kristian Nordnes | refactor(desk-tool): use projectId for getToken | 9f47ec3
Per-Kristian Nordnes | refactor(default-login): convert authenticationFetcher to TypeScript | 16c590f
Rita | feat(base, default-login): add config for different login methods | 2bab8c8
Per-Kristian Nordnes | refactor(base): userStore will take tokens into account | b3fb788
Per-Kristian Nordnes | fix(base): explictly configure token to undefined | 02961fa
Per-Kristian Nordnes | refactor(base): add stream for same-window auth events too to be merged in | 484fdd0
Per-Kristian Nordnes | feature(default-login): add feature to sync window's login state | 2f9d8b8
Per-Kristian Nordnes | feat(base): test for LocalStorage first in getToken | ccca4b5
Per-Kristian Nordnes | chore: upgrade @​sanity/client and @​sanity/eventsource | b87a904
Per-Kristian Nordnes | refactor(base): rename deleteToken > clearToken | e83cdc0
Rita | style(default-login): clean up comments - remove white spaces + change single line comments | 760af1b
Rita | style(default-login): remove trailing white space | e9372a5
Per-Kristian Nordnes | refactor(base): use query prop for client request | e686fe2
Per-Kristian Nordnes | refactor(default-login): simplify hooks | 31ec4d8
Per-Kristian Nordnes | refactor(default-login): remove unnecessary spread | 4027f1e
Per-Kristian Nordnes | refactor(base): make token methods more error proof | a9e9db1
Per-Kristian Nordnes | refactor(desk-tool): resolve token from client directly | 0db99b4
Per-Kristian Nordnes | chore(default-login): bump @​sanity/base version | 655db73
Per-Kristian Nordnes | refactor(base): use util fn. for reading config | 6522bd8
Espen Hovlandsdal | refactor(types): provide typings for authentication fetcher part | 3fb15af
Espen Hovlandsdal | refactor(default-login): simplify login wrapper, drop cookie test | e9ee46d
Espen Hovlandsdal | feat(base): exchange session id for token if no cookie is set | 0c2deaf
Espen Hovlandsdal | refactor(base): guard against missing localStorage | 6b734a5
Espen Hovlandsdal | refactor(default-login) allow disabling token-based login | fdab6e1
Espen Hovlandsdal | refactor(base): rename authToken to authState | ce41470
Espen Hovlandsdal | fix(base): make cross-window auth state work again | b7165cc
Espen Hovlandsdal | chore(deps): normalize dependency versions | 6c5b9be
Rico Kahler | chore: upgrade @​sanity/client | f933826
Bjørge Næss | refactor(form-builder): hoist useOnClickOutside hook to shared directory + add comment about why its needed | 8387b6a
Bjørge Næss | refactor(types): move schema preview types into its own file and exports types | 86ce7bf
Bjørge Næss | refactor(types): refactor getSearchableTypes to take only the structural type it requires | 5f2dd65
Bjørge Næss | refactor(types): export ReferenceFilterOptions interface | fa62936
Bjørge Næss | fix(types): refine schema preview typings | fc5279d
Bjørge Næss | feat(types): add support for cross dataset references | d84a245
Bjørge Næss | refactor(base): make getPreviewPaths take a preview config instead of the type | fa9638e
Bjørge Næss | refactor(base): rename function | 1b44cef
Rico Kahler | refactor(base): remove unused fields | b8c8142
Bjørge Næss | feat(schema): support cross dataset reference schema type | 84e29e6
Bjørge Næss | feat(schema): support schema validation for cross dataset references | c8d5617
Bjørge Næss | fix(core): exclude cross dataset references from graphql generation | ac780e1
Bjørge Næss | feat(base): add support for using cross dataset refs in previews | cfd6a00
Bjørge Næss | chore(test-studio): add cross dataset token plugin | 023ff51
Bjørge Næss | chore(test-studio): add test schemas for cross dataset refs | 09f01a3
Bjørge Næss | feat(form-builder): add cross dataset reference input | 9602a88
Bjørge Næss | test(form-builder): add unit tests for cross dataset reference input | 7d61f00
Rico Kahler | feat(base): include skipCrossDatasetReferenceValidation in delete-like operations | f883a7d
Rico Kahler | feat(desk-tool): new confirm delete dialog for cross dataset references | 02017a0
Bjørge Næss | fix(desk-tool): simplify reading projectId from token document id | d955086
Rico Kahler | fix(desk-tool): catch 404 and replace with empty result (#​3162) | 9e04fcb
Bjørge Næss | chore(test-studio): add example for docs dataset | 3e5a2cd
Bjørge Næss | chore(test-studio): add example of cross dataset reference subtype | 286b16e
Bjørge Næss | feat(test-studio): add example/debug test document for circular cross dataset refs | 1631eea
Rico Kahler | fix(desk-tool): add project IDs to delete dialog | c0d0014
Espen Hovlandsdal | fix(desk-tool): correct document list ordering on first load | 21cb5b0
Espen Hovlandsdal | feat(schema): warn when providing superflous image metadata props | d1c9d6a

v2.27.2

Compare Source

Upgrade Sanity Studio with:

sanity upgrade
🐛 Notable bugfixes
  • Fixes an issue where the defined apiVersion would not be used for document lists in the desk tool structure (thanks @​barbogast!)
Other changes
  • Upgrades refractor dependency to ensure a prismjs security upgrade is included (thanks @​miketheman!)
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | chore(deps): pin typescript version to 4.5.5 | aeffd6a
Benjamin Arbogast | fix(desk-tool): make document lists respect defined api version | 9bc40ff
Espen Hovlandsdal | fix(desk-tool): add missing apiVersion typings | a125e4e
Espen Hovlandsdal | chore(test-studio): add apiVersion to a structure node | 16c2d08
Mike Fiedler | chore(deps): update to refractor@^3.6.0 | 54eceed

v2.27.1

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
  • Adds keyboard arrow navigation in the Portable Text Editor toolbar (#​3126)
🐛 Notable bugfixes
  • Fixes an issue where spellchecking in the Portable Text Editor would not be enabled when omitted in schema options. (#​3146)
  • Fixes a bug where Portable Text block values without a defined style property would throw an error when editing that block. (#​3161)
  • Improves the performance of the reference search. (#​3159)
📓 Full changelog
Author Message Commit
Per-Kristian Nordnes chore(portable-text-editor): remove and resolve TODO regarding spellcheck d99c2ff
Per-Kristian Nordnes fix(portable-text-editor): fix spellcheck defaults issue 0ce0653
Herman Wikner chore(base): update dependencies 44be99f
Herman Wikner feat(base): add useRovingFocus hook ade3cd7
Herman Wikner test(base): add roving focus workshop d49d734
Herman Wikner refactor(base): improve CollapseMenu component 2fa6dbe
Herman Wikner test(base): update CollapseMenu workshop c25201a
Herman Wikner refactor(default-layout): update ToolCollapseMenu with refactored CollapseMenu + add roving focus 5d31566
Herman Wikner refactor(form-builder): update PTE ActionMenu with refactored CollapseMenu 6f167f2
Herman Wikner refactor(form-builder): update PTE InsertMenu with refactored CollapseMenu b675e1a
Herman Wikner feat(form-builder): add roving focus to PTE Toolbar 4123f4d
RitaDias feat(eventsource): remove event source package from monorepo (#​3152) 65bc210
Herman Wikner fix(base): fix collapse text option in CollapseMenu e94633d
Per-Kristian Nordnes refactor(portable-text-editor): make sure editor content has normalized style prop ad91bf2
Per-Kristian Nordnes test(portable-text-editor): test the value normalization of style prop 03b206c
Bjørge Næss fix(form-builder): rewrite missing ids query and add a few bits of clarity (#​3159) fe83c0f

v2.27.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
More Presence

Presence, the ability to see where your collaborators are, is now visible in document lists, search results, and reference previews.

presence demo screenshot ##### Other features
  • You can now configure the default API version for Vision (#​3127)
🐛 Notable bugfixes
  • Removes a false positive validation error with some nested image and file fields (#​3119)
  • Fixes a bug where adding marks to a Portable Text block would remove some existing marks (#​3124)
  • Fixes a bug where list items in Portable Text without a level would cause an error (#​3129)
  • Fixes a bug where read-only arrays showed an empty actions menu (#​3130)
  • Improves empty read-only state for arrays (#​3131)
  • Adds validation warnings on incorrectly implemented asset sources (#​3135)
📓 Full changelog
Author Message Commit
Espen Hovlandsdal chore: externalize + upgrade generate-help-url 4e6b57d
Espen Hovlandsdal fix(cypress): use uuid instead of nanoid for document ids e8d0d6a
Marius Lundgård chore: render path to package.json when running npm run versions e961b84
Espen Hovlandsdal fix(form-builder): unset image/file field when last subfield is cleared 5cce39d
Simeon Griggs fix(cli): change upgrade text depending on number of modules ea454e4
Bjørge Næss fix(default-layout): fix bug that required two clicks to close studio hints sidecar a528b83
Per-Kristian Nordnes fix(portable-text-editor): fix normalization bug in adding marks + test edef424
Herman Wikner feat(base): add DocumentPreviewPresence component 27d15d6
Herman Wikner refactor(desk-tool): remove getStatusIndicator PaneItem helper (replaced) f29dc36
Herman Wikner feat(desk-tool): add presence to PaneItem b96d13f
Herman Wikner refactor(desk-tool): update DocumentListPaneContent ebabebc
Herman Wikner feat(form-builder): add presence in ReferencePreview 6c33f3f
Herman Wikner feat(form-builder): pass document presence data to ReferencePreview from PreviewReferenceValue 455aa09
Herman Wikner feat(form-builder): pass document presence data to PreviewReferenceValue in ArrayItemReferenceInput d6e2313
Herman Wikner feat(form-builder): pass document presence data to PreviewReferenceValue in ReferenceInput 9c513c8
Herman Wikner feat(default-layout): add presence in search 1105943
Herman Wikner refactor(form-builder): update presence in OptionPreview 507ee80
Herman Wikner feat(base): add PreviewCard component 4852bd8
Herman Wikner refactor(form-builder): remove PreviewCard component, replaced by a new component located in base 9254717
Herman Wikner test(base): add PreviewCard workshop story 9318d82
Bjørge Næss refactor(form-builder): update document presence from sanity/studio input wrappers 6eaf8fb
Herman Wikner refactor(form-builder): update presence in PreviewReferenceValue 2dacc3b
Herman Wikner chore: export DocumentPresence interface 0e3522c
Fred Carlsen fix(form-builder): improve empty read-only array state (#​3131) d390091
Fred Carlsen fix(form-builder): hide array actions if read-only (#​3130) 4d21c9f
Fred Carlsen feat(vision): make default api version configurable (#​3127) 892e1d5
Simeon Griggs fix(default-layout): remove null/undefined tools c5545f6
Marius Lundgård fix(base): remove debug style c548fbe
Espen Hovlandsdal fix(form-builder): ensure asset sources is array before usage 7aefcd9
Espen Hovlandsdal fix(form-builder): forward ref in default asset source cd1f7e8
Espen Hovlandsdal refactor(test-studio): forward ref in noop asset source bb558d1
Per-Kristian Nordnes fix(portable-text-editor): add render defaults for list blocks levels when missing bde7abd
Rico Kahler fix(form-builder): remove rogue text 😄 53e302c

v2.26.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Updated File and Image Input
File component
  • Empty state takes up much less vertical space
  • Field with file selected also takes up less vertical space
  • Display original file name and size
  • Options to download the file or copy the url
Image component
  • Empty state takes up much less vertical space
  • Image is vertically responsive to the height of the window, taking up less vertical space
  • Images are no longer enlarged to fit the size of the field
  • Options to copy image url and download the image
File Image
File Input Image Input
Improved change indicator highlighting in Portable Text Editor

Change Indicator for PTE

Updated login status popover to display information about the current user
  • Shows full name, email and login provider of the logged in user
  • Link to project management interface

Login information for user

🐛 Notable bugfixes
  • Fixes an issue where the empty editor placeholder text would sometimes cause focus problems in Webkit.
  • Fixes an issue where multiple types in array input would prevent it from being scrollable
📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Espen Hovlandsdal | chore(client): move client out of monorepo | 0b9dc29
Espen Hovlandsdal | chore: upgrade to @sanity/client@^3.0.1 | 4a45fba
Espen Hovlandsdal | refactor(base): provide expected return type for availability check | c3f10e7
Espen Hovlandsdal | fix(perf): use non-relative @​sanity/client | 0f9ef64
Bjørge Næss | chore: remove community-studio submodule | b91e5bb
Per-Kristian Nordnes | test(portable-text-editor): Replace 'Control' key with 'Meta' when running on Apple platform. | ef663d6
RitaDias | feat(form-builder, imagetool): update Image Input & File input (#​3050) | 9e5a11c
Per-Kristian Nordnes | fix(portable-text-editor): disallow pointer events on placeholder | 1c7f5d1
Per-Kristian Nordnes | test(portable-text-editor): update test snapshot | da849dc
Per-Kristian Nordnes | feature(form-builder): guard that hotkeys for the PTE is a stable object + warn if not | 802e310
jorngeorg | feat(default-layout): update LoginStatus design | 8dd9faf
Herman Wikner | chore(default-layout): add @sanity/ui-workshop and @sanity/logos dependencies | 4af04f2
Herman Wikner | refactor(default-layout): pass shared data to PresenceMenu and LoginStatus in Navbar | b2398aa
Herman Wikner | test(default-layout): add LoginStatus workshop | bc898be
Herman Wikner | refactor(default-layout): add projectId prop to PresenceMenu | af8ff5d
Herman Wikner | chore(types): add provider property to CurrentUser interface | 2a6e9a1
Herman Wikner | feat(base): add onHasChanges callback to CoreChangeIndicator and ChangeIndicatorWithProvidedFullPath + add withHoverEffect option | d2ab6f2
Herman Wikner | feat(base): update styling ElementWithChangeBar with withHoverEffect prop + skip return ChangeBar if there are no changes | 9a047a9
Herman Wikner | feat(form-builder): update PTE EditableWrapper design | 4020d60
Herman Wikner | feat(form-builder): add folder with common components in PTE (ReviewChangesHighlightBlock and StyledChangeIndicatorWithProvidedFullPath) | a91fb4f
Herman Wikner | feat(form-builder): update PTE BlockObject with review changes highlight block and move styling into separate file | ad2bcf2
Herman Wikner | feat(form-builder): update PTE TextBlock with review changes highlight block | 525438a
RitaDias | fix(form-builder): fix overflow when there are many types (#​3114) | 4d9fd21
Herman Wikner | feat(desk-tool): improve MissingDocumentTypesMessage design | dd87546

v2.25.4

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes a bug in the Portable Text Editor where opening inline objects of type reference would not open the editing interface if the reference was set already
  • Fixes issue where document preview images weren't updating when changed
  • Fixes issue where array items with initial value were overriding set values when duplicating

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | fix(form-builder): fix issue with editing inline object references in PTE | a9ba0a0
Marius Lundgård | fix(base): remove use of useMemo when rendering preview media | 07c9d08
Bjørge Næss | fix(form-builder): skip initial value resolution when inserting non-empty array items | f77b4de

v2.25.1

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes some permission issues where users weren't able to edit documents when they should be
  • Fixes a bug where placeholder text in an empty Portable Text Editor would be stuck for a split second when it should not be
  • Fixes a bug where splitting lines in the Portable Text Editor including an inline object would corrupt the inline object data
  • Fixes an issue in Vision where controls and result were cut off in smaller viewports
  • Fixes an issue in Vision where the params frame could not be selected
  • Fixes an issue in Vision where tabbing to the params frame and editing the JSON would crash the studio

📓 Full changelog

Author | Message | Commit
------------ | ------------- | -------------
Per-Kristian Nordnes | test(example-studio): add hotkey example to customized editor | 7996e15
Per-Kristian Nordnes | chore: upgrade @​types/node | 4d811f5
Bjørge Næss | chore: remove --force flag when running tsc/type check | f95468b
Per-Kristian Nordnes | fix(portable-text-editor): fix types and robustify fromSlateValue | 2323c8f
Per-Kristian Nordnes | fix(portable-text-editor): fix type issue and remove obsolete code | 36fc821
Per-Kristian Nordnes | fix(portable-text-editor): fix bugs and type issues in operationToPatches | d4705d4
Simeon Griggs | update readme for consistency with @​sanity/document-internationalization | f259505
Marius Lundgård | refactor(base): organize preview components | d22c199
Marius Lundgård | refactor(base): improve preview components | 2850294
Marius Lundgård | test(base): improve preview workshop | 52e4be3
Marius Lundgård | refactor: move progress components to base | 04b9eea
Marius Lundgård | refactor(test-studio): pass text as preview media | f08907c
Marius Lundgård | refactor(base): simplify preview constants | 8fb6d3c
Marius Lundgård | refactor(form-builder): adjust preview action padding | c562932
Marius Lundgård | refactor(base): remove unused components | b413287
Marius Lundgård | refactor(base): rename to TemplatePreview | fb23f8f
Marius Lundgård | test(base): rename to TemplatePreview | 6d87ae1
Marius Lundgård | refactor(desk-tool): use TemplatePreview component | c875309
Marius Lundgård | refactor(base): re-add deprecated components (for backwards compatibility) | 2a2f902
RitaDias | feat(desk-tool): make inspect dialog pane specific (#​3090) | 2955437
RitaDias | Fix permission issue panel (#​3087) | 835bff3
Fred Carlsen | fix(vision): fix min and max pane sizes so controls or results is never cut off (#​2902) | 94fac97
Fred Carlsen | fix(vision): fix z-index issues between CodeMirror and resizer | 875fbc9
Fred Carlsen | refactor(form-builder): use context for conditional read only (#​3072) | 01d5b1f
Per-Kristian Nordnes | fix(portable-text-editor): fix glitch in placeholder rendering | de7796b

v2.25.0

Compare Source

Upgrade the Command Line Interface (CLI) with:

npm install --global @​sanity/cli

Upgrade Sanity Studio with:

sanity upgrade
✨ Highlights
Maintainance update to the Portable Text Editor

This update brings fixes for several bugs and improvements to the Portable Text Editor's performance and reliability. It also includes:

  • Better keyboard accessibility when editing embedded objects
  • Better tracking of validation errors within the editor
  • Better Android and IME support
Default .eslintrc file when creati

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 these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

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 330d7ba to cbbf4cc Compare October 19, 2020 19:41
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from b15f761 to fa2231b Compare November 7, 2020 01:22
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from ff617d8 to 410a540 Compare November 22, 2020 16:30
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from d377c85 to 5cad95d Compare November 25, 2020 17:01
@renovate renovate bot changed the title [patch] Update sanity monorepo to v2 (major) [patch] Update sanity monorepo (major) Dec 9, 2020
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 5cad95d to 8c4402d Compare December 13, 2020 01:31
@renovate renovate bot changed the title [patch] Update sanity monorepo (major) [patch] Update sanity monorepo to v2 (major) Jan 6, 2021
@renovate renovate bot changed the title [patch] Update sanity monorepo to v2 (major) [patch] Update sanity monorepo (major) Jan 14, 2021
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 46fa94f to 53f339b Compare January 25, 2021 18:25
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 684c496 to 27a927f Compare February 2, 2021 19:02
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 99c4f16 to c487a94 Compare February 7, 2021 17:27
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from ad60341 to f2104af Compare February 19, 2021 22:22
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from 27dd9a3 to 4b86647 Compare February 24, 2021 13:33
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 3 times, most recently from 0cc8ef7 to 404a701 Compare April 3, 2021 17:40
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 4 times, most recently from c0da9d5 to d4c54dc Compare May 14, 2021 13:01
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from d4c54dc to 2b099f0 Compare June 13, 2021 01:26
@renovate renovate bot changed the title [patch] Update sanity monorepo (major) [patch] Update sanity monorepo to v2 (major) Jul 15, 2021
@renovate renovate bot changed the title [patch] Update sanity monorepo to v2 (major) [patch] Update sanity monorepo (major) Jul 20, 2021
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 2b099f0 to 322f95f Compare July 30, 2021 21:30
@renovate renovate bot changed the title [patch] Update sanity monorepo (major) [patch] Update sanity monorepo to v2 (major) Aug 11, 2021
@renovate renovate bot changed the title [patch] Update sanity monorepo to v2 (major) [patch] Update sanity monorepo (major) Aug 17, 2021
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch 2 times, most recently from d78a6b4 to d56d43d Compare August 27, 2021 19:22
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from d56d43d to 813001b Compare October 22, 2021 16:33
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 813001b to 23e1777 Compare November 2, 2021 15:40
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 23e1777 to 488bd37 Compare January 27, 2022 13:55
@renovate
Copy link
Contributor Author

renovate bot commented Jan 27, 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 notice 
npm notice New minor version of npm available! 8.1.2 -> 8.3.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.3.2>
npm notice Run `npm install -g [email protected]` to update!
npm notice 
npm WARN using --force Recommended protections disabled.
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.14.0" 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-01-27T20_07_56_249Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from 488bd37 to de92da4 Compare January 27, 2022 18:17
@renovate renovate bot force-pushed the renovate/major-sanity-monorepo branch from de92da4 to e6ae8fc Compare January 27, 2022 20:08
@renovate renovate bot changed the title [patch] Update sanity monorepo (major) [patch] Update sanity monorepo to v2 (major) Jan 30, 2022
@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 sanity monorepo to v2 (major) [patch] Update sanity monorepo to v2 (major) - 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