version for release: connectMiddleware