Use middleware to correctly capture routes
Bump version