Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upgrade jq library #11565

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/ce/fix-11565.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgraded jq library from v0.3.10 to v0.3.11. In this version, jq_port programs are initiated on-demand and will not appear in users' processes unless the jq function in EMQX is used. Additionally, idle jq_port programs will auto-terminate after a set period. Note: Most EMQX users, running jq in NIF mode, will be unaffected by this update.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion rebar.config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down