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
--werl
call on Windows - [Logger] Add
Logger
- [Map] Add
Map.from_struct/1
- [Mix] Allow
--app
flag to be passed tomix new
- [Mix] Support lowercase
http(s)_proxy
environment variables - [Mix] Allow
elixirc_paths
to also be given through the command line tomix compile.elixir
- [String]
String.slice/2
andString.slice/3
have been optimized
Bug fixes
- [IEx] Ensure functions in
Kernel.SpecialForms
andIEx.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 ofInspect.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 ofIO.ANSI.enabled?
- [IO]
IO.ANSI.escape/2
andIO.ANSI.escape_fragment/2
is deprecated in favor ofIO.ANSI.format/2
andIO.ANSI.format_fragment/2
- [Kernel] Leading
0
for octals is deprecated in favor of0o
- [Kernel]
0X
for hexadecimals is deprecated in favor of0x
- [Kernel]
0B
for 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
,\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
andbinding/2
expecting a list were removed - [Regex] Do not consider include captures on
Regex.split/3
results