Skip to content

2022-11-06

Compare
Choose a tag to compare
@jaredwray jaredwray released this 06 Nov 23:59
· 641 commits to main since this release

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

New Contributors

Full Changelog: 2022-10-17...2022-11-06