Skip to content

Bump sanity-plugin-internationalized-array from 4.0.5 to 5.0.1#610

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/sanity-plugin-internationalized-array-5.0.1
Open

Bump sanity-plugin-internationalized-array from 4.0.5 to 5.0.1#610
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/sanity-plugin-internationalized-array-5.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Bumps sanity-plugin-internationalized-array from 4.0.5 to 5.0.1.

Release notes

Sourced from sanity-plugin-internationalized-array's releases.

sanity-plugin-internationalized-array@5.0.1

Patch Changes

  • #719 9ebd48c Thanks @​pedrobonamin! - Prevent stack overflow when traversing document schemas that contain circular inline object/array nesting.

sanity-plugin-internationalized-array@5.0.0

Major Changes

  • #567 5afde33 Thanks @​pedrobonamin! - Move language identifier from _key to dedicated language field.

    Breaking change: Internationalized array items now store the language identifier in a language field instead of _key. The _key field is now a random unique ID.

    Before (v4):

    {"_key": "en", "value": "hello"}

    After (v5):

    {"_key": "abc123", "language": "en", "value": "hello"}

    How to upgrade

    Full details in README Migrate from v4 to v5 section of the README.

    1. Update GROQ queries from _key == "en" to language == "en" || _key == "en" until the migration is completed.

    2. Run the new bundled migration helper to update existing documents. Create a migration file in your project that imports from sanity-plugin-internationalized-array/migrations, configures your documentTypes, and exports the migration:

      // ./migrations/migrateToLanguageField.ts
      import {migrateToLanguageField} from 'sanity-plugin-internationalized-array/migrations'
      export default migrateToLanguageField(['yourType'])
      npx sanity migration run migrateToLanguageField

      Verify everything looks as expected

      npx sanity migration run migrateToLanguageField  --no-dry-run
    3. Update any custom code that reads _key as the language identifier to use the language field instead.

... (truncated)

Changelog

Sourced from sanity-plugin-internationalized-array's changelog.

5.0.1

Patch Changes

  • #719 9ebd48c Thanks @​pedrobonamin! - Prevent stack overflow when traversing document schemas that contain circular inline object/array nesting.

5.0.0

Major Changes

  • #567 5afde33 Thanks @​pedrobonamin! - Move language identifier from _key to dedicated language field.

    Breaking change: Internationalized array items now store the language identifier in a language field instead of _key. The _key field is now a random unique ID.

    Before (v4):

    {"_key": "en", "value": "hello"}

    After (v5):

    {"_key": "abc123", "language": "en", "value": "hello"}

    How to upgrade

    Full details in README Migrate from v4 to v5 section of the README.

    1. Update GROQ queries from _key == "en" to language == "en" || _key == "en" until the migration is completed.

    2. Run the new bundled migration helper to update existing documents. Create a migration file in your project that imports from sanity-plugin-internationalized-array/migrations, configures your documentTypes, and exports the migration:

      // ./migrations/migrateToLanguageField.ts
      import {migrateToLanguageField} from 'sanity-plugin-internationalized-array/migrations'
      export default migrateToLanguageField(['yourType'])
      npx sanity migration run migrateToLanguageField

      Verify everything looks as expected

      npx sanity migration run migrateToLanguageField  --no-dry-run
    3. Update any custom code that reads _key as the language identifier to use the language field instead.

    4. Remove _key == "en" from your queries once migration is complete, since language is now stored in language.

... (truncated)

Commits
  • e26e187 Version Packages (#720)
  • 9ebd48c fix(i18n-array): Maximum call stack size exceeded when schemas contain circul...
  • dbb7e3a Version Packages (#718)
  • 5afde33 feat!(i18n-array): Move language identifier from _key to dedicated `languag...
  • ab762cd Version Packages (#716)
  • bf6a7d5 fix: update language filter to 4.1.0 (#712)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sanity-plugin-internationalized-array](https://github.com/sanity-io/plugins/tree/HEAD/plugins/sanity-plugin-internationalized-array) from 4.0.5 to 5.0.1.
- [Release notes](https://github.com/sanity-io/plugins/releases)
- [Changelog](https://github.com/sanity-io/plugins/blob/main/plugins/sanity-plugin-internationalized-array/CHANGELOG.md)
- [Commits](https://github.com/sanity-io/plugins/commits/sanity-plugin-internationalized-array@5.0.1/plugins/sanity-plugin-internationalized-array)

---
updated-dependencies:
- dependency-name: sanity-plugin-internationalized-array
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 16, 2026
@shopify
Copy link
Copy Markdown
Contributor

shopify bot commented Mar 16, 2026

Oxygen deployed a preview of your dependabot/npm_and_yarn/sanity-plugin-internationalized-array-5.0.1 branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Fluid demo ✅ Successful (Logs) Preview deployment Inspect deployment March 16, 202610:18 AM

Learn more about Hydrogen's GitHub integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants