Skip to content

Commit 52b5589

Browse files
update Cloudflare docs to include 0.5
1 parent 75c3b3c commit 52b5589

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pages/cloudflare/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"examples": "",
88
"community": "Community projects",
99
"troubleshooting": "",
10-
"migrate-from-0.3-to-0.4": "Migrate from 0.3",
10+
"migrate-from-0.3-to-0.5": "Migrate from 0.3",
1111
"0.3": "Release 0.3",
1212
"migrate-from-0.2-to-0.3": "",
1313
"0.2": "Release 0.2"

pages/cloudflare/migrate-from-0.3-to-0.4.mdx renamed to pages/cloudflare/migrate-from-0.3-to-0.5.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { SITE } from '../../config';
22
import { Callout } from 'nextra/components';
33

4-
### Migrate from 0.3 (to 0.4)
4+
### Migrate from 0.3 (to 0.5)
55

6-
The `@opennextjs/cloudflare@0.4.0` introduced a new `initOpenNextCloudflareForDev` utility and made `getCloudflareContext` synchronous,
6+
`@opennextjs/cloudflare@0.4.0` introduced a new `initOpenNextCloudflareForDev` utility and made `getCloudflareContext` synchronous,
77
we'll explore those two differences below, and how they effect applications built using `0.3.x` versions of the adapter.
88

9+
`@opennextjs/cloudflare@0.5.0` did not introduce any breaking change, meaning that there are no migration steps from `0.4` to `0.5`.
10+
911
##### `initOpenNextCloudflareForDev`
1012

1113
`initOpenNextCloudflareForDev` is a new utility that needs to be added to the Next.js configuration file in order to integrate the adapter

0 commit comments

Comments
 (0)