Skip to content

Releases: pillarjs/router

v2.2.0

Choose a tag to compare

@UlisesGascon UlisesGascon released this 27 Mar 00:34
e6d6b60

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

Choose a tag to compare

@wesleytodd wesleytodd released this 10 Feb 20:04

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0

1.3.8

Choose a tag to compare

@dougwilson dougwilson released this 24 Feb 16:40
  • Fix routing requests without method

1.3.7

Choose a tag to compare

@dougwilson dougwilson released this 28 Apr 16:51
  • Fix hanging on large stack of sync routes

1.3.6

Choose a tag to compare

@dougwilson dougwilson released this 16 Nov 00:11
  • Fix handling very large stacks of sync middleware
  • deps: safe-buffer@5.2.1

2.0.0-beta.1

2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@dougwilson dougwilson released this 16 Nov 00:12

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

Choose a tag to compare

@dougwilson dougwilson released this 25 Mar 03:11
  • Fix incorrect middleware execution with unanchored RegExps
  • perf: use plain object for internal method map

1.3.4

Choose a tag to compare

@dougwilson dougwilson released this 25 Jan 02:18
  • deps: array-flatten@3.0.0
  • deps: parseurl@~1.3.3
  • deps: setprototypeof@1.2.0

2.0.0-alpha.1

2.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@dougwilson dougwilson released this 19 Sep 17:12
  • 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

Choose a tag to compare

@dougwilson dougwilson released this 06 Jul 15:50
  • Fix JSDoc for Router constructor