Skip to content

Commit 4755714

Browse files
Version Packages (#424)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 6b406cc commit 4755714

File tree

3 files changed

+22
-21
lines changed

3 files changed

+22
-21
lines changed

.changeset/cold-numbers-bow.md

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

packages/cloudflare/CHANGELOG.md

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

3+
## 0.5.6
4+
5+
### Patch Changes
6+
7+
- [#412](https://github.com/opennextjs/opennextjs-cloudflare/pull/412) [`58b200f`](https://github.com/opennextjs/opennextjs-cloudflare/commit/58b200fc1d4f2a4906c13f8268fc7612457861a7) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add `defineCloudflareConfig` utility
8+
9+
this change adds a new `defineCloudflareConfig` utility that developers can use in their `open-next.config.ts`
10+
file to easily generate a configuration compatible with the adapter
11+
12+
Example usage:
13+
14+
```ts
15+
// open-next.config.ts
16+
import { defineCloudflareConfig } from "@opennextjs/cloudflare";
17+
import kvIncrementalCache from "@opennextjs/cloudflare/kv-cache";
18+
19+
export default defineCloudflareConfig({
20+
incrementalCache: kvIncrementalCache,
21+
});
22+
```
23+
324
## 0.5.5
425

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

0 commit comments

Comments
 (0)