Releases: jaredwray/keyv
2023-09-04
Package Updates 🍾
- test-suite (v1.9.3) - upgrading bignumber.js to 9.1.2 by @jaredwray in #905
What's Changed
- memcache - upgrading typescript to 5.2.2 by @jaredwray in #903
- redis - upgrading tsd to 0.29.0 by @jaredwray in #904
- test-suite - upgrading bignumber.js to 9.1.2 by @jaredwray in #905
- offline - upgrading tsd to 0.29.0 by @jaredwray in #906
- compress-gzip - upgrading eslint to 8.48.0 by @jaredwray in #907
- compress-brotli - upgrading tsd to 0.29.0 by @jaredwray in #908
Full Changelog: 2023-08-19...2023-09-04
2023-08-19
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
- postgres - upgrading pg to 8.11.3 by @jaredwray in #894
- mysql - upgrading mysql2 to 3.6.0 by @jaredwray in #895
- etcd - upgrading xo to 0.56.0 by @jaredwray in #896
- etcd - upgrading c8 and webpack to latest by @jaredwray in #897
- etcd - upgrading etcd3 to 1.1.2 by @jaredwray in #898
- tiered - upgrading c8, eslint, and xo to latest by @jaredwray in #899
- mono - upgrading xo, c8, and webpack to latest by @jaredwray in #900
Full Changelog: 2023-08-06...2023-08-19
2023-08-06
Package Updates
- compress-brotli - upgraded brotli module to latest 🤖
What's Changed
- fixing eslint issues with types on modules etcd, redis, and test-suite by @jaredwray in #883
- redis - upgrading timekeeper to 2.3.1 by @jaredwray in #884
- test-suite - upgrading timekeeper to 2.3.1 by @jaredwray in #885
- compress-brotli - upgrading c8 to 8.0.1 by @jaredwray in #886
- compres-brotli - upgrading webpack to 5.88.2 by @jaredwray in #887
- compress-brotli - upgrading compress-brotli to 1.3.9 by @jaredwray in #888
- compress-gzip - upgrading eslint to 8.46.0 by @jaredwray in #889
- keyv - upgrading eslint to 8.46.0 by @jaredwray in #890
- keyv - upgrading timekeeper to 2.3.1 by @jaredwray in #891
Full Changelog: 2023-07-16...2023-08-06
2023-07-16
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
- Added
keyv-momento
to 3rd party storage adapters by @eaddingtonwhite in #866 - adding keyv-momento to other md files by @jaredwray in #867
- Replace
get<Raw>(...)
with an overload by @mmkal in #805 - Fix typo in homeData.njk by @lukechilds in #869
- compress-brotli - removing xo duplication by @jaredwray in #870
- postgres - upgrading pg to 8.11.1 by @jaredwray in #872
- mysql - upgrading mysql2 to 3.5.1 by @jaredwray in #873
- etcd - upgrading xo to 0.55.0 by @jaredwray in #874
- etcd - typescript upgraded to 5.1.6 by @jaredwray in #875
- etcd - upgrading webpack to 5.88.1 by @jaredwray in #876
- tiered - upgrading xo to 0.55.0 by @jaredwray in #877
- tiered - upgrading eslint to 8.45.0 by @jaredwray in #878
- tiered - upgrading typescript to 5.1.6 by @jaredwray in #879
- mono - updating xo, typescript, @types/node, and webpack to latest by @jaredwray in #880
New Contributors
- @eaddingtonwhite made their first contribution in #866
- @mmkal made their first contribution in #805
Full Changelog: 2023-07-01...2023-07-16
2023-07-01
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
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
Full Changelog: 2023-06-18...2023-06-26
2023-06-18
Package Updates
- MySql (v1.6.8) - updating mysql2 module to the latest version 🥂
- Postgres (v1.4.6) - updated to typescript 🎉
What's Changed
- Revert breaking change in Redis constructor by @diogoazevedos in #835
- redis - adding in a fix for code coverage by @jaredwray in #836
- nodejs version 20 support by @jaredwray in #837
- add mysql using typescript by @christianllv in #838
- add postrgres adapter using typescript by @christianllv in #839
- (mysql) use async/await instead promises on connection by @christianllv in #840
- mono - upgrading webpack to 5.87.0 by @jaredwray in #842
- mono - upgrading typescript to 5.1.3 by @jaredwray in #843
- mono - upgrading ava to 5.3.1 by @jaredwray in #844
- mono - upgrading c8 to 8.0.0 by @jaredwray in #845
- mysql - upgrading mysql2 to 3.3.5 by @jaredwray in #846
- etcd - upgrading webpack to 5.87.0 by @jaredwray in #847
- etcd - upgrading typescript to 5.1.3 by @jaredwray in #848
- etcd - upgrading c8 to 8.0.0 by @jaredwray in #849
- etcd - upgrading ava to 5.3.1 by @jaredwray in #850
- tiered - upgrading typescript to 5.1.3 by @jaredwray in #851
- tiered - upgrading eslint to 8.43.0 by @jaredwray in #852
- tiered - removed delay module as no longer needed by @jaredwray in #853
- tiered - upgrading ava and c8 to latest by @jaredwray in #854
New Contributors
- @diogoazevedos made their first contribution in #835
Full Changelog: 2023-06-03...2023-06-18
2023-06-03
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
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
- add mongo compatibility to ts and use shared library versions by @christianllv in #806
- mongo - removing the filename for an index by @jaredwray in #811
- sqlite - upgrading xo to 0.54.2 by @jaredwray in #812
- postgres - upgrading xo to 0.54.2 by @jaredwray in #813
- postgres - upgrading pg to 8.11.0 by @jaredwray in #814
- mysql - upgrading xo to 0.54.2 by @jaredwray in #815
- mysql - upgrading mysql2 to 3.3.1 by @jaredwray in #816
- etcd - upgrading webpack to 5.83.1 by @jaredwray in #817
- tiered - upgrading xo to 0.54.2 by @jaredwray in #818
- tiered - upgrading typescript and tsd to latest by @jaredwray in #819
- tiered - upgrading eslint to 8.41.0 by @jaredwray in #820
- mono - upgrading webpack to 5.83.1 by @jaredwray in #821
- mono - upgrading typescript and @types/node to latest by @jaredwray in #822
- Update regular expression to support special characters in URL by @Ice-Hazymoon in #808
- mysql - fixing url parsing of mysql (#808 issue) by @jaredwray in #823
New Contributors
- @Ice-Hazymoon made their first contribution in #808
Full Changelog: 2023-05-07...2023-05-20
2023-05-07
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