Skip to content

Releases: ServerHubOrg/serverhub-mvc

Fix bugs when loading binary files

30 Nov 14:35
Compare
Choose a tag to compare
Pre-release

Fix

(From merge #18 )

  1. Type converting issues
    When the original data is a binary file, the old functions tried to call toString() method on chunk (Buffer object) and pass it to write() method on http.ServerResponse instances. This may cause a wrong calculation of data loaded and the client cannot parse the response data correctly.
  2. Header name too strict
    Old version of ServerHub only support setting HTTP header names like "Content-Type", but not everyone can remember that. So this merge contains update to that function that auto convert to lower-cases before actual comparison.

WebSocket Support

27 Aug 15:16
58033ce
Compare
Choose a tag to compare

After several days of test, a new version of serverhub-mvc is released.

Add

Fix v1.5.0

20 Jul 14:10
Compare
Choose a tag to compare

Fix

  • Version 1.5.0 will refuse HTTP requests coming to your server when no middleware defined.

All users are STRONGLY suggested to upgrade to v1.5.1 to avoid crashing your site.

Middleware Available

19 Jul 01:37
Compare
Choose a tag to compare

Add

  • Middleware support
    You can now easily filter request URL and execute some extra operations on them (or anonymous analysis).

Fix

  • Error handling
    Errors may crash serverhub-mvc previous versions when it is unable to connect to Internet.

Update

  • Redesign default 404 page.
  • Write all system errors to log file.

Internal Logger Being Used

15 Jun 22:38
2b5e48f
Compare
Choose a tag to compare

A few updates since v1.3.0:

  • Reduce frequency of creating new log files.
  • Optimize runtime/compile-time log usage.

New route engine

14 Jun 12:02
Compare
Choose a tag to compare

Here is a major update to ServerHub's route engine: Runtime Route Algorithm v2.

Detailed introduction should be available along with ServerHub's new document site (late July, 2018).

Log service imported

03 Jun 03:46
52fc62f
Compare
Choose a tag to compare

You may access the log service like the following example:

global.LogService.Error('error', 'Cannot create connection to https://www.google.com.');

If you want to modify default log configuration, there is a LogConfig property, which will be covered in our docs.

ServerHub official website release

21 May 12:06
Compare
Choose a tag to compare

Add

Fix

  • Unable to resolve query string in top level route request.
  • Unstable HTTP->HTTPS redirection

HTTP -> HTTPS Auto Redirect with Fix

10 May 15:51
Compare
Choose a tag to compare

As v1.1.0 has an fatal bug that could crash your website, we immediately released v1.1.1 to fix that issue.

This release contains auto HTTP to HTTPS redirect feature (when you opened at least one TLS secured port).

[DEPRECATED] HTTP Traffic Redirected to HTTPS

10 May 09:56
Compare
Choose a tag to compare

Please upgrade to v1.1.1 which fixed the fatal issue in v1.1.0.
This release is very helpful to those who has set up TLS support for their website. All traffic to your HTTP ports will be redirected to HTTPS once you start at least one TLS secured port.

Add

  • Redirects HTTP to HTTPS.

Update

  • ServerHub supports multiple property names to configure TLS/SSL support.