Open
Description
v0.5
Updates to the next release of Ratchet will be made against the v0.5 branch. This version will add some functionality, including a transition period, while keeping backwards compatibility. Key features for this version include:
- WebSocket deflate support. Off by default. A new optional parameter to be added to
WsServer
to enable compression. ConnectionInterface
will implement PSR-11'sContainerInterface
. Properties from Components will be accessible via$conn->get('HTTP.request')
as well as the current magic methodical way of$conn->HTTP->request
.- Update dependencies to work with all React 1.0 libraries. We will support a range of what's supported now (0.x versions) up to 1.0. A couple of their APIs have changed in 1.0 so this may be a BC break for some people if they're also using React in their projects, hence maintaining support for the old version as well
- Add TLS support to the App Facade (Allowing TLS options (for WSS) on App facade #848)
- Consider adopting PSR-12 in the form of a pre-commit hook or GitHub action to auto-format so the code base is consistent without having to think about it
v0.6/v1.0
This version will not include any new features but have backwards compatibility breaks from old code.
- Remove the magic accessors from
ConnectionInterface
. All properties set by Components are to be access viaContainerInterface
methods. This will be a syntactic BC break but not an architectural one. - New version of PHP requirement (discussions to be had around which version this should be)
- Transition return type declarations on all methods from Docblocks to language
- Remove FlashPolicy from App
- Session and WAMP components will be moved to their own repositories
- Drop support for pre 1.0 version of React dependencies
- Determine optimal target version of Symfony libraries