v0.15.0
Pre-release
Pre-release
Enhancements
- [Agent] Improve the Agent API to also accept functions that receive explicit module, function and arguments
- [IEx] Support
--werlcall on Windows - [Logger] Add
Logger - [Map] Add
Map.from_struct/1 - [Mix] Allow
--appflag to be passed tomix new - [Mix] Support lowercase
http(s)_proxyenvironment variables - [Mix] Allow
elixirc_pathsto also be given through the command line tomix compile.elixir - [String]
String.slice/2andString.slice/3have been optimized
Bug fixes
- [IEx] Ensure functions in
Kernel.SpecialFormsandIEx.Helpersare 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/3results - [Stream] Implement the
Inspectprotocol 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/6now expects Inspect.Opts instead of an integer limit - [Inspect]
Inspect.Algebra.pretty/2is deprecated in favor ofInspect.Algebra.format/2that 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 ofIO.ANSI.enabled? - [IO]
IO.ANSI.escape/2andIO.ANSI.escape_fragment/2is deprecated in favor ofIO.ANSI.format/2andIO.ANSI.format_fragment/2 - [Kernel] Leading
0for octals is deprecated in favor of0o - [Kernel]
0Xfor hexadecimals is deprecated in favor of0x - [Kernel]
0Bfor binaries is deprecated in favor of0b - [Mix] Mix color configuration expects a list of atoms instead of a string with colors separated by comma
- [String]
\NNN,\NNand\Nfor octals are deprecated inside string, sigils and chars in favor of hexadecimal entries with\x
Backwards incompatible changes
- [Kernel]
binding/1andbinding/2expecting a list were removed - [Regex] Do not consider include captures on
Regex.split/3results