
Elixir 1.17 released with set-theoretic types, Erlang/OTP 27 support, & duration data type
Elixir, a functional programming language known for its scalability and maintainability, has released version 1.17. This update introduces gradual set-theoretic types, enabling the Elixir compiler to infer types from patterns and type-check programs without requiring changes to existing codebases. This enhancement provides new warnings for common mistakes, thereby improving code reliability.
The new version also supports Erlang/OTP 27 while dropping support for Erlang/OTP 24. Developers are advised to migrate to Erlang/OTP 26 or later, especially on Windows, where support for WERL (the graphical user interface for the Erlang terminal) will be discontinued in Elixir v1.18.
Another key feature in Elixir 1.17 is the introduction of the duration data type. This addition, along with APIs for shifting dates, times, and date times by specific durations, aims to simplify date and time manipulations across different calendars and time zones. The release also includes various other changes, enhancements, and bug fixes, reinforcing Elixir's robustness as a development language.