Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlang/OTP committed Dec 9, 2024
1 parent f6811ca commit a83a1d7
Show file tree
Hide file tree
Showing 41 changed files with 635 additions and 22 deletions.
84 changes: 84 additions & 0 deletions erts/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,90 @@ limitations under the License.

This document describes the changes made to the ERTS application.

## Erts 15.2

### Fixed Bugs and Malfunctions

- `gen_sctp:peeloff/2` has been fixed to inherit socket options to the peeled off socket more like `gen_tcp:accept/1`, for example the options `tos` or `tclass`.

When setting SCTP options that are unsupported on the platform, some should be silently ignored, but a bug caused the option parsing to derail so the options after could bail out and cause an error instead. This has been fixed.

Own Id: OTP-19225 Aux Id: [PR-8789]

- Fixed a bug where Erlang would corrupt the terminal settings if stdin was a TTY but stdout was not.

Own Id: OTP-19232 Aux Id: [PR-8794], [GH-8487]

- Fixed a bug in the non-JIT VM when loading a NIF over a function that is already traced by more than one session. This caused a VM crash. This bug has existed since OTP-27.0, where multiple trace sessions were introduced.

Own Id: OTP-19248 Aux Id: [PR-8856]

- Fixed a bug where the loading of modules with extremely large binary construction instructions crashed the emulator on AArch64.

Own Id: OTP-19261 Aux Id: [GH-8815], [PR-8816]

- [`inet:getifaddrs/0,1`](`inet:getifaddrs/1`) is improved when using
inet_backend = socket.

Own Id: OTP-19264

- `win32reg:value/2` will no longer crash the emulator when the value is an unterminated REG_SZ of size 0.

Own Id: OTP-19283 Aux Id: [GH-8903], [PR-8912]

- `Makefile` dependency generation on Windows in WSL 2 has been corrected.

Own Id: OTP-19300 Aux Id: [PR-8955]

- Fix lock order violation if a NIF monitor `down` callback calls `enif_whereis_pid`. Would cause debug emulator to crash but could potentially lead to deadlocks in optimized emulator.

Own Id: OTP-19330 Aux Id: [GH-8983], [PR-9008]

- Fixed compilation faults when compiling using `--enable-vm-probes`.

Own Id: OTP-19333

- Fixed `erl_nif.h` on Windows to compile when gcc or clang is used.

Own Id: OTP-19341 Aux Id: [PR-9016]

- Fixed a minor issue in the JIT debug information that confused tools like GDB and perf.

Own Id: OTP-19362 Aux Id: [PR-9003]

[PR-8789]: https://github.com/erlang/otp/pull/8789
[PR-8794]: https://github.com/erlang/otp/pull/8794
[GH-8487]: https://github.com/erlang/otp/issues/8487
[PR-8856]: https://github.com/erlang/otp/pull/8856
[GH-8815]: https://github.com/erlang/otp/issues/8815
[PR-8816]: https://github.com/erlang/otp/pull/8816
[GH-8903]: https://github.com/erlang/otp/issues/8903
[PR-8912]: https://github.com/erlang/otp/pull/8912
[PR-8955]: https://github.com/erlang/otp/pull/8955
[GH-8983]: https://github.com/erlang/otp/issues/8983
[PR-9008]: https://github.com/erlang/otp/pull/9008
[PR-9016]: https://github.com/erlang/otp/pull/9016
[PR-9003]: https://github.com/erlang/otp/pull/9003

### Improvements and New Features

