v1.2 brings enhancements, bug fixes, performance improvements and more into Elixir. Elixir v1.2 supports only Erlang 18. Upgrading to Erlang 18 is therefore recommended before upgrading Elixir.
- [Kernel] Support multiple aliases in
alias
,import
,require
anduse
. For example,alias MyApp.{Foo, Bar, Baz}
- [Kernel] Add
struct!/2
. Similar tostruct/2
but raises on invalid keys - [Macro] Add
Macro.traverse/4
that performs pre and post-walk at once - [String] Support
String.normalize/2
andString.equivalent?/2
that perform NFD and NFC normalization
- [IEx] Display type docs for
t(Module.type)
andt(Module.type/arity)
- [Mix] Cache and always consolidate protocols
- [Mix] Always run non-recursive tasks at the umbrella root