Skip to content

Releases: jaredwray/cacheable

2025-10-12

13 Oct 00:15
Compare
Choose a tag to compare

What's Changed

  • net - fix: adding in FetchRequestInit by @jaredwray in #1387
  • file-entry-cache - feat: adding in dynamic meta properties by @jaredwray in #1388
  • file-entry-cache - feat: adding in logging capabilities by @jaredwray in #1389
  • cacheable - fix: updating types in tests by @jaredwray in #1390
  • flat-cache - fix: handling legacy data store by @jaredwray in #1391
  • flat-cache - fix: legacy fixes by @jaredwray in #1392
  • file-entry-cache - fix: allowing path traversal by default for eslint by @jaredwray in #1393
  • file-entry-cache - feat: adding in key as absolute path by @jaredwray in #1394
  • file-entry-cache - feat: moving to options in create and createFromFile by @jaredwray in #1395
  • file-entry-cache - feat: adding in test example for eslint by @jaredwray in #1396
  • file-entry-cache - feat: renaming strictPaths to restrictAccessToCwd by @jaredwray in #1397
  • file-entry-cache - chore: upgrading @types/node to 24.7.2 by @jaredwray in #1398
  • file-entry-cache - chore: updating types on tests to work by @jaredwray in #1399
  • file-entry-cache - feat: adding back in useModifiedTime by @jaredwray in #1400

Full Changelog: 2025-10-06...2025-10-12

2025-10-06

06 Oct 16:52
Compare
Choose a tag to compare

What's Changed

  • file-entry-cache - fix: removing useModifiedTime as not needed by @jaredwray in #1373
  • file-entry-cache - chore: upgrading biome to 2.2.5 by @jaredwray in #1374
  • cacheable - feat: adding in cache sync based on qified by @jaredwray in #1375
  • cacheable - fix: moving isKeyvInstance to utils by @jaredwray in #1376
  • cacheable - chore: updating readme around cacheable sync by @jaredwray in #1378
  • utils - fix: adding in keyv instance by @jaredwray in #1377
  • cache-manager - chore: upgrading typescript to 5.9.3 by @jaredwray in #1379
  • cache-manager - chore: upgrading @keyv/redis to 5.1.2 by @jaredwray in #1380
  • cacheable-request - chore: upgrading biome to 2.2.5 by @jaredwray in #1381
  • cacheable-request - chore: upgrading normalize-url to 8.1.0 by @jaredwray in #1382
  • website - chore - upgrading tsx to 4.20.6 by @jaredwray in #1383
  • website - chore: migrating from fs-extra to node:fs by @jaredwray in #1384
  • mono - chore: upgrading wrangler to 4.42.0 by @jaredwray in #1385
  • mono - feat: adding in minify to all packages other than cacheable-re… by @jaredwray in #1386

Full Changelog: 2025-10-01...2025-10-06

2025-10-01

01 Oct 17:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2025-09-22...2025-10-01

2025-09-22

22 Sep 15:54
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2025-09-09...2025-09-22

2025-09-09

09 Sep 17:41
487a2eb
Compare
Choose a tag to compare

Cacheable v2

cacheable is now using @cacheable/utils, @cacheable/memoize, and @cacheable/memory for its core functionality as we are moving to this modular architecture and plan to eventually have these modules across cache-manager and flat-cache. In addition there are some breaking changes:

  • get() and getMany() no longer have the raw option but instead we have built out getRaw() and getManyRaw() to use.
  • All get related functions now support nonBlocking which means if nonBlocking: true the primary store will return what it has and then in the background will work to sync from secondary storage for any misses. You can disable this by setting at the get function level the option nonBlocking: false which will look for any missing keys in the secondary.
  • Keyv v5.5+ is now the recommended supported version as we are using its native getMany* and getRaw*
  • Wrap and getOrSet have been updated with more robust options including the ability to use your own serialize function for creating the key in wrap.
  • hash has now been updated with robust options and also an enum for setting the algorithm.

What's Changed

  • net - fix: making it so fetch is cached by @jaredwray in #1292
  • net - feat: adding in get helper for fetch by @jaredwray in #1293
  • net - feat: adding in get response by @jaredwray in #1294
  • net - feat: adding in post from fetch by @jaredwray in #1295
  • net - feat: updating patch and post to have data param by @jaredwray in #1296
  • net - feat: adding in head helper method for fetch by @jaredwray in #1297
  • net - feat: adding in delete fetch helper by @jaredwray in #1298
  • net - feat: adding in http cache policy by @jaredwray in #1299
  • cacheable - fix: handling nonBlocking errors better by @jaredwray in #1300
  • cacheable - feat: (BREAKING) using memory, utils, and memoize by @jaredwray in #1301
  • mono - chore: upgrading wrangler to latest by @jaredwray in #1304
  • mono - fix: centralizing biome to root by @jaredwray in #1305
  • cache-manager - chore: upgrading @keyv/redis to 5.1.1 by @jaredwray in #1306
  • cache-manager - chore: upgrading @faker-js/faker to 10.0.0 by @jaredwray in #1307
  • cacheable-request - chore: upgrading @biomejs/biome to 2.2.3 by @jaredwray in #1308
  • website - chore: upgrading docula to 0.20.0 by @jaredwray in #1309
  • utils - feat: adding in helper functions from cache manager by @jaredwray in #1311
  • cache-manager - feat: using @cacheable/utils for helper functions by @jaredwray in #1312
  • cacheable - fix: if there are no keys needed from secondary do not ca… by @jaredwray in #1313
  • cacheable - feat: moving to @cacheable/utils hash function by @jaredwray in #1314
  • cacheable - feat: moving to native Keyv getManyRaw function by @jaredwray in #1315
  • cacheable - feat: moving to Keyv native setMany by @jaredwray in #1316
  • cacheable - feat: moving to native Keyv deleteMany by @jaredwray in #1318
  • cacheable - feat: moving to native Keyv getRaw by @jaredwray in #1319
  • cacheable - feat: adding getRaw and getManyRaw by @jaredwray in #1320
  • cacheable - feat: get() and getMany() to not return raw value by @jaredwray in #1321
  • cacheable - feat: moving get and getMany to use raw methods by @jaredwray in #1322
  • cacheable - chore: clean up types and enums by @jaredwray in #1323
  • utils - feat: moving hash function to take options with stringify by @jaredwray in #1324
  • memoize - feat: adding options with serialize and deserialize for create key hash by @jaredwray in #1325
  • cacheable - feat: adding in the ability to not set serializers by default by @jaredwray in #1326
  • cacheable - feat: adding in non blocking to get by @jaredwray in #1327

Full Changelog: 2025-08-26...2025-09-09

2025-08-26

26 Aug 22:23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2025-08-17...2025-08-26

2025-08-17

17 Aug 19:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2025-08-06...2025-08-17

2025-08-06

06 Aug 16:25
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2025-07-30...2025-08-06

2025-07-30

31 Jul 03:33
59b35d6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2025-07-23...2025-07-30

2025-07-23

23 Jul 18:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2025-07-17...2025-07-23