- Accidentally hit
CTRL-C
while uploading3.1.0
; this version ensures everything is ok.
- Add
Router.groupAsync
- Remove static default values for
middleware
.
- Add
MiddlewarePipelineIterator
.
- Add
RouteResult
class, which allows segments (i.e. wildcard) to modify thetail
. - Add more wildcard tests.
- Support trailing text after parameters with custom Regexes.
- Support leading and trailing text for both
:parameters
and*
- Make the callback in
Router.group
generically-typed.
- Make
Router
andRoute
single-parameter generic. - Remove
package:browser
dependency. BrowserRouter.on
now only accepts aString
.MiddlewarePipeline.routingResults
now accepts anIterable<RoutingResult>
, instead of just aList
.- Removed deprecated
Route.as
, as well asRouter.registerMiddleware
. - Completely removed
Route.requestMiddleware
.
- Minor strong mode updates to work with stricter Dart 2.
- Patch to work with
[email protected]
.