nubank / nuvigator

A powerful routing abstraction over Flutter Navigator, with nested Navigator and Deeplinks
Apache License 2.0
277 stars 33 forks source link

Beta Merge: 1.2.0 Stable Release #81

Closed leoiacovini closed 3 years ago

leoiacovini commented 3 years ago

Ports recent changes from Beta into Master under the 1.2.0 release. Changelog:

## 1.2.0
- Improve error message when a NuRoute is registered twice
- Add option to get registered routes after NuRouter initialization when overriding the `lazyRouteRegister` option in NuRouter
- [BREAKING] Change the `NuRouter.onError` to handle any thrown object (including `Exception`)
  - Type of the `NuRouter.onError` function changed from `Exception` to `Object`
- Bump dependencies versions and make code adjustments to support usage on non nullable projects (does not include non-nullable in Nuvigator itself)

Notice that even this being a minor release it includes a small breaking change related to a type argument change