ricokahler / sanity-codegen

Generate TypeScript types from your Sanity.io schemas
sanity-codegen-dev.vercel.app
MIT License
270 stars 19 forks source link

chore(deps): update sanity monorepo to v3.12.0 #304

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
groq (source) 3.11.5 -> 3.12.0 age adoption passing confidence
sanity (source) 3.11.5 -> 3.12.0 age adoption passing confidence

Release Notes

sanity-io/sanity ### [`v3.12.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.12.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.11.5...v3.12.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 #### Custom block, inlineBlock and annotation form components Adds support for block, inlineBlock and annotation form components. You can now write plugins or create workspace configuration that change how these types are rendered in the studio ### 🐛 Notable bugfixes - Fixes a regression that broke document-level readOnly - Fixes a bug that caused conditional field callbacks inside fieldsets to get passed a wrong parent value - Improves deep linking to the Portable Text Input for visual editing - Fixes an issue where `@sanity/block-tools` would remove whitespace from `
` tags
-   Fixes an issue that could sometimes cause newly inserted array items to be immediately removed

### 📓 Full changelog

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


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
sanity-codegen-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2023 0:59am
github-actions[bot] commented 1 year ago

Size Change: 0 B

Total Size: 67.1 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `packages/client/dist/index.exports.require.cjs.js` | 972 B | | `packages/client/dist/index.main.cjs.js` | 1.05 kB | | `packages/client/dist/index.module.es.js` | 950 B | | `packages/client/dist/index.unpkg.umd.js` | 1.19 kB | | `packages/core/dist/default-generate-type-name.js` | 308 B | | `packages/core/dist/default-structures/geopoint.js` | 298 B | | `packages/core/dist/default-structures/image.js` | 721 B | | `packages/core/dist/default-structures/index.js` | 314 B | | `packages/core/dist/generate-query-types.js` | 1.39 kB | | `packages/core/dist/generate-schema-types.js` | 1.05 kB | | `packages/core/dist/generate-types.js` | 1.32 kB | | `packages/core/dist/index.js` | 546 B | | `packages/core/dist/index.standalone.cjs.js` | 14.2 kB | | `packages/core/dist/index.standalone.esm.js` | 14.3 kB | | `packages/core/dist/index.standalone.js` | 297 B | | `packages/core/dist/pluck-groq-from-files.js` | 2.79 kB | | `packages/core/dist/resolve-expression-error.js` | 149 B | | `packages/core/dist/schema-normalizer.js` | 2.56 kB | | `packages/core/dist/transform-groq-to-structure.js` | 3.17 kB | | `packages/core/dist/transform-schema-to-structure.js` | 1.73 kB | | `packages/core/dist/transform-structure-to-ts.js` | 2.2 kB | | `packages/core/dist/utils/access-attribute-in-structure.js` | 577 B | | `packages/core/dist/utils/bounded-find.js` | 382 B | | `packages/core/dist/utils/create-structure.js` | 1.14 kB | | `packages/core/dist/utils/get-next-filename.js` | 371 B | | `packages/core/dist/utils/hash.js` | 706 B | | `packages/core/dist/utils/index.js` | 615 B | | `packages/core/dist/utils/is-structure.js` | 590 B | | `packages/core/dist/utils/narrow-structure.js` | 2.08 kB | | `packages/core/dist/utils/reduce-object-structures.js` | 910 B | | `packages/core/dist/utils/resolve-expression.js` | 1.75 kB | | `packages/core/dist/utils/resolve-identifier.js` | 1.57 kB | | `packages/core/dist/utils/simple-logger.js` | 403 B | | `packages/core/dist/utils/transforms.js` | 976 B | | `packages/core/dist/utils/wrap-array.js` | 339 B | | `packages/extractor/dist/default-babel-options.js` | 740 B | | `packages/extractor/dist/index.js` | 298 B | | `packages/extractor/dist/schema-executor.js` | 1.19 kB | | `packages/extractor/dist/schema-extractor.js` | 983 B |

compressed-size-action