@astrojs/cloudflare 13.2.0 → 13.2.1

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.
@@ -87,7 +87,7 @@ function serverStart({
87
87
  host,
88
88
  base
89
89
  }) {
90
- const version = "13.2.0";
90
+ const version = "13.2.1";
91
91
  const localPrefix = `${colors.dim("\u2503")} Local `;
92
92
  const networkPrefix = `${colors.dim("\u2503")} Network `;
93
93
  const emptyPrefix = " ".repeat(11);
package/dist/wrangler.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const DEFAULT_SESSION_KV_BINDING_NAME = "SESSION";
2
2
  const DEFAULT_IMAGES_BINDING_NAME = "IMAGES";
3
3
  const DEFAULT_ASSETS_BINDING_NAME = "ASSETS";
4
+ const DEFAULT_COMPATIBILITY_DATE = "2026-04-15";
4
5
  function cloudflareConfigCustomizer(options) {
5
6
  const sessionKVBindingName = options?.sessionKVBindingName ?? DEFAULT_SESSION_KV_BINDING_NAME;
6
7
  const needsSessionKVBinding = options?.needsSessionKVBinding ?? true;
@@ -25,6 +26,7 @@ function cloudflareConfigCustomizer(options) {
25
26
  const hasAssetsBinding = config.assets?.binding !== void 0;
26
27
  return {
27
28
  ...getNonInheritableBindings(config),
29
+ compatibility_date: config.compatibility_date ?? DEFAULT_COMPATIBILITY_DATE,
28
30
  main: config.main ?? "@astrojs/cloudflare/entrypoints/server",
29
31
  assets: hasAssetsBinding ? void 0 : {
30
32
  binding: DEFAULT_ASSETS_BINDING_NAME
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/cloudflare",
3
3
  "description": "Deploy your site to Cloudflare Workers",
4
- "version": "13.2.0",
4
+ "version": "13.2.1",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",