Upgrade middleware.

Add backward compatible argument order switch.
0.8.293
Update dependencies.
0.8.294