Elixir

Elixir

Elixir Core Team

Elixir v1.19.0-rc.2 released

1. Enhancements

Elixir

  • [Regex] Raise error message when regexes are used as default values in struct fields for compatibility with Erlang/OTP 28
  • [Registry] Add key-based partitioning of duplicate registries

2. Bug fixes

Elixir

  • [Kernel] Address issue with type checking not completing on protocol consolidation

ExUnit

  • [ExUnit] Do not crash on empty test unit groups

Mix

  • [mix help] Add mix help app:APP
  • [mix test] Fix module preloading in mix test --slowest-modules=N

Most Liked

josevalim

josevalim

Creator of Elixir

Alright folks, in a nutshell, this release addresses all feedback from the previous RCs:

  1. Fully compatible with Erlang/OTP 28.1+

  2. Struct update syntax has been adapted into a type assertion operator

  3. Addresses issues with projecting taking too long to compile

This should be our final stop before v1.19, please give it a try!

46
Post #3
josevalim

josevalim

Creator of Elixir

Perfect timing, we were just about to release it. Fixed!

josevalim

josevalim

Creator of Elixir

Oh, I think I got it. You literally have a protocol and then in one of the implementations, you define additional clauses.

Yes, the warning is expected. The type system is enforcing that you are implementing the protocol exactly for the type of that implementation. We could not emit any warning, but then it means someone may accidentally define additional clauses, and they won’t get any help from the type system. So we chose to enforce that the first argument matches the implementation.

If the description above is not correct, then please provide a way to reproduce this or post a larger code snippet. Thanks.

idyll

idyll

I have verified across multiple projects now. We did hit the issue in rc.1 :wink:
But rc.2 seems solid.

I am deploying to some QA ENVs right now but things look really good.
Probably 20k unit tests across the projects we’ve updated. All passing.
Huge improvements.

THANK YOU SO MUCH!!!

josevalim

josevalim

Creator of Elixir

It will do more work because the type system is smarter. :slight_smile: So that bit is expected too!

Where Next?

Popular in News Top

Elixir
1. Enhancements Elixir [Kernel] Support /E modifier for regular expressions in config files Mix [mix compile] Allow forcing specific c...
New
Elixir
1. Enhancements Elixir [Duration] Add Duration.to_iso8601/1 and Duration.from_iso8601/1 [Keyword] Add Keyword.intersect/2-3 to mirror th...
New
Elixir
Release: Release v1.12.0-rc.1 · elixir-lang/elixir · GitHub 1. Enhancements Elixir [Code] Add Code.cursor_context/2 to return the conte...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.10.2 1. Bug fixes Elixir [Macro] Fix a bug where Macro.to_string/1 would...
New
Elixir
1. Enhancements Mix [mix compile.elixir] Do not run fixpoint computation on runtime dependencies. This should considerably improve compi...
New
Elixir
Full announcement: Elixir v1.18 released: type checking of calls, LSP listeners, built-in JSON, and more - The Elixir programming languag...
New
josevalim
Hello everyone, This past weekend we have released Ecto v2.1.0-rc.5, hopefully the last release candidate for Ecto v2.1: https://github...
New
josevalim
Announcement: https://elixir-lang.org/blog/2018/07/25/elixir-v1-7-0-released/ Release notes: https://github.com/elixir-lang/elixir/relea...
New
Elixir
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 prec...
New
josevalim
Elixir v1.5.0-rc.1 has been released. This is the second release candidate for the upcoming Elixir v1.5. It includes bug fixes, enhance...
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New

We're in Beta

About us Mission Statement