From 66835789d998b31ff579cf2817172a5f54cf152e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 12 Feb 2025 09:16:19 +0100 Subject: [PATCH] Update Cowboy, Cowlib and Ranch Cowboy 2.13 contains the Websocket optimisations as well as the ability to set the Websocket max_frame_size option dynamically, plus plenty of other improvements. Cowlib was added as a test dep to rabbitmq_mqtt to make sure emqtt doesn't pull the wrong Cowlib version for Cowboy. (cherry picked from commit 3e00c84e9fcabc89be046fafca871db2a5041ad1) --- deps/rabbitmq_mqtt/Makefile | 2 +- rabbitmq-components.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/rabbitmq_mqtt/Makefile b/deps/rabbitmq_mqtt/Makefile index 928c34c43cd5..226711993ab0 100644 --- a/deps/rabbitmq_mqtt/Makefile +++ b/deps/rabbitmq_mqtt/Makefile @@ -43,7 +43,7 @@ export BUILD_WITHOUT_QUIC LOCAL_DEPS = ssl DEPS = ranch rabbit amqp10_common -TEST_DEPS = emqtt ct_helper rabbitmq_ct_helpers rabbitmq_ct_client_helpers rabbitmq_management amqp_client rabbitmq_consistent_hash_exchange rabbitmq_amqp_client rabbitmq_stomp rabbitmq_stream rabbitmq_federation +TEST_DEPS = cowlib emqtt ct_helper rabbitmq_ct_helpers rabbitmq_ct_client_helpers rabbitmq_management amqp_client rabbitmq_consistent_hash_exchange rabbitmq_amqp_client rabbitmq_stomp rabbitmq_stream rabbitmq_federation PLT_APPS += rabbitmqctl elixir diff --git a/rabbitmq-components.mk b/rabbitmq-components.mk index ccb46b8103c6..594630e1ead1 100644 --- a/rabbitmq-components.mk +++ b/rabbitmq-components.mk @@ -40,8 +40,8 @@ endif # all projects use the same versions. It avoids conflicts. dep_accept = hex 0.3.5 -dep_cowboy = hex 2.12.0 -dep_cowlib = hex 2.13.0 +dep_cowboy = hex 2.13.0 +dep_cowlib = hex 2.14.0 dep_credentials_obfuscation = hex 3.4.0 dep_cuttlefish = hex 3.4.0 dep_gen_batch_server = hex 0.8.8 @@ -51,7 +51,7 @@ dep_khepri_mnesia_migration = hex 0.7.1 dep_osiris = git https://github.com/rabbitmq/osiris v1.8.5 dep_prometheus = hex 4.11.0 dep_ra = hex 2.16.2 -dep_ranch = hex 2.1.0 +dep_ranch = hex 2.2.0 dep_recon = hex 2.5.6 dep_redbug = hex 2.0.7 dep_systemd = hex 0.6.1