Skip to content

Releases: garthenweb/webp-middleware

v0.4.0

24 Mar 23:30
Compare
Choose a tag to compare
  • [2be3df5] update dependencies, including latest version of cwebp-bin

v0.3.2

14 Jun 19:58
Compare
Choose a tag to compare
  • Fixes issue where the webp file is not sent to the client when req.headers.accept is a string (#2) @AubreyHewes

Bugfix

01 Jun 21:54
Compare
Choose a tag to compare

Fixes a bug that throws an error when no accept header was send by the client.

Vary Header

01 May 21:50
Compare
Choose a tag to compare

In this release the Vary: Accept http header is added to allow caching proxies to distinguish between different files that are send.

Updating dependencies

24 Apr 12:05
Compare
Choose a tag to compare

This release is a small maintenance update that updates dependencies and cleans up some lines of code.

Further the default value for the cache directory (options.cacheDir) is changed from __dirname + '/../../webp-cache' to path.join(process.cwd(), 'webp-cache').

Fixes for express v4

29 Mar 21:50
Compare
Choose a tag to compare

#1: Fix res.sendfile method to not throw a deprecation warning on express v4 by @MJefferson.