From caed7d1d3fe368564f7204680c89ae58c8d7303b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 3 Dec 2021 19:03:54 +0100 Subject: [PATCH] Release v1.13.0 --- CHANGELOG.md | 45 ++++++++------------------------------------- VERSION | 2 +- bin/elixir | 2 +- bin/elixir.bat | 2 +- 4 files changed, 11 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8adb71638a0..a8418988fb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -128,43 +128,7 @@ Now any application can use your formatter as follows: Finally, the `Code` module has also been augmented with two functions: `Code.string_to_quoted_with_comments/2` and `Code.quoted_to_algebra/2`. Those functions allow someone to retrieve the Elixir AST with their original source code comments, and then convert this AST to formatted code. In other words, those functions provide a wrapper around the Elixir Code Formatter, supporting developers who wish to create tools that directly manipulate and custom format Elixir source code. -## v1.13.0-rc.1 (2021-11-16) - -### 1. Enhancements - -#### Mix - - * [Mix] Add `Mix.installed?/0` - -### 2. Bug fixes - -#### Elixir - - * [Application] Allow any expression as first argument of `compile_env` - * [Kernel] Reject bidirectional formatting characters in strings and comments - * [Kernel] Support escaping of terminators in uppercase sigils heredocs for consistency - -#### IEx - - * [IEx] Stop evaluator before exiting IEx server - -#### Mix - - * [mix release] Raise proper error message when non-serializable values are in configs - -### 3. Regressions - -#### Elixir - - * [Code] Do not crash on duplicate bindings during eval - * [Macro] Do not raise on variables that look like an empty tuple in `Macro.to_string/1` - * [URI] Make sure parsed URIs with empty paths have the path field set to nil - -#### Mix - - * [Mix.Shell] Re-add `yes?/1` as a callback - -## v1.13.0-rc.0 (2021-11-01) +## v1.13.0 (2021-12-03) ### 1. Enhancements @@ -228,6 +192,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str * [Mix] Add `MIX_INSTALL_FORCE` environment variable support * [Mix] Support `:config` and `:system_env` in `Mix.install/2` + * [Mix] Add `Mix.installed?/0` * [Mix.Shell] Add `:default` option to `Mix.Shell.yes?` * [mix archive.install] Run `loadconfig` before building archive * [mix compile] Move Elixir version check to before deps are compiled, in order to give feedback earlier @@ -263,10 +228,13 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str #### Elixir + * [Application] Allow any expression as first argument of `compile_env` * [Application] Warn if `Application.compile_env` or `Application.compile_env!` are called without a require * [Code] Make sure `:static_atoms_encoder` in `Code.string_to_quoted/2` also applies to quoted keyword keys * [Code] Ensure bindings with no context are returned as atoms instead of `{binding, nil}` in eval operations * [Inspect] Fix a bug when inspecting a non-binary bitstring with colors + * [Kernel] Reject bidirectional formatting characters in strings and comments + * [Kernel] Support escaping of terminators in uppercase sigils heredocs for consistency * [Kernel] Raise if `__CALLER__` or `__ENV__` or `__STACKTRACE__` are used in match * [Kernel] Improve error message on invalid argument for `byte_size` from binary concat * [Kernel] Raise when aliasing non-Elixir modules without `:as` @@ -293,6 +261,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str #### IEx * [IEx] Fix the loss of `.iex.exs` context after a pry session + * [IEx] Stop evaluator before exiting IEx server to avoid evaluators leaking #### Logger @@ -301,6 +270,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str #### Mix + * [mix compile.elixir] Track transitive runtime dependencies coming from local/path dependencies * [mix compile.elixir] Recompile file if `@external_resource` is deleted * [mix compile.elixir] Print number of compiling files on all compiler cycles. This will make the `Compiling N files (.ex)` show up multiple times if necessary * [mix deps] Raise if local dep is unavailable while compiling @@ -309,6 +279,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str * [mix release] Improve release scripts by making sure shell errors cascade (this is done by avoiding exporting and defining variables in a single step) * [mix release] Do not boot release if `RELEASE_COOKIE` is empty * [mix release] Allow releases running as a daemon to be restarted + * [mix release] Raise proper error message when non-serializable values are in configs * [mix test] Fix coverage engine to also tag `case`, `cond`, and `receive` branches where the right side is a literal ### 3. Soft-deprecations (no warnings emitted) diff --git a/VERSION b/VERSION index 3d9584e4528..f88cf52e6ef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.13.0-rc.1 \ No newline at end of file +1.13.0 \ No newline at end of file diff --git a/bin/elixir b/bin/elixir index 413c92eff34..e708d06afed 100755 --- a/bin/elixir +++ b/bin/elixir @@ -1,7 +1,7 @@ #!/bin/sh set -e -ELIXIR_VERSION=1.13.0-rc.1 +ELIXIR_VERSION=1.13.0 if [ $# -eq 0 ] || { [ $# -eq 1 ] && { [ "$1" = "--help" ] || [ "$1" = "-h" ]; }; }; then cat <&2 diff --git a/bin/elixir.bat b/bin/elixir.bat index 3a3d4146a8e..5a7b8f8baf4 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.13.0-rc.1 +set ELIXIR_VERSION=1.13.0 setlocal enabledelayedexpansion if ""%1""=="""" if ""%2""=="""" goto documentation