Skip to content

Releases: kriasoft/universal-router

9.2.0 - 2023-06-23

23 Jun 09:01
Compare
Choose a tag to compare
  • Bump TypeScript to 4.9.5 and fix types (#215)

9.1.0 - 2021-06-23

23 Jun 15:24
Compare
Choose a tag to compare
  • Add uniqueRouteNameSep option to generateUrls(router, options) to allow non-unique route names among different branches of nested routes and access them by uniquely generated name (#194)

9.0.1 - 2020-03-11

11 Mar 16:32
Compare
Choose a tag to compare
  • Fix typings: router.resolve() and context.next() always return a promise now (#187)

9.0.0 - 2020-02-27

27 Feb 16:56
c7f84f6
Compare
Choose a tag to compare

8.3.0 - 2019-09-17

16 Sep 22:07
Compare
Choose a tag to compare
  • Make generateUrls compatible with UniversalRouterSync (#172)

8.2.1 - 2019-07-20

19 Jul 22:09
Compare
Choose a tag to compare
  • Fix context.next() to throw Route not found instead of TypeError (#169)

8.2.0 - 2019-05-10

10 May 11:21
Compare
Choose a tag to compare
  • Improve TypeScript typings (#167)

8.1.0 - 2019-02-20

20 Feb 11:08
Compare
Choose a tag to compare

8.0.0 - 2019-01-15

15 Jan 19:09
Compare
Choose a tag to compare

7.0.0 - 2018-10-11

11 Oct 08:13
Compare
Choose a tag to compare
  • The router no longer mutate errors to avoid issues with non-extensible objects. (BREAKING CHANGE #158).

Migration from v6 to v7:

  • If your code relies on error.context or error.code you still can access them using errorHandler option:
    errorHandler(error, context) {
      const code = error.status || 500
      console.log(error, context, code)
    }