Skip to content

Releases: jaredwray/keyv

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

2023-06-03

03 Jun 21:51
Compare
Choose a tag to compare

Package Updates 🍻

  • Memcache v1.4.0 - Migrated to Typescript!
  • Redis v2.6.0 - Migrated to Typescript and a fix for maximum call stack size. Thanks @AuspeXeu 👏

What's Changed

  • website - updating with fork me on github ribbon by @jaredwray in #824
  • Website - cleaning up documentation by @jaredwray in #825
  • parsing connection string with special characters by @jaredwray in #826
  • add typescript compatibility for redis adapter by @christianllv in #810
  • fix: maximum call stack size exceeded by @AuspeXeu in #827
  • add sql lite adapter using typescript by @christianllv in #828
  • keyv - upgrading eslint to 8.42.0 by @jaredwray in #829
  • memcache - upgrading typescript to 5.1.3 by @jaredwray in #830
  • redis - upgrading delay to 6.0.0 by @jaredwray in #831
  • compress-gzip - upgrading eslint modules to latest by @jaredwray in #832
  • compress-brotli - upgrading c8 and webpack to latest by @jaredwray in #833

Full Changelog: 2023-05-20...2023-06-03

2023-05-20

21 May 01:12
Compare
Choose a tag to compare

Package Updates 👏

  • Mongo (v2.2.8) - migrated to typescript! 🎉
  • Postgres (v1.4.5) - upgraded pg to 8.11.0
  • MySQL (v1.6.6) - upgraded mysql2 to 3.3.1 and also fixed parsing of more complex uri connection strings referenced here: #809 (comment)

What's Changed

New Contributors

Full Changelog: 2023-05-07...2023-05-20

2023-05-07

07 May 19:29
Compare
Choose a tag to compare

Package Updates 🎉

  • Redis v2.5.8 - Upgrading ioredis to 5.3.2
  • MySQL v1.6.5 - moving to correct pool configuration object and upgrading mysql2 to 3.2.3

What's Changed

  • add type cast for an array element by @christianllv in #787
  • Fix mysql2 invalid configuration (#788) by @kossidts in #789
  • mysql - upgrading mysql2 to 3.2.3 by @jaredwray in #790
  • mysql - moving to correct pool configuration object by @jaredwray in #791
  • add typescript compatibility to memcached adapter by @christianllv in #792
  • memcache - removing @types/keyv by @jaredwray in #793
  • docs - adding in how to for caching with nest.js by @jaredwray in #794
  • mono - updating xo, @types/node, and webpack modules to latest by @jaredwray in #795
  • memcache - upgrading typescript to 5.0.4 by @jaredwray in #796
  • redis - upgrading typescript to 5.0.4 by @jaredwray in #797
  • redis - upgrading ioredis to 5.3.2 by @jaredwray in #798
  • test-suite - upgrading typescript to 5.0.4 by @jaredwray in #799
  • offline - upgrading typescript to 5.0.4 by @jaredwray in #800
  • compress-brotli - upgrading webpaxk to 5.82.0 by @jaredwray in #801
  • compress-brotli - upgrading typescript to 5.0.4 by @jaredwray in #802
  • compress-gzip - upgrading eslint to 8.40.0 by @jaredwray in #803
  • compress-gzip - upgrading typescript to 5.0.4 by @jaredwray in #804

New Contributors

Full Changelog: 2023-04-15...2023-05-07

2023-04-15

15 Apr 23:22
Compare
Choose a tag to compare

Package Releases 🍻

  • Etcd (v1.2.0) - Full rewrite to typescript and module updates!
  • MySQL (v1.6.3) - mysql2 upgraded to latest.

What's Changed

Full Changelog: 2023-04-03...2023-04-15