Elixir

Elixir

Elixir Core Team

Elixir v1.10.4 released

Release: Release v1.10.4 · elixir-lang/elixir · GitHub

1. Bug fixes

Elixir

  • [Kernel] Fix a bug where custom types were printed as built-in types
  • [Kernel] Don’t add compile-time dependency on defdelegate
  • [Kernel] Add line numbers to warnings on deprecated imports
  • [Kernel] Report the correct line number when raising inside a macro
  • [Task] Include callers in translated Logger metadata for Task
  • [Task] Fix Task PID and caller in Task Supervisor reports

ExUnit

  • [ExUnit.Formatter] Avoid crashes when diffing guards when the pattern does not match
  • [ExUnit.Formatter] Also blame exceptions that come from linked and trapped exits

IEx

  • [IEx.Helpers] Do not crash when printing a type that cannot be code formatted

Mix

  • [mix app.start] Fix reading .app file located in archives (.ez files)
  • [mix local.hex] Provide more guidance when Hex can’t be installed
  • [mix release] Properly encode config in releases

Checksums

  • Precompiled.zip SHA1: 5b400c829c4f239ac89a7eb97aac642b961f38fd
  • Precompiled.zip SHA512: 9727ae96d187d8b64e471ff0bb5694fcd1009cdcfd8b91a6b78b7542bb71fca59869d8440bb66a2523a6fec025f1d23394e7578674b942274c52b44e19ba2d43
  • Docs.zip SHA1: 178f08724c63496878b6e427467f650f03cd978c
  • Docs.zip SHA512: cefaf0371a9751d37d6d1181f910a23d6cc627f7b77fe7fa1b303a9b4769d1fb2a9bbeea54566109fa5acf8e0455a5a44cb3ac9ccb9e968d92610b869d15d27c

Have fun!

Most Liked

Eiji

Eiji

At start make sure that asdf current erlang is set to 23.x and then use this command: asdf install elixir ref:v1.10.4. It would compile from source, but in Elixir case is not a really big problem since it does not take much time to compile.

v1.10.4 is Elixir git tag attached to specific commit, you can also use branch name like master (which is automaticcally attached to latest commit in specific branch) or even specify any commit reference (for example to check some PR).

tme_317

tme_317

I think the issue is here in the mapping of OTP versions and Elixir precompiled builds in the Bob builder: bob/lib/bob/job/build_elixir.ex at acd0d66213066e9b42f318b0da0818c01bb11c34 · hexpm/bob · GitHub

That said I thought I remember an earlier Elixir 1.10.x which was incompatible with OTP-23 and don’t know enough about that to make a simple PR.

Eiji

Eiji

@josevalim described it here:

Therefore, Elixir v1.11 will be released in October 2020. If there are any important bug fixes, we will continue releasing patch versions for Elixir v1.10. On that note, the latest Elixir v1.10.3 is already compatible with Erlang/OTP 23.

Source: Elixir v1.11 will be released in October 2020

So we have a problem with missing correct clasule for reference v1.10.4 which means it fallbacks to "v1.10." <> _ which then specifies such otp releases: ["21.3", "22.3"].

@josevalim I would like to suggest using Version.compare/2 which should reduce code. Just for example instead of:

  def elixir_to_otp(ref) do
    case ref do
      "v0" <> _ -> ["17.3"]
      "v1.0.0-" <> _ -> ["17.3"]
      "v1.0.0" -> ["17.3"]
      "v1.0.1" -> ["17.3"]
      "v1.0.2" -> ["17.3"]
      "v1.0.3" -> ["17.3"]
  # …

we could just write code like this one:

  def elixir_to_otp("v" <> version) do
    cond do
      Version.compare(version, "1.0.4") == :lt -> ["17.3"]
  # …

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
Hello everyone, We have just released GenStage 0.10.0 with an important bug fix if you were using the BroadcastDispatcher with a selecto...
New
josevalim
See the post: https://elixir-lang.org/blog/2017/12/05/whats-new-in-elixir/ Kudos to @doomspork for starting the series!
New
josevalim
Elixir v1.5.0-rc.1 has been released. This is the second release candidate for the upcoming Elixir v1.5. It includes bug fixes, enhancem...
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
Note this release includes offline Elixir installers for Windows per supported Erlang/OTP version. 1. Enhancements Elixir [Module] Mark...
New
josevalim
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.13.3 1. Enhancements Mix [mix format] Supply file and line to formatter ...
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
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
josevalim
Note: this is a language proposal so please keep the discussion on topic. If you want to talk about related behaviour but not strictly pa...
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29377 241
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
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
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
Lily
In templates/appointment/index.html.eex: &lt;%= for appointment &lt;- @appointments do %&gt; &lt;tr&gt; &lt;td&gt;&lt;%= appoi...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36128 110
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New

We're in Beta

About us Mission Statement