- Fix deprecated command configuration for Symfony 6.1
- Add support for Symfony 6.0
- Drop support for Symfony 5.3
- Deprecated the unused
$router
argument of theGos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcher
constructor - Allow v3 of
symfony/deprecation-contracts
- #454 Add native TLS support
- Add support for command auto-completion for Symfony 5.4
- Add attributes to silence PHP 8.1 deprecations
- Implemented a new authentication API and deprecated the previous implementation
- Add support for
psr/log
2.0 and 3.0 - Updated use of
react/event-loop
to prefer newer API - Drop support for Symfony 5.2 (Branch is EOL)
- Add support for configuring the ping interval for ping services
- Deprecate public access to public container services
- Deprecated the
setTimeout
method of periodic classes - Deprecated the
getTimeout
method ofGos\Bundle\WebSocketBundle\Periodic\PeriodicInterface
in favor ofgetInterval
- Deprecated the
shared_config
config node, in 4.0 the Twig globals will automatically be created when Twig is available
- Fixes for IP blocker service
- Add support for
doctrine/cache
2.0 - Bump minimum supported
doctrine/dbal
versions - Add the ability to block IP addresses from connecting to the websocket server
- Deprecated the
Gos\Bundle\WebSocketBundle\Event\ClientRejectedEvent
class and corresponding event, subscribe toGos\Bundle\WebSocketBundle\Event\ConnectionRejectedEvent
instead
- Symfony 5.3 compatibility fixes
- Fix incorrect service reference
- 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
- Reverted the change in 3.6.1
- #422 Periodic timer becomes broken when all topic subscribers closed their connections
- 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
- Drop support for Symfony 5.0 (Branch is EOL)
- Allow install on PHP 8
- Updates for changes introduced in
doctrine/dbal
2.11
- 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
- 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
- Extend
Gos\Component\WebSocketClient\Wamp\ClientFactoryInterface
insideGos\Bundle\WebSocketBundle\Pusher\Wamp\WampConnectionFactoryInterface
- Added new
gos_web_socket.websocket_client
configuration node to configure aGos\Component\WebSocketClient\Wamp\ClientInterface
instance
- Use the
symfony/deprecation-contracts
package to trigger runtime deprecation notices - Deprecated
Gos\Bundle\WebSocketBundle\Pusher\PusherInterface
andGos\Bundle\WebSocketBundle\Pusher\ServerPushHandlerInterface
, and all related services, in favor of the Symfony Messenger component - Removed
Gos\Bundle\WebSocketBundle\Client\ClientStorageInterface::setStorageDriver()
, this method should no longer be relied on - [MINOR B/C BREAK] Changed the (final)
Gos\Bundle\WebSocketBundle\Client\ClientStorage
constructor to require aGos\Bundle\WebSocketBundle\Client\Driver\DriverInterface
instance as the first argument, this only affects users manually instantiating an instance of the storage class - Deprecated unused
gos_web_socket.client.storage.prefix
configuration node and container parameter - Address deprecations in marking configuration nodes, services, and service aliases deprecated in Symfony 5.1
- Consult the UPGRADE guide for changes between 2.x and 3.0