This repository has been archived by the owner on Nov 26, 2022. It is now read-only.
Releases: boywithkeyboard-archive/cachu
Releases · boywithkeyboard-archive/cachu
v7.0.0
Breaking Changes
-
changed the way you create a new cache.
// before v7 import { useCache } from 'cachu' const cache = useCache({ maxAge: '10m', maxAmount: 10000, autodelete: false }) // v7 import { Cache } from 'cachu' const cache = new Cache({ maximumAge: '10m', maximumAmount: 10000, autodelete: false })
New Features
-
you can now set a maximum size for each record.
import { Cache } from 'cachu' const cache = new Cache({ maximumRecordSize: '10 KB' // alternatively, you can specify the amount of bytes as a number maximumRecordSize: 10000 })
v6.0.6
v6.0.5
v6.0.4
v6.0.3
v6.0.2
v6.0.1
v6.0.0
Major Changes
Patch Changes
v6.0.0-canary.4
Warning
This is a development release!
v6.0.0-canary.3
Warning
This release is for test purposes only.