next-sanity 9.8.61 → 9.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +10 -10
package/README.md CHANGED
@@ -614,7 +614,7 @@ const client = createClient({
614
614
  projectId: process.env.NEXT_PUBLIC_SANITY_PROJECT_ID,
615
615
  dataset: process.env.NEXT_PUBLIC_SANITY_DATASET,
616
616
  useCdn: true,
617
- apiVersion: 'vX', // Target the experimental API version
617
+ apiVersion: 'v2025-03-04',
618
618
  stega: {studioUrl: '/studio'},
619
619
  })
620
620
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "9.8.61",
3
+ "version": "9.9.0",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -138,12 +138,12 @@
138
138
  "browserslist": "extends @sanity/browserslist-config",
139
139
  "dependencies": {
140
140
  "@portabletext/react": "^3.2.1",
141
- "@sanity/client": "^6.28.2",
141
+ "@sanity/client": "^6.28.3",
142
142
  "@sanity/next-loader": "1.3.4",
143
- "@sanity/preview-kit": "5.2.9",
143
+ "@sanity/preview-kit": "6.0.0",
144
144
  "@sanity/preview-url-secret": "2.1.5",
145
145
  "@sanity/visual-editing": "2.13.7",
146
- "groq": "^3.77.2",
146
+ "groq": "^3.78.0",
147
147
  "history": "^5.3.0"
148
148
  },
149
149
  "devDependencies": {
@@ -153,7 +153,7 @@
153
153
  "@sanity/webhook": "4.0.4",
154
154
  "@types/react": "^19.0.10",
155
155
  "@types/react-dom": "^19.0.4",
156
- "@typescript-eslint/eslint-plugin": "^8.25.0",
156
+ "@typescript-eslint/eslint-plugin": "^8.26.0",
157
157
  "@vitest/coverage-v8": "^3.0.7",
158
158
  "eslint": "^8.57.1",
159
159
  "eslint-config-prettier": "^10.0.2",
@@ -163,7 +163,7 @@
163
163
  "eslint-plugin-react-compiler": "beta",
164
164
  "eslint-plugin-react-hooks": "^5.2.0",
165
165
  "eslint-plugin-simple-import-sort": "^12.1.1",
166
- "next": "15.2.0",
166
+ "next": "15.2.1",
167
167
  "react": "19.0.0",
168
168
  "react-dom": "19.0.0",
169
169
  "styled-components": "^6.1.15",
@@ -172,13 +172,13 @@
172
172
  "vitest": "^3.0.7"
173
173
  },
174
174
  "peerDependencies": {
175
- "@sanity/client": "^6.28.2",
175
+ "@sanity/client": "^6.28.3",
176
176
  "@sanity/icons": "^3.7.0",
177
- "@sanity/types": "^3.77.2",
178
- "@sanity/ui": "^2.14.5",
177
+ "@sanity/types": "^3.78.0",
178
+ "@sanity/ui": "^2.15.2",
179
179
  "next": "^14.2 || ^15.0.0-0",
180
180
  "react": "^18.3 || ^19.0.0-0",
181
- "sanity": "^3.77.2",
181
+ "sanity": "^3.78.0",
182
182
  "styled-components": "^6.1"
183
183
  },
184
184
  "engines": {