sanity-io / plugin-kit

Enhanced Sanity.io plugin development experience.
MIT License
74 stars 7 forks source link

chore(deps): update dependency sanity to v3.45.0 #243

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sanity (source) 3.44.0 -> 3.45.0 age adoption passing confidence

Release Notes

sanity-io/sanity (sanity) ### [`v3.45.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.45.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.44.0...v3.45.0) ##### 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 - The [studio initialization command](https://www.sanity.io/docs/init) now allows you to specify a package manager with a flag in a single line. This was previously only possible to do via an interactive CLI prompt. You can now skip this step: ```bash npm create sanity@latest --package-manager pnpm ``` - The `dryRun` parameter is now available in [the context provided](https://www.sanity.io/docs/reference/api/sanity/migrate/MigrationContext) for the `defineMigration` command available from `sanity/migrate`. This allows developers to write scripts that skip certain actions (for example, mutating external data stores) if it is only a dry run. An example might look like this: ```typescript import { defineMigration } from "sanity/migrate" /** * Run this migration with * `npx sanity migration run my-migration` */ export default defineMigration({ title: "my-migration", // pass whether the migration is a dry-run as context async *migrate(documents, { dryRun }) { for await (const document of documents()) { if(dryRun) { // Only log the effect console.log(`Something happened`) } else { // Execute the side-effect await thirdPartyRequest() } // ... do something with the document, maybe yield patches } }, }) ``` ##### 🐛 Notable bugfixes - Fixes an issue where image/file assets would not be listed in Structure lists, even if specified to do so. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | fix(structure): allow searching/listing ignored types when explicitly requested ([#​6771](https://togithub.com/sanity-io/sanity/issues/6771)) | [`5b66664`](https://togithub.com/sanity-io/sanity/commit/5b666649a9) Cody Olsen | chore: setup a separate compiled studio, bump to 19rc ([#​6808](https://togithub.com/sanity-io/sanity/issues/6808)) | [`25be802`](https://togithub.com/sanity-io/sanity/commit/25be80202d) Christian Grøngaard | fix(types): correct `ArrayOptions` ([#​6737](https://togithub.com/sanity-io/sanity/issues/6737)) | [`39da169`](https://togithub.com/sanity-io/sanity/commit/39da169bab) Ash | fix(sanity): align Actions API usage with correct types | [`f07d7ae`](https://togithub.com/sanity-io/sanity/commit/f07d7aeec3) Ash | chore(deps): update `@sanity/client` | [`f9f2356`](https://togithub.com/sanity-io/sanity/commit/f9f2356038) RitaDias | test(core): update e2e test for toolbar in PTE to be more reliable ([#​6811](https://togithub.com/sanity-io/sanity/issues/6811)) | [`cd901d1`](https://togithub.com/sanity-io/sanity/commit/cd901d1129) Cody Olsen | fix: handle circular import issue in a compiler friendly way ([#​6812](https://togithub.com/sanity-io/sanity/issues/6812)) | [`8ac809f`](https://togithub.com/sanity-io/sanity/commit/8ac809f438) renovate\[bot] | fix(deps): Update dev-non-major ([#​6809](https://togithub.com/sanity-io/sanity/issues/6809)) | [`a9662ec`](https://togithub.com/sanity-io/sanity/commit/a9662ecddf) Binoy Patel | test(core): update snapshot for failing test ([#​6818](https://togithub.com/sanity-io/sanity/issues/6818)) | [`52e4cfa`](https://togithub.com/sanity-io/sanity/commit/52e4cfaeca) Christian Grøngaard | chore(page-building): use first-class icons instead of media ([#​6752](https://togithub.com/sanity-io/sanity/issues/6752)) | [`dd7956a`](https://togithub.com/sanity-io/sanity/commit/dd7956a782) Noah Gentile | feat(migrate): add `dryRun` to context ([#​6816](https://togithub.com/sanity-io/sanity/issues/6816)) | [`104162a`](https://togithub.com/sanity-io/sanity/commit/104162a4df) Cody Olsen | fix: use `useImperativeHandle` instead of mutating a parent ref ([#​6813](https://togithub.com/sanity-io/sanity/issues/6813)) | [`13158e9`](https://togithub.com/sanity-io/sanity/commit/13158e939d) ecospark\[bot] | chore(lint): fix linter issues 🤖 ✨ ([#​6825](https://togithub.com/sanity-io/sanity/issues/6825)) | [`cec43ad`](https://togithub.com/sanity-io/sanity/commit/cec43ade1d) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.15.13 ([#​6823](https://togithub.com/sanity-io/sanity/issues/6823)) | [`d0e5e95`](https://togithub.com/sanity-io/sanity/commit/d0e5e95a60) Cody Olsen | fix: regression in [#​6813](https://togithub.com/sanity-io/sanity/issues/6813) ([#​6827](https://togithub.com/sanity-io/sanity/issues/6827)) | [`8ac0812`](https://togithub.com/sanity-io/sanity/commit/8ac0812f39) RitaDias | test(test): update e2e pte toolbar test ([#​6822](https://togithub.com/sanity-io/sanity/issues/6822)) | [`4487680`](https://togithub.com/sanity-io/sanity/commit/44876800f4) RitaDias | test(sanity): update hydrate test ([#​6821](https://togithub.com/sanity-io/sanity/issues/6821)) | [`0cefc21`](https://togithub.com/sanity-io/sanity/commit/0cefc21b3f) Binoy Patel | feat(cli): allow the ability to specify package manager in init command ([#​6820](https://togithub.com/sanity-io/sanity/issues/6820)) | [`f1ef0a6`](https://togithub.com/sanity-io/sanity/commit/f1ef0a65b5) Cody Olsen | fix: call dynamic hooks in a way that can be compiled ([#​6814](https://togithub.com/sanity-io/sanity/issues/6814)) | [`6e65eed`](https://togithub.com/sanity-io/sanity/commit/6e65eedce6) renovate\[bot] | chore(lockfile): update dependency prettier to v3.3.0 ([#​6834](https://togithub.com/sanity-io/sanity/issues/6834)) | [`f279329`](https://togithub.com/sanity-io/sanity/commit/f279329df3) ecospark\[bot] | chore(lint): fix linter issues 🤖 ✨ ([#​6836](https://togithub.com/sanity-io/sanity/issues/6836)) | [`61fd6bb`](https://togithub.com/sanity-io/sanity/commit/61fd6bba99) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.19 ([#​6837](https://togithub.com/sanity-io/sanity/issues/6837)) | [`700879a`](https://togithub.com/sanity-io/sanity/commit/700879aae9) shur | feat: move up call to PATCH metadata after bootstrapping template files ([#​6828](https://togithub.com/sanity-io/sanity/issues/6828)) | [`7d47a51`](https://togithub.com/sanity-io/sanity/commit/7d47a518e5) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.70 ([#​6838](https://togithub.com/sanity-io/sanity/issues/6838)) | [`c794957`](https://togithub.com/sanity-io/sanity/commit/c794957fc2) renovate\[bot] | fix(deps): Update dev-non-major ([#​6841](https://togithub.com/sanity-io/sanity/issues/6841)) | [`48022c1`](https://togithub.com/sanity-io/sanity/commit/48022c11f2) renovate\[bot] | chore(deps): update dependency [@​types/react](https://togithub.com/types/react) to ^18.3.3 ([#​6840](https://togithub.com/sanity-io/sanity/issues/6840)) | [`0ce52e9`](https://togithub.com/sanity-io/sanity/commit/0ce52e91b2) renovate\[bot] | chore(lockfile): update dependency [@​sanity/import](https://togithub.com/sanity/import) to v3.37.5 ([#​6842](https://togithub.com/sanity-io/sanity/issues/6842)) | [`df67883`](https://togithub.com/sanity-io/sanity/commit/df67883da0) jordanl17 | feat(structure): sheet list table columns selectors style edx-1435 ([#​6839](https://togithub.com/sanity-io/sanity/issues/6839)) | [`6d53c4c`](https://togithub.com/sanity-io/sanity/commit/6d53c4c989) Christian Grøngaard | refactor(core): rename InsertMenu->InsertMenuGroups ([#​6845](https://togithub.com/sanity-io/sanity/issues/6845)) | [`e1fd6bf`](https://togithub.com/sanity-io/sanity/commit/e1fd6bfe96)

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (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.



This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

socket-security[bot] commented 3 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/sanity@3.45.0 Transitive: environment, eval, filesystem, network, shell, unsafe +770 888 MB bjoerge

🚮 Removed packages: npm/sanity@3.44.0

View full report↗︎