Post

HN
Hacker News

Erlang/OTP 29.0

Erlang/OTP 29 is a new major release with new features, improvements as well as a few incompatibilities. Some of the new features are highlighted below.

Added support for -unsafe attributes for marking functions as unsafe to use. The compiler will by default now generate warnings for calls to functions in Erlang/OTP known to be always unsafe. Furthermore, xref can now be used to find calls to unsafe functions and functions that lack documentation.

The SSH daemon now defaults to disabled for shell and exec services, implementing the β€œsecure by default” principle. This prevents authenticated users from executing arbitrary Erlang code unless explicitly configured.

The SFTP subsystem is no longer enabled by default when starting an SSH daemon.

In SSL, the post quantum hybrid algorithm x25519mlkem768 is now the most preferred key exchange group in the default configuration.

The module io_ansi allows the user to emit Virtual Terminal Sequences (also known as ANSI sequences) to the terminal in order to add colors/styling to text or to create fully fledged terminal applications.