From 88a87cec3dafaab0372b148890f3f03d7385b506 Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 27 Aug 2023 14:12:36 -0400 Subject: [PATCH 1/3] Bump versions for 1.4.0 release. --- .tool-versions | 4 ++-- CHANGELOG.md | 16 +++++++++++++++- mix.exs | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.tool-versions b/.tool-versions index eabe3fd..7bdf6c7 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.15.4-otp-26 -erlang 26.0.2 +elixir 1.15.0-otp-26 +erlang 26.0.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index af3b2d6..5ec3a56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -## Unreleased changes post [1.3.0] +Versions follow [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html) + +## Unreleased changes post [1.4.0] + +## [1.4.0] - 2023-08-27 + +### Added + - --quiet-with-result flag. + +### Changed + - (docs) Improved caching behaviour in example templates. + +### Fixed + - Erroneous "DEPENDENCY MISSING" message in Elixir 1.15. + - Handle transitive optional dependencies in Elixir 1.15. ## [1.3.0] - 2023-04-08 diff --git a/mix.exs b/mix.exs index 237352d..202b267 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Dialyxir.Mixfile do use Mix.Project @source_url "https://github.com/jeremyjh/dialyxir" - @version "1.3.0" + @version "1.4.0" def project do [ From 605411c60002dc8f26cd5de5406eecbdca673e35 Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 27 Aug 2023 14:17:18 -0400 Subject: [PATCH 2/3] Fix test flake. --- test/dialyxir/plt_test.exs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/dialyxir/plt_test.exs b/test/dialyxir/plt_test.exs index 4cf8f35..b3c3032 100644 --- a/test/dialyxir/plt_test.exs +++ b/test/dialyxir/plt_test.exs @@ -16,9 +16,8 @@ defmodule Dialyxir.PltTest do assert Plt.check(plts, &absname_plt/4) == :ok end - assert capture_io(fun) == - "==> dialyxir\n" <> - "Looking up modules in dialyxir_erlang-20.3.plt\n" <> + assert capture_io(fun) =~ + "Looking up modules in dialyxir_erlang-20.3.plt\n" <> "Looking up modules in dialyxir_erlang-20.3_elixir-1.6.2_deps-dev.plt\n" <> "/var/dialyxir_erlang-20.3_elixir-1.6.2_deps-dev.plt\n" <> "/var/dialyxir_erlang-20.3.plt\n" From b766039dfc8fbdbd6adcbeaf432801d6a155e8e8 Mon Sep 17 00:00:00 2001 From: Jeremy Huffman Date: Sun, 27 Aug 2023 14:34:07 -0400 Subject: [PATCH 3/3] Hide these recompiled warnings. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fed9b1d..207daf1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -130,6 +130,6 @@ jobs: OUTPUT_TESTS: true - name: Check examples - run: mix dialyzer --format short --ignore-exit-status + run: mix compile 2> /dev/null && mix dialyzer --format short --ignore-exit-status env: MIX_ENV: examples