Releases: haroldiedema/byteshift-harmony
Releases · haroldiedema/byteshift-harmony
Add support for async service containers
- Add support for async service containers
Added support for HTTP/2
Added support for HTTP/2
Use the constructor option httpVersion
to specify the version of the HTTP server. Can be either 1
or 2
. Defaults to 1
if unspecified for backwards compatibility.
A server running HTTP/2 requires enableHttps
to be true and httpsOptions
to be defined with at least a key
and cert
or ca
option.
E.g.:
new Harmony({
port: 443,
httpVersion: 2,
enableHttps: true,
httpsOptions: {
key: fs.readFileSync('/path/to/priv-key.pem').toString(),
cert: fs.readFileSync('/path/to/cert.pem').toString(),
}
}).start();
Add additional profiler options
Added an option to provide maxProfiles and a firewall callback for the profiler interface.
Fixed profile timer stopping too early.
BUGFIX: Fixed profile timer stopping too early.
Introduced JSX SSR & Server profiling
New features
- Server side rendering of JSX from controllers.
- Server profiler with an interface (can enabled via the
enableProfiler
option)
Bugfixes
- Fixed a bug that could cause a crash when too large files were being uploaded.
[BUGFIX] Dont send a response if it was already sent internally
1.2.9 Updated build
Updated build.
1.2.8 Current build is broken by back-merge, fixed (#3)
[BUGFIX] Fix non-existing session-id on initial request while session manager is enabled.
1.2.7 Session in controller was undefined if no cookie exists (#2)
[BUGFIX] Fixed session manager to fetch active session object by key instead of object.
1.2.6 Changed key to session id: string, instead of request object (#1)
Add isSecure to Request
1.2.5 Add isSecure to Request to detect HTTPS/TSL connections