From 2f361f653d649d002a26d1d2a5c8c3efd1303832 Mon Sep 17 00:00:00 2001
From: Erlang/OTP
-
- Runtime systems prior to OTP @OTP-17771@ called all installed
+ Runtime systems prior to OTP 26.0 called all installed
diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index 1f372823e8..c9316d644c 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -31,6 +31,570 @@
This document describes the changes made to the ERTS application.
+If a local fun was called while reloading the + exact same module that defined said fun, there + was a small window in which the call would land in code + that was yet to be fully loaded.
++ Own Id: OTP-18016
++ Fix the TLS distribution to work when starting Erlang in + embedded mode and a connection is done before kernel is + fully started.
++ Own Id: OTP-18248 Aux Id: PR-6227 GH-6085
+
+ erl
+ Own Id: OTP-18271 Aux Id: PR-6279
+
+ Fix so that
+ Own Id: OTP-18274 Aux Id: PR-6048
++ Compilation server now support unicode paths in + compilation server for filesystems that are encoded with + unicode.
++ Own Id: OTP-18277 Aux Id: PR-6306
+Reintroduced the optimization that turned anonymous + functions without free variables into literals + (OTP-15195). This optimization was lost during + refactoring in OTP 24.
Alongside this fix, we plan
+ to remove the "fun creator pid" feature in OTP 27. See
+
+ Own Id: OTP-18498
+Fixed a crash during tracing on certain platforms that + cannot use the machine stack for Erlang code (mainly + OpenBSD and Linux with musl).
++ Own Id: OTP-18561
+
+ The
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-17771 Aux Id: GH-5325, PR-6370
+The TTY/terminal subsystem has been rewritten by + moving more code to Erlang from the old linked-in driver + and implementing all the I/O primitives needed in a NIF + instead.
On Unix platforms the user should not + notice a lot of difference, besides better handling of + unicode characters and fixing of some long standing bugs. +
Windows users will notice that erl.exe has the + same functionality as a normal Unix shell and that + werl.exe has been removed and replaced with a symlink to + erl.exe. This makes the Windows Erlang terminal + experience identical to that of Unix.
The + re-write brings with it a number of bug fixes and feature + additions:
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-17932 Aux Id: PR-6144 GH-3150 GH-3390 GH-4343 + GH-4225
+Add support for socket on Windows.
+ Own Id: OTP-18029
++ Updated configure cache for Windows. This makes configure + run faster on Windows as many more checks are cached.
++ Own Id: OTP-18053 Aux Id: PR-6101
+Optimized record updates.
++ Own Id: OTP-18126 Aux Id: PR-6033
+Optimized internal hash routines.
++ Own Id: OTP-18131
+ As announced when OTP 25 was released,
If you have old code in
+ the system that is not time warp safe, you now explicitly
+ need to start the system in
If you have + code that is not time warp safe, you are strongly + encouraged to change this so that you can use multi time + warp mode. Compared to no time warp mode, multi time warp + mode improves scalability and performance as well as + accuracy and precision of time measurements.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18135 Aux Id: GH-4965, PR-6046
+There are several new optimization for binary syntax + in the JIT:
+ Own Id: OTP-18137 Aux Id: PR-6259, PR-6404, PR-6576, + PR-6804
+As announced since the release of OTP 24, support + for:
version 4 node container types
+ in the external term format are now mandatory. That is,
+ references supporting up to 5 32-bit integer identifiers,
+ and process and port identifiers with support for 64-bit
+ data storage. The distribution flag
the
Due to the above, OTP 26 nodes will refuse to connect + to OTP nodes from releases prior to OTP 24.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18140 Aux Id: PR-6072
+Optimization of
+ Own Id: OTP-18141 Aux Id: OTP-18140, PR-6073
+The compiler and JIT now generate better code for + creation of small maps where all keys are literals known + at compile time.
++ Own Id: OTP-18185 Aux Id: GH-6139
+
+ When
+ Own Id: OTP-18227 Aux Id: PR-6254
+Support for UTF-8 atoms and strings in the NIF
+ interface including new functions
+
+ Own Id: OTP-18334 Aux Id: PR-6434
+The following
Reuse of local port. Load balancing may or may + not be provided depending on underlying OS.
Reuse of local port. Load balancing + provided.
Exclusive address/port usage on Windows. This + socket option is Windows specific and will silently be + ignored on other systems.
The
+ behavior of setting
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18344 Aux Id: PR-6522, PR-6944, OTP-18324, + PR-6481, GH-6461
++ Own Id: OTP-18360 Aux Id: PR-6497
+The BIFs
+ Own Id: OTP-18367 Aux Id: GH-6544
+
+ Fail
+ Own Id: OTP-18369
+
+ New option
+ Own Id: OTP-18410 Aux Id: GH-5889, PR-6345
+Map comprehensions as suggested in EEP 58 has now been + implemented.
++ Own Id: OTP-18413 Aux Id: EEP-58, PR-6727
+Some map operations have been optimized by changing
+ the internal sort order of atom keys. This changes the
+ (undocumented) order of how atom keys in small maps are
+ printed and returned by
For applications where order is important, there is a
+ new function
+ Own Id: OTP-18414 Aux Id: PR-6151
+Reduced memory usage of
+
+ Own Id: OTP-18424 Aux Id: PR-6716
+Add new function
This new option + puts the current stacktrace of the caller into the trace + message sent to the trace receiver.
++ Own Id: OTP-18425 Aux Id: PR-6628, GH-5333
++ The amount of significant bits in node local process + identifiers and port identifiers has been extended from + 28 bits to 60 bits on 64-bit runtime systems. This makes + these identifiers large enough to in practice never + having to be reused during the life time of a node.
++ Own Id: OTP-18435 Aux Id: PR-6827
+
+ New trace feature
+ Own Id: OTP-18440 Aux Id: PR-6351
+It is no longer necessary to enable a feature in the + runtime system in order to load modules that are using + it. It is sufficient to enable the feature in the + compiler when compiling it.
+That means that to use feature
In Erlang/OTP 27, feature
+ Own Id: OTP-18445
+ Handling of
This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. +
++ Own Id: OTP-18447
+
+ Introduced the
+ Own Id: OTP-18477 Aux Id: PR-7006
+
+ Document the commonly used practice to create and store
+ static atoms at NIF load time in callbacks
+ Own Id: OTP-18483 Aux Id: PR-6888
+
+ Optimize
+ Own Id: OTP-18493 Aux Id: PR-6272
+The default encoding of atoms by
Apart from + encoding code points between 128 and 255 with two bytes + (UTF-8) instead of one, most atoms will occupy one less + byte as the length field use only one byte instead of two + if possible.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18505 Aux Id: PR-6991
++ The version of zlib included in the Erlang/OTP source + code is now 1.2.13.
++ Own Id: OTP-18517
+
+
+ Own Id: OTP-18520 Aux Id: GH-6455
+Added the new built-in type
+ Own Id: OTP-18522
+
+ Optimize
+ Own Id: OTP-18523 Aux Id: PR-7004
+
+ Optimize
+ Own Id: OTP-18524 Aux Id: PR-7004, OTP-18523
++ Own Id: OTP-18526 Aux Id: GH-7045
+
+ Allow IPv6 addresses as host in
+ Own Id: OTP-18540 Aux Id: PR-6900
+
+ Removed the experimental
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18549 Aux Id: PR-7105
+
+ ERTS internal thread names have been changed. All threads
+ created by ERTS now have a prefix
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18552 Aux Id: PR-6973
++ Further robustify implementation of large maps (> 32 + keys). Keys that happen to have same internal 32-bit hash + values are now put in collision nodes which are traversed + with linear search. This removes the demand for the + internal hash function when salted to eventually produce + different hashes for all possible pairs of unequal terms.
++ Own Id: OTP-18569
+In Erlang/OTP 27,
+ Own Id: OTP-18574
+This document describes the changes made to the asn1 application.
++ The ASN.1 compiler used to reject correctly specified + RELATIVE-OID values containing other RELATIVE-OID values. + This is now corrected.
++ Own Id: OTP-18534 Aux Id: ERIERL-737, PR-7039
+Minor code improvements.
++ Own Id: OTP-18441
+ Handling of
This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. +
++ Own Id: OTP-18447
++ This change improves Common Test docs (CT hook example + code) and adds Emacs skeleton with hook code.
++ Own Id: OTP-18377 Aux Id: PR-6437
++ Updated common_test with a more robust way to fetch old + releases, while ignoring the current release.
++ Own Id: OTP-18259 Aux Id: PR-5924
+
+ - re-write the XML
+ Own Id: OTP-18340
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+This document describes the changes made to the Compiler application.
+The compiler would silently accept singleton (unbound)
+ type variables in a union type. Starting from Erlang/OTP
+ 26, the compiler will generate a warning for this
+ example. The warning can be disabled using the
+
+ Own Id: OTP-18389 Aux Id: GH-6508, PR-6864, GH-7116
+Optimized record updates.
++ Own Id: OTP-18126 Aux Id: PR-6033
+There are several new optimization for binary syntax + in the JIT:
+ Own Id: OTP-18137 Aux Id: PR-6259, PR-6404, PR-6576, + PR-6804
+The compiler and JIT now generate better code for + creation of small maps where all keys are literals known + at compile time.
++ Own Id: OTP-18185 Aux Id: GH-6139
+A limitation in the binary syntax has been removed. It
+ is now possible to match binary patterns in parallel.
+ Example:
+ Own Id: OTP-18297 Aux Id: GH-6348
+It is documented that
In Erlang/OTP 26, it is now documented that the
+ following characters are also allowed to follow the
+
The value for
+ Own Id: OTP-18337 Aux Id: GH-6477, PR-6503
+The BIFs
+ Own Id: OTP-18367 Aux Id: GH-6544
+Map comprehensions as suggested in EEP 58 has now been + implemented.
++ Own Id: OTP-18413 Aux Id: EEP-58, PR-6727
+Improved the selective receive optimization, which can + now be enabled for references returned from other + functions.
+This greatly improves the performance of
+
+ Own Id: OTP-18431 Aux Id: PR-6739
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+The compiler will now inline calls to
+
+ Own Id: OTP-18502
+In Erlang/OTP 27,
+ Own Id: OTP-18574
+This document describes the changes made to the Crypto application.
++ Fix cmac_update aes_128_cbc for LibreSSL.
++ Own Id: OTP-18571
++ Add support for SHAKE128 and SHAKE256.
++ Own Id: OTP-18204 Aux Id: PR-6203
+
+ Make the
+ Own Id: OTP-18206 Aux Id: PR-6167
++ Replace size/1 with either tuple_size/1 or byte_size/1
+
+ The
+ When one knows that the value being tested must be a
+ tuple,
+ When one knows that the value being tested must be a
+ binary,
+ Own Id: OTP-18405 Aux Id: + GH-6672,PR-6702,PR-6768,PR-6700,PR-6769,PR-6812,PR-6814
+ Handling of
This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. +
++ Own Id: OTP-18447
+This document describes the changes made to the Dialyzer application.
+When checking behaviors, Dialyzer could generate false + warning that a callback function did not have the correct + type according to the spec in the behavior + definition.
++ Own Id: OTP-18237 Aux Id: GH-6221, PR-6243
+In a spec,
+ Own Id: OTP-18276 Aux Id: GH-6333
+The compiler would silently accept singleton (unbound)
+ type variables in a union type. Starting from Erlang/OTP
+ 26, the compiler will generate a warning for this
+ example. The warning can be disabled using the
+
+ Own Id: OTP-18389 Aux Id: GH-6508, PR-6864, GH-7116
+Fixed a bug that prevented the
+ Own Id: OTP-18485 Aux Id: GH-6850, PR-6854
+Fixed a crash when analyzing code that contained + illegal bitstring segment sizes.
++ Own Id: OTP-18562
+Fixed a crash when formatting certain warnings that + contained multi-byte unicode characters.
++ Own Id: OTP-18564 Aux Id: GH-7153
+Dialyzer has a new incremental mode that be invoked by
+ giving the
Incremental mode primarily differs from the previous, + "classic", ways of running Dialyzer, in that its model is + optimised around the common use case of regularly + analysing a single codebase, tweaking the code, analysing + it again, and so on, without explicit reference to the + building and checking of a PLT.
+In this mode the PLT file acts much more like a true + cache, where users provide a codebase and a set of files + they care about, and Dialyzer does the legwork in terms + of deciding how to most efficiently report all of the + relevant warnings given the cached results it may already + have in the PLT (and if a PLT doesn't exist, incremental + mode will create one).
++ Own Id: OTP-18188 Aux Id: PR-5997
+Dialyzer now produces clearer error messages for + contract violations.
++ Own Id: OTP-18238 Aux Id: PR-6271
+The name of a built-in type can now be reused as the + name of type locally. That is useful when an OTP release + introduces a new built-in type; having the possibility to + redefine built-in types locally can make it easier to + maintain code that works in multiple OTP releases.
++ Own Id: OTP-18282 Aux Id: GH-6132, PR-6335
+There is new option
+ Own Id: OTP-18310
+Dialyzer's overloaded domain warning is now disabled
+ by default, and can be enabled with the flag
+
Dialyzer used to issue a warning for overloaded
+ domains stating
These contracts are not "ignored" but rather, Dialyzer + takes the union of the overloaded domains. This means + that we lose the dependency from each corresponding input + to output type. Because of this, the warning is really + about not being able to establish a dependency between + the input and output types of each respective overloaded + function specification.
++ Own Id: OTP-18342 Aux Id: GH-6117, PR-6654
++ Dialyzer has enabled (by default) warnings about unknown + types and functions.
++ Prior to this change, Dialyzer had warnings about unknown + types and functions disabled (by default).
+
+ This default value has been overwritten; Dialyzer now
+ warns about unknown types and functions (as requested by
+ the community in GH-5695). Thus, the following two
+ examples are equivalent, i.e., passing the
+
+
+
+ Dialyzer has a new flag,
+ Users who wish to suppress these warnings can invoke
+ Dialyzer using this flag. Example:
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18439 Aux Id: GH-5695,PR-6822, GH-6942
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+Added the new built-in type
+ Own Id: OTP-18522
+Added the
+ Own Id: OTP-18558 Aux Id: PR-6852
++ Replace size/1 with either tuple_size/1 or byte_size/1
+
+ The
+ When one knows that the value being tested must be a
+ tuple,
+ When one knows that the value being tested must be a
+ binary,
+ Own Id: OTP-18405 Aux Id: + GH-6672,PR-6702,PR-6768,PR-6700,PR-6769,PR-6812,PR-6814
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+ The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
+This document describes the changes made to the erl_docgen application.
-New XML tag <change>. Like a <note> box, + but with a different (steel blue) color and label. + Intended to contain talk about semantic differences + between OTP releases.
++ Own Id: OTP-18338 Aux Id: PR-6408
++ Add "since" attribute to XML taglist/tag elements to + document OTP version when a particular option/feature was + introduced. The version is shown out in the right margin, + similar to "since" versions for functions.
++ Own Id: OTP-18501 Aux Id: PR-6987
+This document describes the changes made to the Erl_interface application.
+As announced since the release of OTP 24, support + for:
version 4 node container types
+ in the external term format are now mandatory. That is,
+ references supporting up to 5 32-bit integer identifiers,
+ and process and port identifiers with support for 64-bit
+ data storage. The distribution flag
the
Due to the above, OTP 26 nodes will refuse to connect + to OTP nodes from releases prior to OTP 24.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18140 Aux Id: PR-6072
+
+ The
+ Own Id: OTP-16607 Aux Id: OTP-16608
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+
+ Fixes the documentation for the
+ The documentation has been improved and the types of the + functions are now read from source code, instead of being + hard-coded in XML.
+
+ Functions returning errors of the form
+ Own Id: OTP-18359 Aux Id: PR-6545
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
++ Remove deprecated functions in OTP-26
++ Own Id: OTP-18541
++ Correct timing related pipelining/keepalive queue bug, + that could result in unexpected "socket_remotly_closed" + errors.
++ Own Id: OTP-18476 Aux Id: GH-6380
+
+ By default ssl connections will use options from
+
+ Own Id: OTP-18167
+Runtime dependencies have been updated.
++ Own Id: OTP-18350
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+ The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
++ IP display string will now always be in lower case, + effects ipv6 addresses.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18530
++ Removed deprecated functions
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18536
++ Update the code in the inets example directory to reflect + the latest implementation
++ Own Id: OTP-18544 Aux Id: GH-5276
+This document describes the changes made to the Jinterface application.
+As announced since the release of OTP 24, support + for:
version 4 node container types
+ in the external term format are now mandatory. That is,
+ references supporting up to 5 32-bit integer identifiers,
+ and process and port identifiers with support for 64-bit
+ data storage. The distribution flag
the
Due to the above, OTP 26 nodes will refuse to connect + to OTP nodes from releases prior to OTP 24.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18140 Aux Id: PR-6072
+Returns the
On Windows, use semi-colon as separator.
The code paths specified by Sets the code path to the list of directories Adds the directories in Traverses Deletes directories from the code path. The argument is a list of either
@@ -478,7 +478,7 @@ zip:create("mnesia-4.4.7.ez",
Clear the code path cache. If a directory is cached, its cache is
@@ -494,7 +494,7 @@ zip:create("mnesia-4.4.7.ez",
Replaces an old occurrence of a directory
diff --git a/lib/kernel/doc/src/disk_log.xml b/lib/kernel/doc/src/disk_log.xml
index dc6f9ba5bf..affb46a65f 100644
--- a/lib/kernel/doc/src/disk_log.xml
+++ b/lib/kernel/doc/src/disk_log.xml
@@ -713,7 +713,7 @@
@@ -1614,7 +1614,7 @@ setcap cap_sys_admin,cap_sys_ptrace,cap_dac_read_search+epi beam.smp
if
See also the diff --git a/lib/kernel/doc/src/notes.xml b/lib/kernel/doc/src/notes.xml index 2a2992b720..6745b82885 100644 --- a/lib/kernel/doc/src/notes.xml +++ b/lib/kernel/doc/src/notes.xml @@ -31,6 +31,518 @@
This document describes the changes made to the Kernel application.
++ Fixed a bug where duplicate keys were allowed in the .app + file of an application. Duplicate keys are now rejected + and the application will not start if they exist.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18210 Aux Id: GH-5877 PR-5878
+
+ Fix inconsistent handling in logger_formatter of the
+ branched values in conditional branches. For example
+ using
+ Own Id: OTP-18225 Aux Id: PR-6036
++ Fix the logger_std_h handler to log to standard_error if + logging to standard_io fails for any reason.
++ Own Id: OTP-18226 Aux Id: PR-6253
++ Fix the TLS distribution to work when starting Erlang in + embedded mode and a connection is done before kernel is + fully started.
++ Own Id: OTP-18248 Aux Id: PR-6227 GH-6085
+
+ erl
+ Own Id: OTP-18271 Aux Id: PR-6279
++ Fix logging of log events generated before kernel is + started to not fail if the code for formatting those log + messaged have not yet been loaded.
++ Own Id: OTP-18286 Aux Id: PR-5955
+
All these start functions
+ now consume the
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18471 Aux Id: GH-6339, PR-6843
+Fixed a bug where
+ Own Id: OTP-18486 Aux Id: PR-6881
+
+ Return type for
+ Own Id: OTP-18528 Aux Id: PR-7009
++ Looking up, connecting to and sending to a host with an + empty name is now handled by trying to look up the + address of the root domain, which fails. Previously some + of these operations caused an internal exception, which + contradicted type specifications.
++ Own Id: OTP-18543 Aux Id: GH-6353
++ Replaced a regex with a special case handling of ANSI + Select Graphic Rendition escape characters, to speed up + io output that make use of these escape sequences.
++ Own Id: OTP-18547 Aux Id: PR-7092
+The Erlang shell has been improved to support the + following features:
+ Own Id: OTP-14835 Aux Id: PR-5924
+The TTY/terminal subsystem has been rewritten by + moving more code to Erlang from the old linked-in driver + and implementing all the I/O primitives needed in a NIF + instead.
On Unix platforms the user should not + notice a lot of difference, besides better handling of + unicode characters and fixing of some long standing bugs. +
Windows users will notice that erl.exe has the + same functionality as a normal Unix shell and that + werl.exe has been removed and replaced with a symlink to + erl.exe. This makes the Windows Erlang terminal + experience identical to that of Unix.
The + re-write brings with it a number of bug fixes and feature + additions:
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-17932 Aux Id: PR-6144 GH-3150 GH-3390 GH-4343 + GH-4225
+Add support for socket on Windows.
+ Own Id: OTP-18029
+As announced since the release of OTP 24, support + for:
version 4 node container types
+ in the external term format are now mandatory. That is,
+ references supporting up to 5 32-bit integer identifiers,
+ and process and port identifiers with support for 64-bit
+ data storage. The distribution flag
the
Due to the above, OTP 26 nodes will refuse to connect + to OTP nodes from releases prior to OTP 24.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18140 Aux Id: PR-6072
+ Support for Kernel TLS (kTLS), has been added to the
+ SSL application, for TLS distribution (
This, for now,
+ only works for some not too old Linux distributions.
+ Roughly, a kernel 5.2.0 or later with support for
+ UserLand Protocols and the kernel module
+ Own Id: OTP-18235 Aux Id: PR-6104, PR-5840
++ Add code:get_doc/2 which adds support to fetch + documentation skeletons of functions using debug_info + chunks instead of eep48 doc chunks.
++ Own Id: OTP-18261 Aux Id: PR-5924
+
+ The Erlang shell's auto-completion when typing
+ This behaviour can be configured using a the
+
+ Own Id: OTP-18278 Aux Id: PR-6260
+
+ Typing
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18285 Aux Id: PR-6262
++ gen_server optimized by caching callback functions
++ Own Id: OTP-18305 Aux Id: PR-5831
+
+ Prepare the
+ Own Id: OTP-18327 Aux Id: PR-6433
+
+ New
+ Own Id: OTP-18331 Aux Id: ERIERL-870
+The following
Reuse of local port. Load balancing may or may + not be provided depending on underlying OS.
Reuse of local port. Load balancing + provided.
Exclusive address/port usage on Windows. This + socket option is Windows specific and will silently be + ignored on other systems.
The
+ behavior of setting
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18344 Aux Id: PR-6522, PR-6944, OTP-18324, + PR-6481, GH-6461
++ Replace size/1 with either tuple_size/1 or byte_size/1
+
+ The
+ When one knows that the value being tested must be a
+ tuple,
+ When one knows that the value being tested must be a
+ binary,
+ Own Id: OTP-18405 Aux Id: + GH-6672,PR-6702,PR-6768,PR-6700,PR-6769,PR-6812,PR-6814
+The function
+ Own Id: OTP-18419
+
+ The modules Erlang DNS resolver
+ Own Id: OTP-18442 Aux Id: PR-6786, GH-6606
+
+ Introduced
+ Own Id: OTP-18444 Aux Id: PR-6035
+ Handling of
This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. +
++ Own Id: OTP-18447
++ Reduce contention on the code_server by doing the code + preparation on the client.
++ Own Id: OTP-18448 Aux Id: PR-6736
++ Added a mode to ensure_all_loaded, to start children + application and their dependencies concurrently.
++ Own Id: OTP-18451 Aux Id: PR-6737
++ Cache OTP boot code paths, to limit how many folders that + are being accessed during a module lookup. Can be + disabled with -cache_boot_path false. OTP boot code paths + consists of ERL_LIB environment variables. The various + otp/*/ebin folders. And the {path, ...} clauses in the + init script.
++ Own Id: OTP-18452 Aux Id: PR-6729
++ Erlang distribution code in Kernel and SSL has been + refactored a bit to facilitate debugging and + re-usability, which shouldn't have any noticeable effects + on behaviour or performance.
++ Own Id: OTP-18456
++ Add cache attribute to code path apis.
++ Added an optional cache/nocache argument to all + code:add_path*, code:set_path*, and code:replace_path* + functions. These functions will then avoid doing + file-accesses if they are cached. Cache can be cleared + with code:clear_cache/0. Added code:del_paths/1 to make + it easier to clear multiple paths.
++ Own Id: OTP-18466 Aux Id: PR-6832
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
++ Improvements to code:ensure_modules_loaded/1: Previously + it would prepare modules and then abandon references to + said modules if they had on_load callbacks. This pull + request makes it so they keep the references around and + then serially load them without having to fetch the + object code and prepare them again.
++ Own Id: OTP-18484 Aux Id: PR-6844
++ The internal DNS resolver has been updated to handle DNS + LOC RR:s (RFC 1876). This is an undocumented module, + although still used by power users. See the source code.
++ Own Id: OTP-18510 Aux Id: GH-6098, PR-6982
+
+ Reduced memory consumption in
+ Own Id: OTP-18521 Aux Id: PR-7025
+
+ The
+ Documentation about blocking distributed signals has also + been improved.
++ Own Id: OTP-18533 Aux Id: PR-7061
+
+ Allow IPv6 addresses as host in
+ Own Id: OTP-18540 Aux Id: PR-6900
++ Remove deprecated functions in OTP-26
++ Own Id: OTP-18542
+
+ Removed
+ Removed
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18551 Aux Id: PR-7106
+Added support for multiple line expressions and + navigation in the shell. Added new keybindings:
+Modifies the prompt for new lines to + make it clearer that the prompt has entered multi-line + mode. Supports terminal with small window size, recommend + not go lower than 7 rows and 40 columns. Modifies the + search prompt to support multi-line statements. Redraw + the prompt after continuing from JCL menu.
++ Own Id: OTP-18575 Aux Id: PR-7169
+
+ Removed configure option
+ Own Id: OTP-18538 Aux Id: GH-7031, PR-7078
++ Added debug statistics for active transactions.
++ Own Id: OTP-18309 Aux Id: PR-6377
+ The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
+This document describes the changes made to the Observer application.
+Runtime dependencies have been updated.
++ Own Id: OTP-18350
+
+ Added
+ Own Id: OTP-18430 Aux Id: PR-6397
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+This document describes the changes made to the odbc application.
-+ Allow larger column sizes than 8001 in case DB supports + it.
++ Own Id: OTP-18539
+This document describes the changes made to the OS_Mon application.
++ Fix internal os_mon_sysinfo:get_disk_info/1 function to + not crash when run on Windows with multiple drives.
++ Own Id: OTP-18246 Aux Id: PR-6284 GH-6156
+
+ Fixed a memory leak when calling
+ Own Id: OTP-18546 Aux Id: GH-7070, PR-7071
+
+ The
+ Own Id: OTP-18303 Aux Id: PR-6384
+Runtime dependencies have been updated.
++ Own Id: OTP-18350
+
+ Support for
+ Own Id: OTP-18566 Aux Id: PR-7080
+This document describes the changes made to the Parsetools application.
+Leex has been extended with optional column number + support.
++ Own Id: OTP-18491 Aux Id: PR-6882
+ Handling of
This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. +
++ Own Id: OTP-18447
++ Add possibility to strip specific chunks from beam files + included in a release. Before this change it was only + possible to strip all chunks from the beam files.
++ Own Id: OTP-18230 Aux Id: PR-5936
+Runtime dependencies have been updated.
++ Own Id: OTP-18350
+Support for the experimental code archives feature has
+ been removed from
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18488 Aux Id: PR-6836
+ The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
+This document describes the changes made to the Runtime_Tools application.
+Fixed the type specification for
+
+ Own Id: OTP-18499 Aux Id: PR-6946
+
+ Add
+ Own Id: OTP-18211 Aux Id: PR-6143
+ Handling of
This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. +
++ Own Id: OTP-18447
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+The
+ Own Id: OTP-18487 Aux Id: PR-6829
+
+ Removed the experimental
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18549 Aux Id: PR-7105
+This document describes the changes made to the SASL application.
+Improved error message from
+
+ Own Id: OTP-18300 Aux Id: PR-6389
+ The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
++ The ssh_cli has been updated to work with the changes + introduced in the new Erlang shell implementation.
++ Own Id: OTP-18231 Aux Id: OTP-17932 PR-6144
+
+ Typing
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18285 Aux Id: PR-6262
+
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903
+ The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
+This document describes the changes made to the SSL application.
++ Remove less that 256 bit ECC from default supported ECC + pre TLS-1.3
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-14771
++ Improved error checking and handling of ssl options.
++ Own Id: OTP-15903
++ With this change, stateless tickets generated by server + with anti_replay option enabled can be used for creating + ClientHello throughout ticket lifetime. Without this + change, usability was limited to WindowSize number of + seconds configured for anti_replay option.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18168 Aux Id: PR-6019, GH-6014
+ Support for Kernel TLS (kTLS), has been added to the
+ SSL application, for TLS distribution (
This, for now,
+ only works for some not too old Linux distributions.
+ Roughly, a kernel 5.2.0 or later with support for
+ UserLand Protocols and the kernel module
+ Own Id: OTP-18235 Aux Id: PR-6104, PR-5840
++ With this change, TLS 1.3 server can be configured to + include client certificate in session ticket.
++ Own Id: OTP-18253
++ With this change, it is possible to configure encryption + seed to be used with TLS1.3 stateless tickets. This + enables using tickets on different server instances.
++ Own Id: OTP-18254 Aux Id: PR-5982
++ Debugging enhancements.
++ Own Id: OTP-18312
++ With this change, maybe keyword atom is not used as + function name in ssl code.
++ Own Id: OTP-18335
++ Replace size/1 with either tuple_size/1 or byte_size/1
+
+ The
+ When one knows that the value being tested must be a
+ tuple,
+ When one knows that the value being tested must be a
+ binary,
+ Own Id: OTP-18405 Aux Id: + GH-6672,PR-6702,PR-6768,PR-6700,PR-6769,PR-6812,PR-6814
++ For security reasons remove support for SHA1 and DSA + algorithms from default values.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18438 Aux Id: GH-6679
++ Mitigate memory usage from large certificate chains by + lowering the maximum handshake size. This should not + effect the common cases, if needed it can be configured + to a higher value.
++ Own Id: OTP-18453
++ Change the client default verify option to verify_peer. + Note that this makes it mandatory to also supply trusted + CA certificates or explicitly set verify to verify_none. + This also applies when using the so called anonymous test + cipher suites defined in TLS versions pre TLS-1.3.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18455 Aux Id: GH-5899
++ Erlang distribution code in Kernel and SSL has been + refactored a bit to facilitate debugging and + re-usability, which shouldn't have any noticeable effects + on behaviour or performance.
++ Own Id: OTP-18456
++ Add encoding and decoding of use_srtp hello extension to + facilitate for DTLS users to implement SRTP + functionality.
++ Own Id: OTP-18459
+
+ Refactors the (
+ Own Id: OTP-18465 Aux Id: GH-7065
++ If the function ssl:renegotiate/1 is called on connection + that is running TLS-1.3 return an error instead of + hanging or timing out.
++ Own Id: OTP-18507
++ If a user cancel alert with level warning is received + during handshake make it be handled the same regardless + of TLS version. If it is received in connection in + TLS-1.3 regard it as an error as it is inappropriate.
++ In TLS-1.3 all error alerts are considered FATAL + regardless of legacy alert type. But make sure legacy + type is printed in logs to not confuse users that are + expecting the same legacy type as sent by peer.
++ *** POTENTIAL INCOMPATIBILITY ***
++ Own Id: OTP-18531
+
+ Make
+ Own Id: OTP-18567
++ To make it easier to configure signature algorithms with + algorithms that are moved from the default add the API + function signature_algs/2 that lists possible values. + Also make sha224 a non default value.
++ Own Id: OTP-18572
+Lists all possible signature algorithms corresponding to diff --git a/lib/ssl/src/ssl.app.src b/lib/ssl/src/ssl.app.src index abc5d278a8..b9f69af6a3 100644 --- a/lib/ssl/src/ssl.app.src +++ b/lib/ssl/src/ssl.app.src @@ -88,6 +88,6 @@ {applications, [crypto, public_key, kernel, stdlib]}, {env, []}, {mod, {ssl_app, []}}, - {runtime_dependencies, ["stdlib-4.1","public_key-1.11.3","kernel-@OTP-18235@", - "erts-@OTP-18248@","crypto-5.0", "inets-5.10.7", + {runtime_dependencies, ["stdlib-4.1","public_key-1.11.3","kernel-9.0", + "erts-14.0","crypto-5.0", "inets-5.10.7", "runtime_tools-1.15.1"]}]}. diff --git a/lib/ssl/vsn.mk b/lib/ssl/vsn.mk index db6de41e50..de283ec08a 100644 --- a/lib/ssl/vsn.mk +++ b/lib/ssl/vsn.mk @@ -1 +1 @@ -SSL_VSN = 10.9.1 +SSL_VSN = 11.0 diff --git a/lib/stdlib/doc/src/base64.xml b/lib/stdlib/doc/src/base64.xml index a4ab294336..e3d217ca39 100644 --- a/lib/stdlib/doc/src/base64.xml +++ b/lib/stdlib/doc/src/base64.xml @@ -103,10 +103,10 @@
Encodes a binary into a hex encoded binary using the specified case for the hexadecimal digits "a" to "f".
diff --git a/lib/stdlib/doc/src/edlin_expand.xml b/lib/stdlib/doc/src/edlin_expand.xml index 62e634c1a5..d95d0bf0e4 100644 --- a/lib/stdlib/doc/src/edlin_expand.xml +++ b/lib/stdlib/doc/src/edlin_expand.xml @@ -28,7 +28,7 @@This module provides an expand_fun for the erlang shell @@ -38,8 +38,8 @@
The standard expansion function is able to expand strings to diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml index 2aa05a599a..855f38d2ae 100644 --- a/lib/stdlib/doc/src/ets.xml +++ b/lib/stdlib/doc/src/ets.xml @@ -999,7 +999,7 @@ Error: fun containing local Erlang function calls
Returns "Zips" two lists into one list of two-tuples,
@@ -1098,7 +1098,7 @@ splitwith(Pred, List) ->
"Zips" three lists into one list of
@@ -1113,7 +1113,7 @@ splitwith(Pred, List) ->
Combines the elements of two lists into one list.
@@ -1133,7 +1133,7 @@ splitwith(Pred, List) ->
Combines the elements of three lists into one
diff --git a/lib/stdlib/doc/src/math.xml b/lib/stdlib/doc/src/math.xml
index 69df237496..c0b0d60f61 100644
--- a/lib/stdlib/doc/src/math.xml
+++ b/lib/stdlib/doc/src/math.xml
@@ -110,7 +110,7 @@ erf(X) = 2/sqrt(pi)*integral from 0 to X of exp(-t*t) dt.
Ratio of the circumference of a circle to its radius. This document describes the changes made to the STDLIB application.
+ All process calls in
+ Own Id: OTP-18275 Aux Id: PR-6045 All these start functions
+ now consume the
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-18471 Aux Id: GH-6339, PR-6843 Fixed a bug where
+ Own Id: OTP-18486 Aux Id: PR-6881 In the shell,
+ Own Id: OTP-18548 Aux Id: PR-6967 The Erlang shell has been improved to support the
+ following features:
+ Own Id: OTP-14835 Aux Id: PR-5924
+ Gen_server now caches external functions for use in
+ handle_call, handle_cast and handle_info.
+ Own Id: OTP-15597 Aux Id: PR-5831 The TTY/terminal subsystem has been rewritten by
+ moving more code to Erlang from the old linked-in driver
+ and implementing all the I/O primitives needed in a NIF
+ instead. On Unix platforms the user should not
+ notice a lot of difference, besides better handling of
+ unicode characters and fixing of some long standing bugs.
+ Windows users will notice that erl.exe has the
+ same functionality as a normal Unix shell and that
+ werl.exe has been removed and replaced with a symlink to
+ erl.exe. This makes the Windows Erlang terminal
+ experience identical to that of Unix. The
+ re-write brings with it a number of bug fixes and feature
+ additions:
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-17932 Aux Id: PR-6144 GH-3150 GH-3390 GH-4343
+ GH-4225 Added the
+ Own Id: OTP-18159 Aux Id: PR-6904
+ Added the options
+ Own Id: OTP-18176 Aux Id: PR-6118 The
+ Own Id: OTP-18221 Aux Id: PR-6197 The performance of the
+ Own Id: OTP-18228 Aux Id: GH-5639
+ Improved implementation of
+ Own Id: OTP-18236 Aux Id: PR-6256 The
+ Own Id: OTP-18247 Aux Id: PR-6280, PR-6711
+ Add
+ Own Id: OTP-18272 Aux Id: PR-6279
+ The Erlang shell's auto-completion when typing
+ This behaviour can be configured using a the
+
+ Own Id: OTP-18278 Aux Id: PR-6260
+ New function
+ Own Id: OTP-18279 Aux Id: PR-6234
+ Typing
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-18285 Aux Id: PR-6262
+
+ Own Id: OTP-18287 Aux Id: PR-5955 A limitation in the binary syntax has been removed. It
+ is now possible to match binary patterns in parallel.
+ Example:
+ Own Id: OTP-18297 Aux Id: GH-6348
+ Improve type specification of
+
+ Own Id: OTP-18301 Aux Id: PR-6350 In the
+ Own Id: OTP-18318 Aux Id: PR-6347 It is documented that In Erlang/OTP 26, it is now documented that the
+ following characters are also allowed to follow the
+ The value for
+ Own Id: OTP-18337 Aux Id: GH-6477, PR-6503 The
+ Own Id: OTP-18354 Aux Id: PR-6297
+ Variants of
+ Own Id: OTP-18355 Aux Id: PR-6507
+ New function
+ Own Id: OTP-18361 Aux Id: PR-6536 The BIFs
+ Own Id: OTP-18367 Aux Id: GH-6544
+ Optimized
+ Own Id: OTP-18385 Aux Id: PR-6698 Map comprehensions as suggested in EEP 58 has now been
+ implemented.
+ Own Id: OTP-18413 Aux Id: EEP-58, PR-6727 Some map operations have been optimized by changing
+ the internal sort order of atom keys. This changes the
+ (undocumented) order of how atom keys in small maps are
+ printed and returned by For applications where order is important, there is a
+ new function
+ Own Id: OTP-18414 Aux Id: PR-6151
+ Make gen_server fail "silently" with a new return value
+ for init/1.
+ Own Id: OTP-18423 Aux Id:
+ https://github.com/erlang/backlog/issues/142 Improved the selective receive optimization, which can
+ now be enabled for references returned from other
+ functions. This greatly improves the performance of
+
+ Own Id: OTP-18431 Aux Id: PR-6739 It is no longer necessary to enable a feature in the
+ runtime system in order to load modules that are using
+ it. It is sufficient to enable the feature in the
+ compiler when compiling it. That means that to use feature In Erlang/OTP 27, feature
+ Own Id: OTP-18445
+ Static supervisors are very idle processes after they
+ have started so they will now be hibernated after start
+ to improve resource management.
+ Own Id: OTP-18474 Aux Id: PR-6895
+ Deprecates
+ Own Id: OTP-18478 Aux Id: GH-6903 Support has been added in
+ Own Id: OTP-18494 Aux Id: PR-6924 The family of enumeration functions in module
+
+ Own Id: OTP-18495 Aux Id: PR-6943
+ Update Unicode to version 15.0.0.
+ Own Id: OTP-18500 The regular expression library powering the
+ Own Id: OTP-18511 Aux Id: PR-7017 Improved the performance of
+ Own Id: OTP-18515 Aux Id: GH-6990 The linter will no longer raise warnings for
+ underspecified opaque types.
+ Own Id: OTP-18518 Aux Id: GH-7015 Added the new built-in type
+ Own Id: OTP-18522
+ The by
+ Own Id: OTP-18537 Aux Id: PR-7081 Added the
+ Own Id: OTP-18558 Aux Id: PR-6852 Added support for multiple line expressions and
+ navigation in the shell. Added new keybindings: Modifies the prompt for new lines to
+ make it clearer that the prompt has entered multi-line
+ mode. Supports terminal with small window size, recommend
+ not go lower than 7 rows and 40 columns. Modifies the
+ search prompt to support multi-line statements. Redraw
+ the prompt after continuing from JCL menu.
+ Own Id: OTP-18575 Aux Id: PR-7169 Starts the interactive shell if it has not already been started.
@@ -967,9 +967,9 @@ q - quit erlang
Starts the interactive shell if it has not already been started.
@@ -1075,7 +1075,7 @@ q - quit erlang
Returns the current shell process on the node where the
diff --git a/lib/stdlib/doc/src/timer.xml b/lib/stdlib/doc/src/timer.xml
index 3fceddbec6..75706f7b2d 100644
--- a/lib/stdlib/doc/src/timer.xml
+++ b/lib/stdlib/doc/src/timer.xml
@@ -112,7 +112,7 @@
Extracts one crc32 checksum from an open archive. This document describes the changes made to the Syntax_Tools
application. Map comprehensions as suggested in EEP 58 has now been
+ implemented.
+ Own Id: OTP-18413 Aux Id: EEP-58, PR-6727 The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843 This document describes the changes made to the Tools application. Map comprehensions as suggested in EEP 58 has now been
+ implemented.
+ Own Id: OTP-18413 Aux Id: EEP-58, PR-6727 The
+ Own Id: OTP-18487 Aux Id: PR-6829 This document describes the changes made to the wxErlang
application. Runtime dependencies have been updated.
+ Own Id: OTP-18350 The implementation has been fixed to use
+
+ *** POTENTIAL INCOMPATIBILITY ***
+ Own Id: OTP-18490 Aux Id: OTP-18471, GH-6339, PR-6843
- Before OTP @OTP-18502@
The sharing of key tuples by
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/tftp/src/tftp.app.src b/lib/tftp/src/tftp.app.src
index 28040ca142..2f6b4793a2 100644
--- a/lib/tftp/src/tftp.app.src
+++ b/lib/tftp/src/tftp.app.src
@@ -18,5 +18,5 @@
tftp_logger,
tftp_sup
]},
- {runtime_dependencies, ["erts-6.0","stdlib-@OTP-18490@","kernel-6.0"]}
+ {runtime_dependencies, ["erts-6.0","stdlib-5.0","kernel-6.0"]}
]}.
diff --git a/lib/tftp/vsn.mk b/lib/tftp/vsn.mk
index d1a14b4255..8c81f083cc 100644
--- a/lib/tftp/vsn.mk
+++ b/lib/tftp/vsn.mk
@@ -19,6 +19,6 @@
# %CopyrightEnd%
APPLICATION = tftp
-TFTP_VSN = 1.0.4
+TFTP_VSN = 1.1
PRE_VSN =
APP_VSN = "$(APPLICATION)-$(TFTP_VSN)$(PRE_VSN)"
diff --git a/lib/tools/doc/src/notes.xml b/lib/tools/doc/src/notes.xml
index 84a6019e57..babc9fde4d 100644
--- a/lib/tools/doc/src/notes.xml
+++ b/lib/tools/doc/src/notes.xml
@@ -31,6 +31,27 @@
+
+
+
+