@astrojs/cloudflare 0.5.0 → 1.0.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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +9 -1
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[33m@astrojs/cloudflare:build: [0mcache hit, replaying output [2m25c70881b302d92a[0m
|
|
2
|
+
[33m@astrojs/cloudflare:build: [0m
|
|
3
|
+
[33m@astrojs/cloudflare:build: [0m> @astrojs/cloudflare@1.0.0 build /home/runner/work/astro/astro/packages/integrations/cloudflare
|
|
4
|
+
[33m@astrojs/cloudflare:build: [0m> astro-scripts build "src/**/*.ts" && tsc
|
|
5
|
+
[33m@astrojs/cloudflare:build: [0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @astrojs/cloudflare
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`04ad44563`](https://github.com/withastro/astro/commit/04ad445632c67bdd60c1704e1e0dcbcaa27b9308) - > Astro v1.0 is out! Read the [official announcement post](https://astro.build/blog/astro-1/).
|
|
8
|
+
|
|
9
|
+
**No breaking changes**. This package is now officially stable and compatible with `astro@1.0.0`!
|
|
10
|
+
|
|
3
11
|
## 0.5.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -50,7 +58,7 @@
|
|
|
50
58
|
The new `Astro.clientAddress` property allows you to get the IP address of the requested user.
|
|
51
59
|
|
|
52
60
|
```astro
|
|
53
|
-
|
|
61
|
+
<div>Your address {Astro.clientAddress}</div>
|
|
54
62
|
```
|
|
55
63
|
|
|
56
64
|
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.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/cloudflare",
|
|
3
3
|
"description": "Deploy your site to cloudflare pages functions",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"author": "withastro",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"esbuild": "^0.14.42"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"astro": "1.0.0
|
|
30
|
-
"astro-scripts": "0.0.
|
|
29
|
+
"astro": "1.0.0",
|
|
30
|
+
"astro-scripts": "0.0.7",
|
|
31
31
|
"wrangler": "^2.0.23"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|