2024-08-20 - v5 Release!
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 #964 - tiered - fixing the nodejs version to 16 by @jaredwray in #987
- Fixing keyv has issue with map and expired keys by @jaredwray in #988
- no longer supporting node 16 by @jaredwray in #1000
- adding in stats to keyv by @jaredwray in #1001
- compress-brotli - upgrading tsd and c8 to latest by @jaredwray in #1020
- compress-gzip - upgrading modules to latest by @jaredwray in #1021
- compress-gzip - upgrading modules to latest by @jaredwray in #1022
- etcd - upgrading typescript to latest by @jaredwray in #1023
- etcd - upgrading c8 and webpack by @jaredwray in #1024
- keyv - upgrading eslint and tsd to latest by @jaredwray in #1025
- memcache - upgrading memjs to 1.3.2 by @jaredwray in #1026
- mongo - upgrading tsd and @ava/typescript to latest by @jaredwray in #1027
- feat: remove deprecated json-buffer dependency by @drodil in #1038
- removing the bad promise value on the compression adapters by @jaredwray in #1039
- updating tests and also modules to latest by @jaredwray in #1040
- Migrate tests to vitest by @chrisllontop in #1043
- Add ESM support and test updates by @chrisllontop in #1050
- mono - upgrading mono repo dependencies by @jaredwray in #1052
- mono - upgrading vitest to 1.6.0 by @jaredwray in #1053
- mono - upgrading c8 to 9.1.0 and modules to latest by @jaredwray in #1054
- compress-gzip - removing eslint parser as no longer needed by @jaredwray in #1055
- mongo - upgrading to latest mongodb driver and removing pify by @jaredwray in #1056
- sqlite - upgrading sqlite3 to 5.1.7 by @jaredwray in #1057
- postgres - upgrading pg to 8.11.5 by @jaredwray in #1058
- mysql - upgrading mysql2 to 3.9.7 by @jaredwray in #1059
- etcd - upgrading typescript to 5.4.5 and removing ava by @jaredwray in #1060
- tiered - upgrading c8 to 9.1.0 by @jaredwray in #1061
- tiered - upgrading eslint to 9.3.0 by @jaredwray in #1062
- moving all packages to keyv 5.0.0-rc.1 dependency by @jaredwray in #1063
- Add support esm for remaining modules by @chrisllontop in #1064
- keyv - removing pify as no longer needed by @jaredwray in #1067
- memcache - upgrading buffer to 6.0.3 by @jaredwray in #1068
- memcache - upgrading typescript to 5.4.5 by @jaredwray in #1069
- test-suite - upgrading sqlite3 to 5.1.7 by @jaredwray in #1070
- offline - upgrading tsd and ts-node to latest by @jaredwray in #1071
- Update MySQL2 by @BeastGamer81 in #1072
- postgres - upgrading pg to 8.12.0 by @jaredwray in #1074
- mysql - upgrading mysql2 to 3.10.1 by @jaredwray in #1075
- etcd - upgrading webpack and c8 to latest by @jaredwray in #1076
- tiered - upgrading tsd and typescript to latest by @jaredwray in #1077
- tiered - upgrading c8 and eslint to latest by @jaredwray in #1078
- keyv - updating the keywords by @jaredwray in #1080
- updating to distribute the LISCENCE file by @jaredwray in #1083
- #1084 Implement disconnect for mongodb adapter to support a graceful shutdown. by @tatejones in #1085
- #1087 Support iterator on MongoDb adapter with GridFS enabled by @tatejones in #1088
- Handle clearing of an already cleared MongoDb Adapter store (GridFS enabled) by @tatejones in #1089
- mono - upgrading xo to 0.59.0 by @jaredwray in #1090
- mono - upgrading xo to 0.59.1 by @jaredwray in #1091
- mono - upgrading typescript and webpack to latest by @jaredwray in #1092
- mono - upgrading vitest to 2.0.4 by @jaredwray in #1093
- sqlite - upgrading xo to 0.59.2 by @jaredwray in #1094
- postgres - upgrading xo to 0.59.2 by @jaredwray in #1095
- mysql - upgrading xo to 0.59.2 by @jaredwray in #1096
- mysql - upgrading mysql2 to 3.10.3 by @jaredwray in #1097
- etcd - upgrading xo to 0.59.2 by @jaredwray in #1098
- tiered - upgrading xo to 0.59.2 by @jaredwray in #1099
- Upgrading documentation for v5 launch by @jaredwray in #1100
- adding in v4 to v5 migration documentation by @jaredwray in #1101
- Updating to support of nodejs 20 and 22. removing support for nodejs 18 by @jaredwray in #1102
- updating website issue with rendering code by @jaredwray in #1104
- updating docs to v5 by @jaredwray in #1105
- removing adapter from options as no longer needed by @jaredwray in #1106
- Add third-party test with keyv5 by @chrisllontop in #1108
- Add validation method for storage adapters by @chrisllontop in #1110
- Add any support for store tests by @chrisllontop in #1111
- v5 release by @jaredwray in #1112
New Contributors
- @drodil made their first contribution in #1038
- @BeastGamer81 made their first contribution in #1072
- @tatejones made their first contribution in #1085
Full Changelog: 2023-12-02...2024-08-20