jeremyjh

jeremyjh

Dialyxir - Mix tasks to simplify use of Dialyzer in Elixir projects.

Dialyxir provides Elixir integration to the Erlang Dialyzer that ships in OTP. The simplest invocation is mix dialyzer, which will perform a static type analysis of your project and produce warning messages. It also has many options for integrating into CI workflows; see the documentation for more.

There is an older thread where Dialyxir updates have been posted, but its been dormant for years, is ancient history and doesn’t meet the current guidelines for this category, so I’m starting a new one to have a thread for releases and updates.

1.4.4 was released today, with several improvements and fixes, most notably:

  • @christhekeele has taken over maintenance of the dependency Erlex and added support for Elixir 1.16. Erlex is responsible for parsing and printing the code related to warning messages in Elixir, rather than Erlang and is critical to Dialyxir. Chris also made many improvements to the benefit of maintenance of that package going forward, and 1.4.4 now depends on this to ensure those fixes get out to everyone.
  • @axelson Implemented support for multiple formatters, which allows you to do things like mix dialyzer --format github --format dialyxir in order to capture warnings in Github format and in human-readable format in a single invocation.
  • I fixed a bug related to formatting Invalid Contract warnings that has been present since OTP 26.
  • Other contributors in this release include kianmeng, ProducerMatt, @sigu, and Inenad

While I’m very grateful for Chris stepping in to support Erlex, I’m very sad that it was necessary. Andrew Summers passed away suddenly in 2022. Andrew developed Erlex (originally in the Dialyxir repo, and later extracted to a library) and all the formatters that use it in Dialyxir. Dialyxir would not be what it is today without his support, and he put far more work into it over a few brief months than I have across the project’s lifetime.

There have been many other contributors over the years - to many to list - and the project simply would not exist without them. I’m very grateful also for all the advice and direction given by the community over the years, most particularly from @fishcakez .

I have to be honest though, I hope it does not remain useful for too much longer! I’m very excited about the work that Jose and team are doing on set-theoretic types - which began landing in 1.17. I believe this type system will solve many issues that simply cannot be solved in success typing and provide a development experience that is much improved for developers who take advantage of it.

Where Next?

Popular in Libraries Top

marcuslankenau
I feel kind of stuck with the absence of a proper xml library for Elixir. Currently I use SweetXML which was ok for me more or less to pa...
New
zoltanszogyenyi
Hey everyone :wave: Excited to join this forum - I am one of the founders and current project maintainers of a popular and open-source U...
New
deadtrickster
I’ve just released stable versions of my Prometheus Elixir libs: Elixir client [docs]; Ecto collector [docs]; Plugs instrumenter/Export...
New
kevinlang
Hey all, We have made an Ecto3 Adapter for SQLite3, ecto_sqlite3! We have successfully on-boarded the full suite of integration tests (...
New
praveenperera
FastRSS Parse RSS feeds very quickly: This is rust NIF built using rustler Uses the RSS rust crate to do the actual RSS parsing Speed...
New
achempion
Hi, I would like to tell about my initiative to further maintain and develop Waffle project which is the fork of Arc library. The progre...
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
ahamez
Hi everyone, I’ve been working on this protobuf library for 3 years. We use it in the company I work for, EasyMile, to communicate with ...
New
gabrielpoca
Hello everyone! I want to share with you something that I’m really proud of: https://stillstatic.io/ Still is a static site builder for...
New
mtrudel
Bandit is an HTTP server for Plug and WebSock apps. Bandit is written entirely in Elixir and is built atop Thousand Island. It can serve...
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
Tee
can someone please explain to me how Enum.reduce works with maps
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
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
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
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
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
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
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

Sub Categories:

We're in Beta

About us Mission Statement