Просмотр исходного кода

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
Kjell Winblad 2 лет назад
Родитель
Сommit
bc3f2e9726
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      mix.exs
  2. 1 1
      rebar.config.erl

+ 1 - 1
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
 

+ 1 - 1
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),