Elixir

Elixir

Elixir Core Team

Elixir v1.18.4 released

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/1 which prints process information

Mix

  • [mix compile] Support the --no-listeners option
  • [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-listeners option

2. Bug fixes

Elixir

  • [Kernel] Emit trace events for @on_definition callbacks
  • [Kernel] Emit trace events for @on_load callbacks
  • [Kernel] Emit trace events for super calls
  • [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

First Post!

vkryukov

vkryukov

Congratulations!

For those of you who want to try Elixir 1.18.4 w/ OTP 28 and uses igniter package, the compilation is broken because igniter depends on GitHub - nurugger07/inflex: An Inflector library for Elixir · GitHub that uses regexps in module constants all over the place.

Most Liked

zachdaniel

zachdaniel

Creator of Ash

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.

10
Post #5
warmwaffles

warmwaffles

I think I made a decent fix for Inflex, now we just wait and see if upstream accepts it.

zachdaniel

zachdaniel

Creator of Ash

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.

Where Next?

Popular in News Top

josevalim
In Elixir we are continuously trying to improve the experience for developers learning the language. However, there are still common road...
New
josevalim
moderators note: A conclusion by @josevalim has been drawn in Proposal: Private modules (general discussion) - #143 by josevalim While...
320 14557 157
New
Elixir
Release: Release v1.9.3 · elixir-lang/elixir · GitHub This release deprecates the use of URLs on mix archive.install, mix escript.instal...
New
Elixir
Release: Release v1.11.0-rc.0 · elixir-lang/elixir · GitHub Over the last releases, the Elixir team has been focusing on the compiler, b...
New
Elixir
This release adds basic support for Erlang/OTP 26. When migrating to Erlang/OTP 26, keep it mind it changes how maps are stored interna...
New
Elixir
This release includes type inference of patterns to provide warnings for an initial set of constructs (binaries, maps, and atoms) within ...
New
Elixir
1. Enhancements Elixir [Regex] Raise error message when regexes are used as default values in struct fields for compatibility with Erlan...
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
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
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
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42576 114
New

We're in Beta

About us Mission Statement