[Release] v1.0.0#5
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
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
i18nsupport 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.0and 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.0.0 (2026-07-02)
🚀 Features
i18n) on list items, folders, components, and dividers.i18nconfiguration option to register locale translation resource bundles mapping.I18N_NAMESPACEandUNIQUE_ID_FIRST_VALUEconstants.i18n) configuration and localization bundle setup.I18N_NAMESPACEandUNIQUE_ID_FIRST_VALUEconstants.en) and Spanish (es) workspaces, translation json dictionaries, and nested layout drawer lists.