From 81a12b777411e5fb3dc48cb314771c03202e0679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 12 Dec 2023 12:36:20 +0100 Subject: [PATCH] Release v1.16.0-rc.1 --- CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++ VERSION | 2 +- bin/elixir | 2 +- bin/elixir.bat | 2 +- 4 files changed, 46 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c728bf541e6..cc81ba96338 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,49 @@ Another [ExDoc](https://github.com/elixir-lang/ex_doc) feature we have incorpora Finally, we have started enriching our documentation with [Mermaid.js](https://mermaid.js.org/) diagrams. You can find examples in the [GenServer](https://hexdocs.pm/elixir/main/GenServer.html) and [Supervisor](https://hexdocs.pm/elixir/main/Supervisor.html) docs. +## v1.16.0-rc.1 (2023-12-12) + +### 1. Enhancements + +#### Elixir + + * [Code] Add `:emit_warnings` for `Code.string_to_quoted/2` + * [File] Add `:offset` option to `File.stream!/2` + * [Kernel] Auto infer size of matched variable in bitstrings + * [Kernel] Preserve column information when translating typespecs + * [String] Add `String.replace_invalid/2` + +#### Logger + + * [Logger] Add `Logger.levels/0` + +#### Mix + + * [mix archive.install] Support `--sparse` option + * [mix compile.app] Warn if both `:applications` and `:extra_applications` are used + * [mix compile.elixir] Pass original exception down to diagnostic `:details` when possible + * [mix deps.clean] Emit a warning instead of crashing when a dependency cannot be removed + * [mix escript.install] Support `--sparse` option + * [mix release] Include `include/` directory in releases + +### 2. Bug fixes + +#### Elixir + + * [Code] Keep quotes for atom keys in formatter + * [Macro] Address exception on `Macro.to_string/1` for certain ASTs + * [Module] Make sure file and position information is included in several module warnings (regression) + * [Path] Lazily evaluate `File.cwd!/0` in `Path.expand/1` and `Path.absname/1` + +#### IEx + + * [IEx.Pry] Fix prying functions with only literals in their body + +#### Mix + + * [mix archive.install] Restore code paths after archive.install + * [mix escript.install] Restore code paths after archive.install + ## v1.16.0-rc.0 (2023-10-31) ### 1. Enhancements diff --git a/VERSION b/VERSION index b6ea925546e..f45d77ad4ce 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.0-rc.0 +1.16.0-rc.1 \ No newline at end of file diff --git a/bin/elixir b/bin/elixir index ffa46a15047..01259f98449 100755 --- a/bin/elixir +++ b/bin/elixir @@ -1,7 +1,7 @@ #!/bin/sh set -e -ELIXIR_VERSION=1.16.0-rc.0 +ELIXIR_VERSION=1.16.0-rc.1 if [ $# -eq 0 ] || { [ $# -eq 1 ] && { [ "$1" = "--help" ] || [ "$1" = "-h" ]; }; }; then cat <&2 diff --git a/bin/elixir.bat b/bin/elixir.bat index 26594925d79..e52fa8db9e7 100644 --- a/bin/elixir.bat +++ b/bin/elixir.bat @@ -1,6 +1,6 @@ @if defined ELIXIR_CLI_ECHO (@echo on) else (@echo off) -set ELIXIR_VERSION=1.16.0-rc.0 +set ELIXIR_VERSION=1.16.0-rc.1 setlocal enabledelayedexpansion if ""%1""=="""" if ""%2""=="""" goto documentation