- Fix deprecated command configuration for Symfony 6.1
- Add support for Symfony 6.0
- Drop support for Symfony 5.3
- Deprecated the unused
$routerargument of theGos\Bundle\WebSocketBundle\Server\App\Dispatcher\TopicDispatcherconstructor - 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/log2.0 and 3.0 - Updated use of
react/event-loopto 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
setTimeoutmethod of periodic classes - Deprecated the
getTimeoutmethod ofGos\Bundle\WebSocketBundle\Periodic\PeriodicInterfacein favor ofgetInterval - Deprecated the
shared_configconfig node, in 4.0 the Twig globals will automatically be created when Twig is available
- Fixes for IP blocker service
- Add support for
doctrine/cache2.0 - Bump minimum supported
doctrine/dbalversions - Add the ability to block IP addresses from connecting to the websocket server
- Deprecated the
Gos\Bundle\WebSocketBundle\Event\ClientRejectedEventclass and corresponding event, subscribe toGos\Bundle\WebSocketBundle\Event\ConnectionRejectedEventinstead
- Symfony 5.3 compatibility fixes
- Fix incorrect service reference
- Drop support for Symfony 5.1 (Branch is EOL)
- Deprecated the
WSclass andSocketglobal variable in thewebsocket.jsfile, 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\EntryPointclass, use theGos\Bundle\WebSocketBundle\Server\ServerLauncherclass 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
$topicargument ofGos\Bundle\WebSocketBundle\Topic\TopicManager::getTopic(), anInvalidArgumentExceptionwill 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/dbal2.11
- Deprecated support for the
gos/websocket-clientpackage, useratchet/pawlinstead - Deprecated the
Gos\Bundle\WebSocketBundle\Client\Driver\DoctrineCacheDriverDecorator, if using thedoctrine/cachepackage aGos\Bundle\WebSocketBundle\Client\Driver\SymfonyCacheDriverDecoratorusing aSymfony\Component\Cache\DoctrineProviderinstance 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\StartServerListenerwill now supportSIGTERMsignals as well asSIGINT
- Change
Gos\Bundle\WebSocketBundle\Periodic\DoctrinePeriodicPingto address the deprecation ofDoctrine\DBAL\Driver\PingableConnection - Deprecate support for
Doctrine\DBAL\Driver\PingableConnectionimplementations inGos\Bundle\WebSocketBundle\Periodic\DoctrinePeriodicPing, in 4.0Doctrine\DBAL\Connectioninstances 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 aThrowableinstance 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\ClientFactoryInterfaceinsideGos\Bundle\WebSocketBundle\Pusher\Wamp\WampConnectionFactoryInterface - Added new
gos_web_socket.websocket_clientconfiguration node to configure aGos\Component\WebSocketClient\Wamp\ClientInterfaceinstance
- Use the
symfony/deprecation-contractspackage to trigger runtime deprecation notices - Deprecated
Gos\Bundle\WebSocketBundle\Pusher\PusherInterfaceandGos\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\ClientStorageconstructor to require aGos\Bundle\WebSocketBundle\Client\Driver\DriverInterfaceinstance as the first argument, this only affects users manually instantiating an instance of the storage class - Deprecated unused
gos_web_socket.client.storage.prefixconfiguration 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