Skip to content

v5.4.0

Latest
Compare
Choose a tag to compare
@75lb 75lb released this 01 Aug 08:47

There were no breaking changes to the API, the minimum version of Node is still v12.20.

Bug fixes

  • If your local ws connection is insecure (HTTP) and you're rewriting one or more routes to a secure (HTTPS/HTTP2) remote server, if the remote response sets a cookie with the attribute secure then that attribute is removed (which is necessary else the browser will refuse to store it via an insecure connection). With this new release, lws-rewrite also removes SameSite=none if it is set alongside secure. See lwsjs/rewrite#14.
  • Max body-parser file size is now 500MB by default (previously, lws would throw an error if attempting to parse a file greater than 1MB). #130
  • Prevent stored config being parsed twice. Fixes #176
  • Dependencies upgraded to address security warnings within the dep tree.