Elixir

Elixir

Elixir Core Team

This release adds basic support for Erlang/OTP 26. When migrating
to Erlang/OTP 26, keep it mind it changes how maps are stored
internally and they will be printed and traversed in a different
order (note maps never provided a guarantee of their order).
To aid migration, this release adds :sort_maps to inspect
custom options, in case you want to sort them before inspection:

inspect(map, custom_options: [sort_maps: true])

Enhancements

Elixir

  • [Inspect] Add :sort_maps to Inspect.Opts.custom_options

IEx

  • [IEx] Support shell history in Erlang/OTP 26+

Mix

  • [mix compile.elixir] Optimize application tracer

Bug fixes

Elixir

  • [Code] Properly handle blocks with comments in all cases in Code.quoted_to_string_with_comments/2
  • [Kernel] Fix debug_info/4 when returning core_v1
  • [Kernel] Store complete path on quote keep: true to avoid invalid stacktraces
  • [Kernel] Fix column count when tokenizing escaped interpolations
  • [Stream] Fix Stream.zip/1 hanging on empty list

Mix

  • [mix format] Don’t call formatter on directories

First Post!

muelthe

muelthe

Awesome, thanks.

Most Liked

josevalim

josevalim

Creator of Elixir

This is intentional, as there is no official 26 release yet. But you can run the compiled for 25 on 26 or compile from source on 26.

13
Post #3
josevalim

josevalim

Creator of Elixir

The root cause is the following:

  1. Erlang/OTP 26 added new linting errors to detect previously invalid (but not warned) typespecs: dialyzer: fix singleton type var in union types by kikofernandez · Pull Request #6864 · erlang/otp · GitHub

  2. cowlib was affected by this. A new version (2.9.1) was released but Cowboy depends on cowlib (2.9.0)

For now, you can either forcibly bump cowlib by declaring 2.9.1 with override or wait until there is a new cowboy version out. I have also asked the Erlang/OTP team if it can be a warning for now.

josevalim

josevalim

Creator of Elixir

The Windows issues on Erlang/OTP 26 should be addressed by running mix local.rebar and installing the latest Rebar.

Last Post!

CharlesO

CharlesO

This Works. Thanks!

Where Next? Top

Trending in News Top

ericmj
Release: Release v2.6.0 · hexpm/hex · GitHub Announcement: Hex v2.6 released | Hex Backwards incompatible changes Require --key in mix...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews