Elixir
Elixir Core Team
This release includes initial support for Erlang/OTP 28, for those who want to try it out. In such cases, you may use Elixir v1.18.4 precompiled for Erlang/OTP 27, as it is binary compatible with Erlang/OTP 28. Note, however, that Erlang/OTP 28 no longer allows regexes to be defined in the module body and interpolated into an attribute. If you do this:
@some_attribute ~r/foo/
def some_fun, do: @some_attribute
You must rewrite it to:
def some_fun, do: ~r/foo/
1. Enhancements
IEx
- [IEx.Helpers] Add
IEx.Helpers.process_info/1which prints process information
Mix
- [mix compile] Support the
--no-listenersoption - [mix local] Retry HTTP requests with disabled middlebox comp mode depending on the failure reason
- [mix local.hex] Install Hex per OTP release
- [mix local.rebar] Install Hex per OTP release
- [mix run] Support the
--no-listenersoption
2. Bug fixes
Elixir
- [Kernel] Emit trace events for
@on_definitioncallbacks - [Kernel] Emit trace events for
@on_loadcallbacks - [Kernel] Emit trace events for
supercalls - [Kernel] Emit trace events for imported function calls
- [Kernel] Optimize map unions to avoid building long lists
- [Kernel] Do not crash when type checking nested bitstrings in patterns
- [Kernel] Do not crash when non-binary bitstring is given as struct default value
- [Kernel] Recompile regexes when escaped from module attributes for Erlang/OTP 28 compatibility
- [Kernel] Preserve backwards compatibility in
elixir_erl
Mix
- [mix deps.get] Ensure git checkout works when there are untracked files in the dependency
- [mix loadpaths] Do not run listeners when not checking the deps
Trending in News
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security










Showing Posts 1 to 7- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
vkryukov
Congratulations!
For those of you who want to try Elixir 1.18.4 w/ OTP 28 and uses
igniterpackage, the compilation is broken becauseigniterdepends on GitHub - nurugger07/inflex: An Inflector library for Elixir · GitHub that uses regexps in module constants all over the place.warmwaffles
I think I made a decent fix for Inflex, now we just wait and see if upstream accepts it.
vkryukov
Thanks, and I already incorporated your fix into
igniter, sinceinflexdoesn’t seem to be actively maintained.zachdaniel
We’ve made a new release of igniter that does not depend on inflex. Thanks @vkryukov for the PR, igniter should be good to go with OTP 28.
NickGnd
Hey
For the curious ones, I think this is the relevant release note about this breaking change:
That’s interesting how defining regexes in the module body is so popular in the Elixir community, but it works only by “accident”
.
zachdaniel
Yeah in Ash we have something like this:
and
all of which need to change now to support functions being provided
.
zachdaniel
Update: future releases will support strings instead, and will warn on a regex being provided. i.e
constraints match: "@", and a string being provided will be treated as a regex.