fluro/CHANGELOG.md

27 lines
810 B
Markdown
Raw Permalink Normal View History

2018-03-23 12:03:42 -04:00
# 1.3.1
- Fixes an issue with the route generator (result cannot be Null)
# 1.3.0
2018-03-12 22:42:04 -04:00
- **BREAKING**: Parameters now return an array of results even if they have a single value.
- Support for parameter arrays. e.g: `/some/route?color=red&color=green&color=blue`.
- Results can now be passed via `Navigator.pop` via use of a `Future`.
- A few bug fixes
# 1.1.0
**BREAKING**: In order to support function handlers you will need to change all of your route
handler definitions to use the new `Handler` class. The `RouteHandler` definition has now been
removed.
Swapping out the handlers should be as simple as changing:
```dart
RouteHandler usersHandler = (Map<String, String> params) {}
```
to
```dart
var usersHandler = new Handler(handlerFunc: (BuildContext context, Map<String, dynamic> params) {});
```