Releases: fyrejet/fyrejet
4.0.1
- Fixes bug with
req.query
that caused querystring to stop being processed after the first "?" symbol, e.g. http://localhost:3000/pets/?cats=true?dogs=true resulted in{"cats": "true"}
instead of{"cats": "true?dogs=true"}
4.0.0
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
andres
objects via middleware. This change is made to greatly improve performance -
res.sendfile
is deleted. Should not significantly impact anyone, asres.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
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
- Fixes potential bug in uwsCompat
- Improves OPTIONS request handling
- Revamps request error-handling, increasing HTTP performance as a result
3.0.2
Remove low-http-server
3.0.1
Remove uWebSockets.js from devDependencies
3.0.0
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 usereq.protocol()
instead ofreq.protocol
. While this breaks compatibility, this helps to raise performance.req.method
andreq.url
are not affected since they are native to node.js'shttp
module
res.send
ability to set HTTP status code is removed for performance reasons (deprecated functionality from Express).req.host()
is removed, sincereq.hostname()
is available.req.acceptsEncoding
,req.acceptsCharset
andreq.acceptsLanguage
are removed in favour ofreq.acceptsEncodings
,req.acceptsCharsets
andreq.acceptsLanguages
.
v2.4.0
- Dependencies changes
- uwsCompat fixes
- Reintroduced Node 10 support (except for uwsCompat)
- Code clean-ups
v2.3.0
- Examples are fixed
- Minor uWS compatibility fixes
- Code cleanup
- Improved performance
v2.2.1
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