From 6a3301f237ad6dff6f66c9ded91426a23abfe757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 24 Dec 2024 10:17:42 +0100 Subject: [PATCH] Release v1.18.1 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ VERSION | 2 +- bin/elixir | 2 +- bin/elixir.bat | 2 +- bin/elixir.ps1 | 2 +- 5 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8ccdce5a0..844bc7b8c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -225,6 +225,36 @@ You may also prefer to write using guards: def foo(x, y, z) when x == y and y == z +## v1.18.1 (2024-12-24) + +### 1. Enhancements + + * [Kernel] Do not emit type violation warnings when comparing or matching against literals + * [Kernel] Do not validate clauses of private overridable functions + +### 2. Bug fixes + +#### Elixir + + * [Code.Fragment] Ensure `Code.Fragment.container_cursor_to_quoted/2` with `:trailing_fragment` parses expressions that were supported in previous versions + * [Kernel] Do not crash when typing violation is detected on dynamic dispatch + * [Kernel] Properly annotate the source for warnings emitted by the compiler with the `@file` annotation + * [Kernel] Properly annotate the source for warnings emitted by the type system with the `@file` annotation + * [Kernel] Remove `:no_parens` metadata when using capture with arity on all cases + * [Kernel] Ensure diagnostic traces are kept backwards compatible + +#### ExUnit + + * [ExUnit.Case] Ensure async groups do not run concurrenly while the test suite is still loading + * [ExUnit.Case] Ensure `--repeat-until-failure` can be combined with groups + +#### Mix + + * [mix compile.elixir] Store compilation results if compilation fails due to `--warnings-as-errors` + * [mix deps.loadpaths] Add build lock + * [mix escript.build] Ensure build succeeds when protocol consolidation is disabled + * [Mix.Shell] Ensure encoding is properly respected on Windows and Unix systems + ## v1.18.0 (2024-12-19) ### 1. Enhancements diff --git a/VERSION b/VERSION index 84cc529467..ec6d649be6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.0 +1.18.1 diff --git a/bin/elixir b/bin/elixir index c937bea182..69fa4b4695 100755 --- a/bin/elixir +++ b/bin/elixir @@ -1,7 +1,7 @@ #!/bin/sh set -e -ELIXIR_VERSION=1.18.0 +ELIXIR_VERSION=1.18.1 if [ $# -eq 0 ] || { [ $# -eq 1 ] && { [ "$1" = "--help" ] || [ "$1" = "-h" ]; }; }; then cat <&2 diff --git a/bin/elixir.bat b/bin/elixir.bat index 09f3050ff4..781cd9ad06 100644 --- a/bin/elixir.bat +++ b/bin/elixir.bat @@ -1,6 +1,6 @@ @echo off -set ELIXIR_VERSION=1.18.0 +set ELIXIR_VERSION=1.18.1 if ""%1""=="""" if ""%2""=="""" goto documentation if /I ""%1""==""--help"" if ""%2""=="""" goto documentation diff --git a/bin/elixir.ps1 b/bin/elixir.ps1 index 4ef9cd0e1b..c53c82273f 100755 --- a/bin/elixir.ps1 +++ b/bin/elixir.ps1 @@ -1,6 +1,6 @@ #!/usr/bin/env pwsh -$ELIXIR_VERSION = "1.18.0" +$ELIXIR_VERSION = "1.18.1" $scriptPath = Split-Path -Parent $PSCommandPath $erlExec = "erl"