Releases: jaredwray/keyv
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
2023-04-15
Package Releases 🍻
- Etcd (v1.2.0) - Full rewrite to typescript and module updates!
- MySQL (v1.6.3) -
mysql2
upgraded to latest.
What's Changed
- upgrading docula to 0.2.0 by @jaredwray in #770
- add etcd typescript support by @christianllv in #771
- sqlite - upgrading typescript to 5.0.4 by @jaredwray in #773
- sqlite - upgrading xo to 0.54.1 by @jaredwray in #774
- postgres - upgrading xo to 0.54.1 by @jaredwray in #775
- postgres - upgrading typescript to 5.0.4 by @jaredwray in #776
- mysql - upgrading xo to 0.54.1 and fixes on unicorn/prefer-ternary by @jaredwray in #777
- mysql - upgrading typescript to 5.0.4 by @jaredwray in #778
- mysql - upgrading mysql2 to 3.2.1 by @jaredwray in #779
- etcd - upgrading typescript to 5.0.4 by @jaredwray in #780
- etcd - upgrading xo to 0.54.1 by @jaredwray in #781
- mono - updating c8 and @types/node to latest by @jaredwray in #782
- etcd - upgrading webpack to 5.79.0 by @jaredwray in #783
- tiered - upgrading xo and eslint to latest by @jaredwray in #784
Full Changelog: 2023-04-03...2023-04-15
2023-04-03
Package Updates 🤖
- redis (2.5.7) - updated with fixes around the iterator by @AuspeXeu #749
- test-suite (1.9.2) - updated ava and other modules to their latest for the testing suite
- memcache (1.3.7) - updated memjs to its latest version 1.3.1 #758
What's Changed
- add async/await for postgres by @christianllv in #748
- website - upgrading docula and fs-extra to latest by @jaredwray in #751
- fix: according to the redis documentation, an iterator must not be co… by @AuspeXeu in #749
- update template design for website by @christianllv in #752
- add custom head title tag by @christianllv in #755
- memcache - upgrading typescript to 5.0.3 by @jaredwray in #757
- memcache - upgrading memjs to 1.3.1 by @jaredwray in #758
- redis - upgrading typescript to 5.0.3 by @jaredwray in #759
- test-suite - upgrading typescript and @ava/typescript to latest by @jaredwray in #760
- test-suite - upgrading sqlite3 to 5.1.6 by @jaredwray in #761
- offline - upgrading typescript to 5.0.3 by @jaredwray in #762
- compress-gzip - upgrading typescript and related modules to latest by @jaredwray in #763
- compress-brotli - upgrading typescript and webpack to latest by @jaredwray in #764
- keyv - upgrading typescript to 5.0.3 by @jaredwray in #765
- keyv - upgrading ava to 5.2.0 by @jaredwray in #766
- keyv - upgrading c8 to 7.13.0 by @jaredwray in #767
- keyv - upgrading eslint to 8.37.0 by @jaredwray in #768
New Contributors
Full Changelog: 2023-03-20...2023-04-03
2023-03-20
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
- Redis: Fix return on
set
by @joselcvarela in #725 - tiered: add typescript support by @christianllv in #722
- keyv - adding in test with non const ttl by @jaredwray in #726
- redis - adding in ttl with non const test by @jaredwray in #727
- Postgres - adding in schema support by @jaredwray in #731
- offline: add typescript support by @christianllv in #723
- postgres - cleaning up testing uri by @jaredwray in #732
- sqlite - upgrading sqlite3 to 5.1.6 by @jaredwray in #735
- sqlite - upgrading typescript to 5.0.2 by @jaredwray in #736
- postgres - upgrading pg to 8.10.0 by @jaredwray in #737
- postgres - upgrading typescript to 5.0.2 by @jaredwray in #738
- mysql - upgrading mysql2 to 3.2.0 by @jaredwray in #739
- mysql - upgrading typescript to 5.0.2 by @jaredwray in #740
- etcd - upgrading webpack to 5.76.2 by @jaredwray in #741
- etcd - upgrading cockatiel to 3.1.1 by @jaredwray in #742
- etcd - upgrading typescript to 5.0.2 by @jaredwray in #743
- tiered - upgrading eslint to 8.36.0 by @jaredwray in #744
- tiered - upgrading typescript to 5.0.2 by @jaredwray in #745
New Contributors
- @joselcvarela made their first contribution in #725
Full Changelog: 2023-03-06...2023-03-20