From 2b6176aa605aec2f4f6b805f39b6e9e00ff10450 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Tue, 19 Dec 2023 12:38:03 +0100 Subject: [PATCH] fix: upgrade to gen_rpc 3.3.1 which does not log cast args only arity --- apps/emqx/rebar.config | 2 +- changes/ce/fix-12081.en.md | 4 +++- mix.exs | 2 +- rebar.config | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/emqx/rebar.config b/apps/emqx/rebar.config index 763e3ace9..db8bc6ce7 100644 --- a/apps/emqx/rebar.config +++ b/apps/emqx/rebar.config @@ -29,7 +29,7 @@ {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.9.2"}}}, {esockd, {git, "https://github.com/emqx/esockd", {tag, "5.9.9"}}}, {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.17.0"}}}, - {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "3.3.0"}}}, + {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "3.3.1"}}}, {hocon, {git, "https://github.com/emqx/hocon.git", {tag, "0.40.3"}}}, {emqx_http_lib, {git, "https://github.com/emqx/emqx_http_lib.git", {tag, "0.5.3"}}}, {pbkdf2, {git, "https://github.com/emqx/erlang-pbkdf2.git", {tag, "2.0.4"}}}, diff --git a/changes/ce/fix-12081.en.md b/changes/ce/fix-12081.en.md index 2e75b8dcf..d66a6a6c7 100644 --- a/changes/ce/fix-12081.en.md +++ b/changes/ce/fix-12081.en.md @@ -1,7 +1,9 @@ -Updated `gen_rpc` library to version 3.3.0. The new version includes +Updated `gen_rpc` library to version 3.3.1. The new version includes several performance improvements: - Avoid allocating extra memory for the packets before they are sent to the wire in some cases - Bypass network for the local calls + +- Avoid senstive data leaking in debug logs [#12202](https://github.com/emqx/emqx/pull/12202) diff --git a/mix.exs b/mix.exs index 338bf7812..58a951092 100644 --- a/mix.exs +++ b/mix.exs @@ -56,7 +56,7 @@ defmodule EMQXUmbrella.MixProject do {:esockd, github: "emqx/esockd", tag: "5.9.9", override: true}, {:rocksdb, github: "emqx/erlang-rocksdb", tag: "1.8.0-emqx-2", override: true}, {:ekka, github: "emqx/ekka", tag: "0.17.0", override: true}, - {:gen_rpc, github: "emqx/gen_rpc", tag: "3.3.0", override: true}, + {:gen_rpc, github: "emqx/gen_rpc", tag: "3.3.1", override: true}, {:grpc, github: "emqx/grpc-erl", tag: "0.6.12", override: true}, {:minirest, github: "emqx/minirest", tag: "1.3.15", override: true}, {:ecpool, github: "emqx/ecpool", tag: "0.5.7", override: true}, diff --git a/rebar.config b/rebar.config index 661049f11..3c5169688 100644 --- a/rebar.config +++ b/rebar.config @@ -72,7 +72,7 @@ , {esockd, {git, "https://github.com/emqx/esockd", {tag, "5.9.9"}}} , {rocksdb, {git, "https://github.com/emqx/erlang-rocksdb", {tag, "1.8.0-emqx-2"}}} , {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.17.0"}}} - , {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "3.3.0"}}} + , {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "3.3.1"}}} , {grpc, {git, "https://github.com/emqx/grpc-erl", {tag, "0.6.12"}}} , {minirest, {git, "https://github.com/emqx/minirest", {tag, "1.3.15"}}} , {ecpool, {git, "https://github.com/emqx/ecpool", {tag, "0.5.7"}}}