Skip to content

Releases: fyrejet/fyrejet

4.0.1

30 Sep 22:00
Compare
Choose a tag to compare

4.0.0

28 Sep 14:29
01dffb2
Compare
Choose a tag to compare

Notable changes:

  • Greatly improved performance

Breaking changes:

  • It is no longer possible to modify Fyrejet's request and response prototypes. If you need to add new request or response functionality, consider adding new functions or objects to req and res objects via middleware. This change is made to greatly improve performance

  • res.sendfile is deleted. Should not significantly impact anyone, as res.sendfile is deprecated for a long time in Express 4.

  • Major internal routing & init middleware changes to optimize performance. Behaviour is the same, but over 50% of the code is rewritten or reorganised, so it is mentioned just to be safe

  • app.settings implementation now relies on proxy object

3.2.0

12 Sep 11:50
Compare
Choose a tag to compare

This release introduces the following changes:

  • Reworked init middleware and how it is called by the routing component. This change decreases the amount of work that needs to be done by the server, thus increasing performance
  • Minor code cleanups

None of the changes are considered breaking.

3.1.0

16 Mar 14:42
Compare
Choose a tag to compare
  • Fixes potential bug in uwsCompat
  • Improves OPTIONS request handling
  • Revamps request error-handling, increasing HTTP performance as a result

3.0.2

08 Mar 12:26
Compare
Choose a tag to compare

Remove low-http-server

3.0.1

08 Mar 12:17
5d7b6bf
Compare
Choose a tag to compare

Remove uWebSockets.js from devDependencies

3.0.0

01 Mar 16:42
c97ffdf
Compare
Choose a tag to compare

Breaking changes from 2.x to 3.x

  • For general performance reasons, special modes have been removed from this major version (except route-wide no etag option)
  • Fyrejet no longer implements any req properties from Express. The properties are now reimplemented as methods. So, for instance, to get protocol, you should use req.protocol() instead of req.protocol. While this breaks compatibility, this helps to raise performance.
    • req.method and req.url are not affected since they are native to node.js's http module
  • res.send ability to set HTTP status code is removed for performance reasons (deprecated functionality from Express).
  • req.host() is removed, since req.hostname() is available.
  • req.acceptsEncoding, req.acceptsCharset and req.acceptsLanguage are removed in favour of req.acceptsEncodings, req.acceptsCharsets and req.acceptsLanguages.

v2.4.0

09 Nov 15:16
1ac5609
Compare
Choose a tag to compare
  • Dependencies changes
  • uwsCompat fixes
  • Reintroduced Node 10 support (except for uwsCompat)
  • Code clean-ups

v2.3.0

07 Nov 13:01
f012ff7
Compare
Choose a tag to compare
  • Examples are fixed
  • Minor uWS compatibility fixes
  • Code cleanup
  • Improved performance

v2.2.1

20 Oct 09:57
cb92dcd
Compare
Choose a tag to compare

Version 2.2.0 was erroneously released, without making sure it could not be installed on node.js versions lower than 12.
Version 2.2.1 fixes that