Skip to content

Releases: pillarjs/router

1.3.8

24 Feb 16:40
Compare
Choose a tag to compare
  • Fix routing requests without method

1.3.7

28 Apr 16:51
Compare
Choose a tag to compare
  • Fix hanging on large stack of sync routes

1.3.6

16 Nov 00:11
Compare
Choose a tag to compare

2.0.0-beta.1

16 Nov 00:12
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release

This incorporates all changes after 1.3.3 up to 1.3.5.

  • Internalize private router.process_params method
  • Remove debug dependency
  • deps: [email protected]
  • deps: parseurl@~1.3.3
  • deps: [email protected]
    • Add new ?, *, and + parameter modifiers
    • Matching group expressions are only RegExp syntax.
      (*) is no longer valid and must be written as (.*), for example.
    • Named matching groups no longer available by position in req.params.
      /:foo(.*) only captures as req.params.foo and not available as
      req.params[0].
    • Regular expressions can only be used in a matching group.
      /\\d+ is no longer valid and must be written as /(\\d+).
    • Special * path segment behavior removed.
      /foo/*/bar will match a literal * as the middle segment.
  • deps: [email protected]

1.3.5

25 Mar 03:11
Compare
Choose a tag to compare
  • Fix incorrect middleware execution with unanchored RegExps
  • perf: use plain object for internal method map

1.3.4

25 Jan 02:18
Compare
Choose a tag to compare

2.0.0-alpha.1

19 Sep 17:12
Compare
Choose a tag to compare
2.0.0-alpha.1 Pre-release
Pre-release
  • Add basic support for returned, rejected Promises
    • Rejected Promises from middleware functions next(error)
  • Drop support for Node.js below 0.10
  • deps: [email protected]
    • Add DEBUG_HIDE_DATE environment variable
    • Change timer to per-namespace instead of global
    • Change non-TTY date format
    • Remove DEBUG_FD environment variable support
    • Support 256 namespace colors

1.3.3

06 Jul 15:50
Compare
Choose a tag to compare
  • Fix JSDoc for Router constructor

1.3.2

25 Sep 01:23
Compare
Choose a tag to compare

1.3.1

20 May 04:37
Compare
Choose a tag to compare