diff options
Diffstat (limited to 'packages/integrations/cloudflare')
-rw-r--r-- | packages/integrations/cloudflare/CHANGELOG.md | 15 | ||||
-rw-r--r-- | packages/integrations/cloudflare/package.json | 4 |
2 files changed, 17 insertions, 2 deletions
diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index cf16af10b..f625f5e68 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,20 @@ # @astrojs/cloudflare +## 4.0.0 + +### Major Changes + +- [#5290](https://github.com/withastro/astro/pull/5290) [`b2b291d29`](https://github.com/withastro/astro/commit/b2b291d29143703cece0d12c8e74b2e1151d2061) Thanks [@matthewp](https://github.com/matthewp)! - Handle base configuration in adapters + + This allows adapters to correctly handle `base` configuration. Internally Astro now matches routes when the URL includes the `base`. + + Adapters now also have access to the `removeBase` method which will remove the `base` from a pathname. This is useful to look up files for static assets. + +### Patch Changes + +- Updated dependencies [[`b2b291d29`](https://github.com/withastro/astro/commit/b2b291d29143703cece0d12c8e74b2e1151d2061), [`97e2b6ad7`](https://github.com/withastro/astro/commit/97e2b6ad7a6fa23e82be28b2f57cdf3f85fab112), [`4af4d8fa0`](https://github.com/withastro/astro/commit/4af4d8fa0035130fbf31c82d72777c3679bc1ca5), [`f6add3924`](https://github.com/withastro/astro/commit/f6add3924d5cd59925a6ea4bf7f2f731709bc893), [`247eb7411`](https://github.com/withastro/astro/commit/247eb7411f429317e5cd7d401a6660ee73641313)]: + - astro@1.6.4 + ## 3.1.2 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 5a8142fff..027f48fd6 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/cloudflare", "description": "Deploy your site to cloudflare workers or cloudflare pages", - "version": "3.1.2", + "version": "4.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -37,7 +37,7 @@ "esbuild": "^0.14.42" }, "peerDependencies": { - "astro": "^1.6.3" + "astro": "^1.6.4" }, "devDependencies": { "astro": "workspace:*", |