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
Official announcement: Elixir v1.4 released - The Elixir programming language
New
josevalim
See the release notes: https://github.com/elixir-ecto/ecto/releases/tag/2.2.0-rc.0 To try it in your projects: {:ecto, "~&gt; 2.2.0-rc",...
New
ericmj
We are announcing the addition of private packages on Hex.pm. With private packages you can publish packages to Hex.pm that only your org...
New
josevalim
Hi everyone, We are glad to announce that the second release candidate for Elixir v1.6.0 is out. Check out the CHANGELOG and give the r...
New
josevalim
Hi everyone, We have just released Elixir v1.8.0-rc.0. For more information, checkout the CHANGELOG. Please give it a try and give us f...
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
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

Other popular topics Top

openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
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

We're in Beta

About us Mission Statement