@nuxt/schema-nightly 4.0.0-29077448.724e1a6b → 4.0.0-29077680.05abdf14

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.
package/dist/index.d.mts CHANGED
@@ -232,7 +232,6 @@ type NuxtPage = {
232
232
  alias?: string[] | string;
233
233
  redirect?: RouteLocationRaw;
234
234
  children?: NuxtPage[];
235
- middleware?: string[] | string;
236
235
  /**
237
236
  * Set the render mode.
238
237
  *
@@ -1602,7 +1601,7 @@ interface ConfigSchema {
1602
1601
  /**
1603
1602
  * A unique identifier matching the build. This may contain the hash of the current state of the project.
1604
1603
  *
1605
- * @default "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9"
1604
+ * @default "01349561-4f47-4806-859c-67b272764f27"
1606
1605
  */
1607
1606
  buildId: string,
1608
1607
 
@@ -2271,7 +2270,7 @@ interface ConfigSchema {
2271
2270
  inlineRouteRules: boolean,
2272
2271
 
2273
2272
  /**
2274
- * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect, props, middleware).
2273
+ * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect).
2275
2274
  *
2276
2275
  * This only works with static or strings/arrays rather than variables or conditional assignment.
2277
2276
  *
@@ -2510,27 +2509,6 @@ interface ConfigSchema {
2510
2509
  * @see [PR #31379](https://github.com/nuxt/nuxt/pull/31379)
2511
2510
  */
2512
2511
  purgeCachedData: boolean,
2513
-
2514
- /**
2515
- * Whether to call and use the result from `getCachedData` on manual refresh for `useAsyncData` and `useFetch`.
2516
- *
2517
- * @default true
2518
- */
2519
- granularCachedData: boolean,
2520
-
2521
- /**
2522
- * Whether to parse `error.data` when rendering a server error page.
2523
- *
2524
- * @default true
2525
- */
2526
- parseErrorData: boolean,
2527
-
2528
- /**
2529
- * Whether Nuxt should stop if a Nuxt module is incompatible.
2530
- *
2531
- * @default false
2532
- */
2533
- enforceModuleCompatibility: boolean,
2534
2512
  },
2535
2513
 
2536
2514
  generate: {
package/dist/index.d.ts CHANGED
@@ -232,7 +232,6 @@ type NuxtPage = {
232
232
  alias?: string[] | string;
233
233
  redirect?: RouteLocationRaw;
234
234
  children?: NuxtPage[];
235
- middleware?: string[] | string;
236
235
  /**
237
236
  * Set the render mode.
238
237
  *
@@ -1602,7 +1601,7 @@ interface ConfigSchema {
1602
1601
  /**
1603
1602
  * A unique identifier matching the build. This may contain the hash of the current state of the project.
1604
1603
  *
1605
- * @default "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9"
1604
+ * @default "01349561-4f47-4806-859c-67b272764f27"
1606
1605
  */
1607
1606
  buildId: string,
1608
1607
 
@@ -2271,7 +2270,7 @@ interface ConfigSchema {
2271
2270
  inlineRouteRules: boolean,
2272
2271
 
2273
2272
  /**
2274
- * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect, props, middleware).
2273
+ * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect).
2275
2274
  *
2276
2275
  * This only works with static or strings/arrays rather than variables or conditional assignment.
2277
2276
  *
@@ -2510,27 +2509,6 @@ interface ConfigSchema {
2510
2509
  * @see [PR #31379](https://github.com/nuxt/nuxt/pull/31379)
2511
2510
  */
2512
2511
  purgeCachedData: boolean,
2513
-
2514
- /**
2515
- * Whether to call and use the result from `getCachedData` on manual refresh for `useAsyncData` and `useFetch`.
2516
- *
2517
- * @default true
2518
- */
2519
- granularCachedData: boolean,
2520
-
2521
- /**
2522
- * Whether to parse `error.data` when rendering a server error page.
2523
- *
2524
- * @default true
2525
- */
2526
- parseErrorData: boolean,
2527
-
2528
- /**
2529
- * Whether Nuxt should stop if a Nuxt module is incompatible.
2530
- *
2531
- * @default false
2532
- */
2533
- enforceModuleCompatibility: boolean,
2534
2512
  },
2535
2513
 
2536
2514
  generate: {
package/dist/index.mjs CHANGED
@@ -1805,7 +1805,7 @@ const experimental = defineResolvers({
1805
1805
  */
1806
1806
  inlineRouteRules: false,
1807
1807
  /**
1808
- * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect, props, middleware).
1808
+ * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect).
1809
1809
  *
1810
1810
  * This only works with static or strings/arrays rather than variables or conditional assignment.
1811
1811
  *
@@ -2053,27 +2053,7 @@ const experimental = defineResolvers({
2053
2053
  $resolve: (val) => {
2054
2054
  return typeof val === "boolean" ? val : true;
2055
2055
  }
2056
- },
2057
- /**
2058
- * Whether to call and use the result from `getCachedData` on manual refresh for `useAsyncData` and `useFetch`.
2059
- */
2060
- granularCachedData: {
2061
- $resolve: async (val, get) => {
2062
- return typeof val === "boolean" ? val : (await get("future")).compatibilityVersion === 4;
2063
- }
2064
- },
2065
- /**
2066
- * Whether to parse `error.data` when rendering a server error page.
2067
- */
2068
- parseErrorData: {
2069
- $resolve: async (val, get) => {
2070
- return typeof val === "boolean" ? val : (await get("future")).compatibilityVersion === 4;
2071
- }
2072
- },
2073
- /**
2074
- * Whether Nuxt should stop if a Nuxt module is incompatible.
2075
- */
2076
- enforceModuleCompatibility: false
2056
+ }
2077
2057
  }
2078
2058
  });
2079
2059
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/schema-nightly",
3
- "version": "4.0.0-29077448.724e1a6b",
3
+ "version": "4.0.0-29077680.05abdf14",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -52,7 +52,7 @@
52
52
  "hookable": "5.5.3",
53
53
  "ignore": "7.0.3",
54
54
  "mini-css-extract-plugin": "2.9.2",
55
- "nitro": "npm:nitro-nightly@3.0.0-20250411-094421.5736f5be",
55
+ "nitro": "npm:nitro-nightly@3.0.0-20250404-081807.9f0c8e3c",
56
56
  "ofetch": "1.4.1",
57
57
  "pkg-types": "2.1.0",
58
58
  "postcss": "8.5.3",
@@ -68,7 +68,7 @@
68
68
  "vue-bundle-renderer": "2.1.1",
69
69
  "vue-loader": "17.4.2",
70
70
  "vue-router": "4.5.0",
71
- "webpack": "5.99.5",
71
+ "webpack": "5.99.3",
72
72
  "webpack-dev-middleware": "7.4.2"
73
73
  },
74
74
  "dependencies": {
@@ -711,7 +711,7 @@ export interface ConfigSchema {
711
711
  /**
712
712
  * A unique identifier matching the build. This may contain the hash of the current state of the project.
713
713
  *
714
- * @default "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9"
714
+ * @default "01349561-4f47-4806-859c-67b272764f27"
715
715
  */
716
716
  buildId: string,
717
717
 
@@ -1380,7 +1380,7 @@ export interface ConfigSchema {
1380
1380
  inlineRouteRules: boolean,
1381
1381
 
1382
1382
  /**
1383
- * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect, props, middleware).
1383
+ * Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect).
1384
1384
  *
1385
1385
  * This only works with static or strings/arrays rather than variables or conditional assignment.
1386
1386
  *
@@ -1619,27 +1619,6 @@ export interface ConfigSchema {
1619
1619
  * @see [PR #31379](https://github.com/nuxt/nuxt/pull/31379)
1620
1620
  */
1621
1621
  purgeCachedData: boolean,
1622
-
1623
- /**
1624
- * Whether to call and use the result from `getCachedData` on manual refresh for `useAsyncData` and `useFetch`.
1625
- *
1626
- * @default true
1627
- */
1628
- granularCachedData: boolean,
1629
-
1630
- /**
1631
- * Whether to parse `error.data` when rendering a server error page.
1632
- *
1633
- * @default true
1634
- */
1635
- parseErrorData: boolean,
1636
-
1637
- /**
1638
- * Whether Nuxt should stop if a Nuxt module is incompatible.
1639
- *
1640
- * @default false
1641
- */
1642
- enforceModuleCompatibility: boolean,
1643
1622
  },
1644
1623
 
1645
1624
  generate: {
@@ -193,10 +193,7 @@
193
193
  "debugModuleMutation": false,
194
194
  "lazyHydration": true,
195
195
  "templateImportResolution": true,
196
- "purgeCachedData": true,
197
- "granularCachedData": true,
198
- "parseErrorData": true,
199
- "enforceModuleCompatibility": false
196
+ "purgeCachedData": true
200
197
  },
201
198
  "app": {
202
199
  "baseURL": "/",
@@ -393,7 +390,7 @@
393
390
  "serverDir": "/<rootDir>/server",
394
391
  "appId": "nuxt-app",
395
392
  "test": false,
396
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
393
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
397
394
  "modulesDir": [
398
395
  "/<rootDir>/node_modules"
399
396
  ],
@@ -457,7 +454,7 @@
457
454
  "runtimeConfig": {
458
455
  "public": {},
459
456
  "app": {
460
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
457
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
461
458
  "baseURL": "/",
462
459
  "buildAssetsDir": "/_nuxt/",
463
460
  "cdnURL": ""
@@ -503,7 +500,7 @@
503
500
  "runtimeConfig": {
504
501
  "public": {},
505
502
  "app": {
506
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
503
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
507
504
  "baseURL": "/",
508
505
  "buildAssetsDir": "/_nuxt/",
509
506
  "cdnURL": ""
package/schema/config.md CHANGED
@@ -451,7 +451,7 @@ Defaults to `nuxt-app`.
451
451
 
452
452
  # `buildId`
453
453
  - **Type**: `string`
454
- - **Default**: `"0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9"`
454
+ - **Default**: `"01349561-4f47-4806-859c-67b272764f27"`
455
455
 
456
456
  > A unique identifier matching the build. This may contain the hash of the current state of the project.
457
457
 
@@ -993,7 +993,7 @@ For more control, such as if you are using a custom `path` or `alias` set in the
993
993
  - **Type**: `boolean | 'after-resolve'`
994
994
  - **Default**: `"after-resolve"`
995
995
 
996
- > Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect, props, middleware).
996
+ > Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect).
997
997
 
998
998
 
999
999
  This only works with static or strings/arrays rather than variables or conditional assignment.
@@ -1150,27 +1150,6 @@ By default, Nuxt attempts to resolve imports in templates relative to the module
1150
1150
  Nuxt will automatically purge cached data from `useAsyncData` and `nuxtApp.static.data`. This helps prevent memory leaks and ensures fresh data is loaded when needed, but it is possible to disable it.
1151
1151
 
1152
1152
 
1153
- ## `granularCachedData`
1154
- - **Type**: `boolean`
1155
- - **Default**: `true`
1156
-
1157
- > Whether to call and use the result from `getCachedData` on manual refresh for `useAsyncData` and `useFetch`.
1158
-
1159
-
1160
- ## `parseErrorData`
1161
- - **Type**: `boolean`
1162
- - **Default**: `true`
1163
-
1164
- > Whether to parse `error.data` when rendering a server error page.
1165
-
1166
-
1167
- ## `enforceModuleCompatibility`
1168
- - **Type**: `boolean`
1169
- - **Default**: `false`
1170
-
1171
- > Whether Nuxt should stop if a Nuxt module is incompatible.
1172
-
1173
-
1174
1153
  # `generate`
1175
1154
 
1176
1155
  ## `routes`
@@ -1114,7 +1114,7 @@
1114
1114
  "description": "",
1115
1115
  "tags": [],
1116
1116
  "id": "#buildId",
1117
- "default": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
1117
+ "default": "01349561-4f47-4806-859c-67b272764f27",
1118
1118
  "type": "string"
1119
1119
  },
1120
1120
  "modulesDir": {
@@ -1486,7 +1486,7 @@
1486
1486
  "default": {
1487
1487
  "public": {},
1488
1488
  "app": {
1489
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
1489
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
1490
1490
  "baseURL": "/",
1491
1491
  "buildAssetsDir": "/_nuxt/",
1492
1492
  "cdnURL": ""
@@ -1896,7 +1896,7 @@
1896
1896
  "type": "boolean"
1897
1897
  },
1898
1898
  "scanPageMeta": {
1899
- "title": "Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect, props, middleware).",
1899
+ "title": "Allow exposing some route metadata defined in `definePageMeta` at build-time to modules (alias, name, path, redirect).",
1900
1900
  "description": "This only works with static or strings/arrays rather than variables or conditional assignment.",
1901
1901
  "tags": [
1902
1902
  "@see [Nuxt Issues #24770](https://github.com/nuxt/nuxt/issues/24770)"
@@ -2132,30 +2132,6 @@
2132
2132
  "id": "#experimental/purgeCachedData",
2133
2133
  "default": true,
2134
2134
  "type": "boolean"
2135
- },
2136
- "granularCachedData": {
2137
- "title": "Whether to call and use the result from `getCachedData` on manual refresh for `useAsyncData` and `useFetch`.",
2138
- "description": "",
2139
- "tags": [],
2140
- "id": "#experimental/granularCachedData",
2141
- "default": true,
2142
- "type": "boolean"
2143
- },
2144
- "parseErrorData": {
2145
- "title": "Whether to parse `error.data` when rendering a server error page.",
2146
- "description": "",
2147
- "tags": [],
2148
- "id": "#experimental/parseErrorData",
2149
- "default": true,
2150
- "type": "boolean"
2151
- },
2152
- "enforceModuleCompatibility": {
2153
- "title": "Whether Nuxt should stop if a Nuxt module is incompatible.",
2154
- "description": "",
2155
- "tags": [],
2156
- "id": "#experimental/enforceModuleCompatibility",
2157
- "default": false,
2158
- "type": "boolean"
2159
2135
  }
2160
2136
  },
2161
2137
  "default": {
@@ -2208,10 +2184,7 @@
2208
2184
  "debugModuleMutation": false,
2209
2185
  "lazyHydration": true,
2210
2186
  "templateImportResolution": true,
2211
- "purgeCachedData": true,
2212
- "granularCachedData": true,
2213
- "parseErrorData": true,
2214
- "enforceModuleCompatibility": false
2187
+ "purgeCachedData": true
2215
2188
  },
2216
2189
  "type": "object"
2217
2190
  },
@@ -2420,7 +2393,7 @@
2420
2393
  "default": {
2421
2394
  "public": {},
2422
2395
  "app": {
2423
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
2396
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
2424
2397
  "baseURL": "/",
2425
2398
  "buildAssetsDir": "/_nuxt/",
2426
2399
  "cdnURL": ""
@@ -2441,7 +2414,7 @@
2441
2414
  "runtimeConfig": {
2442
2415
  "public": {},
2443
2416
  "app": {
2444
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
2417
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
2445
2418
  "baseURL": "/",
2446
2419
  "buildAssetsDir": "/_nuxt/",
2447
2420
  "cdnURL": ""
@@ -4265,7 +4238,7 @@
4265
4238
  "serverDir": "/<rootDir>/server",
4266
4239
  "buildDir": "/<rootDir>/.nuxt",
4267
4240
  "appId": "nuxt-app",
4268
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
4241
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
4269
4242
  "modulesDir": [
4270
4243
  "/<rootDir>/node_modules"
4271
4244
  ],
@@ -4333,7 +4306,7 @@
4333
4306
  "runtimeConfig": {
4334
4307
  "public": {},
4335
4308
  "app": {
4336
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
4309
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
4337
4310
  "baseURL": "/",
4338
4311
  "buildAssetsDir": "/_nuxt/",
4339
4312
  "cdnURL": ""
@@ -4412,10 +4385,7 @@
4412
4385
  "debugModuleMutation": false,
4413
4386
  "lazyHydration": true,
4414
4387
  "templateImportResolution": true,
4415
- "purgeCachedData": true,
4416
- "granularCachedData": true,
4417
- "parseErrorData": true,
4418
- "enforceModuleCompatibility": false
4388
+ "purgeCachedData": true
4419
4389
  },
4420
4390
  "generate": {
4421
4391
  "routes": [],
@@ -4439,7 +4409,7 @@
4439
4409
  "runtimeConfig": {
4440
4410
  "public": {},
4441
4411
  "app": {
4442
- "buildId": "0ebecebb-4fe9-4e1b-a9a7-2279392e0bc9",
4412
+ "buildId": "01349561-4f47-4806-859c-67b272764f27",
4443
4413
  "baseURL": "/",
4444
4414
  "buildAssetsDir": "/_nuxt/",
4445
4415
  "cdnURL": ""