The 4.0.0 release fixes compression support with a couple small compatibility breaks from 3.x.
Users of 2.x should upgrade directly to 4.0.0.
Users of 3.x can upgrade directly to 4.0.0 if compression is not being used. If a custom WebsocketAcceptor was created to support compression, this custom implementation may be dropped, instead passing an instance of WebsocketCompressionContextFactory to each Websocket request handler.
Backward Compatibility Breaks
- The
WebsocketCompressionContextFactoryconstructor parameter ofRfc6455ClientFactoryhas been removed and is instead a constructor parameter of theWebsocketclass. - A nullable
WebsocketCompressionContextparameter was added toWebsocketClientFactory::createClient().