Releases
MySQL (v1.7.4)
Upgraded the mysql2
module to its latest version
What’s Changed
- memcache - upgrading tsd to 0.30.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1002
- redis - upgrading tsd to 0.30.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1003
- test-suite - updating tsd to 0.30.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1004
- compress-gzip - updating @typescript-eslint/parser to 7.1.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1005
- compress-brotli - upgrading webpack to 5.90.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/1006
- keyv - upgrading tsd and eslint to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1007
- sqlite - upgrading tsd to 0.30.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1009
- postgres - upgrading @types/pg and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1010
- mysql - upgrading mysql2 to 3.9.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1011
- etcd - upgrading xo to 0.58.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1012
- etcd - upgrading typescript, tsd, and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1013
- tiered - upgrading ts-node to 10.9.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1014
- tiered - upgrading xo to 0.58.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1015
- tiered - upgrading c8 to 9.1.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1016
- tiered - upgrading eslint to 8.57.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1017
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-02-17...2024-03-16
What’s Changed
- postgres - upgrading @types/pg to 8.11.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/994
- mysql - upgrading mysql2 to 3.9.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/995
- etcd - upgrading xo to 0.57.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/996
- etcd - upgrading webpack to 5.90.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/997
- no longer supporting node 16 - end of life by @jaredwray in https://github.com/jaredwray/keyv/pull/998
- tiered - upgrading xo and eslint to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/999
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-02-04...2024-02-17
What’s Changed
- memcache - upgrading memjs to 1.3.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/991
- compress-brotli - upgrading c8 and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/992
- compress-gzip - upgrading tsd and @typescript-eslint/parser to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/993
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-29...2024-02-04
Redis Adding Non Set Namespace Support
add non set namespace support by @jaredwray in https://github.com/jaredwray/keyv/pull/989
What’s Changed
- redis - add non set namespace support by @jaredwray in https://github.com/jaredwray/keyv/pull/989
- redis - upgrading tsd to 0.30.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/990
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-08...2024-01-29
What’s Changed
- redis - fixing error again on calling clear with empty keys by @jaredwray in https://github.com/jaredwray/keyv/pull/977
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-01-06...2024-01-08
What’s Changed
- adding in arm64 support for docker compose by @jaredwray in https://github.com/jaredwray/keyv/pull/935
- memcache v4 - upgrading @types/memjs to 1.3.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/936
- test-suite v4 - upgrading json types to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/937
- compress-gzip v4 - upgrading pako types and eslint to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/938
- compress-brotli v4 - upgrading webpack to 5.89.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/940
- compress-brotli v4 - upgrading brotli to 1.3.12 by @jaredwray in https://github.com/jaredwray/keyv/pull/941
- removing packages that will not be affected by Keyv v4 to v5 migration by @jaredwray in https://github.com/jaredwray/keyv/pull/945
- redis - updated to 2.8.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/965
- memcache - upgrading typescript and types to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/966
- test-suite - upgrading sqlite3 to 5.1.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/967
- test-suite - upgrading types for json to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/968
- offline - upgrading tsd and ts-node to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/969
- compress-gzip - upgrading eslint to 8.56.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/970
- compress-gzip - upgrading tsd and types to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/971
- compress-brotli - upgrading tsd and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/972
- keyv - upgrading eslint to 8.56.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/973
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-10-07...2024-01-06
What’s Changed
- fix(redis): add non set namespace support by @ComfortablyCoding in https://github.com/jaredwray/keyv/pull/956
- Keyv hooks for v5 by @jaredwray in https://github.com/jaredwray/keyv/pull/957
- keyv - updating hooks test descriptions by @jaredwray in https://github.com/jaredwray/keyv/pull/958
- memcache - upgrading typescript to 5.3.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/959
- redis - adding xo fix for testing purposes by @jaredwray in https://github.com/jaredwray/keyv/pull/960
- compress-gzip - upgrading eslint to 8.55.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/961
New Contributors
- @ComfortablyCoding made their first contribution in https://github.com/jaredwray/keyv/pull/956
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-11-19...2023-12-02
What’s Changed
- sqlite - upgrading @types/pg to 8.10.9 by @jaredwray in https://github.com/jaredwray/keyv/pull/951
- mysql - upgrading mysql2 to 3.6.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/952
- etcd - upgrading webpack to 5.89.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/953
- tiered - upgrading eslint to 8.54.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/954
- mono - upgrading @types/node to 20.9.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/955
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-11-12...2023-11-19
What’s Changed
- Convert Keyv to TypeScript and implement the KeyvStorageAdapter by @christianllv in https://github.com/jaredwray/keyv/pull/934
- mono repo v5 - upgrading @types/node and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/942
- memcache v5 - upgrading @types/memjs to 1.3.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/943
- test-suite v5 - upgrading @types/json-buffer and @types/json-bigint t… by @jaredwray in https://github.com/jaredwray/keyv/pull/944
- adding in amd64 support on test:services:start by @jaredwray in https://github.com/jaredwray/keyv/pull/946
- compress-brotli - upgrading webpack to 5.89.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/947
- compress-brotli - upgrading brotli to 1.3.12 by @jaredwray in https://github.com/jaredwray/keyv/pull/948
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-10-07...2023-11-12
Package Updates 🚀
- keyv (v4.5.4) - Fix deleting entire array when keyv.get - https://github.com/jaredwray/keyv/pull/922
- redis (v2.8.0) - Switch to using Redis UNLINK instead of DEL - https://github.com/jaredwray/keyv/pull/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
- Fix: Redis race conditions with .set, .delete. and .clear when useRedisSets=true by @ryanrobertsname in https://github.com/jaredwray/keyv/pull/881
- redis - adding in testing on delete when not using redis sets by @jaredwray in https://github.com/jaredwray/keyv/pull/920
- feat: [GH-910] Switch to use Redis UNLINK instead of DEL by @HishamAli81 in https://github.com/jaredwray/keyv/pull/921
- mysql - moving to using query instead of execute by @jaredwray in https://github.com/jaredwray/keyv/pull/923
- Fix deleting entire array when keyv.get by @vpoliatychko in https://github.com/jaredwray/keyv/pull/922
- memcache - upgrading @types/memjs to 1.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/927
- test-suite - upgrading @types/json-bigint to 1.0.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/928
- compress-brotli - upgrading compress-brotli to 1.3.11 by @jaredwray in https://github.com/jaredwray/keyv/pull/929
- compress-gzip - upgrading @types/pako to 2.0.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/930
- compress-gzip - upgrading eslint to 8.51.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/931
New Contributors
- @ryanrobertsname made their first contribution in https://github.com/jaredwray/keyv/pull/881
- @HishamAli81 made their first contribution in https://github.com/jaredwray/keyv/pull/921
- @vpoliatychko made their first contribution in https://github.com/jaredwray/keyv/pull/922
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-09-16...2023-10-07
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
- sqlite - upgrading @keyv/test-suite to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/911
- sqlite - replaced pify with util.promisify by @jaredwray in https://github.com/jaredwray/keyv/pull/912
- postgres - upgrading tsd to 0.29.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/913
- mysql - upgrading mysql2 to 3.6.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/914
- etcd - upgrading typescript to 5.2.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/915
- tiered - upgrading typescript to 5.2.2 and removing this module by @jaredwray in https://github.com/jaredwray/keyv/pull/916
- tiered - upgrading eslint to 8.49.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/917
- redis - fixing bug with ioredis and useRedisSets by @jaredwray in https://github.com/jaredwray/keyv/pull/918
- mono - upgrading typescript and @types/node to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/919
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-09-04...2023-09-16
Package Updates 🍾
- test-suite (v1.9.3) - upgrading bignumber.js to 9.1.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/905
What’s Changed
- memcache - upgrading typescript to 5.2.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/903
- redis - upgrading tsd to 0.29.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/904
- test-suite - upgrading bignumber.js to 9.1.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/905
- offline - upgrading tsd to 0.29.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/906
- compress-gzip - upgrading eslint to 8.48.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/907
- compress-brotli - upgrading tsd to 0.29.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/908
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-08-19...2023-09-04
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 https://github.com/jaredwray/keyv/pull/894
- mysql - upgrading mysql2 to 3.6.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/895
- etcd - upgrading xo to 0.56.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/896
- etcd - upgrading c8 and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/897
- etcd - upgrading etcd3 to 1.1.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/898
- tiered - upgrading c8, eslint, and xo to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/899
- mono - upgrading xo, c8, and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/900
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-08-06...2023-08-19
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 https://github.com/jaredwray/keyv/pull/883
- redis - upgrading timekeeper to 2.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/884
- test-suite - upgrading timekeeper to 2.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/885
- compress-brotli - upgrading c8 to 8.0.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/886
- compres-brotli - upgrading webpack to 5.88.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/887
- compress-brotli - upgrading compress-brotli to 1.3.9 by @jaredwray in https://github.com/jaredwray/keyv/pull/888
- compress-gzip - upgrading eslint to 8.46.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/889
- keyv - upgrading eslint to 8.46.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/890
- keyv - upgrading timekeeper to 2.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/891
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-07-16...2023-08-06
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
(https://github.com/jaredwray/keyv/pull/805)
What’s Changed
- Added
keyv-momento
to 3rd party storage adapters by @eaddingtonwhite in https://github.com/jaredwray/keyv/pull/866 - adding keyv-momento to other md files by @jaredwray in https://github.com/jaredwray/keyv/pull/867
- Replace
get<Raw>(...)
with an overload by @mmkal in https://github.com/jaredwray/keyv/pull/805 - Fix typo in homeData.njk by @lukechilds in https://github.com/jaredwray/keyv/pull/869
- compress-brotli - removing xo duplication by @jaredwray in https://github.com/jaredwray/keyv/pull/870
- postgres - upgrading pg to 8.11.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/872
- mysql - upgrading mysql2 to 3.5.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/873
- etcd - upgrading xo to 0.55.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/874
- etcd - typescript upgraded to 5.1.6 by @jaredwray in https://github.com/jaredwray/keyv/pull/875
- etcd - upgrading webpack to 5.88.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/876
- tiered - upgrading xo to 0.55.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/877
- tiered - upgrading eslint to 8.45.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/878
- tiered - upgrading typescript to 5.1.6 by @jaredwray in https://github.com/jaredwray/keyv/pull/879
- mono - updating xo, typescript, @types/node, and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/880
New Contributors
- @eaddingtonwhite made their first contribution in https://github.com/jaredwray/keyv/pull/866
- @mmkal made their first contribution in https://github.com/jaredwray/keyv/pull/805
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-07-01...2023-07-16
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 https://github.com/jaredwray/keyv/pull/855
- add iterator on etcd adapter by @christianllv in https://github.com/jaredwray/keyv/pull/857
- memcache - upgrading typescript to 5.1.6 by @jaredwray in https://github.com/jaredwray/keyv/pull/859
- test-suite - replacind delay module with helper for all packages by @jaredwray in https://github.com/jaredwray/keyv/pull/860
- compress-gzip - upgrading eslint and @ava/typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/862
- compress-brotli - upgrading c8 to 8.0.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/863
- compress-brotli - upgrading webpack to 5.88.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/864
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-26...2023-07-01
Postgres (v1.4.7)
- fix: add dist to npm tarball by @42tg in https://github.com/jaredwray/keyv/pull/856 as
v1.4.6
has been broken with the wrong files being published to npm. 🍻
New Contributors
- @42tg made their first contribution in https://github.com/jaredwray/keyv/pull/856
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-18...2023-06-26
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 https://github.com/jaredwray/keyv/pull/835
- redis - adding in a fix for code coverage by @jaredwray in https://github.com/jaredwray/keyv/pull/836
- nodejs version 20 support by @jaredwray in https://github.com/jaredwray/keyv/pull/837
- add mysql using typescript by @christianllv in https://github.com/jaredwray/keyv/pull/838
- add postrgres adapter using typescript by @christianllv in https://github.com/jaredwray/keyv/pull/839
- (mysql) use async/await instead promises on connection by @christianllv in https://github.com/jaredwray/keyv/pull/840
- mono - upgrading webpack to 5.87.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/842
- mono - upgrading typescript to 5.1.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/843
- mono - upgrading ava to 5.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/844
- mono - upgrading c8 to 8.0.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/845
- mysql - upgrading mysql2 to 3.3.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/846
- etcd - upgrading webpack to 5.87.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/847
- etcd - upgrading typescript to 5.1.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/848
- etcd - upgrading c8 to 8.0.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/849
- etcd - upgrading ava to 5.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/850
- tiered - upgrading typescript to 5.1.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/851
- tiered - upgrading eslint to 8.43.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/852
- tiered - removed delay module as no longer needed by @jaredwray in https://github.com/jaredwray/keyv/pull/853
- tiered - upgrading ava and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/854
New Contributors
- @diogoazevedos made their first contribution in https://github.com/jaredwray/keyv/pull/835
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-06-03...2023-06-18
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 https://github.com/jaredwray/keyv/pull/824
- Website - cleaning up documentation by @jaredwray in https://github.com/jaredwray/keyv/pull/825
- parsing connection string with special characters by @jaredwray in https://github.com/jaredwray/keyv/pull/826
- add typescript compatibility for redis adapter by @christianllv in https://github.com/jaredwray/keyv/pull/810
- fix: maximum call stack size exceeded by @AuspeXeu in https://github.com/jaredwray/keyv/pull/827
- add sql lite adapter using typescript by @christianllv in https://github.com/jaredwray/keyv/pull/828
- keyv - upgrading eslint to 8.42.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/829
- memcache - upgrading typescript to 5.1.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/830
- redis - upgrading delay to 6.0.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/831
- compress-gzip - upgrading eslint modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/832
- compress-brotli - upgrading c8 and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/833
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-05-20...2023-06-03
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: https://github.com/jaredwray/keyv/issues/809#issuecomment-1556054440
What’s Changed
- add mongo compatibility to ts and use shared library versions by @christianllv in https://github.com/jaredwray/keyv/pull/806
- mongo - removing the filename for an index by @jaredwray in https://github.com/jaredwray/keyv/pull/811
- sqlite - upgrading xo to 0.54.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/812
- postgres - upgrading xo to 0.54.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/813
- postgres - upgrading pg to 8.11.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/814
- mysql - upgrading xo to 0.54.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/815
- mysql - upgrading mysql2 to 3.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/816
- etcd - upgrading webpack to 5.83.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/817
- tiered - upgrading xo to 0.54.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/818
- tiered - upgrading typescript and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/819
- tiered - upgrading eslint to 8.41.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/820
- mono - upgrading webpack to 5.83.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/821
- mono - upgrading typescript and @types/node to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/822
- Update regular expression to support special characters in URL by @Ice-Hazymoon in https://github.com/jaredwray/keyv/pull/808
- mysql - fixing url parsing of mysql (#808 issue) by @jaredwray in https://github.com/jaredwray/keyv/pull/823
New Contributors
- @Ice-Hazymoon made their first contribution in https://github.com/jaredwray/keyv/pull/808
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-05-07...2023-05-20
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 https://github.com/jaredwray/keyv/pull/787
- Fix mysql2 invalid configuration (#788) by @kossidts in https://github.com/jaredwray/keyv/pull/789
- mysql - upgrading mysql2 to 3.2.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/790
- mysql - moving to correct pool configuration object by @jaredwray in https://github.com/jaredwray/keyv/pull/791
- add typescript compatibility to memcached adapter by @christianllv in https://github.com/jaredwray/keyv/pull/792
- memcache - removing @types/keyv by @jaredwray in https://github.com/jaredwray/keyv/pull/793
- docs - adding in how to for caching with nest.js by @jaredwray in https://github.com/jaredwray/keyv/pull/794
- mono - updating xo, @types/node, and webpack modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/795
- memcache - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/796
- redis - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/797
- redis - upgrading ioredis to 5.3.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/798
- test-suite - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/799
- offline - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/800
- compress-brotli - upgrading webpaxk to 5.82.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/801
- compress-brotli - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/802
- compress-gzip - upgrading eslint to 8.40.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/803
- compress-gzip - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/804
New Contributors
- @kossidts made their first contribution in https://github.com/jaredwray/keyv/pull/789
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-04-15...2023-05-07
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 https://github.com/jaredwray/keyv/pull/770
- add etcd typescript support by @christianllv in https://github.com/jaredwray/keyv/pull/771
- sqlite - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/773
- sqlite - upgrading xo to 0.54.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/774
- postgres - upgrading xo to 0.54.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/775
- postgres - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/776
- mysql - upgrading xo to 0.54.1 and fixes on unicorn/prefer-ternary by @jaredwray in https://github.com/jaredwray/keyv/pull/777
- mysql - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/778
- mysql - upgrading mysql2 to 3.2.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/779
- etcd - upgrading typescript to 5.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/780
- etcd - upgrading xo to 0.54.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/781
- mono - updating c8 and @types/node to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/782
- etcd - upgrading webpack to 5.79.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/783
- tiered - upgrading xo and eslint to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/784
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-04-03...2023-04-15
Package Updates 🤖
- redis (2.5.7) - updated with fixes around the iterator by @AuspeXeu https://github.com/jaredwray/keyv/pull/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 https://github.com/jaredwray/keyv/pull/758
What’s Changed
- add async/await for postgres by @christianllv in https://github.com/jaredwray/keyv/pull/748
- website - upgrading docula and fs-extra to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/751
- fix: according to the redis documentation, an iterator must not be co… by @AuspeXeu in https://github.com/jaredwray/keyv/pull/749
- update template design for website by @christianllv in https://github.com/jaredwray/keyv/pull/752
- add custom head title tag by @christianllv in https://github.com/jaredwray/keyv/pull/755
- memcache - upgrading typescript to 5.0.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/757
- memcache - upgrading memjs to 1.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/758
- redis - upgrading typescript to 5.0.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/759
- test-suite - upgrading typescript and @ava/typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/760
- test-suite - upgrading sqlite3 to 5.1.6 by @jaredwray in https://github.com/jaredwray/keyv/pull/761
- offline - upgrading typescript to 5.0.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/762
- compress-gzip - upgrading typescript and related modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/763
- compress-brotli - upgrading typescript and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/764
- keyv - upgrading typescript to 5.0.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/765
- keyv - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/766
- keyv - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/767
- keyv - upgrading eslint to 8.37.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/768
New Contributors
- @AuspeXeu made their first contribution in https://github.com/jaredwray/keyv/pull/749
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-03-20...2023-04-03
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 https://github.com/jaredwray/keyv/pull/725 - tiered: add typescript support by @christianllv in https://github.com/jaredwray/keyv/pull/722
- keyv - adding in test with non const ttl by @jaredwray in https://github.com/jaredwray/keyv/pull/726
- redis - adding in ttl with non const test by @jaredwray in https://github.com/jaredwray/keyv/pull/727
- Postgres - adding in schema support by @jaredwray in https://github.com/jaredwray/keyv/pull/731
- offline: add typescript support by @christianllv in https://github.com/jaredwray/keyv/pull/723
- postgres - cleaning up testing uri by @jaredwray in https://github.com/jaredwray/keyv/pull/732
- sqlite - upgrading sqlite3 to 5.1.6 by @jaredwray in https://github.com/jaredwray/keyv/pull/735
- sqlite - upgrading typescript to 5.0.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/736
- postgres - upgrading pg to 8.10.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/737
- postgres - upgrading typescript to 5.0.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/738
- mysql - upgrading mysql2 to 3.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/739
- mysql - upgrading typescript to 5.0.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/740
- etcd - upgrading webpack to 5.76.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/741
- etcd - upgrading cockatiel to 3.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/742
- etcd - upgrading typescript to 5.0.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/743
- tiered - upgrading eslint to 8.36.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/744
- tiered - upgrading typescript to 5.0.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/745
New Contributors
- @joselcvarela made their first contribution in https://github.com/jaredwray/keyv/pull/725
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-03-06...2023-03-20
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
- test-suite - updating publish to only need the dist folder by @jaredwray in https://github.com/jaredwray/keyv/pull/692
- compress-brotli package using typescript by @christianllv in https://github.com/jaredwray/keyv/pull/693
- updating typescript packages to use tsconfig.dist.json by @jaredwray in https://github.com/jaredwray/keyv/pull/694
- compress-gzip: rewrite to use typescript by @christianllv in https://github.com/jaredwray/keyv/pull/698
- memcache - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/702
- memcache - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/703
- redis - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/704
- redis - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/705
- redis - upgrading ioredis to 5.3.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/706
- test-suite - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/707
- test-suite - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/708
- offline - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/709
- offline - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/710
- offline - upgrading tsd to 0.26.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/711
- compress-brotli - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/712
- compress-brotli - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/713
- compress-brotli - upgrading tsd to 0.26.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/714
- compress-gzip - upgrading tsd to 0.26.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/715
- compress-gzip - upgrading eslint to 5.54.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/716
- compress-gzip - upgrading c8 to 7.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/717
- compress-gzip - upgrading ava to 5.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/718
- compress-gzip - upgrading @typescript-eslint/parser to 5.54.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/719
- ✨: add schema support by @fuergaosi233 in https://github.com/jaredwray/keyv/pull/668
New Contributors
- @fuergaosi233 made their first contribution in https://github.com/jaredwray/keyv/pull/668
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-02-19...2023-03-06
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
- keyv - upgrading eslint and typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/666
- init of the keyv site by @jaredwray in https://github.com/jaredwray/keyv/pull/670
- keyv.org - website updates by @jaredwray in https://github.com/jaredwray/keyv/pull/671
- Website - adding in all storage adapters and cleanup by @jaredwray in https://github.com/jaredwray/keyv/pull/673
- website - adding in storage adapters fix by @jaredwray in https://github.com/jaredwray/keyv/pull/674
- Website - fixing build with path issues by @jaredwray in https://github.com/jaredwray/keyv/pull/675
- website - fixing docs page order by @jaredwray in https://github.com/jaredwray/keyv/pull/676
- removing better-sqlite3 library and types by @christianllv in https://github.com/jaredwray/keyv/pull/672
- refactor test-suite to use typescript by @christianllv in https://github.com/jaredwray/keyv/pull/652
- add deserialize validation to avoid empty values by @christianllv in https://github.com/jaredwray/keyv/pull/679
- website - fixing the deployment on pull request by @jaredwray in https://github.com/jaredwray/keyv/pull/680
- sqlite - upgrading typescript to 4.9.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/681
- sqlite - upgrading c8 and ava to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/682
- website - updating with favicon by @jaredwray in https://github.com/jaredwray/keyv/pull/683
- Website - updating with favicon 2 by @jaredwray in https://github.com/jaredwray/keyv/pull/684
- postgres - upgrading typescript, ava, and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/685
- postgres - upgrading pg to 8.9.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/686
- mysql - upgrading typescript, ava, and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/687
- mysql - upgradin mysql2 to 3.1.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/688
- etcd - upgrading typescript, ava, anc c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/689
- tiered - upgrading typescript, ava, and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/691
- Issue #677 by @Viiprogrammer in https://github.com/jaredwray/keyv/pull/690
New Contributors
- @christianllv made their first contribution in https://github.com/jaredwray/keyv/pull/672
- @Viiprogrammer made their first contribution in https://github.com/jaredwray/keyv/pull/690
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-02-04...2023-02-19
Redis v2.5.5
Update released with upgraded ioredis (v5.3.0) 🎉
What’s Changed
- redis-next - adding in typescript build by @jaredwray in https://github.com/jaredwray/keyv/pull/646
- redis-next - setting up next testing environment by @jaredwray in https://github.com/jaredwray/keyv/pull/648
- removing redis-next and moving to a branch by @jaredwray in https://github.com/jaredwray/keyv/pull/649
- add website package by @cialese in https://github.com/jaredwray/keyv/pull/651
- updating modules and adding docula by @jaredwray in https://github.com/jaredwray/keyv/pull/653
- memcache - upgrading ava to 5.1.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/654
- memcache - upgrading typescript to 4.9.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/655
- offline - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/656
- offline - upgrading typescript to 4.9.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/657
- compress-gzip - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/658
- compress-gzip - upgrading typescript and eslint to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/659
- compress-brotli - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/660
- compres-brotli - upgrading typescript to 4.9.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/661
- redis - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/662
- redis - upgrading typescript to 4.9.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/663
- redis - upgrading ioredis to 5.3.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/664
- keyv - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/665
New Contributors
- @cialese made their first contribution in https://github.com/jaredwray/keyv/pull/651
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-01-21...2023-02-04
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
- redis-next - initial setup of the new version of redis by @jaredwray in https://github.com/jaredwray/keyv/pull/636
- compress-gzip - cleaning up dev dependencies by @jaredwray in https://github.com/jaredwray/keyv/pull/638
- sqlite - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/639
- Postgres - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/640
- mysql - uprading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/641
- mysql - removing options that are invalid by @jaredwray in https://github.com/jaredwray/keyv/pull/642
- mysql - upgrading mysql2 to 3.0.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/643
- Etcd upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/644
- tiered - upgrading ava to 5.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/645
Full Changelog: https://github.com/jaredwray/keyv/compare/2022-01-07...2023-01-21
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
- keyv - upgrading typescript to 4.9.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/624
- keyv - upgrading eslint to 8.31.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/625
- memcache - upgrading typescript to 4.9.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/626
- redis - upgrading typescript to 4.9.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/627
- test-suite - upgrading bignumber.js to 9.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/628
- offline - upgrading typescript to 4.9.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/629
- compress-gzip - upgrading typescript to 4.9.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/630
- Gzip typescript conversion by @alphmth in https://github.com/jaredwray/keyv/pull/562
- updating the github actions to latest v3 by @jaredwray in https://github.com/jaredwray/keyv/pull/631
- compress-gzip - migration to typescript by @jaredwray in https://github.com/jaredwray/keyv/pull/632
- compress-brotoli - adding in c8 for unit testing by @jaredwray in https://github.com/jaredwray/keyv/pull/633
- compress-brotli - upgrading typescript to 4.9.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/634
Full Changelog: https://github.com/jaredwray/keyv/compare/2022-12-17...2022-01-07
@keyv/sqlite is now upgraded
The module has the latest update of sqlite3 now!
What’s Changed
- Added
keyv-arango
to 3rd party storage adapters by @TimMikeladze in https://github.com/jaredwray/keyv/pull/615 - adding in arango storage adapter reference by @jaredwray in https://github.com/jaredwray/keyv/pull/616
- sqlite - upgrading typescript and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/617
- sqlite - upgrading sqlite3 to 5.1.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/618
- postgres - upgrading typescript and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/619
- mysql - upgrading typescript and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/620
- etcd - upgrading typescript and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/621
- tiered - upgrading typescript and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/622
New Contributors
- @TimMikeladze made their first contribution in https://github.com/jaredwray/keyv/pull/615
Full Changelog: https://github.com/jaredwray/keyv/compare/2022-12-05...2022-12-17