Skip to content

Commit

Permalink
Revert "Prepare release"
Browse files Browse the repository at this point in the history
This reverts commit 6ae75f4.
  • Loading branch information
proxyles committed Feb 14, 2024
1 parent d81de4a commit 2a9c62d
Show file tree
Hide file tree
Showing 96 changed files with 194 additions and 1,840 deletions.
188 changes: 0 additions & 188 deletions erts/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,194 +21,6 @@ limitations under the License.

This document describes the changes made to the ERTS application.

## Erts 14.3

### Fixed Bugs and Malfunctions

- Fix bugs in how `erl -extra` interacts with passing flags via ERL_*FLAGS or `-args_file`.

Own Id: OTP-18766 Aux Id: [PR-7639]

- Fixed a bug that prevented the emulator from building on recent versions of Yocto Linux.

Own Id: OTP-18918 Aux Id: [PR-7952]

- Fix spectre mitigation configure test to work with GCC patches to always add `-fcf-protection=full`.

Own Id: OTP-18928 Aux Id: [PR-8006]

[PR-7639]: https://github.com/erlang/otp/pull/7639
[PR-7952]: https://github.com/erlang/otp/pull/7952
[PR-8006]: https://github.com/erlang/otp/pull/8006

### Improvements and New Features

- Refactored how the JIT handles POSIX signals and how they affect thread stacks, allowing us to use the native stack register for Erlang stacks on more platforms.

Notably, containers built on 64-bit x86 Alpine Linux images will now perform much better in sequential code. As an example, running `dialyzer` over the OTP code base finishes about 15% quicker.

Own Id: OTP-18568 Aux Id: [PR-7174]

- The `m:instrument` module can now track allocations on a per-process or per-port basis.

Own Id: OTP-18577 Aux Id: [PR-7236]

- The `pid` field has been removed from [`erlang:fun_info/1,2`](`erlang:fun_info/1`).

*** POTENTIAL INCOMPATIBILITY ***

Own Id: OTP-18594 Aux Id: [PR-7274]

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

*** POTENTIAL INCOMPATIBILITY ***

Own Id: OTP-18639 Aux Id: [PR-7348]

- A binary returned from the `m:socket` receive functions is no longer created as a sub binary of an often large receive buffer binary (socket option `{otp,rcvbuf}`). This avoids space waste, trusting the allocators to implement reallocation efficiently.

Own Id: OTP-18642 Aux Id: [GH-6152], [PR-7465]

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

Own Id: OTP-18699 Aux Id: [PR-7388]

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

Own Id: OTP-18709 Aux Id: [PR-7651]

- The `erl` command now supports the `-S` flag, which is similar to the `-run` flag, except that it will pass all arguments up to end of the command line to the called function. (The `-run` flag will not pass arguments beginning with a hyphen.) Another difference is that `-S` will always call a function with one argument, passing an empty list if no arguments were given.

Own Id: OTP-18744 Aux Id: [PR-7470]

- When implementing an alternative carrier for the Erlang distribution, a separate input handler process may now be registered, using `erlang:dist_ctrl_input_handler/2`, also in the case when the distribution controller is a port.

Own Id: OTP-18774 Aux Id: [PR-7110]

- Add call stack trace to the error reported by `erlang:process_flag/2` when `max_heap_size` has been exceeded.

Own Id: OTP-18779 Aux Id: [PR-7592]

- `-callback` attributes have been added to `m:erl_tracer`.

Own Id: OTP-18794 Aux Id: [PR-7703]

- For `inet_backend = socket`, setting the `active` socket option alone, to `once`, `true` or `N`, has been optimized, as well as the corresponding data delivery.

Own Id: OTP-18835

- Socket options that take string now also accept binaries.

Own Id: OTP-18849 Aux Id: [PR-6510]

- Native coverage support has been implemented in the JIT. It will automatically be used by the `m:cover` tool to reduce the execution overhead when running cover-compiled code.

There are also new APIs to support native coverage without using the `cover` tool.

To instrument code for native coverage it must be compiled with the [`line_coverage`](`m:compile#line_coverage`) option.

To enable native coverage in the runtime system, start it like so:

```text
$ erl +JPcover true
```

There are also the following new functions for supporting native coverage:

* `code:coverage_support/0`
* `code:get_coverage/2`
* `code:reset_coverage/1`
* `code:get_coverage_mode/0`
* `code:get_coverage_mode/1`
* `code:set_coverage_mode/1`

Own Id: OTP-18856 Aux Id: [PR-7856]

- Changed the default value of the command line flag `-code_path_choice Choice` to `strict`.

Own Id: OTP-18894 Aux Id: [PR-7243]

- Added module loading to `erl -init_debug` printouts.

Own Id: OTP-18929 Aux Id: [PR-8004]

- Optimized code loading by moving certain operations from the code server to the caller.

Own Id: OTP-18941 Aux Id: [PR-7981]

- Updated asmjit to version a465fe71ab3d0e224b2b4bd0fac69ae68ab9239d

Own Id: OTP-18942

- The deprecated functions in `m:zlib` have been removed. That includes `inflateChunk/{1,2}`, `getBufSize/1`, `setBufSize/2`, the CRC32 functions, and the Adler checksum functions.

Own Id: OTP-18950

- The documentation has been migrated to use Markdown and ExDoc.

Own Id: OTP-18955 Aux Id: [PR-8026]

- Safe destructive update of tuples has been implemented in the compiler and runtime system. This allows the VM to update tuples in-place when it is safe to do so, thus improving performance by doing less copying but also by producing less garbage.

Example:

```erlang
-record(rec, {a,b,c}).

update(#rec{a=needs_update,b=N}=R0) ->
R = R0#rec{a=up_to_date},
if
N < 0 ->
R#rec{c=negative};
N == 0 ->
R#rec{c=zero};
N > 0 ->
R#rec{c=positive}
end.
```

