Releases: jaredwray/cacheable
Releases · jaredwray/cacheable
2025-10-12
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
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
What's Changed
- utils - chore: upgrading biome to 2.2.4 by @jaredwray in #1350
- utils - chore: upgrading lru-cache to 11.2.2 by @jaredwray in #1351
- utils - chore: upgrading @keyv/redis to 5.1.2 by @jaredwray in #1352
- memoize - fix: removing lru-cache as no longer needed by @jaredwray in #1353
- memoize - chore: upgrading biome to 2.2.4 by @jaredwray in #1354
- mono - chore upgrading keyv to 5.5.3 by @jaredwray in #1355
- net - chore: upgrading undici to 7.16.0 by @jaredwray in #1356
- net - chore: upgrading hookified to 1.12.1 by @jaredwray in #1357
- net - chore: upgrading biome to 2.2.4 by @jaredwray in #1358
- net - feat: adding in jsDoc for cache property by @jaredwray in #1359
- net - feat: moving to FetchOptions in Net by @jaredwray in #1360
- net - feat: adding readme information for fetch helpers by @jaredwray in #1361
- net - feat: adding in put method helper by @jaredwray in #1362
- net - feat: if there is no cache passed then it does not cache by @jaredwray in #1363
- net - feat: ability to set the caching to false on get() by @jaredwray in #1364
- net - feat: ability to set caching to false in head method by @jaredwray in #1365
- net - feat: ability for post to add caching if needed by @jaredwray in #1366
- net - feat: ability for put to have caching if true by @jaredwray in #1367
- net - feat: patch with caching when set to true by @jaredwray in #1368
- net - feat: added caching to delete as an option by @jaredwray in #1369
- net - feat: adding in options for stringify and parse by @jaredwray in #1370
- net - feat: renaming useHttpCache to httpCachePolicy by @jaredwray in #1371
- file-entry-cache - feat: adding in current working directory by @jaredwray in #1372
Full Changelog: 2025-09-22...2025-10-01
2025-09-22
What's Changed
- mono - chore: upgrading wrangler to 4.37.1 by @jaredwray in #1328
- cacheable - chore: upgrading lru-cache to 11.2.1 by @jaredwray in #1329
- cacheable - chore: upgradking keyv to 5.5.1 by @jaredwray in #1330
- cacheable - chore: upgrading hookified to 1.12.0 by @jaredwray in #1331
- cacheable - chore: upgrading biome and faker-js to latest by @jaredwray in #1332
- node-cache - chore: upgrading keyv to 5.5.1 by @jaredwray in #1333
- node-cache - chore: upgrading hookified to 1.12.0 by @jaredwray in #1334
- node-cache - chore: upgrading biome to 2.2.4 by @jaredwray in #1335
- node-cache - fix: class name in documentation by @jakebman in #1342
- memory - chore: upgrading lru-cache to 11.2.1 by @jaredwray in #1347
- memory - chore: upgrading hookified to 1.12.1 by @jaredwray in #1348
- mono - chore: upgrading keyv on all packages to 5.5.2 by @jaredwray in #1349
New Contributors
Full Changelog: 2025-09-09...2025-09-22
2025-09-09
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()
andgetMany()
no longer have theraw
option but instead we have built outgetRaw()
andgetManyRaw()
to use.- All
get
related functions now supportnonBlocking
which means ifnonBlocking: 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 theget
function level the optionnonBlocking: 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 nativegetMany*
andgetRaw*
Wrap
andgetOrSet
have been updated with more robust options including the ability to use your ownserialize
function for creating the key inwrap
.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
What's Changed
- cache-manager - feat: add store layer identification to event payloads by @faizanu94 in #1270
- cacheable - fix: pass createKey option through wrap methods by @amit13k in #1269
- cacheable - feat: adding in cache:hit and cache:miss events by @jaredwray in #1273
- utils - chore: upgrading typescript to 5.9.2 by @jaredwray in #1274
- utils - chore: upgrading keyv adapters to latest by @jaredwray in #1275
- utlis - chore: upgrading @biomejs/biome to 2.2.2 by @jaredwray in #1276
- utils - chore: upgrading @fakerjs/faker to 10.0.0 by @jaredwray in #1277
- memoize - chore: upgrading typescript to 5.9.2 by @jaredwray in #1278
- memoize - chore: upgrading @biomejs/biome to 2.2.2 by @jaredwray in #1279
- memoize - chore: upgrading @faker-js/faker to 10.0.0 by @jaredwray in #1280
- memoize - chore: upgrading keyv adapters to latest by @jaredwray in #1281
- net - chore: upgrading typescript to 5.9.2 by @jaredwray in #1282
- net - chore: upgrading hookified to 1.12.0 by @jaredwray in #1283
- net - chore: upgrading undici to 7.15.0 by @jaredwray in #1284
- net - chore: upgrading @biomejs/biome to 2.2.2 by @jaredwray in #1285
- net - chore: upgrading @faker-js/faker to 10.0.0 by @jaredwray in #1286
- memory - chore: upgrading typescript to 5.9.2 by @jaredwray in #1287
- memory - chore: upgrading keyv to 5.5.0 by @jaredwray in #1288
- memory - chore: upgrading hookified to 1.12.0 by @jaredwray in #1289
- memory - chore: upgrading @biomejs/biome to 2.2.2 by @jaredwray in #1290
- memory - chore: upgrading @faker-js/faker to 10.0.0 by @jaredwray in #1291
- mono - fix: moving codecov to better file search by @jaredwray in #1272
- mono - fix: updating biome to fail on warnings by @jaredwray in #1271
New Contributors
- @amit13k made their first contribution in #1269
- @faizanu94 made their first contribution in #1270
Full Changelog: 2025-08-17...2025-08-26
2025-08-17
What's Changed
- node-cache - fix: adding in supported node versions by @jaredwray in #1256
- node-cache - chore: upgrading typescript to 5.9.2 by @jaredwray in #1262
- node-cache - chore: upgrading hookified to 1.11.0 by @jaredwray in #1263
- node-cache - chore: upgrading keyv to 5.5.0 by @jaredwray in #1264
- mono - feat: migrating to biome from xo by @jaredwray in #1258
- cacheable - chore: upgrading typescript to 5.9.2 by @jaredwray in #1259
- cacheable - chore: upgrading hookified to 1.11.0 by @jaredwray in #1260
- cacheable - chore: upgrading keyv to 5.5.0 by @jaredwray in #1261
- flat-cache - chore: upgrading hookified to 1.11.0 by @jaredwray in #1265
- flat-cache - chore: upgrading typescript to 5.9.2 by @jaredwray in #1266
- file-entry-cache - chore: upgrading typescript to 5.9.2 by @jaredwray in #1267
Full Changelog: 2025-08-06...2025-08-17
2025-08-06
What's Changed
- net - feat: creating @cacheable/net for http caching and more by @jaredwray in #1246
- mono - chore: upgrading wrangler to 4.28.0 by @jaredwray in #1247
- website - chore: upgrading fs-extra to 11.3.1 by @jaredwray in #1248
- website - chore: upgrading docula to 0.13.1 by @jaredwray in #1249
- cacheable-request - chore: upgrading xo to 1.2.1 by @jaredwray in #1250
- cacheable-request - chore: upgrading keyv to 5.5.0 by @jaredwray in #1251
- cacheable-request - chore: upgrading typescript to 5.9.2 by @jaredwray in #1252
- cacheable-request - feat: adding testTimeout to some unit tests by @jaredwray in #1244
- cache-manager - chore: upgrading xo to 1.2.1 by @jaredwray in #1253
- cache-manager - chore: upgrading typescript to 5.9.2 by @jaredwray in #1254
- cache-manager - chore: upgrading keyv to 5.5.0 by @jaredwray in #1255
Full Changelog: 2025-07-30...2025-08-06
2025-07-30
What's Changed
- cache-manager - fix: rename vite.config.ts to vitest.config.ts by @jaredwray in #1233
- utils - feat: creating @cacheable/utils by @jaredwray in #1234
- utils - fix: updating package to the correct keywords by @jaredwray in #1235
- utils - feat: adding in readme by @jaredwray in #1236
- utils - feat: making hashToNumber universal by @jaredwray in #1237
- memoize - feat: adding in @cacheable/memoize by @jaredwray in #1238
- memory - feat: creating @cacheable/memory by @jaredwray in #1240
- memory - fix: updating readme with correct npmjs by @jaredwray in #1241
- memoize - fix: fixing the readme npmjs by @jaredwray in #1242
- mono - fix: updating main readme by @jaredwray in #1243
Full Changelog: 2025-07-23...2025-07-30
2025-07-23
What's Changed
- cacheable - fix: updating you to your in README by @jaredwray in #1220
- cacheable - chore: upgrading xo to 1.2.1 by @jaredwray in #1222
- cacheable - chore: upgrading keyv to 5.4.0 by @jaredwray in #1223
- cacheable - chore: upgrading @faker-js/faker to 9.9.0 by @jaredwray in #1224
- node-cache - chore: upgrading xo to 1.2.1 by @jaredwray in #1225
- node-cache - chore: upgrading keyv to 5.4.0 by @jaredwray in #1227
- flat-cache - chore: upgrading xo to 1.2.1 by @jaredwray in #1228
- file-entry-cache - chore: upgrading xo to 1.2.1 by @jaredwray in #1229
- cache-manager - feat:
mget
andmset
callgetMany
andsetMany
by @nathan-knight in #1221 - flat-cache - fix: updating documentation on clearCacheById by @jaredwray in #1232
New Contributors
- @nathan-knight made their first contribution in #1221
Full Changelog: 2025-07-17...2025-07-23