Skip to content

Releases: jaredwray/keyv

2023-03-06

06 Mar 18:04
Compare
Choose a tag to compare

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 #679

What's Changed

New Contributors

Full Changelog: 2023-02-19...2023-03-06

2023-02-19

19 Feb 17:47
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2023-02-04...2023-02-19

2023-02-04

04 Feb 21:19
33e592a
Compare
Choose a tag to compare

Redis v2.5.5

Update released with upgraded ioredis (v5.3.0) 🎉

What's Changed

New Contributors

Full Changelog: 2023-01-21...2023-02-04

2023-01-21

21 Jan 18:17
Compare
Choose a tag to compare

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

Full Changelog: 2022-01-07...2023-01-21

2022-01-07

08 Jan 00:40
Compare
Choose a tag to compare

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

Full Changelog: 2022-12-17...2022-01-07

2022-12-17

17 Dec 21:00
Compare
Choose a tag to compare

@keyv/sqlite is now upgraded

The module has the latest update of sqlite3 now!

What's Changed

New Contributors

Full Changelog: 2022-12-05...2022-12-17

2022-12-05

05 Dec 18:20
Compare
Choose a tag to compare

Maintenance Release 🎉

Majup updates to xo, ava, and core development libraries. Very minor changes overall.

What's Changed

Full Changelog: 2022-11-24...2022-12-05

2022-11-24

24 Nov 16:25
Compare
Choose a tag to compare

Maintenance Release 2022-11-24

Most of the updates on this recent release are bug fixes or module updates. Here are the bug fixes:

  • Exposing the disconnect() function via Typescript - redis issue 558 disconnect definition fix by @jaredwray in #561
  • When using the {opts.compression} parameter with a compression component it is not working because it is async/await fixed issue 559 by @alphmth in #563 (Thanks @alphmth) 🥇
  • Typescript Error because of CompressionAdapter on v4.5.1 of Keyv - #557 (Thanks @ODudek!) 🎉

What's Changed

New Contributors

Full Changelog: 2022-11-06...2022-11-24

2022-11-06

06 Nov 23:59
Compare
Choose a tag to compare

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

2022-10-17

17 Oct 20:25
fb9ad27
Compare
Choose a tag to compare

2022-10-17 Release

There has been some bigger updates around the compression libraries and also updates to many of the packages. As always, this includes dependency updates which you can see below under What's Changed. Let's get started:

Typescript update to many of the storage adapters adding in <Value=any>

This was a fix for #512 and we have tested it but happy for any feedback on it.

Compression Packages are now more robust!

We did our initial look at how to add compression into the system and with this latest release made it much more robust. Currently supporting compress-brotli and compress-gzip each one of the packages now have type definitions and the main Keyv has an interface to define what these should look like:

	interface CompressionAdapter {
		async compress(value: any, options?: any);
		async decompress(value: any, options?: any);
		async serialize(value: any);
		async deserialize(value: any);
	}

To use these compression libraries you can do the following:

const KeyvBrotli = require('@keyv/compress-brotli');
const Keyv = require('keyv');

const keyv = new Keyv({store: new Map(), compression: new KeyvBrotli()});

NOTE: when you do use compression the functions serialize and deserialize are overwritten.

What's Changed

Full Changelog: 2022-09-19...2022-10-17