Releases
What's Changed
- postgres - updating ESM fix on Pool from pg by @jaredwray in https://github.com/jaredwray/keyv/pull/1138
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-09-22...2024-09-27
What's Changed
- keyv - upgrading keyv to v5.0.2 and on() as a void return by @jaredwray in https://github.com/jaredwray/keyv/pull/1136
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-09-21...2024-09-22
What's Changed
- compress-gzip - updating rimraf and tsd by @jaredwray in https://github.com/jaredwray/keyv/pull/1127
- sqlite - upgrade keyv to 5.0.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1129
- postgres - upgrading pg to 8.13.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1130
- mysql - upgrading mysql2 to 3.11.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/1131
- etcd - upgrading modules to lastest by @jaredwray in https://github.com/jaredwray/keyv/pull/1132
- website - upgrading docula to 0.9.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1133
- mono - upgrading modules to latest such as vitest and tsup by @jaredwray in https://github.com/jaredwray/keyv/pull/1134
- third-party - upgrading and validating keyv-file by @jaredwray in https://github.com/jaredwray/keyv/pull/1135
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-09-07...2024-09-21
What's Changed
- mono - upgrading webpack and @types/node to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1120
- keyv - upgrading tsd to 0.31.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1121
- memcache - upgrading keyv and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1122
- redis - upgrading keyv and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1123
- test-suite - upgrading keyv to 5.0.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1124
- offline - upgrading keyv and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1125
- compress-brotli - upgrading keyv to v5.0.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1126
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-09-05...2024-09-07
What's Changed
- compress-gzip - fix: set any value before getting value by @jaredwray in https://github.com/jaredwray/keyv/pull/1118
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-08-21...2024-09-05
What's Changed
- Fix ESM and CommonJs compatibility by @chrisllontop in https://github.com/jaredwray/keyv/pull/1115
- updating readme on addHandler for hooks by @jaredwray in https://github.com/jaredwray/keyv/pull/1116
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-08-20...2024-08-21
v5 of Keyv and Major Storage Adapters Updated
There a couple big `BREAKING` changes:
- We are no longer supporting URI via the API instead you will need to pass in the storage adapter. To learn more go here: https://keyv.org/docs/v4-to-v5/
- Nodejs 18 - We are no longer testing Nodejs 18 and have moved to 20 and 22
- Hooks and Events have been updated. Check it out here: https://github.com/jaredwray/keyv/blob/main/packages/keyv/README.md#hooks
What's Changed
- fix(redis): do not error calling clear with empty keys and `useRedisSets` false by @ComfortablyCoding in https://github.com/jaredwray/keyv/pull/964
- tiered - fixing the nodejs version to 16 by @jaredwray in https://github.com/jaredwray/keyv/pull/987
- Fixing keyv has issue with map and expired keys by @jaredwray in https://github.com/jaredwray/keyv/pull/988
- no longer supporting node 16 by @jaredwray in https://github.com/jaredwray/keyv/pull/1000
- adding in stats to keyv by @jaredwray in https://github.com/jaredwray/keyv/pull/1001
- compress-brotli - upgrading tsd and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1020
- compress-gzip - upgrading modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1021
- compress-gzip - upgrading modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1022
- etcd - upgrading typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1023
- etcd - upgrading c8 and webpack by @jaredwray in https://github.com/jaredwray/keyv/pull/1024
- keyv - upgrading eslint and tsd to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1025
- memcache - upgrading memjs to 1.3.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1026
- mongo - upgrading tsd and @ava/typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1027
- feat: remove deprecated json-buffer dependency by @drodil in https://github.com/jaredwray/keyv/pull/1038
- removing the bad promise value on the compression adapters by @jaredwray in https://github.com/jaredwray/keyv/pull/1039
- updating tests and also modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1040
- Migrate tests to vitest by @chrisllontop in https://github.com/jaredwray/keyv/pull/1043
- Add ESM support and test updates by @chrisllontop in https://github.com/jaredwray/keyv/pull/1050
- mono - upgrading mono repo dependencies by @jaredwray in https://github.com/jaredwray/keyv/pull/1052
- mono - upgrading vitest to 1.6.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1053
- mono - upgrading c8 to 9.1.0 and modules to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1054
- compress-gzip - removing eslint parser as no longer needed by @jaredwray in https://github.com/jaredwray/keyv/pull/1055
- mongo - upgrading to latest mongodb driver and removing pify by @jaredwray in https://github.com/jaredwray/keyv/pull/1056
- sqlite - upgrading sqlite3 to 5.1.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1057
- postgres - upgrading pg to 8.11.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/1058
- mysql - upgrading mysql2 to 3.9.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1059
- etcd - upgrading typescript to 5.4.5 and removing ava by @jaredwray in https://github.com/jaredwray/keyv/pull/1060
- tiered - upgrading c8 to 9.1.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1061
- tiered - upgrading eslint to 9.3.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1062
- moving all packages to keyv 5.0.0-rc.1 dependency by @jaredwray in https://github.com/jaredwray/keyv/pull/1063
- Add support esm for remaining modules by @chrisllontop in https://github.com/jaredwray/keyv/pull/1064
- keyv - removing pify as no longer needed by @jaredwray in https://github.com/jaredwray/keyv/pull/1067
- memcache - upgrading buffer to 6.0.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/1068
- memcache - upgrading typescript to 5.4.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/1069
- test-suite - upgrading sqlite3 to 5.1.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1070
- offline - upgrading tsd and ts-node to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1071
- Update MySQL2 by @BeastGamer81 in https://github.com/jaredwray/keyv/pull/1072
- postgres - upgrading pg to 8.12.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1074
- mysql - upgrading mysql2 to 3.10.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1075
- etcd - upgrading webpack and c8 to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1076
- tiered - upgrading tsd and typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1077
- tiered - upgrading c8 and eslint to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1078
- keyv - updating the keywords by @jaredwray in https://github.com/jaredwray/keyv/pull/1080
- updating to distribute the LISCENCE file by @jaredwray in https://github.com/jaredwray/keyv/pull/1083
- #1084 Implement disconnect for mongodb adapter to support a graceful shutdown. by @tatejones in https://github.com/jaredwray/keyv/pull/1085
- #1087 Support iterator on MongoDb adapter with GridFS enabled by @tatejones in https://github.com/jaredwray/keyv/pull/1088
- Handle clearing of an already cleared MongoDb Adapter store (GridFS enabled) by @tatejones in https://github.com/jaredwray/keyv/pull/1089
- mono - upgrading xo to 0.59.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1090
- mono - upgrading xo to 0.59.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1091
- mono - upgrading typescript and webpack to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1092
- mono - upgrading vitest to 2.0.4 by @jaredwray in https://github.com/jaredwray/keyv/pull/1093
- sqlite - upgrading xo to 0.59.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1094
- postgres - upgrading xo to 0.59.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1095
- mysql - upgrading xo to 0.59.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1096
- mysql - upgrading mysql2 to 3.10.3 by @jaredwray in https://github.com/jaredwray/keyv/pull/1097
- etcd - upgrading xo to 0.59.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1098
- tiered - upgrading xo to 0.59.2 by @jaredwray in https://github.com/jaredwray/keyv/pull/1099
- Upgrading documentation for v5 launch by @jaredwray in https://github.com/jaredwray/keyv/pull/1100
- adding in v4 to v5 migration documentation by @jaredwray in https://github.com/jaredwray/keyv/pull/1101
- Updating to support of nodejs 20 and 22. removing support for nodejs 18 by @jaredwray in https://github.com/jaredwray/keyv/pull/1102
- updating website issue with rendering code by @jaredwray in https://github.com/jaredwray/keyv/pull/1104
- updating docs to v5 by @jaredwray in https://github.com/jaredwray/keyv/pull/1105
- removing adapter from options as no longer needed by @jaredwray in https://github.com/jaredwray/keyv/pull/1106
- Add third-party test with keyv5 by @chrisllontop in https://github.com/jaredwray/keyv/pull/1108
- Add validation method for storage adapters by @chrisllontop in https://github.com/jaredwray/keyv/pull/1110
- Add any support for store tests by @chrisllontop in https://github.com/jaredwray/keyv/pull/1111
- v5 release by @jaredwray in https://github.com/jaredwray/keyv/pull/1112
New Contributors
- @drodil made their first contribution in https://github.com/jaredwray/keyv/pull/1038
- @BeastGamer81 made their first contribution in https://github.com/jaredwray/keyv/pull/1072
- @tatejones made their first contribution in https://github.com/jaredwray/keyv/pull/1085
Full Changelog: https://github.com/jaredwray/keyv/compare/2023-12-02...2024-08-20
What's Changed
- sqlite - upgrading tsd to 0.31.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1032
- postgres - upgrading pg to 8.11.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/1033
- mysql - upgrading mysql2 to 3.9.7 by @jaredwray in https://github.com/jaredwray/keyv/pull/1034
- etcd - upgrading webpack tsd and typescript to latest by @jaredwray in https://github.com/jaredwray/keyv/pull/1035
- tiered - upgrading eslint to 9.1.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1036
- memcache - upgrading typescript to 5.4.5 by @jaredwray in https://github.com/jaredwray/keyv/pull/1044
- redis - upgrading tsd to 0.31.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1045
- redis - upgrading ioredis to 5.4.1 by @jaredwray in https://github.com/jaredwray/keyv/pull/1046
- offline - upgrading tsd to 0.31.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1047
- compress-brotli - upgrading webpack to 5.91.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1048
- compress-gzip - upgrading eslint to 9.2.0 by @jaredwray in https://github.com/jaredwray/keyv/pull/1049
Full Changelog: https://github.com/jaredwray/keyv/compare/2024-03-16...2024-05-04
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
(...)` 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:
```js
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