Skip to content

Releases: opennextjs/opennextjs-aws

v3.6.2

19 May 15:15
ad701c2
Compare
Choose a tag to compare

Changes

v3.6.1

09 May 14:50
ae1afbb
Compare
Choose a tag to compare

Changes

v3.6.0

30 Apr 10:11
8bb7e74
Compare
Choose a tag to compare

Changes

BREAKING CHANGE

This only affects custom overrides for the incremental or tag cache
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:

export type CacheEntryType = "cache" | "fetch" | "composable";

export type IncrementalCache = {
  get<CacheType extends CacheEntryType = "cache">(
    key: string,
    cacheType?: CacheType,
  ): Promise<WithLastModified<CacheValue<CacheType>> | null>;
  set<CacheType extends CacheEntryType = "cache">(
    key: string,
    value: CacheValue<CacheType>,
    isFetch?: CacheType,
  ): Promise<void>;
  delete(key: string): Promise<void>;
  name: string;
};

NextModeTagCache also get a new function getLastRevalidated used for the composable cache:

  getLastRevalidated(tags: string[]): Promise<number>;

v3.5.8

18 Apr 15:27
5f93039
Compare
Choose a tag to compare

Changes

v3.5.7

14 Apr 12:36
667f735
Compare
Choose a tag to compare

Changes

v3.5.6

10 Apr 14:31
73281c9
Compare
Choose a tag to compare

Changes

v3.5.5

04 Apr 17:36
a1992c9
Compare
Choose a tag to compare

Changes

v3.5.4

02 Apr 18:20
3c887ba
Compare
Choose a tag to compare

Changes

v3.5.3

21 Mar 15:50
039b348
Compare
Choose a tag to compare

Changes

v3.5.2

12 Mar 17:28
7e23eee
Compare
Choose a tag to compare

Changes