View Source Changelog for Elixir v1.14

Elixir v1.14 requires Erlang/OTP 23+.

v1.14.0-dev

1. Enhancements

EEx

  • [EEx] Support multi-line comments to EEx via <%!-- --%>

Elixir

IEx

  • [IEx.Helpers] Allow an atom to be given to pid/1

Mix

  • [mix test] Improve error message when suite fails due to coverage

2. Bug fixes

Elixir

  • [Kernel] Define __exception__ field as true when expanding exceptions in typespecs

ExUnit

  • [ExUnit] Do not raise when diffing unknown bindings in guards

IEx

  • [IEx] Disallow short-hand pipe after matches

3. Soft-deprecations (no warnings emitted)

EEx

  • [EEx] Using <%# ... %> for comments is deprecated. Please use <% # ... %> or the new multi-line comments with <%!-- ... --%>

4. Hard-deprecations

Elixir

  • [Application] Calling Application.get_env/3 and friends in the module body is now discouraged, use Application.compile_env/3 instead
  • [Bitwise] use Bitwise is deprecated, use import Bitwise instead
  • [Bitwise] ~~~ is deprecated in favor of bnot for clarity
  • [Kernel.ParallelCompiler] Returning a list or two-element tuple from :each_cycle is deprecated, return a {:compile | :runtime, modules, warnings} tuple instead
  • [Kernel] Deprecate the operator <|> to avoid ambiguity with upcoming extended numerical operators
  • [String] Deprecate passing a binary compiled pattern to String.starts_with?/2

Mix

v1.13

The CHANGELOG for v1.13 releases can be found in the v1.13 branch.