From bd7285d895607dacef17ec3e0e332e0c43473460 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Sun, 7 Apr 2024 13:20:10 -0500 Subject: [PATCH 1/3] Fix dialyzer config --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 9bd135a..918ee3b 100644 --- a/mix.exs +++ b/mix.exs @@ -52,7 +52,7 @@ defmodule JOSE.Mixfile do {:thoas, "~> 1.0", only: [:dev, :test]}, {:ex_doc, "~> 0.30", only: :dev}, {:earmark, "~> 1.4", only: :dev}, - {:dialyxir, "~> 1.4.3"} + {:dialyxir, "~> 1.4.3", only: [:dev, :test], runtime: false} ] end From 09de6d24a7c58220c13d3db86646e9a6f1982e3d Mon Sep 17 00:00:00 2001 From: Andrew Bennett Date: Mon, 8 Apr 2024 11:14:26 -0500 Subject: [PATCH 2/3] Version 1.11.9 (2024-04-08) * Fixes * Change Elixir dependency on `dialyxer` to only be used in `dev` and `test`, thanks to [@requestben](https://github.com/requestben) and [@dvic](https://github.com/dvic); see [#162](https://github.com/potatosalad/erlang-jose/issues/162) and [#163](https://github.com/potatosalad/erlang-jose/issues/163). * `rebar3` upgrade errors fixed; see [#160](https://github.com/potatosalad/erlang-jose/issues/160) and [#163](https://github.com/potatosalad/erlang-jose/issues/163). --- CHANGELOG.md | 6 ++++++ Makefile | 2 +- mix.exs | 2 +- src/jose.app.src | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55f5c9d..4cef25d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.11.9 (2024-04-08) + +* Fixes + * Change Elixir dependency on `dialyxer` to only be used in `dev` and `test`, thanks to [@requestben](https://github.com/requestben) and [@dvic](https://github.com/dvic); see [#162](https://github.com/potatosalad/erlang-jose/issues/162) and [#163](https://github.com/potatosalad/erlang-jose/issues/163). + * `rebar3` upgrade errors fixed; see [#160](https://github.com/potatosalad/erlang-jose/issues/160) and [#163](https://github.com/potatosalad/erlang-jose/issues/163). + ## 1.11.8 (2024-04-07) * Fixes diff --git a/Makefile b/Makefile index c819e77..9c24f91 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PROJECT = jose PROJECT_DESCRIPTION = JSON Object Signing and Encryption (JOSE) for Erlang and Elixir. -PROJECT_VERSION = 1.11.8 +PROJECT_VERSION = 1.11.9 TEST_DEPS = jiffy jsone jsx libdecaf libsodium ojson proper thoas diff --git a/mix.exs b/mix.exs index 918ee3b..d5fa9bb 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule JOSE.Mixfile do def project() do [ app: :jose, - version: "1.11.8", + version: "1.11.9", elixir: "~> 1.13", erlc_options: erlc_options(), build_embedded: Mix.env() == :prod, diff --git a/src/jose.app.src b/src/jose.app.src index 3e686d0..777e510 100644 --- a/src/jose.app.src +++ b/src/jose.app.src @@ -2,7 +2,7 @@ %% vim: ts=4 sw=4 ft=erlang noet {application, jose, [ {description, "JSON Object Signing and Encryption (JOSE) for Erlang and Elixir."}, - {vsn, "1.11.8"}, + {vsn, "1.11.9"}, {id, "git"}, {mod, {'jose_app', []}}, {registered, []}, From 66e6eecd7612f17b8ac25c823695ab9e0368a7eb Mon Sep 17 00:00:00 2001 From: Andrew Bennett Date: Mon, 8 Apr 2024 11:21:38 -0500 Subject: [PATCH 3/3] Only depend on poison in dev/test environments. --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index d5fa9bb..215d77b 100644 --- a/mix.exs +++ b/mix.exs @@ -48,7 +48,7 @@ defmodule JOSE.Mixfile do {:libsodium, "~> 2.0.1", only: [:dev, :test]}, {:ojson, "~> 1.0", only: [:dev, :test]}, # Optionally used by JOSE.Poison. - {:poison, "~> 3.0 or ~> 4.0 or ~> 5.0", optional: true}, + {:poison, "~> 3.0 or ~> 4.0 or ~> 5.0", only: [:dev, :test], optional: true}, {:thoas, "~> 1.0", only: [:dev, :test]}, {:ex_doc, "~> 0.30", only: :dev}, {:earmark, "~> 1.4", only: :dev},