Skip to content

Commit 2255199

Browse files
committed
chore: update compatibility dates
1 parent c9fdeb7 commit 2255199

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

examples/api-routes/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
});

examples/auto-imports/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
});
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
});
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import errorHandler from "./error";
22

33
export default defineNitroConfig({
4-
compatibilityDate: "2025-01-30",
4+
compatibilityDate: "2025-03-01",
55
errorHandler: "~/error",
66
devErrorHandler: errorHandler,
77
});

examples/database/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
experimental: {
44
database: true,
55
tasks: true,
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineNitroConfig } from "nitropack/config";
22

33
export default defineNitroConfig({
4-
compatibilityDate: "2025-01-30",
4+
compatibilityDate: "2025-03-01",
55
});

examples/hello-world/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// https://nitro.build/config
22
export default defineNitroConfig({
3-
compatibilityDate: "2025-01-30",
3+
compatibilityDate: "2025-03-01",
44
srcDir: "server",
55
});

examples/middleware/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
});

examples/nano-jsx/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
});

examples/plugins/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
plugins: ["~/plugins/test"],
44
});

examples/renderer/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
renderer: "~/renderer",
44
});

examples/websocket/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default defineNitroConfig({
2-
compatibilityDate: "2025-01-30",
2+
compatibilityDate: "2025-03-01",
33
experimental: {
44
websocket: true,
55
},

playground/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineNitroConfig } from "nitropack/config";
22

33
export default defineNitroConfig({
4-
compatibilityDate: "2025-01-30",
4+
compatibilityDate: "2025-03-01",
55
});

test/fixture/nitro.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { dirname, resolve } from "node:path";
44

55
export default defineNitroConfig({
66
compressPublicAssets: true,
7-
compatibilityDate: "2025-01-30",
7+
compatibilityDate: "2025-03-01",
88
framework: {
99
name: "nitro",
1010
version: "2.x",

test/fixture/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ describe("API routes", () => {
254254
describe("defineNitroConfig", () => {
255255
it("should not accept functions to routeRules.cache", () => {
256256
defineNitroConfig({
257-
compatibilityDate: "2025-01-30",
257+
compatibilityDate: "2025-03-01",
258258
routeRules: {
259259
"/**": {
260260
cache: {

0 commit comments

Comments
 (0)