Skip to content

Releases: jaredwray/keyv

2023-11-12

13 Nov 00:45
Compare
Choose a tag to compare

What's Changed

  • Convert Keyv to TypeScript and implement the KeyvStorageAdapter by @christianllv in #934
  • mono repo v5 - upgrading @types/node and webpack to latest by @jaredwray in #942
  • memcache v5 - upgrading @types/memjs to 1.3.3 by @jaredwray in #943
  • test-suite v5 - upgrading @types/json-buffer and @types/json-bigint t… by @jaredwray in #944
  • adding in amd64 support on test:services:start by @jaredwray in #946
  • compress-brotli - upgrading webpack to 5.89.0 by @jaredwray in #947
  • compress-brotli - upgrading brotli to 1.3.12 by @jaredwray in #948

Full Changelog: 2023-10-07...2023-11-12

2023-10-07

07 Oct 16:55
Compare
Choose a tag to compare

Package Updates 🚀

  • keyv (v4.5.4) - Fix deleting entire array when keyv.get - #922
  • redis (v2.8.0) - Switch to using Redis UNLINK instead of DEL - #921
  • test-suite (v1.9.4) - type definition updates for code and modules
  • compress-brotli (v1.1.5) - upgrading compress-brotli module to 1.3.11
  • mysql (v1.7.0) - moving to using query instead of execute as a command

What's Changed

New Contributors

Full Changelog: 2023-09-16...2023-10-07

2023-09-16

16 Sep 22:54
Compare
Choose a tag to compare

Package Updates 🍻

  • sqlite3 (v3.6.6) - replaced pify with promisify
  • mysql (v1.6.11) - upgrading mysql2 to 3.6.1
  • tiered (v1.0.6) - upgrading typescript to 5.2.2 and removing this module
  • redis (v2.7.1) - fixing but with passing in ioredis and options #902

What's Changed

Full Changelog: 2023-09-04...2023-09-16

2023-09-04

04 Sep 15:56
Compare
Choose a tag to compare

Package Updates 🍾

  • test-suite (v1.9.3) - upgrading bignumber.js to 9.1.2 by @jaredwray in #905

What's Changed

Full Changelog: 2023-08-19...2023-09-04

2023-08-19

19 Aug 18:39
ae7a88e
Compare
Choose a tag to compare

Package Updates 🥇

  • Postgres (v1.4.9) - upgrading pg to 8.11.3
  • MySql (v1.6.10) - upgrading mysql2 to 3.6.0
  • Etcd (v1.2.1) - upgrading etcd3 to 1.1.2

What's Changed

Full Changelog: 2023-08-06...2023-08-19

2023-08-06

06 Aug 13:38
Compare
Choose a tag to compare

Package Updates

  • compress-brotli - upgraded brotli module to latest 🤖

What's Changed

Full Changelog: 2023-07-16...2023-08-06

2023-07-16

16 Jul 15:40
Compare
Choose a tag to compare

Package Updates 🚀

  • postgres (v1.4.8) - upgraded pg to version 8.11.1
  • mysql (v1.6.9) - upgraded mysql2 to version 3.5.1
  • keyv (v4.5.3) - added the get overload in index.d.ts (#805)

What's Changed

New Contributors

Full Changelog: 2023-07-01...2023-07-16

2023-07-01

01 Jul 19:37
Compare
Choose a tag to compare

Redis v2.7.0 with useRedisSets Option

The useRedisSets option lets you decide whether to use Redis sets for key management. By default, this option is set to true.

When useRedisSets is enabled (true):

  • A namespace for the Redis sets is created, and all created keys are added to this. This allows for group management of keys.
  • When a key is deleted, it's removed not only from the main storage but also from the Redis set.
  • When clearing all keys (using the clear function), all keys in the Redis set are looked up for deletion. The set itself is also deleted.

Note: In high-performance scenarios, enabling useRedisSets might lead to memory leaks. If you're running a high-performance application or service, it is recommended to set useRedisSets to false.

If you decide to set useRedisSets as false, keys will be handled individually and Redis sets won't be utilized.

However, please note that setting useRedisSets to false could lead to performance issues in production when using the clear function, as it will need to iterate over all keys to delete them.

Example

Here's how you can use the useRedisSets option:

const Keyv = require('keyv');

const keyv = new Keyv('redis://user:pass@localhost:6379', { useRedisSets: false });

What's Changed

  • add useRedisSets option by @christianllv in #855
  • add iterator on etcd adapter by @christianllv in #857
  • memcache - upgrading typescript to 5.1.6 by @jaredwray in #859
  • test-suite - replacind delay module with helper for all packages by @jaredwray in #860
  • compress-gzip - upgrading eslint and @ava/typescript to latest by @jaredwray in #862
  • compress-brotli - upgrading c8 to 8.0.0 by @jaredwray in #863
  • compress-brotli - upgrading webpack to 5.88.1 by @jaredwray in #864

Full Changelog: 2023-06-26...2023-07-01

2023-06-26

26 Jun 16:55
b151320
Compare
Choose a tag to compare

Postgres (v1.4.7)

  • fix: add dist to npm tarball by @42tg in #856 as v1.4.6 has been broken with the wrong files being published to npm. 🍻

New Contributors

  • @42tg made their first contribution in #856

Full Changelog: 2023-06-18...2023-06-26

2023-06-18

18 Jun 23:57
Compare
Choose a tag to compare

Package Updates

  • MySql (v1.6.8) - updating mysql2 module to the latest version 🥂
  • Postgres (v1.4.6) - updated to typescript 🎉

What's Changed

New Contributors

Full Changelog: 2023-06-03...2023-06-18