From a35da51fb7f58af6e7e0e00054f2f92304258e8c Mon Sep 17 00:00:00 2001 From: "squiggler[bot]" <128108030+squiggler[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 18:56:01 +0000 Subject: [PATCH] Version Packages --- .../document-i18n-consume-array-item-type.md | 5 --- .../document-i18n-deprecate-legacy-actions.md | 29 ----------------- ...nalized-array-add-all-missing-languages.md | 5 --- ...ternationalized-array-export-array-item.md | 5 --- ...ationalized-array-export-language-field.md | 5 --- .changeset/studio-secrets-migration.md | 18 ----------- .changeset/studio-secrets-tests.md | 5 --- .../CHANGELOG.md | 32 +++++++++++++++++++ .../package.json | 2 +- plugins/@sanity/studio-secrets/CHANGELOG.md | 23 +++++++++++++ plugins/@sanity/studio-secrets/package.json | 2 +- .../CHANGELOG.md | 10 ++++++ .../package.json | 2 +- 13 files changed, 68 insertions(+), 75 deletions(-) delete mode 100644 .changeset/document-i18n-consume-array-item-type.md delete mode 100644 .changeset/document-i18n-deprecate-legacy-actions.md delete mode 100644 .changeset/internationalized-array-add-all-missing-languages.md delete mode 100644 .changeset/internationalized-array-export-array-item.md delete mode 100644 .changeset/internationalized-array-export-language-field.md delete mode 100644 .changeset/studio-secrets-migration.md delete mode 100644 .changeset/studio-secrets-tests.md diff --git a/.changeset/document-i18n-consume-array-item-type.md b/.changeset/document-i18n-consume-array-item-type.md deleted file mode 100644 index 221750e6..00000000 --- a/.changeset/document-i18n-consume-array-item-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sanity/document-internationalization': patch ---- - -Update the plugin to consume the exported `InternationalizedArrayItem` type from `sanity-plugin-internationalized-array`. diff --git a/.changeset/document-i18n-deprecate-legacy-actions.md b/.changeset/document-i18n-deprecate-legacy-actions.md deleted file mode 100644 index 2028d592..00000000 --- a/.changeset/document-i18n-deprecate-legacy-actions.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@sanity/document-internationalization': patch ---- - -Deprecate the legacy `DeleteTranslationAction` and `DuplicateWithTranslationsAction` action exports. Use the hook-based actions instead: `useDeleteTranslationAction` and `useDuplicateWithTranslationsAction`. - -To insert the hook-based actions, add them in your Studio `document.actions` configuration: - -```ts -import { - useDeleteTranslationAction, - useDuplicateWithTranslationsAction, -} from '@sanity/document-internationalization' - -export default defineConfig({ - // ... - document: { - actions: (prev, context) => { - const translatedSchemaTypes = ['lesson', 'article'] - - if (translatedSchemaTypes.includes(context.schemaType)) { - return [...prev, useDeleteTranslationAction, useDuplicateWithTranslationsAction] - } - - return prev - }, - }, -}) -``` diff --git a/.changeset/internationalized-array-add-all-missing-languages.md b/.changeset/internationalized-array-add-all-missing-languages.md deleted file mode 100644 index 44c9f37e..00000000 --- a/.changeset/internationalized-array-add-all-missing-languages.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sanity-plugin-internationalized-array': patch ---- - -Fix the "Add all languages" action so it only inserts missing language items. diff --git a/.changeset/internationalized-array-export-array-item.md b/.changeset/internationalized-array-export-array-item.md deleted file mode 100644 index 6a4a33ed..00000000 --- a/.changeset/internationalized-array-export-array-item.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sanity-plugin-internationalized-array': patch ---- - -Export `InternationalizedArrayItem` from the package so it can be imported and reused by consumers. diff --git a/.changeset/internationalized-array-export-language-field.md b/.changeset/internationalized-array-export-language-field.md deleted file mode 100644 index 80416eaf..00000000 --- a/.changeset/internationalized-array-export-language-field.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'sanity-plugin-internationalized-array': patch ---- - -Export `LANGUAGE_FIELD_NAME` constant diff --git a/.changeset/studio-secrets-migration.md b/.changeset/studio-secrets-migration.md deleted file mode 100644 index 83492c39..00000000 --- a/.changeset/studio-secrets-migration.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@sanity/studio-secrets": major ---- - -Port @sanity/studio-secrets plugin to the plugins monorepo - -**Breaking Changes:** -- Require React 19 and Sanity Studio v5 -- Drop CJS output, ESM only -- Enable React Compiler - -**Code Modernization:** -- Fixed TypeScript linting issues for strict type checking -- Fixed floating promises with proper void operator usage -- Replaced deprecated `React.FormEvent` with `ChangeEvent` -- Replaced `JSX.Element` return type with `ReactElement` -- Removed eslint-disable comments (oxlint does not require them) -- Updated `@sanity/ui` to v3.1.11 diff --git a/.changeset/studio-secrets-tests.md b/.changeset/studio-secrets-tests.md deleted file mode 100644 index d7f06b29..00000000 --- a/.changeset/studio-secrets-tests.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sanity/studio-secrets": patch ---- - -test(studio-secrets): add comprehensive test suite for Settings and useSecrets diff --git a/plugins/@sanity/document-internationalization/CHANGELOG.md b/plugins/@sanity/document-internationalization/CHANGELOG.md index d071d6b9..6c844cbe 100644 --- a/plugins/@sanity/document-internationalization/CHANGELOG.md +++ b/plugins/@sanity/document-internationalization/CHANGELOG.md @@ -1,5 +1,37 @@ # @sanity/document-internationalization +## 5.0.1 + +### Patch Changes + +- [#581](https://github.com/sanity-io/plugins/pull/581) [`952a50b`](https://github.com/sanity-io/plugins/commit/952a50b1735b05da60d13f52c33428a5b1955a57) Thanks [@pedrobonamin](https://github.com/pedrobonamin)! - Update the plugin to consume the exported `InternationalizedArrayItem` type from `sanity-plugin-internationalized-array`. + +- [#576](https://github.com/sanity-io/plugins/pull/576) [`88c8e2d`](https://github.com/sanity-io/plugins/commit/88c8e2d717f1fb2314ae65b7dd3853a9f07fd246) Thanks [@pedrobonamin](https://github.com/pedrobonamin)! - Deprecate the legacy `DeleteTranslationAction` and `DuplicateWithTranslationsAction` action exports. Use the hook-based actions instead: `useDeleteTranslationAction` and `useDuplicateWithTranslationsAction`. + + To insert the hook-based actions, add them in your Studio `document.actions` configuration: + + ```ts + import { + useDeleteTranslationAction, + useDuplicateWithTranslationsAction, + } from '@sanity/document-internationalization' + + export default defineConfig({ + // ... + document: { + actions: (prev, context) => { + const translatedSchemaTypes = ['lesson', 'article'] + + if (translatedSchemaTypes.includes(context.schemaType)) { + return [...prev, useDeleteTranslationAction, useDuplicateWithTranslationsAction] + } + + return prev + }, + }, + }) + ``` + ## 5.0.0 ### Major Changes diff --git a/plugins/@sanity/document-internationalization/package.json b/plugins/@sanity/document-internationalization/package.json index d5e7aa95..fb8316a4 100644 --- a/plugins/@sanity/document-internationalization/package.json +++ b/plugins/@sanity/document-internationalization/package.json @@ -1,6 +1,6 @@ { "name": "@sanity/document-internationalization", - "version": "5.0.0", + "version": "5.0.1", "description": "Create unique translations of a document based on its language, joined by a shared reference document.", "keywords": [ "sanity", diff --git a/plugins/@sanity/studio-secrets/CHANGELOG.md b/plugins/@sanity/studio-secrets/CHANGELOG.md index cad094f0..854b5187 100644 --- a/plugins/@sanity/studio-secrets/CHANGELOG.md +++ b/plugins/@sanity/studio-secrets/CHANGELOG.md @@ -1,5 +1,28 @@ # @sanity/studio-secrets +## 4.0.0 + +### Major Changes + +- [#568](https://github.com/sanity-io/plugins/pull/568) [`f49588a`](https://github.com/sanity-io/plugins/commit/f49588a397a5c9c655272efc6085d697f44d7083) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Port @sanity/studio-secrets plugin to the plugins monorepo + + **Breaking Changes:** + - Require React 19 and Sanity Studio v5 + - Drop CJS output, ESM only + - Enable React Compiler + + **Code Modernization:** + - Fixed TypeScript linting issues for strict type checking + - Fixed floating promises with proper void operator usage + - Replaced deprecated `React.FormEvent` with `ChangeEvent` + - Replaced `JSX.Element` return type with `ReactElement` + - Removed eslint-disable comments (oxlint does not require them) + - Updated `@sanity/ui` to v3.1.11 + +### Patch Changes + +- [#575](https://github.com/sanity-io/plugins/pull/575) [`94e6c7a`](https://github.com/sanity-io/plugins/commit/94e6c7ab36016e3a5f306dfbe4025f5e9b766dc0) Thanks [@RitaDias](https://github.com/RitaDias)! - test(studio-secrets): add comprehensive test suite for Settings and useSecrets + ## [3.0.3](https://github.com/sanity-io/sanity-studio-secrets/compare/v3.0.2...v3.0.3) (2025-12-18) ### Bug Fixes diff --git a/plugins/@sanity/studio-secrets/package.json b/plugins/@sanity/studio-secrets/package.json index 5297a201..432b6097 100644 --- a/plugins/@sanity/studio-secrets/package.json +++ b/plugins/@sanity/studio-secrets/package.json @@ -1,6 +1,6 @@ { "name": "@sanity/studio-secrets", - "version": "3.0.3", + "version": "4.0.0", "description": "React hooks and UI for reading and managing secrets in a Sanity Studio. This is a good pattern for keeping configuration secret. Instead of using environment variables which would be bundled with the Studio source (it is an SPA), we store secret information in a separate, access-controlled dataset that is only queried at runtime.", "keywords": [ "sanity", diff --git a/plugins/sanity-plugin-internationalized-array/CHANGELOG.md b/plugins/sanity-plugin-internationalized-array/CHANGELOG.md index cc983617..2975beab 100644 --- a/plugins/sanity-plugin-internationalized-array/CHANGELOG.md +++ b/plugins/sanity-plugin-internationalized-array/CHANGELOG.md @@ -1,5 +1,15 @@ # sanity-plugin-internationalized-array +## 4.0.2 + +### Patch Changes + +- [#584](https://github.com/sanity-io/plugins/pull/584) [`c878cf5`](https://github.com/sanity-io/plugins/commit/c878cf57e8fac91c2112375dcd4ddd5a5e01ba16) Thanks [@pedrobonamin](https://github.com/pedrobonamin)! - Fix the "Add all languages" action so it only inserts missing language items. + +- [#581](https://github.com/sanity-io/plugins/pull/581) [`952a50b`](https://github.com/sanity-io/plugins/commit/952a50b1735b05da60d13f52c33428a5b1955a57) Thanks [@pedrobonamin](https://github.com/pedrobonamin)! - Export `InternationalizedArrayItem` from the package so it can be imported and reused by consumers. + +- [#576](https://github.com/sanity-io/plugins/pull/576) [`88c8e2d`](https://github.com/sanity-io/plugins/commit/88c8e2d717f1fb2314ae65b7dd3853a9f07fd246) Thanks [@pedrobonamin](https://github.com/pedrobonamin)! - Export `LANGUAGE_FIELD_NAME` constant + ## 4.0.1 ### Patch Changes diff --git a/plugins/sanity-plugin-internationalized-array/package.json b/plugins/sanity-plugin-internationalized-array/package.json index 0bb3a23b..b4fe7b01 100644 --- a/plugins/sanity-plugin-internationalized-array/package.json +++ b/plugins/sanity-plugin-internationalized-array/package.json @@ -1,6 +1,6 @@ { "name": "sanity-plugin-internationalized-array", - "version": "4.0.1", + "version": "4.0.2", "description": "Store localized fields in an array to save on attributes", "keywords": [ "sanity",