From 5912c31f7715c8e54cd6aff91cfa05690901166d Mon Sep 17 00:00:00 2001 From: Artem Solomatin Date: Wed, 28 Jun 2023 02:17:42 +0300 Subject: [PATCH 1/2] Fix calls to deprecated Logger.warn/2 --- lib/finch/http2/pool.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/finch/http2/pool.ex b/lib/finch/http2/pool.ex index 59eda026..10e1709a 100644 --- a/lib/finch/http2/pool.ex +++ b/lib/finch/http2/pool.ex @@ -329,7 +329,7 @@ defmodule Finch.HTTP2.Pool do end :unknown -> - Logger.warn(["Received unknown message: ", inspect(message)]) + Logger.warning(["Received unknown message: ", inspect(message)]) :keep_state_and_data end end @@ -437,7 +437,7 @@ defmodule Finch.HTTP2.Pool do end :unknown -> - Logger.warn(["Received unknown message: ", inspect(message)]) + Logger.warning(["Received unknown message: ", inspect(message)]) :keep_state_and_data end end From 8e30ba3e6468b2c69065c66bd467be2f0dbb685b Mon Sep 17 00:00:00 2001 From: solar05 Date: Wed, 28 Jun 2023 11:50:34 +0300 Subject: [PATCH 2/2] Bump elixir required version and CI --- .github/workflows/elixir.yml | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 2b8b15b9..fd52ec8a 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -11,7 +11,7 @@ jobs: matrix: include: - pair: - elixir: "1.7.4" + elixir: "1.11.4" otp: "22.x" - pair: elixir: "1.14.5" diff --git a/mix.exs b/mix.exs index f4dedcca..9d2df84f 100644 --- a/mix.exs +++ b/mix.exs @@ -9,7 +9,7 @@ defmodule Finch.MixProject do [ app: :finch, version: @version, - elixir: "~> 1.7", + elixir: "~> 1.11", description: "An HTTP client focused on performance.", package: package(), docs: docs(),