Skip to content

Commit 531ec1e

Browse files
Version Packages (#389)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 106d929 commit 531ec1e

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.changeset/tough-tables-talk.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/cloudflare/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @opennextjs/cloudflare
22

3+
## 0.5.2
4+
5+
### Patch Changes
6+
7+
- [#372](https://github.com/opennextjs/opennextjs-cloudflare/pull/372) [`522076b`](https://github.com/opennextjs/opennextjs-cloudflare/commit/522076b2972c4e7038f38dc20c2c7a25855d479e) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add "async mode" to `getCloudflareContext`
8+
9+
Add an `async` option to `getCloudflareContext({async})` to run it in "async mode", the difference being that the returned value is a
10+
promise of the Cloudflare context instead of the context itself
11+
12+
The main of this is that it allows the function to also run during SSG (since the missing context can be created on demand).
13+
314
## 0.5.1
415

516
### Patch Changes

packages/cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opennextjs/cloudflare",
33
"description": "Cloudflare builder for next apps",
4-
"version": "0.5.1",
4+
"version": "0.5.2",
55
"type": "module",
66
"scripts": {
77
"clean": "rimraf dist",

0 commit comments

Comments
 (0)