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
  • Fix handling very large stacks of sync middleware
  • deps: safe-buffer@5.2.1

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: array-flatten@3.0.0
  • deps: parseurl@~1.3.3
  • deps: path-to-regexp@3.2.0
    • 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: setprototypeof@1.2.0

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
  • deps: array-flatten@3.0.0
  • deps: parseurl@~1.3.3
  • deps: setprototypeof@1.2.0

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: debug@3.1.0
    • 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
  • deps: debug@2.6.9
  • deps: parseurl@~1.3.2
    • perf: reduce overhead for full URLs
    • perf: unroll the "fast-path" RegExp
  • deps: setprototypeof@1.1.0
  • deps: utils-merge@1.0.1

1.3.1

20 May 04:37
Compare
Choose a tag to compare
  • deps: debug@2.6.8
    • Fix DEBUG_MAX_ARRAY_LENGTH
    • deps: ms@2.0.0