The record updates in each of the three clauses of the `if` can safely be done in-place, because variable `R` is not used again.

Own Id: OTP-18972 Aux Id: [PR-8090]

- 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()`](`erlang:open_port/2`), implemented by the vanilla driver,
has been removed. This feature has been scheduled for removal in OTP 27
since the release of OTP 26.

Own Id: OTP-18976 Aux Id: [PR-7125]

- Add optional NIF callback `ERL_NIF_OPT_ON_UNLOAD_THREAD` to be called by all scheduler thread when a NIF library is unloaded. Used for releasing thread specific data. Can be set with function `enif_set_option`.

Own Id: OTP-18977 Aux Id: [PR-7809]

- Multiple trace sessions.

Own Id: OTP-18980

[PR-7174]: https://github.com/erlang/otp/pull/7174
[PR-7236]: https://github.com/erlang/otp/pull/7236
[PR-7274]: https://github.com/erlang/otp/pull/7274
[PR-7348]: https://github.com/erlang/otp/pull/7348
[GH-6152]: https://github.com/erlang/otp/issues/6152
[PR-7465]: https://github.com/erlang/otp/pull/7465
[PR-7388]: https://github.com/erlang/otp/pull/7388
[PR-7651]: https://github.com/erlang/otp/pull/7651
[PR-7470]: https://github.com/erlang/otp/pull/7470
[PR-7110]: https://github.com/erlang/otp/pull/7110
[PR-7592]: https://github.com/erlang/otp/pull/7592
[PR-7703]: https://github.com/erlang/otp/pull/7703
[PR-6510]: https://github.com/erlang/otp/pull/6510
[PR-7856]: https://github.com/erlang/otp/pull/7856
[PR-7243]: https://github.com/erlang/otp/pull/7243
[PR-8004]: https://github.com/erlang/otp/pull/8004
[PR-7981]: https://github.com/erlang/otp/pull/7981
[PR-8026]: https://github.com/erlang/otp/pull/8026
[PR-8090]: https://github.com/erlang/otp/pull/8090
[PR-7125]: https://github.com/erlang/otp/pull/7125
[PR-7809]: https://github.com/erlang/otp/pull/7809

## Erts 14.2.2

### 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 = 14.3
VSN = 14.2.2

# Port number 4365 in 4.2
# Port number 4366 in 4.3
Expand Down
23 changes: 0 additions & 23 deletions lib/asn1/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,6 @@ limitations under the License.

This document describes the changes made to the asn1 application.

## Asn1 5.3

### Fixed Bugs and Malfunctions

- Multiple bugs has been eliminated in the [specialized decode feature](`e:asn1:asn1_spec.md`).

Own Id: OTP-18813 Aux Id: [PR-7790]

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

### Improvements and New Features

- Specs have been added to all `asn1ct` API functions.

Own Id: OTP-18804 Aux Id: [PR-7738]

- The documentation has been migrated to use Markdown and ExDoc.

Own Id: OTP-18955 Aux Id: [PR-8026]

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

## Asn1 5.2.1

### Fixed Bugs and Malfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/asn1/vsn.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ASN1_VSN = 5.3
ASN1_VSN = 5.2.1
55 changes: 0 additions & 55 deletions lib/common_test/doc/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,61 +19,6 @@ limitations under the License.
-->
# Common Test Release Notes

## Common_Test 1.27

### Improvements and New Features

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

Own Id: OTP-18658 Aux Id: [PR-7380]

- The order in which multiple hooks are executed can now be reversed after each config function. See [CTH Execution Order](`e:common_test:ct_hooks_chapter.md#cth_execution_order`).

Own Id: OTP-18682 Aux Id: [GH-7397], [PR-7496], ERIERL-43

- The default CSS will now include a basic dark mode handling if it is preferred by the browser.

Own Id: OTP-18761 Aux Id: [PR-7428]

- `-callback` attributes have been added to `m:ct_suite` and `m:ct_hooks`.

Own Id: OTP-18781 Aux Id: [PR-7701]

- The built-in [cth_log_redirect](`e:common_test:ct_hooks_chapter.md#built-in-cths`) hook can now be configured to replace default logger reports in terminal with HTML logs.

Own Id: OTP-18875 Aux Id: [PR-7891]

- Error handling for the `m:ct_property_test` framework has been enhanced.

Own Id: OTP-18881 Aux Id: [PR-7824]

- Enhance test case documentation, making it clear how a test case can be failed.

Own Id: OTP-18892 Aux Id: [PR-7869]

- The failing line in the test source code is now colored to make it easier to find on the screen.

Own Id: OTP-18898 Aux Id: [PR-7917]

- Function specifications and types have been added to all public API functions.

Own Id: OTP-18913

- The documentation has been migrated to use Markdown and ExDoc.

Own Id: OTP-18955 Aux Id: [PR-8026]

[PR-7380]: https://github.com/erlang/otp/pull/7380
[GH-7397]: https://github.com/erlang/otp/issues/7397
[PR-7496]: https://github.com/erlang/otp/pull/7496
[PR-7428]: https://github.com/erlang/otp/pull/7428
[PR-7701]: https://github.com/erlang/otp/pull/7701
[PR-7891]: https://github.com/erlang/otp/pull/7891
[PR-7824]: https://github.com/erlang/otp/pull/7824
[PR-7869]: https://github.com/erlang/otp/pull/7869
[PR-7917]: https://github.com/erlang/otp/pull/7917
[PR-8026]: https://github.com/erlang/otp/pull/8026

## Common_Test 1.26.1

### 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
COMMON_TEST_VSN = 1.26.1
Loading

0 comments on commit 2a9c62d

Please sign in to comment.