Skip to content

[Release] v1.0.0#5

Merged
NishargShah merged 7 commits into
masterfrom
canary
Jul 1, 2026
Merged

[Release] v1.0.0#5
NishargShah merged 7 commits into
masterfrom
canary

Conversation

@NishargShah

Copy link
Copy Markdown
Contributor

1.0.0 (2026-07-02)

🚀 Features

  • sanity-plugin-structure-tool:
    • Added support for internationalization (i18n) on list items, folders, components, and dividers.
    • Added i18n configuration option to register locale translation resource bundles mapping.
    • Added support for parent/child separate title translation mapping.
    • Added I18N_NAMESPACE and UNIQUE_ID_FIRST_VALUE constants.
  • docs:
    • Added comprehensive guide and examples for internationalization (i18n) configuration and localization bundle setup.
    • Documented I18N_NAMESPACE and UNIQUE_ID_FIRST_VALUE constants.
    • Updated upcoming features and roadmap targeting the v2.0.0 release.
  • studio:
    • Added interactive internationalization examples with English (en) and Spanish (es) workspaces, translation json dictionaries, and nested layout drawer lists.

Copilot AI review requested due to automatic review settings July 1, 2026 21:54
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sanity-structure-tool Ready Ready Preview, Comment Jul 1, 2026 9:55pm
sanity-structure-tool-studio Ready Ready Preview, Comment Jul 1, 2026 9:55pm

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​sanity/​locale-es-es@​1.2.35801009193100
Added@​sanity/​icons@​4.0.0991008292100
Addedsanity@​6.3.09510010098100
Added@​sanity/​vision@​6.3.0981009698100
Addedprettier@​3.9.4991009799100

View full report

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This release PR promotes the project to v1.0.0, adding first-class internationalization support to the sanity-plugin-structure-tool (list items + plugin-level locale bundle registration), and updates the docs and studio example app to demonstrate localized structures.

Changes:

  • Add i18n support across structure list items (listing, singleton, filters, folders, components, dividers) and plugin-level locale bundle registration.
  • Update docs with new i18n setup guide/examples and adjust sidebar/navigation for the new pages.
  • Bump package versions to 1.0.0 and refresh dependencies/lockfiles (including Sanity-related upgrades and a studio Spanish-locale example workspace).

Reviewed changes

Copilot reviewed 47 out of 48 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pnpm-workspace.yaml Allows newer @sanity/icons@4.0.0 within workspace constraints.
pnpm-lock.yaml Lockfile updates for dependency upgrades and new packages (incl. locale).
packages/sanity-plugin-structure-tool/src/structure/types/listItemDefinitions.types.ts Extends callback param typing to include Locale.
packages/sanity-plugin-structure-tool/src/structure/types/listItem.types.ts Adds i18n?: ... list item option typing.
packages/sanity-plugin-structure-tool/src/structure/types/common.types.ts Adds Locale to StructureToolParams.
packages/sanity-plugin-structure-tool/src/structure/structureToolPlugin/structureToolPlugin.types.ts Adds plugin i18n bundle config typing.
packages/sanity-plugin-structure-tool/src/structure/structureToolPlugin/structureToolPlugin.ts Registers locale resource bundles + propagates locale generics.
packages/sanity-plugin-structure-tool/src/structure/listItems/getSingleton.ts Applies .i18n(...) to singleton list/editor titles.
packages/sanity-plugin-structure-tool/src/structure/listItems/getListing.ts Applies .i18n(...) to listing list/document titles.
packages/sanity-plugin-structure-tool/src/structure/listItems/getFilters.ts Applies .i18n(...) to filters list/document titles.
packages/sanity-plugin-structure-tool/src/structure/listItems/getDivider.ts Applies .i18n(...) to divider titles.
packages/sanity-plugin-structure-tool/src/structure/listItems/getComponent.ts Applies .i18n(...) to component list/pane titles.
packages/sanity-plugin-structure-tool/src/structure/listItems/getChildren.ts Applies .i18n(...) to folder list/pane titles.
packages/sanity-plugin-structure-tool/src/helpers/getComputedListItems.ts Computes i18n text records based on list item config.
packages/sanity-plugin-structure-tool/src/factories/helpers/singletonHelper.ts Wires i18n through singleton helper typing.
packages/sanity-plugin-structure-tool/src/factories/helpers/listingHelper.ts Wires i18n through listing helper typing.
packages/sanity-plugin-structure-tool/src/factories/helpers/filtersHelper.ts Wires i18n through filters helper typing.
packages/sanity-plugin-structure-tool/src/factories/helpers/dividerHelper.ts Wires i18n through divider helper typing.
packages/sanity-plugin-structure-tool/src/factories/helpers/componentHelper.ts Wires i18n through component helper typing.
packages/sanity-plugin-structure-tool/src/factories/helpers/childrenHelper.ts Wires i18n through children helper typing.
packages/sanity-plugin-structure-tool/src/constants/export.ts Exports I18N_NAMESPACE constant.
packages/sanity-plugin-structure-tool/src/constants/constants.ts Defines I18N_NAMESPACE + UNIQUE_ID_FIRST_VALUE.
packages/sanity-plugin-structure-tool/package.json Bumps plugin package version to 1.0.0.
package.json Bumps monorepo version + updates prettier version.
docs/package.json Bumps docs package version to 1.0.0.
docs/introduction/upcoming-features.md Updates roadmap/upcoming features for v2.0.0 planning.
docs/guide/setup/i18n.md Adds i18n setup guide and locale bundle instructions.
docs/guide/setup/configuration.md Documents new i18n plugin option + reshuffles config sections.
docs/guide/setup.md Renames “Setup” page to “Overview” (content entry point).
docs/guide/list-items.md Adds i18n to list item property matrix.
docs/examples/i18n.md Adds i18n usage examples (standard + parent/child title keys).
docs/customization/constants.md Documents I18N_NAMESPACE and UNIQUE_ID_FIRST_VALUE.
docs/.vitepress/config.ts Adds i18n pages to sidebar + uses Overview child-link pattern.
configs/typescript-config/package.json Bumps config package version to 1.0.0.
configs/tsdown-config/package.json Bumps config package version to 1.0.0.
configs/prettier-config/package.json Bumps config package version to 1.0.0.
configs/lint-staged-config/package.json Bumps config package version to 1.0.0.
configs/eslint-config/package.json Bumps config package version to 1.0.0.
CHANGELOG.md Adds 1.0.0 release notes entry.
apps/studio/src/workspace/workspaces.ts Adds a Spanish demo workspace entry.
apps/studio/src/workspace/createWorkspaces.ts Conditionally registers esESLocale() for Spanish workspace.
apps/studio/src/structure/listItems.ts Adds an i18n demo section with nested translated items.
apps/studio/src/structure/index.ts Registers en-US/es-ES resource bundles via plugin i18n param.
apps/studio/src/locales/es.json Adds Spanish translation dictionary for demo.
apps/studio/src/locales/en.json Adds English translation dictionary for demo.
apps/studio/src/constants/common.ts Adds Spanish workspace type constant.
apps/studio/package.json Bumps studio version + adds locale dependency + upgrades Sanity deps.
.agents/AGENTS.md Documents new i18n + sidebar structure conventions for contributors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/guide/setup/i18n.md
Comment thread docs/examples/i18n.md
@NishargShah
NishargShah merged commit e507e3e into master Jul 1, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants