Skip to content

Releases: haroldiedema/byteshift-harmony

Add support for async service containers

20 Dec 15:30
Compare
Choose a tag to compare
  • Add support for async service containers

Added support for HTTP/2

26 Jul 20:40
Compare
Choose a tag to compare

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

22 Jul 08:48
Compare
Choose a tag to compare

Added an option to provide maxProfiles and a firewall callback for the profiler interface.

Fixed profile timer stopping too early.

21 Jul 18:45
Compare
Choose a tag to compare

BUGFIX: Fixed profile timer stopping too early.

Introduced JSX SSR & Server profiling

21 Jul 18:37
Compare
Choose a tag to compare

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

29 Sep 07:15
Compare
Choose a tag to compare

Updated build.

26 Sep 23:42
874e97c
Compare
Choose a tag to compare
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.

19 Sep 20:39
cf06ae3
Compare
Choose a tag to compare
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.

19 Sep 09:36
316a8bb
Compare
Choose a tag to compare
1.2.6

Changed key to session id: string, instead of request object (#1)

Add isSecure to Request

22 Jul 07:27
Compare
Choose a tag to compare
1.2.5

Add isSecure to Request to detect HTTPS/TSL connections