Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: routup/routup

v4.0.2

25 Jun 08:41

Choose a tag to compare

4.0.2 (2025-06-25)

Bug Fixes

  • deps: bump negotiator from 0.6.3 to 1.0.0 (#700) (84edd77)
  • deps: bump the minorandpatch group with 3 updates (#758) (c0117b3)

v4.0.1

15 Sep 21:34

Choose a tag to compare

4.0.1 (2024-09-15)

Bug Fixes

  • deps: bump path-to-regexp from 7.0.0 to 7.1.0 (#625) (23fcd28)
  • deps: bump path-to-regexp to v8.x (87048a1)

v4.0.0

29 Jun 07:47

Choose a tag to compare

4.0.0 (2024-06-29)

Features

  • bump path-to-regexp to v7.x (9a82dc8)
  • utility to set/get property of req/res (c070a80)

BREAKING CHANGES

  • remove support for regex as path input

v3.3.0

30 Mar 10:08

Choose a tag to compare

3.3.0 (2024-03-30)

Bug Fixes

  • deps: bump mime-explorer from 1.0.0 to 1.1.0 (#461) (d9c3ab9)
  • deps: bump readable-stream from 4.4.2 to 4.5.2 (#482) (5dab8f3)
  • deps: bump smob from 1.4.1 to 1.5.0 (#538) (53bb4ae)
  • mark response as terminated after event stream is closed (3efdef1)

Features

  • initial server-sent events implementation (67c45c3)
  • sse emit close & error event (cb4fdfe)

v3.2.0

06 Nov 10:15

Choose a tag to compare

3.2.0 (2023-11-06)

Features

  • include stream, web- & web-response detection in send helper (f59977e)

v3.1.0

22 Oct 17:35

Choose a tag to compare

3.1.0 (2023-10-22)

Bug Fixes

  • check dispatched status after hook execution (1be1d9e)
  • deps: bump @ebec/http to v2.3.0 & check for inherited properties (e8495f0)
  • remove dispatch fail hook (05342d0)
  • remove match hook type (64eaeb6)
  • rename error-proxy to routup-error (4a6e1b2)
  • rename handler hooks to child (888a57d)

Features

  • contextualize hook listeners (7c3a7ce)
  • dispatch pipeline (#420) (321b811)
  • dispatcher event attribute to call next router/handler (0a1efa7)
  • dynamic getter/setter for event dispatched property (34f0750)
  • hook system (#411) (137b2fa)
  • merge dispatcher-event & dispatcher-meta (ad0afab)
  • method name enum to uppercase & add method property to dispatcher event (709666e)
  • renamed dispatcher event properties: req -> request, res -> response (36a2401)
  • return handler instance on define handler usage (84dfdd1)

v3.0.0

04 Oct 10:23

Choose a tag to compare

3.0.0 (2023-10-04)

Bug Fixes

  • cleanup router, route & layer (78aa73d)
  • deps: bump @ebec/http from 2.2.1 to 2.2.2 (#402) (737be95)
  • deps: bump smob from 1.4.0 to 1.4.1 (#382) (c3a19eb)
  • don't pass plugin options as extra fn argument (d05e4c9)
  • remove undocumented timeout router option (c4b2bae)
  • set remote address for mock request (5649d9e)

Features

  • add define (error-) handler helpers for intellisense (2318115)
  • allways create new router instance on plugin installation (e77022f)
  • argument overloading for http method handler registration (72393c4)
  • context (error-) handler style (72af754)
  • implemented plugin system (808dd72)
  • implicit and explicit handler definition variant (02caec8)
  • recognize handlers by type property in addition to the number of fn arguments (86dcc18)
  • remove body-, cookie- & query-helper (bcc0347)
  • remove implicit handler recognition (8d623f1)
  • remove route interface between router and layer (b149002)
  • wrap any error like object & extract error information (#377) (59f2a72)

Performance Improvements

  • use typeof instead of instanceof for instance check (c98a070)

BREAKING CHANGES

  • removed request helper fns
  • handler must be defined with helper fn

v3.0.0-alpha.3

29 Sep 15:47

Choose a tag to compare

v3.0.0-alpha.3 Pre-release
Pre-release

3.0.0-alpha.3 (2023-09-29)

Features

  • remove body-, cookie- & query-helper (bcc0347)

BREAKING CHANGES

  • removed request helper fns

v3.0.0-alpha.2

29 Sep 08:45

Choose a tag to compare

v3.0.0-alpha.2 Pre-release
Pre-release

3.0.0-alpha.2 (2023-09-29)

Bug Fixes

  • don't pass plugin options as extra fn argument (d05e4c9)

v3.0.0-alpha.1

29 Sep 07:53

Choose a tag to compare

v3.0.0-alpha.1 Pre-release
Pre-release

3.0.0-alpha.1 (2023-09-29)

Bug Fixes

  • cleanup router, route & layer (78aa73d)
  • deps: bump smob from 1.4.0 to 1.4.1 (#382) (c3a19eb)
  • remove undocumented timeout router option (c4b2bae)
  • set remote address for mock request (5649d9e)

Features

  • add define (error-) handler helpers for intellisense (2318115)
  • context (error-) handler style (72af754)
  • implemented plugin system (808dd72)
  • implicit and explicit handler definition variant (02caec8)
  • recognize handlers by type property in addition to the number of fn arguments (86dcc18)
  • remove implicit handler recognition (8d623f1)
  • remove route interface between router and layer (b149002)
  • wrap any error like object & extract error information (#377) (59f2a72)

Performance Improvements

  • use typeof instead of instanceof for instance check (c98a070)

BREAKING CHANGES

  • handler must be defined with helper fn