Skip to content

v0.15.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@josevalim josevalim released this 02 Aug 20:02

Enhancements

  • [Agent] Improve the Agent API to also accept functions that receive explicit module, function and arguments
  • [IEx] Support --werl call on Windows
  • [Logger] Add Logger
  • [Map] Add Map.from_struct/1
  • [Mix] Allow --app flag to be passed to mix new
  • [Mix] Support lowercase http(s)_proxy environment variables
  • [Mix] Allow elixirc_paths to also be given through the command line to mix compile.elixir
  • [String] String.slice/2 and String.slice/3 have been optimized

Bug fixes

  • [IEx] Ensure functions in Kernel.SpecialForms and IEx.Helpers are also auto-completed
  • [IEx] Ensure remote shells can be started with --remsh
  • [Kernel] Correctly parse unary/binary operators regardless of number of spaces
  • [Kernel] Ensure private functions are not exported
  • [Protocol] Do not expose protocol convention on assert_impl!/2
  • [Regex] Do not consider include captures on Regex.split/3 results
  • [Stream] Implement the Inspect protocol for Streams so we do not leak the Stream representation

Deprecations

  • [IEx] IEx color configuration expects a list of atoms instead of a string with colors separated by comma
  • [Inspect] Inspect.Algebra.surround_many/6 now expects Inspect.Opts instead of an integer limit
  • [Inspect] Inspect.Algebra.pretty/2 is deprecated in favor of Inspect.Algebra.format/2 that instead returns iodata. This function was used only by documentation examples and it is unlikely to affect actual code
  • [IO] IO.ANSI.terminal? is deprecated in favor of IO.ANSI.enabled?
  • [IO] IO.ANSI.escape/2 and IO.ANSI.escape_fragment/2 is deprecated in favor of IO.ANSI.format/2 and IO.ANSI.format_fragment/2
  • [Kernel] Leading 0 for octals is deprecated in favor of 0o
  • [Kernel] 0X for hexadecimals is deprecated in favor of 0x
  • [Kernel] 0B for binaries is deprecated in favor of 0b
  • [Mix] Mix color configuration expects a list of atoms instead of a string with colors separated by comma
  • [String] \NNN, \NN and \N for octals are deprecated inside string, sigils and chars in favor of hexadecimal entries with \x

Backwards incompatible changes

  • [Kernel] binding/1 and binding/2 expecting a list were removed
  • [Regex] Do not consider include captures on Regex.split/3 results