Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

Commit 8864f5a

Browse files
authored
chore: update api versions to 2025-10-15 to support raw perspective (#107)
1 parent 02ce3ed commit 8864f5a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const CONFIG_DEFAULT: Required<PluginConfig> = {
1111
select: {},
1212
defaultLanguages: [],
1313
fieldTypes: [],
14-
apiVersion: '2022-11-27',
14+
apiVersion: '2025-10-15',
1515
buttonLocations: ['field'],
1616
buttonAddAll: true,
1717
languageDisplay: 'codeOnly',

src/plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {flattenSchemaType} from './utils/flattenSchemaType'
1313
export const internationalizedArray = definePlugin<PluginConfig>((config) => {
1414
const pluginConfig = {...CONFIG_DEFAULT, ...config}
1515
const {
16-
apiVersion = '2022-11-27',
16+
apiVersion = '2025-10-15',
1717
select,
1818
languages,
1919
fieldTypes,

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export type LanguageDisplay = 'titleOnly' | 'codeOnly' | 'titleAndCode'
4040
export type PluginConfig = {
4141
/**
4242
* https://www.sanity.io/docs/api-versioning
43-
* @defaultValue '2022-11-27'
43+
* @defaultValue '2025-10-15'
4444
*/
4545
apiVersion?: string
4646
/**

0 commit comments

Comments
 (0)