github elixir-lang/elixir v1.16.0-rc.1

latest releases: main-latest, v1.17.3, v1.17.2...
pre-release11 months ago

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 escript.install

Don't miss a new elixir release

NewReleases is sending notifications on new releases.