work with connect@2.8.x and @2.9.x