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

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 #6
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.

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 that uses regexps in module constants all over the place.

zachdaniel

zachdaniel

Creator of Ash

Yeah in Ash we have something like this:

attribute :email, :string do
  constraints [match: ~r/@/]
end

and

validate match(:email, ~r/@/)

all of which need to change now to support functions being provided :sob:.

Where Next?

Popular in News Top

Elixir
Release: Release v1.13.1 · elixir-lang/elixir · GitHub 1. Bug fixes Elixir [Code] Do not show code snippets in SyntaxError and TokenMis...
New
josevalim
Elixir v1.4.5 has been released with fixes for those interested in running Erlang/OTP 20: https://github.com/elixir-lang/elixir/releases/...
New
josevalim
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.13.3 1. Enhancements Mix [mix format] Supply file and line to formatter ...
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
1. Enhancements Elixir [Code] Add :emit_warnings for Code.string_to_quoted/2 [File] Add :offset option to File.stream!/2 [Kernel] Auto i...
New
Elixir
Announcement: Elixir v1.13 released - The Elixir programming language 1. Enhancements EEx [EEx] Add :parser_options to EEx functions E...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.10.3 1. Bug fixes Elixir [Code] Return [{mod, bin}] from Code.compile_fi...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.9.1 1. Enhancements Mix [mix format] Print relative paths in --check-for...
New
Elixir
Official announcement: Elixir v1.12 released - The Elixir programming language Elixir v1.12 is out with improvements to scripting, tight...
New
josevalim
Official announcement: http://elixir-lang.org/blog/2017/01/05/elixir-v1-4-0-released/
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement