Skip to content

2022-09-02

Compare
Choose a tag to compare
@jaredwray jaredwray released this 02 Sep 17:06
· 727 commits to main since this release

Compression Adapters for Keyv >=4.5.0 (Breaking Change ⚠️ )

In the past Keyv had built in Brotli compression support by using the option {compress: true}. With this change you now need to provide the compression adapter:

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

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

In addition we now support Brotli and Gzip via the following adapters 🎉 :

  • brotli: Brotli compression adapter
  • Gzip: Gzip compression adapter

What's Changed

  • added-brotli by @alphmth in #433
  • adding in readme for @keyv/compress-brotli by @jaredwray in #453
  • moving to serialize the test suites by @jaredwray in #454
  • updating tiered readme to have correct urls by @jaredwray in #456
  • Gzip compression by @alphmth in #457
  • compress-brotli - adding in webpack dependency by @jaredwray in #459
  • compress-gzip - adding in readme by @jaredwray in #460
  • Readme updates to support compression packages by @jaredwray in #461
  • support pako by @alphmth in #462

Full Changelog: 2022-08-21...2022-09-02