SEE https://github.com/koajs/compress/releases
- fix issue with state being preserved between requests
- drop support for versions of node below 10
- add brotli support for versions of node that support it
- changed compression options;
options
is no longer passed to each compression function. Useoptions.gzip = {}
,options.br = {}
, etc. - added compression disabling option: set
options.br = false
- support no-transform @Pawda
- republish 2.1.0 as it switches to async functions
- do not compress if the response is not writable
- switch testing frameworks to jest
- implement linting
- bump compressible
- bump bytes
- refactor
- use statuses
- bump bytes
- refactor to use koa-is-json
- skip compression if content-encoding is not set
- fix for threshold and JSON bodies @logicoder
- remove
app.jsonSpaces
support
- fix for when
identity;q=0
- update compressible
- use
yield* next
- use compressible