Skip to content

Commit 2fa93a3

Browse files
Version Packages
1 parent 3bd200a commit 2fa93a3

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

.changeset/cyan-ears-know.md

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

.changeset/shaggy-bobcats-battle.md

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

packages/cloudflare/CHANGELOG.md

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

3+
## 0.6.6
4+
5+
### Patch Changes
6+
7+
- [#520](https://github.com/opennextjs/opennextjs-cloudflare/pull/520) [`3bd200a`](https://github.com/opennextjs/opennextjs-cloudflare/commit/3bd200a3ef9a85856a7004395aa7b27b6069b8ee) Thanks [@vicb](https://github.com/vicb)! - Define `process.version` and `process.versions.node`
8+
9+
- [#469](https://github.com/opennextjs/opennextjs-cloudflare/pull/469) [`aef8e51`](https://github.com/opennextjs/opennextjs-cloudflare/commit/aef8e517eba94fe5ece23427c410c0cad15b5917) Thanks [@Juuldamen](https://github.com/Juuldamen)! - Adds support for passing options to `initOpenNextCloudflareForDev()`. This allows you to configure how your Cloudflare bindings will behave during [local development](https://opennext.js.org/cloudflare/get-started#11-develop-locally).
10+
11+
For example, the below configuration will persist the local state of bindings to a custom directory. Which can be useful if you want to share the state between different apps that reuse the same bindings in a monorepo.
12+
13+
```ts
14+
initOpenNextCloudflareForDev({
15+
persist: {
16+
path: "../../.wrangler/state/v3/custom-dir",
17+
},
18+
});
19+
```
20+
21+
You can find the configuration type with it's available options [here](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/api/integrations/platform/index.ts#L32) in the Wrangler source code.
22+
323
## 0.6.5
424

525
### 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.6.5",
4+
"version": "0.6.6",
55
"type": "module",
66
"scripts": {
77
"clean": "rimraf dist",

0 commit comments

Comments
 (0)