Releases

2024-03-16 Mar 16, 2024

MySQL (v1.7.4)

Upgraded the mysql2 module to its latest version

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2024-02-17...2024-03-16

2024-02-17 Feb 17, 2024

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2024-02-04...2024-02-17

2024-02-04 Feb 04, 2024

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-29...2024-02-04

2024-01-29 Jan 29, 2024

Redis Adding Non Set Namespace Support

add non set namespace support by @jaredwray in https://github.com/jaredwray/keyv/pull/989

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-08...2024-01-29

2024-01-08 Jan 08, 2024

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-06...2024-01-08

2024-01-06 Jan 06, 2024

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-10-07...2024-01-06

2023-12-02 Dec 02, 2023

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-11-19...2023-12-02

2023-11-19 Nov 19, 2023

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-11-12...2023-11-19

2023-11-12 Nov 13, 2023

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-10-07...2023-11-12

2023-10-07 Oct 07, 2023

Package Updates 🚀

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-09-16...2023-10-07

2023-09-16 Sep 16, 2023

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 https://github.com/jaredwray/keyv/issues/902

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-09-04...2023-09-16

2023-09-04 Sep 04, 2023

Package Updates 🍾

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-08-19...2023-09-04

2023-08-19 Aug 19, 2023

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: https://github.com/jaredwray/keyv/compare/2023-08-06...2023-08-19

2023-08-06 Aug 06, 2023

Package Updates

  • compress-brotli - upgraded brotli module to latest 🤖

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-07-16...2023-08-06

2023-07-16 Jul 16, 2023

Package Updates 🚀

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-07-01...2023-07-16

2023-07-01 Jul 01, 2023

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

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-26...2023-07-01

2023-06-26 Jun 26, 2023

Postgres (v1.4.7)

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-18...2023-06-26

2023-06-18 Jun 18, 2023

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: https://github.com/jaredwray/keyv/compare/2023-06-03...2023-06-18

2023-06-03 Jun 03, 2023

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

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-05-20...2023-06-03

2023-05-20 May 21, 2023

Package Updates 👏

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-05-07...2023-05-20

2023-05-07 May 07, 2023

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

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-04-15...2023-05-07

2023-04-15 Apr 15, 2023

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: https://github.com/jaredwray/keyv/compare/2023-04-03...2023-04-15

2023-04-03 Apr 03, 2023

Package Updates 🤖

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-03-20...2023-04-03

2023-03-20 Mar 20, 2023

Package Releases 🎉

  • @keyv/sqlite (3.6.5) - upgrading sqlite3 to 5.1.6 and other development module updates
  • @keyv/postgres (1.4.4) - upgrading pg to 8.10.0 and other development module updates
  • @keyv/mysql (1.6.2) - upgrading mysql2 to 3.2.0 and other development module updates
  • @keyv/etcd (1.5.5) - upgrading cockatiel to 3.1.1 and other development module updates

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-03-06...2023-03-20

2023-03-06 Mar 06, 2023

Package Releases 📢 🙌

  • @keyv/redis (v2.5.6) - updating the ioredis driver to latest
  • @keyv/postgres (v1.4.3) - adding the ability to add in schema to options but defaults to public.
  • @keyv/compress-brotli (v1.1.3) - updating with bug fix https://github.com/jaredwray/keyv/pull/679

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-02-19...2023-03-06

2023-02-19 Feb 19, 2023

Package Releases 🎉

  • Test Suite v1.9.0 - A major upgrade moving the entire project to typescript with its own definition files
  • Offline v3.0.7 - Updated documentation on readme
  • Memcache v1.3.6 - Updated documentation
  • Postgres v1.4.2 - Upgrading the pg module to 8.9.0
  • Mysql v1.6.1 - Upgrading mysql2 module to 3.1.2

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-02-04...2023-02-19

2023-02-04 Feb 04, 2023

Redis v2.5.5

Update released with upgraded ioredis (v5.3.0) 🎉

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2023-01-21...2023-02-04

2023-01-21 Jan 21, 2023

MySql v1.6.0 - MySql2 module upgrade to 3.0.1!

The mysql storage adapter has been upgraded to the latest mysql2 driver which you can read about here: https://github.com/sidorares/node-mysql2/releases/tag/v3.0.0

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2022-01-07...2023-01-21

2022-01-07 Jan 08, 2023

Compress-Gzip v1.2.3

API is all the same but fully re-written in tyepscript and generating its own type file.

Test-Suite v1.8.9 (Maintenance)

Test suite had a module upgraded that is used for testing bignumber.js

What’s Changed

Full Changelog: https://github.com/jaredwray/keyv/compare/2022-12-17...2022-01-07

2022-12-17 Dec 17, 2022

@keyv/sqlite is now upgraded

The module has the latest update of sqlite3 now!

What’s Changed

New Contributors

Full Changelog: https://github.com/jaredwray/keyv/compare/2022-12-05...2022-12-17