Skip to content

Commit 40d506f

Browse files
Version Packages
1 parent de9e05a commit 40d506f

File tree

8 files changed

+47
-59
lines changed

8 files changed

+47
-59
lines changed

.changeset/famous-weeks-deliver.md

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

.changeset/grumpy-dingos-pretend.md

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

.changeset/large-adults-report.md

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

.changeset/thirty-camels-reflect.md

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

.changeset/two-paws-boil.md

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

.changeset/wet-monkeys-look.md

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

packages/cloudflare/CHANGELOG.md

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

3+
## 1.0.0
4+
5+
### Minor Changes
6+
7+
- [#613](https://github.com/opennextjs/opennextjs-cloudflare/pull/613) [`2d82fad`](https://github.com/opennextjs/opennextjs-cloudflare/commit/2d82fadfbbc2883e990a79197c8793afb8bf400d) Thanks [@conico974](https://github.com/conico974)! - Bump aws to 3.6.0
8+
9+
Introduce support for the composable cache
10+
11+
BREAKING CHANGE: The interface for the Incremental cache has changed. The new interface use a Cache type instead of a boolean to distinguish between the different types of caches. It also includes a new Cache type for the composable cache. The new interface is as follows:
12+
13+
```ts
14+
export type CacheEntryType = "cache" | "fetch" | "composable";
15+
16+
export type IncrementalCache = {
17+
get<CacheType extends CacheEntryType = "cache">(
18+
key: string,
19+
cacheType?: CacheType
20+
): Promise<WithLastModified<CacheValue<CacheType>> | null>;
21+
set<CacheType extends CacheEntryType = "cache">(
22+
key: string,
23+
value: CacheValue<CacheType>,
24+
isFetch?: CacheType
25+
): Promise<void>;
26+
delete(key: string): Promise<void>;
27+
name: string;
28+
};
29+
```
30+
31+
NextModeTagCache also get a new function `getLastRevalidated` used for the composable cache:
32+
33+
```ts
34+
getLastRevalidated(tags: string[]): Promise<number>;
35+
```
36+
37+
### Patch Changes
38+
39+
- [#619](https://github.com/opennextjs/opennextjs-cloudflare/pull/619) [`09aaf35`](https://github.com/opennextjs/opennextjs-cloudflare/commit/09aaf359b2515b0aaab83f1cb50f2b2be6cb8ca7) Thanks [@conico974](https://github.com/conico974)! - global timer functions now use the one from node:timers
40+
41+
- [#593](https://github.com/opennextjs/opennextjs-cloudflare/pull/593) [`faca3e1`](https://github.com/opennextjs/opennextjs-cloudflare/commit/faca3e1376dd47216f97a5dcaef6275fd16d84cb) Thanks [@vicb](https://github.com/vicb)! - Use the workerd build condition by default
42+
43+
- [#622](https://github.com/opennextjs/opennextjs-cloudflare/pull/622) [`f5264d2`](https://github.com/opennextjs/opennextjs-cloudflare/commit/f5264d2b6f7c72ff7c25a382a36c9de9bf897985) Thanks [@james-elicx](https://github.com/james-elicx)! - feat: use `getPlatformProxy` for cache population prefix vars
44+
45+
- [#616](https://github.com/opennextjs/opennextjs-cloudflare/pull/616) [`f129602`](https://github.com/opennextjs/opennextjs-cloudflare/commit/f12960266c1ceb381b8a6abb6234226e901f416e) Thanks [@james-elicx](https://github.com/james-elicx)! - feat: prefix for kv cache keys
46+
47+
- [#626](https://github.com/opennextjs/opennextjs-cloudflare/pull/626) [`de9e05a`](https://github.com/opennextjs/opennextjs-cloudflare/commit/de9e05a414ddfe9055868194ee8e5df3489f82f7) Thanks [@james-elicx](https://github.com/james-elicx)! - feat: bulk insert cache entries to KV
48+
349
## 1.0.0-beta.4
450

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

0 commit comments

Comments
 (0)