Releases: GeniusesOfSymfony/WebSocketBundle
Releases · GeniusesOfSymfony/WebSocketBundle
3.7.1
3.7.0
Included in this release are the following changes:
- Drop support for Symfony 5.1 (Branch is EOL)
- Deprecated the
WS
class andSocket
global variable in thewebsocket.js
file, use the new staticGosSocket.connect()
method as a replacement forWS.connect()
and store the singleton within your application if necessary - Deprecated the
Gos\Bundle\WebSocketBundle\Server\EntryPoint
class, use theGos\Bundle\WebSocketBundle\Server\ServerLauncher
class instead - Deprecated
Gos\Bundle\WebSocketBundle\Server\App\PushableWampServerInterface
,Gos\Bundle\WebSocketBundle\Topic\PushableTopicInterface
,Gos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcherInterface::onPush()
, andGos\Bundle\WebSocketBundle\Server\App\WampApplication::onPush()
; this is a continuation of the deprecation of the pusher services which was not previously flagged - Deprecated
Gos\Bundle\WebSocketBundle\Topic\TopicManager::setWampApplication()
, as of 4.0 the dependency will be injected through the class' constructor
3.6.2
3.6.1
3.6.0
Included in this release are the following changes:
- Deprecated the requirement to implement
Gos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcherInterface::dispatch()
, the method will be removed from the interface in 4.0 - [MINOR B/C BREAK] Added type checks to the
$topic
argument ofGos\Bundle\WebSocketBundle\Topic\TopicManager::getTopic()
, anInvalidArgumentException
will now be thrown if a non-supported type is provided
2.7.0
3.5.0
3.4.0
Included in this release are the following changes:
- Deprecated support for the
gos/websocket-client
package, useratchet/pawl
instead - Deprecated the
Gos\Bundle\WebSocketBundle\Client\Driver\DoctrineCacheDriverDecorator
, if using thedoctrine/cache
package aGos\Bundle\WebSocketBundle\Client\Driver\SymfonyCacheDriverDecorator
using aSymfony\Component\Cache\DoctrineProvider
instance can be used - Introduced
Gos\Bundle\WebSocketBundle\Client\ClientStorageInterface::removeAllClients()
, if implemented a client store can remove all clients from storage; in 4.0, this method will be required on all interface implementations - Introduced
Gos\Bundle\WebSocketBundle\Client\Driver\DriverInterface::clear()
, if implemented a driver can remove all data from storage; in 4.0, this method will be required on all interface implementations Gos\Bundle\WebSocketBundle\EventListener\StartServerListener
will now supportSIGTERM
signals as well asSIGINT
3.3.0
This is a security release!
Included in this release are the following changes:
- Change
Gos\Bundle\WebSocketBundle\Periodic\DoctrinePeriodicPing
to address the deprecation ofDoctrine\DBAL\Driver\PingableConnection
- Deprecate support for
Doctrine\DBAL\Driver\PingableConnection
implementations inGos\Bundle\WebSocketBundle\Periodic\DoctrinePeriodicPing
, in 4.0Doctrine\DBAL\Connection
instances will be required - Add aliases to bundle events to allow registering listeners using the FQCN
- Deprecated
Gos\Bundle\WebSocketBundle\Event\ClientErrorEvent::setException()
, in 4.0 aThrowable
instance will be a required constructor argument - Deprecated
Gos\Bundle\WebSocketBundle\Event\ClientErrorEvent::getException()
, useGos\Bundle\WebSocketBundle\Event\ClientErrorEvent::getThrowable()
instead - Remove call to
Ratchet\Wamp\Topic::broadcast()
if the dispatch method fails, see the security advisory for additional details
2.6.1
This is a security release!
Included in this release are the following changes:
- Change
Gos\Bundle\WebSocketBundle\Periodic\DoctrinePeriodicPing
to address the deprecation ofDoctrine\DBAL\Driver\PingableConnection
- Remove call to
Ratchet\Wamp\Topic::broadcast()
if the dispatch method fails, see the security advisory for additional details