Skip to content

Commit

Permalink
Further polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Feb 13, 2024
1 parent 37e3d06 commit 705b478
Showing 1 changed file with 40 additions and 22 deletions.
62 changes: 40 additions & 22 deletions _news/167.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Below are some highlights of the release:
implemented. Documentation attributes in source files can now be used
to document functions, types, callbacks, and modules.

The entire Erlang/OTP documentation now using the new documentation
The entire Erlang/OTP documentation is now using the new documentation
system.

## New language features
Expand Down Expand Up @@ -84,14 +84,37 @@ system.
to catch a common mistake. For example, the compiler will now emit a
warning for `#r{a=1}#r{b=2}`.


## ERTS

* The `erl` command now supports the `-S` flag, which is similar to
the `-run` flag, but with some of the rough edges filed off.

* By default, escripts will now be compiled instead of interpreted. That
means that the `compiler` application must be installed.

* The default process limit has been raised to `1048576` processes.

* The erlang:system_monitor/2 functionality is now able to monitor long
message queues in the system.

* The obsolete and undocumented support for opening a port to an external
resource by passing an atom (or a string) as first argument to
`open_port()`, implemented by the vanilla driver,
has been removed. This feature has been scheduled for removal in OTP 27
since the release of OTP 26.

* The `pid` field has been removed from `erlang:fun_info/1,2`.


## STDLIB

* Several new functions that accept funs have been added to module `timer`.

* The functions `is_equal/2`, `map/2`, and `filtermap/2` have been added to
the modules `sets`, `ordsets`, and `gb_sets`.

* There are new efficient `ets` functions with guaranteed atomicity.
* There are new efficient `ets` traversal functions with guaranteed atomicity.
For example, `ets:next/2` followed by `ets:lookup/2` can now be replaced
with `ets:next_lookup/1`.

Expand All @@ -112,28 +135,9 @@ system.
`gb_trees` and `gb_sets`, as well as returning iterators that start at
given keys/elements.

## ERTS

* The `erl` command now supports the `-S` flag, which is similar to the
`-run` flag, but with some of the rough edges filed off.

* By default, escripts will now be compiled instead of interpreted. That
means that the `compiler` application must be installed.

* The default process limit has been raised to `1048576` processes.

* The erlang:system_monitor/2 functionality is now able to monitor long
message queues in the system.

* The obsolete and undocumented support for opening a port to an external
resource by passing an atom (or a string) as first argument to
`open_port()`, implemented by the vanilla driver,
has been removed. This feature has been scheduled for removal in OTP 27
since the release of OTP 26.

## common_test

* Calls to ct:capture_start/0 and ct:capture_stop/0 are now synchronous to
* Calls to `ct:capture_start/0` and `ct:capture_stop/0` are now synchronous to
ensure that all output is captured.

* The default CSS will now include a basic dark mode handling if it is
Expand All @@ -148,6 +152,20 @@ system.

* The `--gui` option for Dialyzer has been removed.

## ssl

* The `ssl` client can negotiate and handle certificate status request (OCSP
stapling support on the client side).

## tools

* There is a new tool `tprof`, which combines the functionality of `eprof`
and `cprof` under one interface. It also adds heap profiling.

## xmerl

* As an alternative to `xmerl_xml`, a new export module `xmerl_xml_indent`
that provides out-of-the box indented output has been added.


For more details about new features and potential incompatibilities see the [README](https://erlang.org/download/otp_src_27.0-rc1.readme).

0 comments on commit 705b478

Please sign in to comment.