summaryrefslogtreecommitdiff
path: root/packages/integrations/cloudflare
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/cloudflare')
-rw-r--r--packages/integrations/cloudflare/CHANGELOG.md8
-rw-r--r--packages/integrations/cloudflare/package.json2
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md
index f1bc70bca..ee8eba2d4 100644
--- a/packages/integrations/cloudflare/CHANGELOG.md
+++ b/packages/integrations/cloudflare/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/cloudflare
+## 0.5.0
+
+### Minor Changes
+
+- [#3806](https://github.com/withastro/astro/pull/3806) [`f4c571bdb`](https://github.com/withastro/astro/commit/f4c571bdb0bbcd0dfed68a484dfbfe274f8a5f45) Thanks [@nrgnrg](https://github.com/nrgnrg)! - add support for compiling functions to a functions directory rather than `_worker.js`
+
## 0.4.0
### Minor Changes
@@ -44,7 +50,7 @@
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
```astro
- <div>Your address {Astro.clientAddress}</div>
+
```
This property is only available when building for SSR, and only if the adapter you are using supports providing the IP address. If you attempt to access the property in a SSG app it will throw an error.
diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json
index 0056cec12..c254ada38 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 pages functions",
- "version": "0.4.0",
+ "version": "0.5.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",