DEV Community

Jonathan Yeong
Jonathan Yeong

Posted on

10 3

Elixir 1.11 released

Elixir 1.11 dropped today, just in time for ElixirConf EU! From the release notes:

Over the last releases, the Elixir team has been focusing on the compiler, both in terms of catching more mistakes at compilation time and making it faster. Elixir v1.11 has made excellent progress on both fronts

Some notable features include:

Tighter Erlang integration

Requires Erlang/OTP 23+

Integrates with Erlang's new log levels, notice, critical, alert, and emergency. And the Logger now supports structured logging.

IEx has also been given a little bump. You can now see improved documentation for Erlang modules.

Compiler checks

Application boundary checks meaning the compiler makes sure modules you invoke are listed as dependencies.

Data structure checks, the compiler will now check structs and maps across a function. With 1.11 missing fields in structs and maps will now be caught during compile time.

Compilation time improvements

The number of files compiled will now be reduced. 1.11 does this by marking imports and requires as export dependencies. Meaning it won't need to recompile those files every time a change is made.


See the release notes for more information!

What features are you excited about?

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️