Enhancement
40 changes
Add support for defmacrocallback/1
Add Enum.shuffle/1
The :trace option now also reports run time for each test
Add support for :color to enable/disable ANSI coloring
Add the clear helper to clear the screen.
Add the capture operator &
Add support for GenFSM.Behaviour
Functions now points to the module and function they were defined when inspected
A documentation attached to a function that is never defined now prints warnings
Add List.keysort/2
:test_helper project configuration did not affect mix test and was therefore removed. A test/test_helper.exs file is still necessary albeit it doesn't need to be automatically required in each test file
Add manifests for yecc, leex and Erlang compilers, making it easier to detect dependencies in between compilers and providing a more useful clean behaviour
mix help now outputs information about the default mix task
Add --no-deps-check option to mix run, mix compile and friends to not check dependency status
Add support for MIX_GIT_FORCE_HTTPS system environment that forces HTTPS for known providers, useful when the regular git port is blocked. This configuration does not affect the mix.lock results
Allow coverage tool to be pluggable via the :test_coverage configuration
Add mix cmd as a convenience to run a command recursively in child apps in an umbrella application
Support umbrella: true in dependencies as a convenience for setting up umbrella path deps
mix run now behaves closer to the elixir command and properly mangles the ARGV
Add Regex.scan/3 now supports capturing groups
Add String.reverse/1
Ensure callbacks are stored in the definition order
Speed up boot time on Elixir .bat files
Reduce cases where IEx parser can get stuck
Improve error messages when the use of an operator has no effect
Fix a bug where warnings were not being generated when imported macros conflicted with local functions or macros
Document that on_definition can only be a function as it is evaluated inside the function context
Ensure %w sigils with no interpolation are fully expanded at compile time
mix deps.update, mix deps.clean and mix deps.unlock no longer change all dependencies unless --all is given
Always run mix loadpaths on mix app.start, even if --no-compile is given
Do not add boolean flags to the end result if they were not given
Do not parse non-boolean flags as booleans when true or false are given
Ensure :keep and :integer|:float can be given together as options
Ensure --no-flag sets :flag to false when :flag is a registered boolean switch
function(Mod.fun/arity) and function(fun/arity) are deprecated in favor of &Mod.fun/arity and &fun/arity
function/3 is deprecated in favor of Module.function/3
Kernel.ParallelCompiler now receives a set of callbacks instead of a single one
:test_coverage option now expect keywords arguments and the --cover flag is now treated as a boolean
Regex.scan/3 now always returns a list of lists, normalizing the result, instead of list with mixed lists and binaries
System.halt/2 was removed since the current Erlang implementation of such function is bugged