From 908ac78ed8d9999c96b31980c358d12fae320ee6 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Mon, 19 Feb 2024 11:28:12 +0100 Subject: [PATCH] Release v0.4.11 --- CHANGELOG.md | 6 ++++++ mix.exs | 6 ++++-- test/req/steps_test.exs | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4f638af..95c60b67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v0.4.11 (2024-02-19) + + * [`Req.Test.json/2`]: Don't crash compilation when Plug is not available + ## v0.4.10 (2024-02-19) * [`run_finch`]: Default to `connect_options: [protocols: [:http1, :http2]]`. @@ -830,5 +834,7 @@ See "Adapter" section in `Req.Request` module documentation for more information [`Req.Response.delete_header/2`]: https://hexdocs.pm/req/Req.Response.html#delete_header/2 [`Req.Response.update_private/4`]: https://hexdocs.pm/req/Req.Response.html#update_private/4 +[`Req.Test.json/2`]: https://hexdocs.pm/req/Req.Test.html#json/2 + [`Req.Steps`]: https://hexdocs.pm/req/Req.Steps.html [`Collectable`]: https://hexdocs.pm/elixir/Collectable.html diff --git a/mix.exs b/mix.exs index dea80248..a361f87b 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Req.MixProject do use Mix.Project - @version "0.4.10" + @version "0.4.11" @source_url "https://github.com/wojtekmach/req" def project do @@ -25,8 +25,10 @@ defmodule Req.MixProject do exclude: [ NimbleCSV.RFC4180, Plug.Test, + Plug.Conn, :brotli, - :ezstd + :ezstd, + :aws_signature ] ] ] diff --git a/test/req/steps_test.exs b/test/req/steps_test.exs index 5bd89299..e8879f4b 100644 --- a/test/req/steps_test.exs +++ b/test/req/steps_test.exs @@ -377,7 +377,7 @@ defmodule Req.StepsTest do AWS4-HMAC-SHA256 \ Credential=foo/20240101/us-east-1/s3/aws4_request,\ SignedHeaders=accept-encoding;host;user-agent;x-amz-content-sha256;x-amz-date,\ - Signature=63ed3a83e644851643fc95f7633e4f0c40fcaf4f601b5550a7a1e4baee396d4e\ + Signature=a7a27655988cf90a6d834c6544e8a5e1ef00308a64692f0e656167165d42ec4d\ """ ] @@ -411,7 +411,7 @@ defmodule Req.StepsTest do AWS4-HMAC-SHA256 \ Credential=foo/20240101/us-east-1/s3/aws4_request,\ SignedHeaders=accept-encoding;content-length;host;user-agent;x-amz-content-sha256;x-amz-date,\ - Signature=60f249fe10f78886863fc610a0c836c749a322103a91088cca62ad418e33cbe4\ + Signature=6d8d9e360bf82d48064ee93cc628133da813bfc9b587fe52f8792c2335b29312\ """ ]