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

Where Next?

Popular in News Top

josevalim
Hello folks, There has been some doubts regarding StreamData and PropertyTesting in Elixir so we have decided to open up a thread to ans...
New
josevalim
Hi everyone, I am really happy to announce Plug v1.4.0-rc.0. It has many improvements and bug fixes: Multipart support is now implemen...
New
josevalim
It is a maintenance release, so nothing out of the ordinary. Please see the release notes for more information: Release v1.5.3 · elixir-...
New
Elixir
This release requires Erlang/OTP 24 and later. Elixir v1.15 is a smaller release with focused improvements on compilation and boot time...
New
Elixir
This release adds basic support for Erlang/OTP 26. When migrating to Erlang/OTP 26, keep it mind it changes how maps are stored interna...
New
josevalim
Elixir v1.14 brings many improvements to the debugging experience in Elixir and data-type inspection. It also includes a new abstraction...
New
Elixir
Release: Release v1.12.3 · elixir-lang/elixir · GitHub 1. Bug fixes Elixir [Code] Make sure that bindings in the default context return...
New
Elixir
Hi everyone, this release includes type inference across applications and is our last step before v1.20. Please give it a try! Here are ...
New
jola
Hey everyone! It’s my enormous pleasure to present Hex Diff, an official hex.pm service for generating web-based diffs between package ve...
New
Elixir
Release: Release v1.10.0-rc.0 · elixir-lang/elixir · GitHub Support for Erlang/OTP 21+ Elixir v1.10 requires Erlang/OTP 21+, allowing El...
New

Other popular topics Top

mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 43622 214
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31142 143
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement