Hi everyone!
We are back with another edition of “What’s new in Elixir”. This time we are working towards Elixir v1.8 which should be out next January. Here are some highlights of what have already made to master:
-
mix test
now supports the--max-failures
flag (commit) -
The
Inspect
protocol can now be easily derivable and this is a great mechanism to exclude some fields during inspection and logs, especially security-related ones (commit) -
Mix now automatically starts optional dependencies when using the
:extra_applications
configuration (commit) -
We finally have official support for time zone databases in Elixir. Elixir still handles only UTC by default but you can bring another database to use the
DateTime
API with other time zones (commit) -
There are many other small additions, such as
List.myers_difference/3
andString.bag_distance/2
which were extracted from the Elixir codebase itself
For the complete list of changes, see the CHANGELOG. To keep track of upcoming changes and even contribute some features yourself, head to Elixir’s issues tracker.