josevalim

josevalim

Creator of Elixir

Elixir v1.4.0-rc.0 released

Hello folks,

Elixir v1.4.0-rc.0 has been released. This is a release candidate for the upcoming Elixir v1.4.0.

The most notable changes are the addition of the Registry module and the Task.async_stream/3 and Task.async_stream/5 which aid developers in writing concurrent software. Overall this is the smallest release since Elixir v1.0 and that’s also a feature! :slight_smile:

You can find more information about this release in the CHANGELOG: elixir/CHANGELOG.md at v1.4 · elixir-lang/elixir · GitHub

With this release we are also officially moving the docs for Elixir and friends to Hexdocs: Elixir v1.4.0-rc.0 – Documentation - this provides a unified doc experience throughout the ecosystem and the ability to version all versions (so far we kept only the latest of each branch).

Please give Elixir v1.4 a try. Since it is a prerelease it may not be available in package managers but you can easily use the precompiled packages as explained here: Installing Elixir - The Elixir programming language

Finally, as with previous releases, this release includes new warnings. So please update your libraries and if your dependencies are emitting warnings, please update them when appropriate and send pull requests when possible.

FAQ

How frequent are Elixir releases?

Elixir releases have been happening in an interval of 6 months. This has been true since Elixir v1.1. For this reason, we are officially planning to have a new minor release every 6 months. It is not a hard rule, if necessary we will release earlier, or later if nothing worthwhile has been added to master, but that’s the timeline we will work with.

What about GenStage?

The Elixir Core has discussed and agreed to not include GenStage as part of Elixir. That’s actually good news for GenStage: it became obvious in the last months that GenStage has grown beyond our expectations. By keeping GenStage and Flow as separate projects, we will have more flexibility in evolving both.

In any case, we will continue with our plans to remove GenEvent from Elixir Core in the long term. While GenStage and Elixir’s v1.4 registry can be used as replacements, known tools such as Supervisor and GenServers may do the job as well, as I have recently written on Plataformatec’s blog: Replacing GenEvent by a Supervisor + GenServer « Plataformatec Blog

Once Elixir v1.4.0 (final) is released, we will announce the full plans for GenStage and Flow and how they will relate to future Elixir versions.

Most Liked

Qqwy

Qqwy

TypeCheck Core Team

Reading through the changelog, these are my favourite new features:

  • Application inflection: This will definitely make Elixir more approachable for newcomers.
  • Task.async_stream: Absolutely wonderful that the distribution of workload across processes is now handled for you.
  • The Registry :heart_eyes:
  • And it is absolutely true that being the smallest release is also a wonderful thing! :thumbsup:

15
Post #2
josevalim

josevalim

Creator of Elixir

Your post has everything to it, thank you for the feedback! That’s what happens when you ask for a practical change instead of debating the syntax (which won’t change). :wink:

15
Post #8
minhajuddin

minhajuddin

[IEx.Autocomplete] Stop appending a trailing dot when autocompleting modules in IEx

This is going to make IEx auto completion frustration free :smiley:

14
Post #5
josevalim

josevalim

Creator of Elixir

Elixir v1.4.0-rc.1 has been released, it fixes regressions, some new bugs fixed just in time for v1.4, and adds autocomplete of map fields in IEx. Hopefully this is the last stop before v1.4.0 final.

Thanks everyone who gave v1.4.0-rc a try and provided feedback so far!

andre1sk

andre1sk

Congrats!!!
Registry and Task.async_stream are very welcome additions to already amazing language.

Where Next?

Popular in News Top

josevalim
NOTE: this is a focused thread, so we appreciate if everybody stayed on topic. Feel free to comment anything in regards to calendar forma...
New
josevalim
The goal of private modules is to define a module that cannot be trivially accessed by other modules where they are not visible to. In t...
New
josevalim
Hello everyone, Two vulnerabilities have been disclosed to Plug. Applications that provide file uploading functionality to a local file...
New
Elixir
1. Enhancements Elixir [Code] Add Code.eval_quoted_with_env/4 with support for the :prune_binding option ExUnit [ExUnit.Case] Allow te...
New
josevalim
Hi everyone, We have just released Elixir v1.8.0-rc.1. It contains only one bug fix compared to v1.8.0-rc.0. You can read the previous a...
New
josevalim
Announcement: https://elixir-lang.org/blog/2018/07/25/elixir-v1-7-0-released/ Release notes: https://github.com/elixir-lang/elixir/relea...
New
Elixir
1. Bug fixes Logger [Logger.Translator] Fix logger crash when :gen_statem’s format_status/2 returns non-tuple Mix [mix deps.get] Fix r...
New
Elixir
Release: Release v1.12.0-rc.0 · elixir-lang/elixir · GitHub Note: this is a release candidate. Please try it out and give us feedback! G...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.9.1 1. Enhancements Mix [mix format] Print relative paths in --check-for...
New
josevalim
moderators note: A conclusion by @josevalim has been drawn in Proposal: Private modules (general discussion) - #143 by josevalim While...
320 12877 159
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New

We're in Beta

About us Mission Statement