2022-11-06
Release Notes for 2022-11-06
We have some new updates around mysql
and postgres
storage adapters and a ton of maintenance updates!
Posgres - SSL Support!
We are now supporting SSL for Postgres and thanks to @wgwz for adding this feature! 🎉
const options = {ssl: {rejectUnauthorized: false}};
const keyv = new KeyvPostgres({uri: 'postgresql://postgres:postgres@localhost:5433/keyv_test', ...options})
MySQL - SSL Support!
We now do SSL support inside the MySQL storage adapter. Thanks to @alphmth for adding this feature! 💥
const options = {
ssl: {
rejectUnauthorized: false,
ca: fs.readFileSync(path.join(__dirname, '/certs/ca.pem')).toString(),
key: fs.readFileSync(path.join(__dirname, '/certs/client-key.pem')).toString(),
cert: fs.readFileSync(path.join(__dirname, '/certs/client-cert.pem')).toString(),
},
};
const keyv = new KeyvMysql({uri: 'mysql://root@localhost:3307/keyv_test'});
What's Changed
- Getting Started Guide 🎉 by @cprendergast19 in #530
- fixed ts issue by @alphmth in #534
- Created How to Implement Caching in Javascript Page by @cprendergast19 in #533
- ssl configs for mysql by @alphmth in #532
- Allow passing ssl config options for @keyv/postgres by @wgwz in #529
- keyv - upgrading ava to 5.0.1 by @jaredwray in #535
- keyv - upgrading eslint to 8.26.0 by @jaredwray in #536
- keyv - upgrading xo to 0.52.4 by @jaredwray in #537
- memcache - upgrading ava to 5.0.1 by @jaredwray in #538
- redis - upgrading ava to 5.0.1 by @jaredwray in #539
- redis - upgrading xo to 0.52.4 by @jaredwray in #540
- redis - upgrading ioredis to 5.2.4 by @jaredwray in #541
- redis - removing @types/keyv as no longer needed by @jaredwray in #542
- test-suite - upgrading ava to 5.0.1 by @jaredwray in #543
- test-suite - upgrading xo to 0.52.4 by @jaredwray in #544
- offline - upgrading ava to 5.0.1 by @jaredwray in #545
- offline - upgrading xo to 0.52.4 by @jaredwray in #546
- compress-brotli - upgrading ava to 5.0.1 by @jaredwray in #547
- compress-brotli - upgrading xo to 0.52.4 by @jaredwray in #548
- compress-brotli - upgrading typescript and components to latest by @jaredwray in #549
- compress-gzip - upgrading ava to 5.0.1 by @jaredwray in #550
- compress-gzip - upgrading xo to 0.52.4 by @jaredwray in #551
- compress-gzip - upgrading typescript and components to latest by @jaredwray in #552
- compress-gzip - removing this as no longer needed by @jaredwray in #553
- compress-brotli - removing this module as no longer needed by @jaredwray in #554
- testing code coverage by @jaredwray in #555
New Contributors
- @cprendergast19 made their first contribution in #530
- @wgwz made their first contribution in #529
Full Changelog: 2022-10-17...2022-11-06