v1.14.1
·
14116 commits
to main
since this release
1. Enhancements
Elixir
- [Kernel] Perform partial expansion of literals in module attributes
- [Kernel] Do not add compile-time dependencies for literals as defaults in
Application.compile_env/3inside module attributes - [Macro] Add
Macro.expand_literals/2andMacro.expand_literals/3 - [System] Add
:close_stdintoSystem.shell/2
Mix
- [mix test] Accept
--all-warningsoption
2. Bug fixes
Elixir
- [Kernel] Fix misleading warning when
:uniqis given inforcomprehensions and the result is unused - [Kernel] Improve error message for when there is a conflicting struct and ignoring module conflict
- [Kernel] Do not delete
@enforce_keysattribute afterdefstructdeclaration - [Kernel] Do not crash the checker on modules with missing
:debug_infochunk - [Macro] Fix error in
Macro.to_string/2when converting an AST with:erlang.binary_to_atom/2 - [String] Fix
String.split/3andString.next_grapheme/1returning invalid results on invalid UTF-8 encoding - [System] Do not close stdin by default in
System.shell/2 - [URI] Do not return
uri.portas:undefinedin certain cases inURI.new/1
ExUnit
- [ExUnit.DocTest] Do not crash when both
:moduledocand functions are specified in:only
IEx
- [CLI] Fix invalid argument handling when
--no-pryis given
Mix
- [mix format] Do not cache inputs from
.formatter.exsso they are properly re-evaluted on every call