Skip to content

Releases: roncli/hot-router

v2.0.0 Beta 7

17 Feb 00:43

Choose a tag to compare

v2.0.0 Beta 7 Pre-release
Pre-release
  • Breaking change: Changed getRouter method to setRoutes. This method now also takes the Express or WebSocketExpress app as a parameter and sets up the routes on it, instead of returning a router that you have to plug into the app yourself. You can also now pass the webRoot and webSocketRoot options to this method, which will set the root path for the web and web socket routes, respectively.
  • Require node.js 18.14.0.
  • Various bug fixes of edge cases.
  • Near-complete unit tests.
  • Package updates.

v2.0.0 Beta 6

05 Oct 20:35

Choose a tag to compare

v2.0.0 Beta 6 Pre-release
Pre-release
  • Fix bug with HEAD request not working correctly when there is no HEAD method defined in the route class.

v2.0.0 Beta 5

05 Oct 20:16

Choose a tag to compare

v2.0.0 Beta 5 Pre-release
Pre-release
  • Better fix for the HEAD request.
  • Package updates.

v2.0.0 Beta 4

25 Sep 04:40

Choose a tag to compare

v2.0.0 Beta 4 Pre-release
Pre-release
  • Require node.js 18.
  • Updated error messages to remove IP addresses and change the order of the path and URL to make more sense.
  • Fix incorrect error when headers are already sent.
  • Fix a crash due to Express calling GET when HEAD is requested.
  • Package updates.

v2.0.0 Beta 3

07 Apr 05:15

Choose a tag to compare

v2.0.0 Beta 3 Pre-release
Pre-release
  • Add a catchAll option for routes that handles anything that doesn't match other routes.

v2.0.0 Beta 2

06 Apr 23:39

Choose a tag to compare

v2.0.0 Beta 2 Pre-release
Pre-release
  • Allow RegExp objects for a Route's path.

v2.0.0 Beta 1

05 Apr 19:06

Choose a tag to compare

v2.0.0 Beta 1 Pre-release
Pre-release
  • Upgrade to express v5.
  • Replace express-ws with websocket-express, which supports express v5.
  • Removed some internals of RouterBase from the default route property.
  • Implement basic 404 (4404) and 500 (1011) websocket routes.

v1.0.4

29 Mar 19:34

Choose a tag to compare

  • Improve typings.
  • Add jest unit tests.
  • Package updates.

v1.0.3

06 Aug 19:28
2246b3c

Choose a tag to compare

  • Package updates.

v1.0.2

15 Jul 03:52

Choose a tag to compare

  • Fix bug with web socket connection event.