@astrojs/cloudflare 12.4.0 → 12.5.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/dist/index.js +2 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -52,11 +52,11 @@ function createIntegration(args) {
52
52
  }) => {
53
53
  let session = config.session;
54
54
  const isBuild = command === "build";
55
- if (config.experimental.session && !session?.driver) {
55
+ if (!session?.driver) {
56
56
  const sessionDir = isBuild ? void 0 : createCodegenDir();
57
57
  const bindingName = args?.sessionKVBindingName ?? "SESSION";
58
58
  logger.info(
59
- `Configuring experimental session support using ${isBuild ? "Cloudflare KV" : "filesystem storage"}. Be sure to define a KV binding named "${bindingName}".`
59
+ `Enabling sessions with ${isBuild ? "Cloudflare KV" : "filesystem storage"}. Be sure to define a KV binding named "${bindingName}".`
60
60
  );
61
61
  logger.info(
62
62
  `If you see the error "Invalid binding \`${bindingName}\`" in your build output, you need to add the binding to your wrangler config file.`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/cloudflare",
3
3
  "description": "Deploy your site to Cloudflare Workers/Pages",
4
- "version": "12.4.0",
4
+ "version": "12.5.0",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -35,7 +35,7 @@
35
35
  "magic-string": "^0.30.17",
36
36
  "miniflare": "^4.20250321.1",
37
37
  "tinyglobby": "^0.2.12",
38
- "vite": "^6.2.4",
38
+ "vite": "^6.2.6",
39
39
  "wrangler": "^4.5.1",
40
40
  "@astrojs/internal-helpers": "0.6.1",
41
41
  "@astrojs/underscore-redirects": "0.6.0"
@@ -49,7 +49,7 @@
49
49
  "execa": "^8.0.1",
50
50
  "rollup": "^4.35.0",
51
51
  "strip-ansi": "^7.1.0",
52
- "astro": "5.5.6",
52
+ "astro": "5.7.0",
53
53
  "astro-scripts": "0.0.14"
54
54
  },
55
55
  "publishConfig": {