All Versions
26
Latest Version
Avg Release Cycle
55 days
Latest Release
61 days ago

Changelog History
Page 1

  • v8.3.0

    September 17, 2019
    • 👉 Make generateUrls compatible with UniversalRouterSync (#172)
  • v8.2.1

    July 19, 2019
    • 🛠 Fix context.next() to throw Route not found instead of TypeError (#169)
  • v8.2.0

    May 10, 2019
    • 👌 Improve TypeScript typings (#167)
  • v8.1.0

    February 20, 2019
  • v8.0.0

    January 15, 2019
  • v7.0.0

    October 11, 2018
    • 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: js errorHandler(error, context) { const code = error.status || 500 console.log(error, context, code) }
  • v6.0.0

    February 06, 2018
    • 🔧 No special configuration is required for your bundler anymore (say hi to parcel.js).
    • ➕ Add an option for global error handling (#147).

    Migration from v5 to v6:

    • 👉 Use error.code instead of error.status or error.statusCode for error handling.
  • v5.1.0

    January 16, 2018
    • 👍 Allow any string to be a valid route name (#145)
  • v5.0.0

    October 30, 2017
    • Skip nested routes when a middleware route returns null (BREAKING CHANGE #140)

    Migration from v4 to v5:

    • If you are using resolveRoute option for custom route handling logic then you need to return undefined instead of null in cases when a route should not match
    • 👉 Make sure that your middleware routes which return null are working as you expect, child routes are no longer executed in this case, use undefined instead if necessary
  • v4.3.0

    October 22, 2017