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.14.4 #318

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.14.3 -> 3.14.4 age adoption passing confidence
sanity (source) 3.14.3 -> 3.14.4 age adoption passing confidence

Release Notes

sanity-io/sanity (groq) ### [`v3.14.4`](https://togithub.com/sanity-io/sanity/releases/tag/v3.14.4) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.14.3...v3.14.4) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### πŸ› Notable bugfixes - Implements the 'document' creation context in the `document.newDocumentOptions` API - Fixes an issue where exported datasets with cross-dataset references could not be imported to different projects. Note that referenced datasets must exist within same project - otherwise use `--skip-cross-dataset-references`. - Removes warning about missing titles for schema types (titles are automatically created based on schema type name - a title is only necessary if the automatic name is incorrect/inaccurate) - Titles are now automatically applied to field groups and fieldsets, in the same way as with schema types. - Improves error messages from configuration errors - Boolean inputs will now show validation errors at the input level - Fixes alignment/scrolling issues of references in delete/unpublish dialog - Fixes accessibility issues in tooltip text color contrast - Fixes various accessibility label issues in the desk tool - Fixes issue where focus would jump to first element when hovering divider in menu - Fixes an issue where the fallback editor had the title "Editor", instead of the name of the document being edited ### πŸ““ Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | fix(core): deprecate `projectId` in cross-dataset reference definitions | [`103d99d`](https://togithub.com/sanity-io/sanity/commit/103d99d652) Espen Hovlandsdal | fix(import): rewrite cross-dataset references, add option to skip | [`ad10b38`](https://togithub.com/sanity-io/sanity/commit/ad10b38f5e) Espen Hovlandsdal | feat(import): check for missing datasets prior to importing | [`8e8242d`](https://togithub.com/sanity-io/sanity/commit/8e8242dcec) Espen Hovlandsdal | feat(cli): add `--skip-cross-dataset-references` flag to `dataset import` | [`c9cac66`](https://togithub.com/sanity-io/sanity/commit/c9cac6630b) Espen Hovlandsdal | fix(types): deprecate experimental search for CDRs | [`ea075f0`](https://togithub.com/sanity-io/sanity/commit/ea075f071a) Espen Hovlandsdal | fix(import): skip datasets lookup if no CDRs are found | [`ed34949`](https://togithub.com/sanity-io/sanity/commit/ed34949e61) Herman Wikner | feat(core): implement document creation context in `document.newDocumentOptions` ([#​4680](https://togithub.com/sanity-io/sanity/issues/4680)) | [`b9298e8`](https://togithub.com/sanity-io/sanity/commit/b9298e8ca2) Binoy Patel | docs(desk): fix links in tsdoc comment ([#​4714](https://togithub.com/sanity-io/sanity/issues/4714)) | [`1bae93a`](https://togithub.com/sanity-io/sanity/commit/1bae93a79b) Espen Hovlandsdal | refactor(config): use human-readable types for config error messages | [`6224f47`](https://togithub.com/sanity-io/sanity/commit/6224f4743b) Espen Hovlandsdal | feat(schema): do not warn on missing title for schema type | [`6164d24`](https://togithub.com/sanity-io/sanity/commit/6164d24234) Espen Hovlandsdal | feat(schema): automatically create titles for field groups without one | [`ffb8339`](https://togithub.com/sanity-io/sanity/commit/ffb83395d0) Espen Hovlandsdal | fix(types): add missing `group` property on fieldset definitions | [`87d642a`](https://togithub.com/sanity-io/sanity/commit/87d642a0a3) Espen Hovlandsdal | fix(types): adjust `icon` property for field group (can only be component) | [`cf968aa`](https://togithub.com/sanity-io/sanity/commit/cf968aa8bb) Espen Hovlandsdal | feat(schema): automatically create titles for fieldsets without one | [`6f201e0`](https://togithub.com/sanity-io/sanity/commit/6f201e0495) RitaDias | fix(core): add missing validation at input level validation (boolean) ([#​4719](https://togithub.com/sanity-io/sanity/issues/4719)) | [`cb64607`](https://togithub.com/sanity-io/sanity/commit/cb646078ba) Espen Hovlandsdal | refactor(desk): drop unused validation menu component | [`f70c3df`](https://togithub.com/sanity-io/sanity/commit/f70c3df427) Espen Hovlandsdal | refactor(core): drop unused validation list components | [`cddba6d`](https://togithub.com/sanity-io/sanity/commit/cddba6d9b2) Nina Andal Aarvik | fix(desk): minor style change of references in delete/unpublish dialog ([#​4705](https://togithub.com/sanity-io/sanity/issues/4705)) | [`a8e7c24`](https://togithub.com/sanity-io/sanity/commit/a8e7c2474c) vicbergquist | fix(desk): add accessible label to publish icon | [`fd6c2e9`](https://togithub.com/sanity-io/sanity/commit/fd6c2e9204) vicbergquist | fix(core): add a11y labels to presence indicators | [`5182529`](https://togithub.com/sanity-io/sanity/commit/5182529555) vicbergquist | fix(desk): add accessible labels to publish status | [`dcb1fc7`](https://togithub.com/sanity-io/sanity/commit/dcb1fc7053) vicbergquist | fix(desk): add accessible labels to review changes button | [`736437b`](https://togithub.com/sanity-io/sanity/commit/736437babc) Nina Andal Aarvik | fix(core): add logic to focusFirst in customised popover ([#​4667](https://togithub.com/sanity-io/sanity/issues/4667)) | [`1313dd4`](https://togithub.com/sanity-io/sanity/commit/1313dd4f9b) renovate\[bot] | fix(deps): update dependency get-it to v8.3.0 ([#​4736](https://togithub.com/sanity-io/sanity/issues/4736)) | [`52d7eb7`](https://togithub.com/sanity-io/sanity/commit/52d7eb7876) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to v6.1.7 ([#​4737](https://togithub.com/sanity-io/sanity/issues/4737)) | [`dacb164`](https://togithub.com/sanity-io/sanity/commit/dacb164fba) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to v1.7.3 ([#​4728](https://togithub.com/sanity-io/sanity/issues/4728)) | [`8176fba`](https://togithub.com/sanity-io/sanity/commit/8176fba58a) renovate\[bot] | chore(deps): update dependency sanity-plugin-mux-input to v2.1.1 ([#​4734](https://togithub.com/sanity-io/sanity/issues/4734)) | [`6a5f9f4`](https://togithub.com/sanity-io/sanity/commit/6a5f9f4888) renovate\[bot] | fix(deps): update dependency framer-motion to v10.13.1 ([#​4735](https://togithub.com/sanity-io/sanity/issues/4735)) | [`4af3c69`](https://togithub.com/sanity-io/sanity/commit/4af3c6961a) renovate\[bot] | fix(deps): update dependency vite to v4.4.7 ([#​4733](https://togithub.com/sanity-io/sanity/issues/4733)) | [`1f83fce`](https://togithub.com/sanity-io/sanity/commit/1f83fcec77) renovate\[bot] | fix(deps): update dependency react-focus-lock to v2.9.5 ([#​4732](https://togithub.com/sanity-io/sanity/issues/4732)) | [`0c6f3a2`](https://togithub.com/sanity-io/sanity/commit/0c6f3a23a7) renovate\[bot] | fix(deps): update dependency esbuild to v0.18.16 ([#​4731](https://togithub.com/sanity-io/sanity/issues/4731)) | [`9437194`](https://togithub.com/sanity-io/sanity/commit/9437194b0e) renovate\[bot] | fix(deps): update dependency [@​vitejs/plugin-react](https://togithub.com/vitejs/plugin-react) to v4.0.3 ([#​4730](https://togithub.com/sanity-io/sanity/issues/4730)) | [`ba4e659`](https://togithub.com/sanity-io/sanity/commit/ba4e659678) renovate\[bot] | fix(deps): update dependency [@​sanity/uuid](https://togithub.com/sanity/uuid) to v3.0.2 ([#​4729](https://togithub.com/sanity-io/sanity/issues/4729)) | [`5f65434`](https://togithub.com/sanity-io/sanity/commit/5f65434a97) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v2.3.6 ([#​4727](https://togithub.com/sanity-io/sanity/issues/4727)) | [`b33ba8a`](https://togithub.com/sanity-io/sanity/commit/b33ba8aa18)

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 Jul 31, 2023 1:35am
github-actions[bot] commented 1 year ago

Size Change: 0 B

Total Size: 67.7 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.4 kB | | `packages/core/dist/index.standalone.esm.js` | 14.5 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.19 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.25 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