Elixir

Elixir

Elixir Core Team

Elixir v1.17.3 released

1. Bug fixes

Elixir

  • [Duration] Fix parsing of fractional durations with non-positive seconds
  • [Kernel] Do not attempt to group module warnings when they have a large context

IEx

  • [IEx.Helpers] Properly reconsolidate protocols on recompile

Mix

  • [mix compile.elixir] Do not verify modules twice
  • [mix xref] Respect the --label option on stats and cycles

Most Liked

delitrem

delitrem

I have submitted a tiny PR which fixes the failing tests.

delitrem

delitrem

Thank you very much for the release!

Some tests do not pass under Erlang 27.1 (I’m current maintainer of Erlang, Elixir and their friends for Guix System), everything else seems to be fine. What could be wrong?

  1) test translates Supervisor progress with name (Logger.TranslatorTest)
     test/logger/translator_test.exs:963
     Assertion with =~ failed
     code:  assert capture_log(:info, fn ->
              ref = Process.monitor(pid)
              Supervisor.start_child(pid, worker(Task, [__MODULE__, :sleep, [self()]]))
              Process.exit(pid, :normal)

              receive do
                {:DOWN, ^ref, _, _, _} -> :ok
              end
            end) =~ ~r"\[info\] Child Task of Supervisor Logger.TranslatorTest started
            "
     left:  ""
     right: ~r/\[info\] Child Task of Supervisor Logger.TranslatorTest started\n/
     stacktrace:
       test/logger/translator_test.exs:966: (test)

  2) test translates Supervisor progress (Logger.TranslatorTest)
     test/logger/translator_test.exs:948
     Assertion with =~ failed
     code:  assert capture_log(:info, fn ->
              ref = Process.monitor(pid)
              Supervisor.start_child(pid, worker(Task, [__MODULE__, :sleep, [self()]]))
              Process.exit(pid, :normal)

              receive do
                {:DOWN, ^ref, _, _, _} -> :ok
              end
            end) =~ ~r"\[info\] Child Task of Supervisor #PID<\d+\.\d+\.\d+> \(Supervisor\.Default\) started
            Pid: #PID<\d+\.\d+\.\d+>
            Start Call: Task.start_link\(Logger.TranslatorTest, :sleep, \[#PID<\d+\.\d+\.\d+>\]\)
            "
     left:  ""
     right: ~r/\[info\] Child Task of Supervisor #PID<\d+\.\d+\.\d+> \(Supervisor\.Default\) started\nPid: #PID<\d+\.\d+\.\d+>\nStart Call: Task.start_link\(Logger.TranslatorTest, :sleep, \[#PID<\d+\.\d+\.\d+>\]\)\n/
     stacktrace:
       test/logger/translator_test.exs:951: (test)
josevalim

josevalim

Creator of Elixir

I believe Erlang changes the level of those reports from info to debug. Other than that, we should be all good.

Where Next?

Popular in News Top

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
Elixir
This release includes type inference of patterns to provide warnings for an initial set of constructs (binaries, maps, and atoms) within ...
New
Elixir
Release: Release v1.11.3 · elixir-lang/elixir · GitHub 1. Enhancements Elixir [Macro] Add Macro.unique_var/2 and Macro.generate_unique_...
New
Elixir
1. Enhancements Elixir [Code] Add :emit_warnings for Code.string_to_quoted/2 [File] Add :offset option to File.stream!/2 [Kernel] Auto i...
New
josevalim
Hello everyone, We have released Elixir v1.3.3. This release has some compiler- and dialyzer-related improvements as well as some enhanc...
New
josevalim
Hi everyone, We are glad to announce that the first release candidate for Elixir v1.6.0 is out. Check out the CHANGELOG and give the re...
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
Elixir
Release: Release v1.10.0 · elixir-lang/elixir · GitHub Support for Erlang/OTP 21+ Elixir v1.10 requires Erlang/OTP 21+, allowing Elixir ...
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
josevalim
Announcement: Elixir v1.7 released - The Elixir programming language Release notes: Release v1.7.0 · elixir-lang/elixir · GitHub Thanks...
New

Other popular topics Top

albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New

We're in Beta

About us Mission Statement