- Improved documentation of [timers](time_correction.md#timers).

Own Id: OTP-19360 Aux Id: ERIERL-1149, [PR-9062]

- The label for a process can now be retrieved also using `process_info(Pid, label)` in addition to `proc_lib:get_label/1`.

This new option is useful when one wants to retrieve more than one process info item. For example:

```
process_info(Pid, [label,registered_name])
```

Own Id: OTP-19373 Aux Id: [PR-9108]

[PR-9062]: https://github.com/erlang/otp/pull/9062
[PR-9108]: https://github.com/erlang/otp/pull/9108

## Erts 15.1.3

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion erts/vsn.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# %CopyrightEnd%
#

VSN = 15.1.3
VSN = 15.2

# Port number 4365 in 4.2
# Port number 4366 in 4.3
Expand Down
10 changes: 10 additions & 0 deletions lib/common_test/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ limitations under the License.
-->
# Common Test Release Notes

## Common_Test 1.27.5

### Fixed Bugs and Malfunctions

- Fixed a bug where the sum of testcases' execution time in HTML logs was sometimes miscalculated, and the table was not fully printed.

Own Id: OTP-19284 Aux Id: ERIERL-1093, [PR-8909]

[PR-8909]: https://github.com/erlang/otp/pull/8909

## Common_Test 1.27.4

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/common_test/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
COMMON_TEST_VSN = 1.27.4
COMMON_TEST_VSN = 1.27.5
42 changes: 42 additions & 0 deletions lib/compiler/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,48 @@ limitations under the License.

This document describes the changes made to the Compiler application.

## Compiler 8.5.4

### Fixed Bugs and Malfunctions

- Fixed a crash in the common sub-expression elimination pass.

Own Id: OTP-19243 Aux Id: [GH-8818], [PR-8838]

- Fixed a bug where bogus code was generated for consecutive calls to `erlang:setelement/2`, potentially crashing the runtime system.

Own Id: OTP-19270 Aux Id: [GH-8783], [PR-8898]

- When the `line_coverage` option was used, exceptions could show the wrong line for where the exception was raised.

Own Id: OTP-19282 Aux Id: [PR-8907]

- The `line_coverage` option would be ignored if given in a `compile()` attribute within a module.

Own Id: OTP-19309 Aux Id: [GH-8942], [PR-8970]

- A segment matching a float in a binary generator will now skip any invalid float (such as a NaN) and continue matching the rest of the binary. Before this correction, the comprehension would stop as soon as an invalid float was encountered.

Example:

```
1> BadFloat = <<-1:64>>.
<<"ÿÿÿÿÿÿÿÿ">>
2> [X || <<X:64/float>> <= <<0.0/float,BadFloat/binary,42.0/float>>].
[0.0,42.0]
```

Own Id: OTP-19331 Aux Id: [PR-8978]

[GH-8818]: https://github.com/erlang/otp/issues/8818
[PR-8838]: https://github.com/erlang/otp/pull/8838
[GH-8783]: https://github.com/erlang/otp/issues/8783
[PR-8898]: https://github.com/erlang/otp/pull/8898
[PR-8907]: https://github.com/erlang/otp/pull/8907
[GH-8942]: https://github.com/erlang/otp/issues/8942
[PR-8970]: https://github.com/erlang/otp/pull/8970
[PR-8978]: https://github.com/erlang/otp/pull/8978

## Compiler 8.5.3

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
COMPILER_VSN = 8.5.3
COMPILER_VSN = 8.5.4
17 changes: 17 additions & 0 deletions lib/crypto/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ limitations under the License.

This document describes the changes made to the Crypto application.

## Crypto 5.5.2

### Fixed Bugs and Malfunctions

- `crypto:strong_rand_bytes/2` fixed to work on Ubuntu pro with installed FIPS support.

Own Id: OTP-19223 Aux Id: [PR-8800], [GH-8769]

- Fixed `crypto:hash_final/1` for digest types `shake128` and `shake256` when using OpenSSL 3.4 or newer.

Own Id: OTP-19329 Aux Id: [GH-8997], [PR-9002]

[PR-8800]: https://github.com/erlang/otp/pull/8800
[GH-8769]: https://github.com/erlang/otp/issues/8769
[GH-8997]: https://github.com/erlang/otp/issues/8997
[PR-9002]: https://github.com/erlang/otp/pull/9002

## Crypto 5.5.1

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/crypto/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CRYPTO_VSN = 5.5.1
CRYPTO_VSN = 5.5.2
38 changes: 38 additions & 0 deletions lib/debugger/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,44 @@ limitations under the License.

This document describes the changes made to the Debugger application.

## Debugger 5.5

### Fixed Bugs and Malfunctions

- Defining a fun in the shell using the syntax `fun Name/Arity` would fail. This has been corrected so that the following now works:

```
1> F = fun is_atom/1.
#Fun.erl.42.18682967>
> F(a).
true
3> Id = fun id/1.
#Fun.erl.42.18682967>
4> Id(42).
** exception error: undefined shell command id/1
5> id(I) -> I.
ok
6> Id(42).
42
```

The Debugger has also been corrected to correctly handle this syntax for a BIF.

Own Id: OTP-19322 Aux Id: [GH-8963], [PR-8987]

[GH-8963]: https://github.com/erlang/otp/issues/8963
[PR-8987]: https://github.com/erlang/otp/pull/8987

### Improvements and New Features

- Erlang/OTP type specifications has been updated to eliminate overlapping domains.

Own Id: OTP-19310 Aux Id: [GH-8810], [GH-8821], [PR-8986]

[GH-8810]: https://github.com/erlang/otp/issues/8810
[GH-8821]: https://github.com/erlang/otp/issues/8821
[PR-8986]: https://github.com/erlang/otp/pull/8986

## Debugger 5.4

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/debugger/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DEBUGGER_VSN = 5.4
DEBUGGER_VSN = 5.5
27 changes: 27 additions & 0 deletions lib/dialyzer/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@ limitations under the License.

This document describes the changes made to the Dialyzer application.

## Dialyzer 5.3

### Fixed Bugs and Malfunctions

- Fixed type inference for `erlang:system_info(logical_processors)`.

Own Id: OTP-19307 Aux Id: [PR-8954], [GH-8948]

- Dialyzer would crash when attempting to analyze a module compiled with the `line_coverage` option.

Own Id: OTP-19344 Aux Id: [GH-9027], [PR-9034]

[PR-8954]: https://github.com/erlang/otp/pull/8954
[GH-8948]: https://github.com/erlang/otp/issues/8948
[GH-9027]: https://github.com/erlang/otp/issues/9027
[PR-9034]: https://github.com/erlang/otp/pull/9034

### Improvements and New Features

- Erlang/OTP type specifications has been updated to eliminate overlapping domains.

Own Id: OTP-19310 Aux Id: [GH-8810], [GH-8821], [PR-8986]

[GH-8810]: https://github.com/erlang/otp/issues/8810
[GH-8821]: https://github.com/erlang/otp/issues/8821
[PR-8986]: https://github.com/erlang/otp/pull/8986

## Dialyzer 5.2.1

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/dialyzer/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIALYZER_VSN = 5.2.1
DIALYZER_VSN = 5.3
10 changes: 10 additions & 0 deletions lib/eldap/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ limitations under the License.

This document describes the changes made to the Eldap application.

## Eldap 1.2.14

### Fixed Bugs and Malfunctions

- Corrected dialyzer spec for usage of TLS options. The incorrect usage for the options in `eldap` could cause dialyzer warnings in user code referring to `eldap` specs.

Own Id: OTP-19281 Aux Id: [PR-8906]

[PR-8906]: https://github.com/erlang/otp/pull/8906

## Eldap 1.2.13

### Improvements and New Features
Expand Down
2 changes: 1 addition & 1 deletion lib/eldap/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ELDAP_VSN = 1.2.13
ELDAP_VSN = 1.2.14
31 changes: 31 additions & 0 deletions lib/inets/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,37 @@ limitations under the License.
-->
# Inets Release Notes

## Inets 9.3.1

### Fixed Bugs and Malfunctions

- The HTTP client now correctly takes into account the `full_result` option when returning an asynchronous request.

*** POTENTIAL INCOMPATIBILITY ***

Own Id: OTP-19158

- A synchronous httpc:request now timeouts after the `Timeout` specified in `HttpOption {timeout, Timeout}`.

Own Id: OTP-19221 Aux Id: ERIERL-1091, [PR-8788], [PR-8801]

- Fixed a bug where calling httpc:set_options/2 when one of keys: *ipfamily* or *unix_socket*, was not present, would cause the other value to get overriden by the default value. The validation of these options was also improved.

Own Id: OTP-19379 Aux Id: [PR-8878], [GH-8829]

[PR-8788]: https://github.com/erlang/otp/pull/8788
[PR-8801]: https://github.com/erlang/otp/pull/8801
[PR-8878]: https://github.com/erlang/otp/pull/8878
[GH-8829]: https://github.com/erlang/otp/issues/8829

### Improvements and New Features

- The variable `Env` in the `mod_esi` callback will now have an additional property `{connect_addr, Addr}` indicating on which address the server received a connection.

Own Id: OTP-19377 Aux Id: ERIERL-1152, [PR-9127]

[PR-9127]: https://github.com/erlang/otp/pull/9127

## Inets 9.3

### Improvements and New Features
Expand Down
2 changes: 1 addition & 1 deletion lib/inets/vsn.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
# %CopyrightEnd%

APPLICATION = inets
INETS_VSN = 9.3
INETS_VSN = 9.3.1
PRE_VSN =
APP_VSN = "$(APPLICATION)-$(INETS_VSN)$(PRE_VSN)"
Loading

0 comments on commit a83a1d7

Please sign in to comment.