From bc3f2e972606d081bb002e56b8e6ff02422fa159 Mon Sep 17 00:00:00 2001 From: Kjell Winblad Date: Tue, 5 Sep 2023 13:16:15 +0200 Subject: [PATCH] fix: upgrade jq library In this commit the jq library is upgraded from v0.3.10 to v0.3.11. The new version has the following changes: * The jq port programs is only started on demand - this means that users will not see jq_port in their process list if they have not used the jq function in EMQX * The jq port programs are terminated automatically if they are idle for a long enough time period The default for EMQX is to run the jq library in NIF mode so most users will not be affected by this change. Fixes: https://emqx.atlassian.net/browse/EMQX-10911 --- mix.exs | 2 +- rebar.config.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 57322abdf..8e8706ebf 100644 --- a/mix.exs +++ b/mix.exs @@ -826,7 +826,7 @@ defmodule EMQXUmbrella.MixProject do defp jq_dep() do if enable_jq?(), - do: [{:jq, github: "emqx/jq", tag: "v0.3.10", override: true}], + do: [{:jq, github: "emqx/jq", tag: "v0.3.11", override: true}], else: [] end diff --git a/rebar.config.erl b/rebar.config.erl index 8f26d11d8..a769e720c 100644 --- a/rebar.config.erl +++ b/rebar.config.erl @@ -42,7 +42,7 @@ quicer() -> {quicer, {git, "https://github.com/emqx/quic.git", {tag, "0.0.114"}}}. jq() -> - {jq, {git, "https://github.com/emqx/jq", {tag, "v0.3.10"}}}. + {jq, {git, "https://github.com/emqx/jq", {tag, "v0.3.11"}}}. deps(Config) -> {deps, OldDeps} = lists:keyfind(deps, 1, Config),