Elixir
Elixir v1.14.4 released
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_mapstoInspect.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/4when returning core_v1 - [Kernel] Store complete path on
quote keep: trueto avoid invalid stacktraces - [Kernel] Fix column count when tokenizing escaped interpolations
- [Stream] Fix
Stream.zip/1hanging on empty list
Mix
- [mix format] Don’t call formatter on directories
Most Liked
josevalim
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.
josevalim
The root cause is the following:
-
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
-
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
The Windows issues on Erlang/OTP 26 should be addressed by running mix local.rebar and installing the latest Rebar.
Popular in News
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









