Skip to content

2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dougwilson dougwilson released this 16 Nov 00:12
· 147 commits to master since this 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