Random text by shino
Patch Package: OTP 20.0
Git Tag: OTP-20.0
Date: 2017-06-21
Trouble Report Id: OTP-10289, OTP-11695, OTP-12148, OTP-12872,
OTP-13006, OTP-13529, OTP-13684, OTP-13690,
OTP-13692, OTP-13779, OTP-13794, OTP-13801,
OTP-13805, OTP-13806, OTP-13810, OTP-13820,
OTP-13827, OTP-13830, OTP-13831, OTP-13842,
OTP-13844, OTP-13856, OTP-13860, OTP-13862,
OTP-13873, OTP-13879, OTP-13900, OTP-13903,
OTP-13908, OTP-13909, OTP-13921, OTP-13924,
OTP-13961, OTP-13968, OTP-13976, OTP-13983,
OTP-14000, OTP-14001, OTP-14002, OTP-14006,
OTP-14029, OTP-14035, OTP-14037, OTP-14038,
OTP-14039, OTP-14042, OTP-14057, OTP-14058,
OTP-14059, OTP-14066, OTP-14068, OTP-14069,
OTP-14070, OTP-14071, OTP-14072, OTP-14076,
OTP-14077, OTP-14087, OTP-14089, OTP-14092,
OTP-14094, OTP-14102, OTP-14110, OTP-14111,
OTP-14117, OTP-14123, OTP-14125, OTP-14127,
OTP-14137, OTP-14140, OTP-14146, OTP-14149,
OTP-14152, OTP-14168, OTP-14171, OTP-14178,
OTP-14179, OTP-14183, OTP-14186, OTP-14190,
OTP-14193, OTP-14197, OTP-14201, OTP-14205,
OTP-14216, OTP-14218, OTP-14219, OTP-14221,
OTP-14226, OTP-14238, OTP-14243, OTP-14245,
OTP-14247, OTP-14253, OTP-14255, OTP-14258,
OTP-14259, OTP-14261, OTP-14263, OTP-14264,
OTP-14267, OTP-14270, OTP-14272, OTP-14274,
OTP-14276, OTP-14277, OTP-14278, OTP-14284,
OTP-14285, OTP-14287, OTP-14289, OTP-14291,
OTP-14293, OTP-14294, OTP-14295, OTP-14296,
OTP-14302, OTP-14303, OTP-14304, OTP-14305,
OTP-14306, OTP-14307, OTP-14310, OTP-14312,
OTP-14314, OTP-14316, OTP-14317, OTP-14318,
OTP-14319, OTP-14323, OTP-14324, OTP-14328,
OTP-14330, OTP-14331, OTP-14332, OTP-14333,
OTP-14335, OTP-14336, OTP-14337, OTP-14338,
OTP-14339, OTP-14343, OTP-14345, OTP-14347,
OTP-14348, OTP-14352, OTP-14356, OTP-14357,
OTP-14360, OTP-14361, OTP-14362, OTP-14369,
OTP-14371, OTP-14377, OTP-14380, OTP-14381,
OTP-14382, OTP-14384, OTP-14385, OTP-14387,
OTP-14388, OTP-14390, OTP-14393, OTP-14394,
OTP-14399, OTP-14400, OTP-14401, OTP-14404,
OTP-14405, OTP-14407, OTP-14408, OTP-14409,
OTP-14410, OTP-14411, OTP-14415, OTP-14417,
OTP-14419, OTP-14421, OTP-14422, OTP-14423,
OTP-14424, OTP-14425, OTP-14426, OTP-14429,
OTP-14431, OTP-14433, OTP-14434, OTP-14435,
OTP-14436, OTP-14437, OTP-14438, OTP-14441,
OTP-14442, OTP-14443, OTP-14447, OTP-14453,
OTP-14454, OTP-14455, OTP-14531
Seq num: ERIERL-20, ERIERL-22, ERIERL-29, ERL-165,
ERL-208, ERL-278, ERL-308, ERL-332, ERL-360,
ERL-369, ERL-376, ERL-393, ERL-395, ERL-399,
ERL-401, ERL-417, ERL-429, ERL-430, ERL-82,
seq13299, seq13315
System: OTP
Release: 20
Application: asn1-5.0, common_test-1.15, compiler-7.1,
cosProperty-1.2.2, crypto-4.0,
debugger-4.2.2, dialyzer-3.2, diameter-2.0,
edoc-0.9, erl_docgen-0.7, erl_interface-3.10,
erts-9.0, eunit-2.3.3, hipe-3.16, inets-6.4,
jinterface-1.8, kernel-5.3, megaco-3.18.2,
mnesia-4.15, observer-2.4, orber-3.8.3,
parsetools-2.1.5, public_key-1.4.1,
reltool-0.7.4, runtime_tools-1.12,
sasl-3.0.4, snmp-5.2.6, ssh-4.5, ssl-8.2,
stdlib-3.4, syntax_tools-2.1.2, tools-2.10,
wx-1.8.1, xmerl-1.3.15
Predecessor: OTP
Check out the git tag OTP-20.0, and build a full OTP system including
documentation.
unicode
モジュールに正規化関数を追加。string
モジュール API を拡張: 改善されたユニコード処理と書要素クラスターに対
して機能する関数を追加。新しい関数は unicode:chardata()
型に作用するため、
UTF-8 バイナリを入力として受け取る。 Related Id(s): OTP-10309
*** POTENTIAL INCOMPATIBILITY ***
Improved unicode support for strings. Added
normalization functions in the unicode module. Extended
the string module API with new functions with improved
unicode handling and that works on grapheme clusters.
The new functions operates on the unicode:chardata()
type, thus they also accept UTF-8 binaries as input.
The old string API have been marked as obsolete. The
return values have been changed for some error cases.
*** POTENTIAL INCOMPATIBILITY ***
TLS-1.2 clients will now always send hello messages on
its own format, as opposed to earlier versions that
will send the hello on the lowest supported version,
this is a change supported by the latest RFC.
This will make interoperability with some newer servers
smoother. Potentially, but unlikely, this could cause a
problem with older servers if they do not adhere to the
RFC and ignore unknown extensions.
The crypto application now supports OpenSSL 1.1.
Related Id(s): PR-1180
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
order to satisfy specific security requirements (mostly
by different parts of the US federal government).
See the new crypto users guide "FIPS mode" chapter
about building and using the FIPS support which is
disabled by default.
(Thanks to dszoboszlay and legoscia)
code:modified_modules/0
はロードされているモジュールの中で
ディスク上変更されているものを、すべて返すcode:module_status/1
はモジュールの状態を返すshell
c
モジュールでは mm/0
が code:modified_modules/0
の
短縮形であり、 lm/0
は変更されたすべてのモジュールをリロードする。 Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.
ERL_MAX_ETS_TABLES
環境
変数によって増加可能であった。このハードリミットは除外されたが、
ERL_MAX_ETS_TABLES
を設定するのは現在も有用である。ERL_MAX_ETS_TABLES
は、使用されるテーブルのおおよその最大数に設定される
べきである。これは、この値を使って内部的に名前付きテーブルがつくられるから
である。もし、多くの名前付きテーブルが作成され、 ERL_MAX_ETS_TABLES
が
増やされていない場合、名前付きテーブルのルックアップ性能が落ちる。 *** POTENTIAL INCOMPATIBILITY ***
Optimized ETS operations by changing table identifier
type from integer to reference. The reference enables a
more direct mapping to the table with less potential
lock contention and makes especially creation and
deletion of tables scale much better.
The change of the opaque type for the ETS table
identifiers may cause failure in code that make faulty
assumptions about this opaque type.
The number of tables stored at one Erlang node *used*
to be limited. This is no longer the case (except by
memory usage). The previous default limit was about
1400 tables and could be increased by setting the
environment variable ERL_MAX_ETS_TABLES before starting
the Erlang runtime system. This hard limit has been
removed, but it is currently useful to set the
ERL_MAX_ETS_TABLES anyway. It should be set to an
approximate of the maximum amount of tables used. This
since an internal table for named tables is sized using
this value. If large amounts of named tables are used
and ERL_MAX_ETS_TABLES hasn't been increased, the
performance of named table lookup will degrade.
draft-ietf-curdle-ssh-kex-sha2
の議論を
参照。diffie-hellman-group1-sha1
キー交換がデフォルトで
は有効にならなくなった。これはオプション preferred-algorithms
で有効化出来る。diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group14-sha256
diffie-hellman-group-exchange-sha1
と
diffie-hellman-group14-sha1
は、依然としてデフォルト有効のままである。
draft-ietf-curdle-ssh-kex-sha2
が RFC になった場合、これらの SHA1 ベースの
アルゴリズムは IETF により廃止予定となる。それらは Erlang/OTP のデフォルト
から外れるかもしれない。 *** POTENTIAL INCOMPATIBILITY ***
Modernization of key exchange algorithms. See
draft-ietf-curdle-ssh-kex-sha2 for a discussion.
Removed an outdated weak algorithm and added stronger
replacements to keep interoperability with other modern
ssh clients and servers. The default ordering of the
algorithms is also adjusted.
Retired: The nowadays unsecure key-exchange
diffie-hellman-group1-sha1 is not enabled by default,
but can be enabled with the option
preferred-algorithms.
Added: The new stronger key-exchange
diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256 are added and enabled by
default.
The questionable [RFC 6194] sha1-based algorithms
diffie-hellman-group-exchange-sha1 and
diffie-hellman-group14-sha1 are however still kept
enabled by default for compatibility with ancient
clients and servers that lack modern key-exchange
alternatives. When the draft-ietf-curdle-ssh-kex-sha2
becomes an rfc, those sha1-based algorithms and
diffie-hellman-group1-sha1 will be deprecated by IETF.
They might then be removed from the default list in
Erlang/OTP.
erlang:statistics/1
は、
ダーティースケジューラー対応で変更された。
erlang:statistics(scheduler_wall_time)
statistics(total_run_queue_lengths)
statistics(total_active_tasks)
など *** POTENTIAL INCOMPATIBILITY ***
Dirty schedulers are now enabled and supported on
Erlang runtime systems with SMP support.
Besides support for dirty NIFs also support for dirty
BIFs and dirty garbage collection have been introduced.
All garbage collections that potentially will take a
long time to complete are now performed on dirty
schedulers if enabled.
erlang:statistics/1 with arguments inspecting scheduler
and run queue states have been changed due to the dirty
scheduler support. Code using this functionality may
have to be rewritten taking these incompatibilities
into consideration. Examples of such uses are calls to
erlang:statistics(scheduler_wall_time),
statistics(total_run_queue_lengths),
statistics(total_active_tasks), etc.
Atoms may now contain arbitrary Unicode characters.
gen_fsm
は廃止予定となり、 gen_statem
に置き換えられた。
gen_fsm
はかなり長期間に渡り、
隠し機能として存在し続けるだろう。 gen_fsm is deprecated and is replaced by gen_statem,
however for backwards compatibility reasons gen_fsm may
continue to exist as an undocumented feature for quite
some time.
draft-ietf-curdle-ssh-ext-info-05
の
server-sig-algs
拡張が実装された。draft-ietf-curdle-ssh-ext-info-05
が実装され、シグネチャ
アルゴリズム rsa-sha2-256
と rsa-sha2-512
が導入された。 The Extension Negotiation Mechanism and the extension
server-sig-algs in draft-ietf-curdle-ssh-ext-info-05
are implemented.
The related draft-ietf-curdle-rsa-sha2-05 is
implemented and introduces the signature algorithms
rsa-sha2-256 and rsa-sha2-512.
public_key:pkix_verify_hostname/2
を
呼ぶようになった。
connect
の第一引数から得られない場合や、
サーバー名を指示するオプションが与えられない場合にはこの検査は行われない。 TLS client processes will by default call
public_key:pkix_verify_hostname/2 to verify the
hostname of the connection with the server certificates
specified hostname during certificate path validation.
The user may explicitly disables it. Also if the
hostname can not be derived from the first argument to
connect or is not supplied by the server name
indication option, the check will not be performed.
All uses of the magic binary kludge has been replaced
by uses of erlang references.
A magic binary was presented as an empty binary, but
actually referred other data internally in the Erlang
VM. Since they were presented as empty binaries,
different magic binaries compared as equal, and also
lost their internal data when passed out of an erlang
node.
The new usage of references has not got any of these
strange semantic issues, and the usage of these
references has been optimized to give the same
performance benefits as well as memory usage benefits
as magic binaries had.
A couple of examples of previous uses of magic binaries
are match specifications and NIF resources.
maps
オプションは、 SEQUENCE
と SET
の型の表現を(レコードではな
く)マップに変更する。 The new 'maps' option changes the representation of the
types SEQUENCE and SET to be maps (instead of records).
erl_tar
は USTAR
フォーマットのみを
サポートしていた。 これはパス名をたかだか 255 バイトまでに制限しており、
かつユニコード文字を含む名前をポータブルな方法でサポートしてなかった。erl_tar
のサポート形式が拡張された。
v7
、STAR
、
USTAR
、PAX
、そして GNU tar の STAR/USTAR
への拡張形式をサポートする。erl_tar
は必要な場合(例えば長いファイル名
やユニコード文字をファイル名に用いる場合)には PAX
フォーマットで書き込む。erl_tar
は今後も tar アーカイブを USTAR
形式で書き込む。
これは最大限のポータビリティーのためである。 erl_tar in previous versions of OTP only supports the
USTAR format. That limited path names to at most 255
bytes, and did not support Unicode characters in names
in a portable way.
erl_tar now has support for reading tar archives in the
formats currently in common use, such as v7, STAR,
USTAR, PAX, and GNU tar's extensions to the STAR/USTAR
format. When writing tar archives, erl_tar can now
write them in the PAX format if necessary (for example,
to support very long filenames or filenames with
Unicode characters). If possible, erl_tar will still
write tar archives in the USTAR for maximum
portability.
connection_information/[1,2]
を拡張。
session_id
と master_secret
、 client_random
、server_random
は
connection_information/2
からアクセスできない。session_id
は connection_information/1
にのみ追加されている。 Extend connection_information/[1,2] . The values
session_id, master_secret, client_random and
server_random can no be accessed by
connection_information/2. Note only session_id will be
added to connection_information/1. The rational is that
values concerning the connection security should have
to be explicitly requested.
ets:select_replace/2
を追加
Related Id(s): PR-1076
Add new function ets:select_replace/2 which performs
atomic "compare-and-swap" operations for ETS objects
using match specifications.
+sss
コマンドライン引数を erl
コマンドに渡すことで設定できる。 Related Id(s): ERL-208
*** POTENTIAL INCOMPATIBILITY ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
Various improvements of timer management internally in
the VM. These improvements both reduced memory
consumption of timer wheels as well as reduce the
amount of work that has to be performed in order to
handle timers.
{protocol, dtls}
のオプションを ssl
API 関数に渡すことで
接続と listen をテスト。 Basic support for DTLS that been tested together with
OpenSSL.
Test by providing the option {protocol, dtls} to the
ssl API functions connect and listen.
./configure --enable-lock-counter
はロックカウントをサポートする
特別なエミュレーターのビルドを有効にする。
erl -emu_type lcnt
を
用いる。erl
は、コンパイルされたエミュレーターを開始するために、
隠しオプション -debug
があった。
erl -emu_type debug
を代わりに使用すること。 './configure --enable-lock-counter' will enabling
building of an additional emulator that has support for
lock counting. (The option previously existed, but
would turn on lock counting in the default emulator
being built.) To start the lock-counting emulator, use
'erl -emu_type lcnt'.
On Windows, erl recognized the undocumented option
-debug for starting a debug-compiled emulator. That
option has been removed. Use 'erl -emu_type debug'
instead.
unicode
モジュールに正規化関数を追加。string
モジュール API を拡張: 改善されたユニコード処理と書要素クラスタに対
して機能する関数を追加。新しい関数は unicode:chardata()
型に作用するため、
UTF-8 バイナリを入力として受け取る。 Related Id(s): OTP-10309
*** HIGHLIGHT ***
Improved unicode support for strings. Added
normalization functions in the unicode module. Extended
the string module API with new functions with improved
unicode handling and that works on grapheme clusters.
The new functions operates on the unicode:chardata()
type, thus they also accept UTF-8 binaries as input.
The old string API have been marked as obsolete. The
return values have been changed for some error cases.
The internal handling of SSH options is re-written.
Previously there were no checks if a client option was
given to a daemon or vice versa. This is corrected now.
If your code has e.g. a client-only option in a call to
start a daemon, the call will fail.
inet:ntoa/1
は、この関数が実装されたあとに承認された RFC 5935 に従い、
小文字の文字列を返すよう修正された。
inet:parse_address/1
は、スコープされたアドレスの %
-サフィックスを受
け入れるよう修正された。このアドレスはまだ動作しないが、パースエラーは起こさない。 Related Id(s): ERIERL-20, ERL-429
Function inet:ntoa/1 has been fixed to return lowercase
letters according to RFC 5935 that has been approved
after this function was written. Previously uppercase
letters were returned so this may be a backwards
incompatible change depending on how the returned
address string is used.
Function inet:parse_address/1 has been fixed to accept
%-suffixes on scoped addresses. The addresses does not
work yet, but gives no parse errors.
*** HIGHLIGHT ***
TLS-1.2 clients will now always send hello messages on
its own format, as opposed to earlier versions that
will send the hello on the lowest supported version,
this is a change supported by the latest RFC.
This will make interoperability with some newer servers
smoother. Potentially, but unlikely, this could cause a
problem with older servers if they do not adhere to the
RFC and ignore unknown extensions.
erlang:hash/2
を削除した。 Remove deprecated erlang:hash/2.
erlang:check_process_code/3
のドキュメントを参照。 Related Id(s): OTP-13833
The previously used purge strategy has been removed.
The optional purge strategy introduced in ERTS version
8.1 is now the only strategy available.
The new purge strategy is slightly incompatible with
the old strategy. Previously processes holding funs
that referred to the module being purged either failed
a soft purge, or was killed during a hard purge. The
new strategy completely ignores funs. If funs referring
to the code being purged exist, and are used after a
purge, an exception will be raised upon usage. That is,
the behavior will be exactly the same as the case when
a fun is received by a process after the purge.
For more information see the documentation of
erlang:check_process_code/3.
Removed functions deprecated in crypto-3.0 first
released in OTP-R16B01
erlang:load_nif/2
の
成功する呼び出しは、1回までしか認められないことを意味する。erlang:load_nif/2
呼び出しは、NIF ライブラリがリロード
コールバックを実装していたとしても {error, {relaod, _}}
を返す。 The NIF library reload feature is not supported
anymore. It has been marked as deprecated since OTP
R15B. This means that you are only allowed to do one
successful call to erlang:load_nif/2 for each module
instance. A second call to erlang:load_nif/2 will
return {error, {reload, _}} even if the NIF library
implements the reload callback.
Runtime upgrade of a NIF library is still supported by
using the Erlang module upgrade mechanics with a
current and an old module instance existing at the same
time with their corresponding NIF libraries.
Removed the wrapping of select continuations in
extension plugin handling. This might require the user
to rewrite user backend plugin if used.
ERL_MAX_ETS_TABLES
環境
変数によって増加可能であった。このハードリミットは除外されたが、
ERL_MAX_ETS_TABLES
を設定するのは現在も有用である。ERL_MAX_ETS_TABLES
は、使用されるテーブルのおおよその最大数に設定される
べきである。これは、この値を使って内部的に名前付きテーブルがつくられるから
である。もし、多くの名前付きテーブルが作成され、 ERL_MAX_ETS_TABLES
が
増やされていない場合、名前付きテーブルのルックアップ性能が落ちる。 *** HIGHLIGHT ***
Optimized ETS operations by changing table identifier
type from integer to reference. The reference enables a
more direct mapping to the table with less potential
lock contention and makes especially creation and
deletion of tables scale much better.
The change of the opaque type for the ETS table
identifiers may cause failure in code that make faulty
assumptions about this opaque type.
The number of tables stored at one Erlang node *used*
to be limited. This is no longer the case (except by
memory usage). The previous default limit was about
1400 tables and could be increased by setting the
environment variable ERL_MAX_ETS_TABLES before starting
the Erlang runtime system. This hard limit has been
removed, but it is currently useful to set the
ERL_MAX_ETS_TABLES anyway. It should be set to an
approximate of the maximum amount of tables used. This
since an internal table for named tables is sized using
this value. If large amounts of named tables are used
and ERL_MAX_ETS_TABLES hasn't been increased, the
performance of named table lookup will degrade.
draft-ietf-curdle-ssh-kex-sha2
の議論を
参照。diffie-hellman-group1-sha1
キー交換がデフォルトで
は有効にならなくなった。これはオプション preferred-algorithms
で有効化出来る。diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group14-sha256
diffie-hellman-group-exchange-sha1
と
diffie-hellman-group14-sha1
は、依然としてデフォルト有効のままである。
draft-ietf-curdle-ssh-kex-sha2
が RFC になった場合、これらの SHA1 ベースの
アルゴリズムは IETF により廃止予定となる。それらは Erlang/OTP のデフォルト
から外れるかもしれない。 *** HIGHLIGHT ***
Modernization of key exchange algorithms. See
draft-ietf-curdle-ssh-kex-sha2 for a discussion.
Removed an outdated weak algorithm and added stronger
replacements to keep interoperability with other modern
ssh clients and servers. The default ordering of the
algorithms is also adjusted.
Retired: The nowadays unsecure key-exchange
diffie-hellman-group1-sha1 is not enabled by default,
but can be enabled with the option
preferred-algorithms.
Added: The new stronger key-exchange
diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256 are added and enabled by
default.
The questionable [RFC 6194] sha1-based algorithms
diffie-hellman-group-exchange-sha1 and
diffie-hellman-group14-sha1 are however still kept
enabled by default for compatibility with ancient
clients and servers that lack modern key-exchange
alternatives. When the draft-ietf-curdle-ssh-kex-sha2
becomes an rfc, those sha1-based algorithms and
diffie-hellman-group1-sha1 will be deprecated by IETF.
They might then be removed from the default list in
Erlang/OTP.
asn1rt
モジュールが削除された。
廃止予定の asn1ct:encode/3
、 asn1ct:decode/3
が削除された。
隠し関数の asn1ct:encode/2
が削除された。 The deprecated module asn1rt has been removed. The
deprecated functions asn1ct:encode/3 and
asn1ct:decode/3 have been removed. The undocumented
function asn1ct:encode/2 has been removed.
erlang:statistics/1
は、
ダーティースケジューラー対応で変更された。
erlang:statistics(scheduler_wall_time)
statistics(total_run_queue_lengths)
statistics(total_active_tasks)
など *** HIGHLIGHT ***
Dirty schedulers are now enabled and supported on
Erlang runtime systems with SMP support.
Besides support for dirty NIFs also support for dirty
BIFs and dirty garbage collection have been introduced.
All garbage collections that potentially will take a
long time to complete are now performed on dirty
schedulers if enabled.
erlang:statistics/1 with arguments inspecting scheduler
and run queue states have been changed due to the dirty
scheduler support. Code using this functionality may
have to be rewritten taking these incompatibilities
into consideration. Examples of such uses are calls to
erlang:statistics(scheduler_wall_time),
statistics(total_run_queue_lengths),
statistics(total_active_tasks), etc.
Raised minimum requirement for OpenSSL version to
OpenSSL-0.9.8.c although we recommend a much higher
version, that is a version that is still maintained
officially by the OpenSSL project. Note that using such
an old version may restrict the crypto algorithms
supported.
public_key_alg
オプションを削除した。
代わりに pref_public_key_algs
を用いること。 Removed the option public_key_alg which was deprecated
in 18.2. Use pref_public_key_algs instead.
Host
引数と ip
オプションの解決方法を記述されていなかった。any
値が Host
引数と ip
オプションに使われた際の普通ではない
コーナーケースが存在した。Host
と ip
オプションを両方利用する
コードに不整合を発生させるかもしれない。loopback
値がこれらのアドレスの名前付けの正しい方法として追加された。 The SSH application is refactored regarding daemon
starting. The resolution of contradicting Host argument
and ip option were not described. There were also
strange corner cases when the 'any' value was used in
Host argument or ip option. This is (hopefully)
resolved now, but it may cause incompatibilities for
code using both Host and the ip option. The value
'loopback' has been added for a correct way of naming
those addresses.
--enable-plain-emulator
を利用して有効化され
なければならない。 The non-smp emulators have been deprecated and are
scheduled for removal in OTP-21.
In preparation for this, the threaded non-smp emulator
is no longer built by default and has to be enabled
using the --enable-plain-emulator to configure.
+sss
コマンドライン引数を erl
コマンドに渡すことで設定できる。 Related Id(s): ERL-208
*** HIGHLIGHT ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
@custom_types
や @codecs
を利用する辞書は、encode/decode を通して渡される
追加の引数を受け付ける関数に適応する必要がある。
Improve performance of message encode/decode and
related handling.
Dictionaries using @custom_types or @codecs will need
to adapt the corresponding functions to accept an
additional argument that is now passed through
encode/decode, which was required to remove various
process dictionary-based workarounds that have been
used to solve problems in the past.
gen_statem
が総称的なタイムアウト(複数の名前付き)と、
絶対タイムアウト時刻を処理できるようになった。ドキュメントを参照のこと。gen_statem
のコールバック Module:init/1
は、他の gen_*
モジュールと
調和するよう、必須となった。これは gen_statem:enter_loop/4-6
を利用していた
gen_statem
コールバックモジュールには非互換となる可能性がある。 The state machine engine gen_statem can now handle
generic time-outs (multiple named) as well as absolute
time-out time. See the documentation.
The gen_statem callback Module:init/1 has become
mandatory to harmonize with other gen_* modules. This
may be an incompatibility for gen_statem callback
modules that use gen_statem:enter_loop/4-6.
on_load
を持つモジュールに
コンパイルオプション -compile(no_native)
を追加。 Related Id(s): PR-1390
Add compile option -compile(no_native) in modules with
on_load directive which is not yet supported by HiPE.
The error tuple returned from the encode and decode
functions will now include the stack backtrace to make
it easier to understand what went wrong.
*** POTENTIAL INCOMPATIBILITY ***
The deprecated module asn1rt has been removed. The
deprecated functions asn1ct:encode/3 and
asn1ct:decode/3 have been removed. The undocumented
function asn1ct:encode/2 has been removed.
*** HIGHLIGHT ***
The new 'maps' option changes the representation of the
types SEQUENCE and SET to be maps (instead of records).
Related Id(s): seq13299
Errors in the documentation for user HTML stylesheets
have been corrected.
Internal code change: Calls to catch followed by a call
to erlang:get_stacktrace/0 has been rewritten to use
try instead of catch to make the code future-proof.
The ct_slave modules now handle nodenames in the same
way as nodenames passed to -sname. That means
ct_slave:start('b@127.0.0.1'). will now work.
Added the new option, keep_logs. If setting the value
for this option to an integer, N, common_test will
remove all ct_run.* directories in the current log
directory, except the N newest.
The existing ct_netconfc:open/1,2 opens an SSH
connection with one SSH channel realizing one Netconf
session. To allow testing of multiple sessions over the
same SSH connection, the following functions are added
to ct_netconfc:
* connect/1,2 - establish an SSH connection *
disconnect/1 - close the given SSH connection *
session/1,2,3 - open an ssh channel on the given
connection and send 'hello' to start a Netconf session
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): seq13315
The function ct_ssh:shell/2,3 is added.
For many releases, it has been legal to override a BIF
with a local function having the same name. However,
calling a local function with the same name as guard
BIF as filter in a list comprehension was not allowed.
Related Id(s): ERL-417
compile:forms/2 would not return the module name as
documented when one of the options 'from_core',
'from_asm', or 'from_beam' was given. Also, the
compiler would crash if one of those options was
combined with 'native'.
Optimized test for tuples with an atom as first
element.
Compilation of modules with huge literal binary strings
is now much faster.
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
The undocumented and unsupported module sys_pre_expand
has been removed. As a partial replacement for the
functionality, there is a new function
erl_internal:add_predefined_functions/1 and
erl_expand_records will now add a module prefix to
calls to BIFs and imported functions.
The internal compiler passes now start all generated
variables with "@" to avoid any conflicts with
variables in languages such as Elixir or LFE.
math
モジュールに fmod/2
関数の追加。 The function fmod/2 has been added to the math module.
Code generation for complicated guards have been
improved.
The compiler has new warnings for repeated identical
map keys.
A map expression such as,
#{'a' => 1, 'b' => 2, 'a' => 3}.
will produce a warning for the repeated key 'a'.
export_all
が使われた場合にデフォルトで警告する。nowarn_export_all
で
無効化可能。 By default, there will now be a warning when export_all
is used. The warning can be disabled using
nowarn_export_all.
Optimize maps pattern matching by only examining the
common keys in each clause first instead of all keys.
This will reduce the number of lookups of each key in
maps pattern matching.
There is a new 'deterministic' option to omit 'source'
and 'options' tuples in the BEAM file.
Related Id(s): ERL-308
Analyzing modules with binary construction with huge
strings is now much faster. The compiler also compiles
such modules slightly faster.
*** HIGHLIGHT ***
Atoms may now contain arbitrary Unicode characters.
compile:file/2 now accepts the option extra_chunks to
include extra chunks in the BEAM file.
Related Id(s): PR-1367
The format of debug information that is stored in BEAM
files (when debug_info is used) has been changed. The
purpose of the change is to better support other
BEAM-based languages such as Elixir or LFE.
All tools included in OTP (dialyzer, debugger, cover,
and so on) will handle both the new format and the
previous format. Tools that retrieve the debug
information using beam_lib:chunk(Beam, [abstract_code])
will continue to work with both the new and old format.
Tools that call beam_lib:chunk(Beam, ["Abst"]) will not
work with the new format.
For more information, see the description of debug_info
in the documentation for beam_lib and the description
of the {debug_info,{Backend,Data}} option in the
documentation for compile.
erlang:get_stacktrace/0
は try
式内部で呼ばれたとき
のみ機能するようになる。(それ以外では []
を返す)get_stacktrace/0
が
呼ばれた場合に、コンパイラはデフォルトで警告を出す。
catch
も try
も使わない関数の中で get_stacktrace/0
が使われた
場合には警告は出ない。try
の内部で呼ばれるならば合法であり得るため。 In a future release, erlang:get_stacktrace/0 will
probably only work when called from within a 'try'
expression (otherwise it will return [].
To help prepare for that change, the compiler will now
by default warn if 'get_stacktrace/0' is used in a way
that will not work in the future. Note that the warning
will not be issued if 'get_stacktrace/0' is used in a
function that uses neither 'catch' nor 'try' (because
that could be a legal use if the function is called
from within a 'try'.
Fix dialyzer warnings in Orber and CosProperty.
LibreSSL can now be used by the modernized crypto app.
on_load
を持つモジュールに
コンパイルオプション -compile(no_native)
を追加。 Related Id(s): PR-1390
Add compile option -compile(no_native) in modules with
on_load directive which is not yet supported by HiPE.
Related Id(s): OTP-14313, PR-1393, PR-1462
Fix a bug in aes cfb128 function introduced by the bug
fix in GitHub pull request #1393.
Related Id(s): ERL-82, PR-1138
Add basic support for CMAC
*** POTENTIAL INCOMPATIBILITY ***
Removed functions deprecated in crypto-3.0 first
released in OTP-R16B01
*** HIGHLIGHT ***
The crypto application now supports OpenSSL 1.1.
Related Id(s): PR-1180
*** HIGHLIGHT ***
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
order to satisfy specific security requirements (mostly
by different parts of the US federal government).
See the new crypto users guide "FIPS mode" chapter
about building and using the FIPS support which is
disabled by default.
(Thanks to dszoboszlay and legoscia)
Related Id(s): PR-1291
Crypto chacha20-poly1305 as in RFC 7539 enabled for
OpenSSL >= 1.1.
Thanks to mururu.
Related Id(s): ERL-165, PR-1299
RSA key generation added to crypto:generate_key/2.
Thanks to wiml.
An interface is also added to
public_key:generate_key/1.
*** POTENTIAL INCOMPATIBILITY ***
Raised minimum requirement for OpenSSL version to
OpenSSL-0.9.8.c although we recommend a much higher
version, that is a version that is still maintained
officially by the OpenSSL project. Note that using such
an old version may restrict the crypto algorithms
supported.
crypto:rand_uniform/2
を廃止予定とした。暗号学的に強くないため。 Deprecate crypto:rand_uniform/2 as it is not
cryptographically strong
rand
モジュールのプラグインとしてサポートする。 Related Id(s): PR-1372
The Crypto application now supports generation of
cryptographically strong random numbers (floats < 1.0
and integer arbitrary ranges) as a plugin to the 'rand'
module.
Related Id(s): PR-1396
This replaces the hard coded test values for AES, CMAC
and GCM ciphers with the full validation set from
NIST's CAVP program.
The Erlang shell, qlc:string_to_handle(), and the
Debugger (the Evaluator area and Edit variable window
of the Bindings area) can parse pids, ports,
references, and external funs, as long as they can be
created in the running system.
Fix editing of simple binary values in the Bindings
area of the Debugger's Attach Process Window.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): OTP-14323
The check of bad type variables in type declarations
was mistakingly removed in Erlang/OTP 18, and is now
re-introduced.
Related Id(s): ERL-308
Analyzing modules with binary construction with huge
strings is now much faster. The compiler also compiles
such modules slightly faster.
The peak memory consumption is reduced.
Related Id(s): OTP-14127
Warnings about unknown types are now also generated for
types not used by any function specification.
TypEr has been removed as separate application and is
now a part of the Dialyzer application. Documentation
for TypEr has been added in the Dialyzer application.
Related Id(s): PR-1367
The format of debug information that is stored in BEAM
files (when debug_info is used) has been changed. The
purpose of the change is to better support other
BEAM-based languages such as Elixir or LFE.
All tools included in OTP (dialyzer, debugger, cover,
and so on) will handle both the new format and the
previous format. Tools that retrieve the debug
information using beam_lib:chunk(Beam, [abstract_code])
will continue to work with both the new and old format.
Tools that call beam_lib:chunk(Beam, ["Abst"]) will not
work with the new format.
For more information, see the description of debug_info
in the documentation for beam_lib and the description
of the {debug_info,{Backend,Data}} option in the
documentation for compile.
Let candidate peers be passed to diameter:call/4
With call option peer, to allow a request to be sent to
a peer that hasn't advertised support for the
application in question.
RFC 6733 2.4 requires a node to send the application
identifiers of all locally supported applications at
capabilities exchange, but not all nodes respect this
for the common application, and diameter itself will
send D[WP][RA] without the common application having
been explicitly advertised. Regarding the common
application as implicit renders Result-Code 5010
(DIAMETER_NO_COMMON_APPLICATION) meaningless however,
so allow any request to be sent as long as there is a
configured dictionary to support it.
*** POTENTIAL INCOMPATIBILITY ***
Improve performance of message encode/decode and
related handling.
Dictionaries using @custom_types or @codecs will need
to adapt the corresponding functions to accept an
additional argument that is now passed through
encode/decode, which was required to remove various
process dictionary-based workarounds that have been
used to solve problems in the past.
Related Id(s): ERL-332
Add transport options to avoid deadlock and allow for
load regulation.
Both diameter_tcp and diameter_sctp now accept two new
configuration options: sender and message_cb. The
former causes outgoing sends to take place in a
dedicated process, to avoid the possibility of deadlock
when both the transport process and its peer block in
send. The latter allows a callback to control the
reading of messages on the socket, to allow for
backpressure towards peers when the rate of incoming
traffic is greater than can otherwise be handled.
Neither of these options are yet documented, but are
unlikely to change unless problems are discovered. The
sender option is not the default since it should
probably always be used in combination with message_cb,
to prevent incoming requests from being read at a
higher rate than a peer allows outgoing answers to be
sent.
To support stable builds, edoc no longer includes time
stamps in the footer for generated files.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): ERL-393
Sort index of C functions alphabetically in the
sidebar.
The right side index of functions now handle functions
with same name but different arity.
Related Id(s): PR-1215
Improvements in the OTP documentation style.
(Thanks to Mariano Guerra)
Fix bug where gethostname would incorrectly fail with
enametoolong on Linux.
Remove generation of atoms in old latin1 external
format in the distribution between erlang nodes,
erl_interface, and jinterface. The new utf8 format for
atoms was introduced in OTP R16. An OTP 20 node can
therefore not connect to nodes older than R16.
Atoms that can be encoded using latin1 are still
encoded by term_to_binary() using latin1 encoding. Note
that all atoms will by default be encoded using utf8 in
a future Erlang/OTP release. For more information see
the documentation of erlang:term_to_binary/2.
erlang:check_process_code
がネイティブコードからの再帰呼び出しを
検査しない。 Fix various bugs regarding loading, upgrade and purge
of HiPE compiled code:
-- The native code memory for a purged module was never
deallocated.
-- Wrong functions could in some cases be called after
a module upgrade.
-- erlang:check_process_code did not check for
recursive calls made from native code.
Hipe optional LLVM backend does require LLVM version
3.9 or later as older versions forced strong
dependencies on erts internals structures.
Related Id(s): OTP-14400, OTP-14401
When an exception such as 'throw(HugeTerm)' was caught,
HugeTerm term would be kept in the process until the
next exception occurred, potentially increasing the
heap size for the process. That has been corrected.
Slogans
がより複雑な項を含むように拡張された。 Slogans in crash dumps have been extended to print more
complex terms.
Fixed bug when using enif_inspect_binary in combination
with enif_copy. In some circumstances the inspected
binary could be reallocated by the enif_copy call when
it shouldn't have been.
The address family local (AF_UNIX / AF_LOCAL) now does
not ensure zero termination of Linux Abstract Addresses
so they can use all bytes.
Related Id(s): PR-1379
Use -fno-PIE for Gentoo Hardened and others that don't
accept linker flag -no-pie.
Related Id(s): ERL-369, PR-1394
Disable hipe for ppc64le architecture (little endian)
as it is not, and has never been, supported. It was
earlier equated with ppc64 (big endian) which lead to
broken build without --disable-hipe.
epmd -kill
が何らかのエラーで殺せなかった場合、失敗のステータスコードを
返すよう修正。 Fix 'epmd -kill' to return a failure exit status code
if epmd was not killed because of some error.
+SDPcpu
コマンドライン引数が、ダーティー CPU スケジューラーをゼロにセットする。erlang:system_flag(multi_scheduling, _)
が、ダーティースケジューラーサポー
トと合わせて、ただひとつのノーマルスケジューラーが使われた場合に失敗する。 Fixed the following dirty scheduler related bugs:
-- the +SDPcpu command line argument could cause the
amount of dirty CPU schedulers to be set to zero
-- erlang:system_flag(multi_scheduling, _) failed when
only one normal scheduler was used together with dirty
scheduler support
Fix erlexec to handle mismatch in sysconf and proc fs
when figuring out the cpu topology. This behaviour has
been seen when using docker together with
--cpuset-cpus.
Related Id(s): ERL-401, PR-1417
Fixed memory segment cache used for multiblock
carriers. Huge (> 2GB) memory segments could cause a VM
crash. Creation of such huge memory segments used for
multiblock carriers is however very uncommon.
Fix bug causing code:is_module_native to falsely return
true when local call trace is enabled for the module.
Fix emulator crash when receive tracing on a
trace_delivered message.
Fix file:sendfile error handling on SunOS when a
connection is closed during transmission.
escript did not handle paths with spaces correct.
Related Id(s): ERL-360
Fix erroneous lock check assertion when wx is run on
MacOS X.
Related Id(s): ERL-430
Active-mode TCP sockets are now cleaned up properly on
send/shutdown errors.
Fix compilation of hipe_mkliterals when the LIBS
configure variable had to be set.
Added erlang:garbage_collect/2 that takes an option
list as the last argument that can be used to control
whether a minor or a major garbage collection is to be
done. Doing a minor collection only collects terms that
have recently died, but is cheaper than a major
collection.
Optimized test for tuples with an atom as first
element.
Erlang literals are no longer copied during process to
process messaging.
Add support in the erl_nif API for asynchronous message
notifications when sockets or other file descriptors
are ready to accept read or write operations. The
following functions have been added:
-- enif_select
-- enif_monitor_process
-- enif_demonitor_process
-- enif_compare_monitors
-- enif_open_resource_type_x
floor/1
と ceil/1
。
math
モジュールには、同じ名前の新しい BIF が追加され、それらは
浮動小数点数を返す。 There are two new guard BIFs 'floor/1' and 'ceil/1'.
They both return integers. In the 'math' module, there
are two new BIFs with the same names that return
floating point values.
*** POTENTIAL INCOMPATIBILITY ***
Remove deprecated erlang:hash/2.
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
Added support in zlib for extraction of the inflation
dictionary.
Related Id(s): OTP-13833
*** POTENTIAL INCOMPATIBILITY ***
The previously used purge strategy has been removed.
The optional purge strategy introduced in ERTS version
8.1 is now the only strategy available.
The new purge strategy is slightly incompatible with
the old strategy. Previously processes holding funs
that referred to the module being purged either failed
a soft purge, or was killed during a hard purge. The
new strategy completely ignores funs. If funs referring
to the code being purged exist, and are used after a
purge, an exception will be raised upon usage. That is,
the behavior will be exactly the same as the case when
a fun is received by a process after the purge.
For more information see the documentation of
erlang:check_process_code/3.
Dirty schedulers are now enabled by default when the
runtime system is built with SMP support.
Improved ETS lookup/insert/delete speed for large set,
bag and duplicate_bag by a significant reduction of the
hash load factor. This speed improvement comes at the
expense of less than one word per table entry. Tables
with less than 256 entries are not affected at all.
*** POTENTIAL INCOMPATIBILITY ***
The NIF library reload feature is not supported
anymore. It has been marked as deprecated since OTP
R15B. This means that you are only allowed to do one
successful call to erlang:load_nif/2 for each module
instance. A second call to erlang:load_nif/2 will
return {error, {reload, _}} even if the NIF library
implements the reload callback.
Runtime upgrade of a NIF library is still supported by
using the Erlang module upgrade mechanics with a
current and an old module instance existing at the same
time with their corresponding NIF libraries.
erlang:system_info(atom_count)
と
`erlang:system_info(atom_limit) を追加。 Add erlang:system_info(atom_count) and
erlang:system_info(atom_limit) to provide a way to
retrieve the current and maximum number of atoms.
The function fmod/2 has been added to the math module.
erlang:load_nif/2 returns new error type notsup when
called for a HiPE compiled module, which is not
supported.
Add driver and nif lock instrumentation to lcnt
Reduce memory pressure by converting sub-binaries to
heap-binaries when possible. This is done during
garbage collection.
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Dirty schedulers are now enabled and supported on
Erlang runtime systems with SMP support.
Besides support for dirty NIFs also support for dirty
BIFs and dirty garbage collection have been introduced.
All garbage collections that potentially will take a
long time to complete are now performed on dirty
schedulers if enabled.
erlang:statistics/1 with arguments inspecting scheduler
and run queue states have been changed due to the dirty
scheduler support. Code using this functionality may
have to be rewritten taking these incompatibilities
into consideration. Examples of such uses are calls to
erlang:statistics(scheduler_wall_time),
statistics(total_run_queue_lengths),
statistics(total_active_tasks), etc.
*** HIGHLIGHT ***
Atoms may now contain arbitrary Unicode characters.
Introduce an event manager in Erlang to handle OS
signals. A subset of OS signals may be subscribed to
and those are described in the Kernel application.
Related Id(s): PR-1293
The escript program now handles symbolic links to
escripts.
This is useful for standalone systems with escripts
residing on a bin directory not included in the
execution path (as it may cause their erl program(s) to
override the desired one). Instead the escripts can be
referred to via symbolic links from a bin directory in
the path.
*** HIGHLIGHT ***
All uses of the magic binary kludge has been replaced
by uses of erlang references.
A magic binary was presented as an empty binary, but
actually referred other data internally in the Erlang
VM. Since they were presented as empty binaries,
different magic binaries compared as equal, and also
lost their internal data when passed out of an erlang
node.
The new usage of references has not got any of these
strange semantic issues, and the usage of these
references has been optimized to give the same
performance benefits as well as memory usage benefits
as magic binaries had.
A couple of examples of previous uses of magic binaries
are match specifications and NIF resources.
*** POTENTIAL INCOMPATIBILITY ***
The non-smp emulators have been deprecated and are
scheduled for removal in OTP-21.
In preparation for this, the threaded non-smp emulator
is no longer built by default and has to be enabled
using the --enable-plain-emulator to configure.
Related Id(s): PR-1397
Allow HiPE to run on VM built with --enable-m32-build.
Related Id(s): ERL-208
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
erl_interface
, jinterface で用いる
external format から、古い latin1
でのアトム生成を削除。
utf8
アトムフォーマットは OTP R16 で導入された。latin1
でエンコードされたアトムは term_to_binary()
で、 latin1
エンコーディングにより利用可能である。
utf9
でエン
コードされることに注意。詳細は erlang:term_to_binary/2
を参照。 Remove generation of atoms in old latin1 external
format in the distribution between erlang nodes,
erl_interface, and jinterface. The new utf8 format for
atoms was introduced in OTP R16. An OTP 20 node can
therefore not connect to nodes older than R16.
Atoms that can be encoded using latin1 are still
encoded by term_to_binary() using latin1 encoding. Note
that all atoms will by default be encoded using utf8 in
a future Erlang/OTP release. For more information see
the documentation of erlang:term_to_binary/2.
Related Id(s): PR-1412
Added function re:version/0 which returns information
about the OTP internal PCRE version used for
implementation of the re module.
erlang:list_to_port/1
を追加。 Added new debug bif erlang:list_to_port/1.
*** HIGHLIGHT ***
Various improvements of timer management internally in
the VM. These improvements both reduced memory
consumption of timer wheels as well as reduce the
amount of work that has to be performed in order to
handle timers.
SO_BINDTODEVICE
)。 Related Id(s): PR-1326
Sockets can now be bound to device (SO_BINDTODEVICE) on
platforms where it is supported.
This has been implemented e.g to support VRF-Lite under
Linux; see
VRF , and GitHub pull request #1326.
erl
コマンドラ
イン引数を追加
+sssdcpu
: ダーティー CPU スケジューラーのため+sssdio
: ダーティー IO スケジューラーのため Added the following erl command line arguments with
which you can set suggested stack for dirty schedulers:
-- +sssdcpu -- for dirty CPU schedulers
-- +sssdio -- for dirty IO schedulers
The default suggested stack size for dirty schedulers
is 40 kilo words.
Changed erts startup program name, argv 0, to use the
environment variable ESCRIPT_NAME so that erlc,
dialyzer, typer, ct_run, or the escript name can be
seen with external programs, such as ps and htop
(depending on options), on unix.
Related Id(s): OTP-14201
Improvements of escript documentation.
Related Id(s): PR-1413
Add function enif_hash for NIFs to calculate hash
values of arbitrary terms.
*** HIGHLIGHT ***
'./configure --enable-lock-counter' will enabling
building of an additional emulator that has support for
lock counting. (The option previously existed, but
would turn on lock counting in the default emulator
being built.) To start the lock-counting emulator, use
'erl -emu_type lcnt'.
On Windows, erl recognized the undocumented option
-debug for starting a debug-compiled emulator. That
option has been removed. Use 'erl -emu_type debug'
instead.
Warnings have been added to the relevant documentation
about not using un-secure distributed nodes in exposed
environments.
Improvement of the documentation of the environment
variable ERL_CRASH_DUMP_SECONDS as well as the default
behavior when it is not set.
Enabled off-heap message queue for some system
processes that might receive large amounts of messages.
Related Id(s): ERIERL-22
ETS lock indexes have been replaced with the table name
in LCNT results.
Related Id(s): PR-1400
Introduced the new functions enif_whereis_pid() and
enif_whereis_port().
The surefire reports from eunit will no longer have
names with embedded double quotes.
Related Id(s): PR-1154
Fix hipe compiler flags o0 and o1 that have previously
been ignored by mistake.
Fix LLVM backend to not convert all remote calls to own
module, like ?MODULE:foo(), into local calls.
Hipe optional LLVM backend does require LLVM version
3.9 or later as older versions forced strong
dependencies on erts internals structures.
Related Id(s): ERL-376, PR-1386
Fix a bug that has been seen causing failed loading of
hipe compiled modules on NetBSD due to unaligned data
pointers.
Related Id(s): ERL-278, PR-1392
Fix miscompilation bug in hipe that could cause wrong
function clause to be called from non-tail calls, where
the return value is unused, if the right function
clause is only reachable from those non-tail calls.
Related Id(s): PR-1124
Improve hipe compilation time for large functions.
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
Speed up hipe compile time register allocation for
larger function.
Related Id(s): PR-1360
Various code generation improvements.
Related Id(s): PR-1380
Improve hipe compiler to generate code with better CPU
register utilization at runtime by the use of 'Live
Range Splitting' techniques.
Related Id(s): PR-1397
Allow HiPE to run on VM built with --enable-m32-build.
httpd_util:rfc1123_date/1 gracefully handle invalid DST
dates by returning the original time in the expected
rfc1123 format.
Add unicode binary support to http_uri functions
httpc - Change timeout handling so the redirects cause
a new timer to be set. This means that a simple
redirected request could return after 2*timeout
milliseconds.
Remove generation of atoms in old latin1 external
format in the distribution between erlang nodes,
erl_interface, and jinterface. The new utf8 format for
atoms was introduced in OTP R16. An OTP 20 node can
therefore not connect to nodes older than R16.
Atoms that can be encoded using latin1 are still
encoded by term_to_binary() using latin1 encoding. Note
that all atoms will by default be encoded using utf8 in
a future Erlang/OTP release. For more information see
the documentation of erlang:term_to_binary/2.
Related Id(s): ERIERL-20, ERL-429
*** POTENTIAL INCOMPATIBILITY ***
Function inet:ntoa/1 has been fixed to return lowercase
letters according to RFC 5935 that has been approved
after this function was written. Previously uppercase
letters were returned so this may be a backwards
incompatible change depending on how the returned
address string is used.
Function inet:parse_address/1 has been fixed to accept
%-suffixes on scoped addresses. The addresses does not
work yet, but gives no parse errors.
gethostname
が、不適切に enametoolong
で失敗するバグを修正。 Fix bug where gethostname would incorrectly fail with
enametoolong on Linux.
Fix bug causing code:is_module_native to falsely return
true when local call trace is enabled for the module.
Add early reject of invalid node names from distributed
nodes.
Since Unicode is now allowed in atoms an extra check is
needed for node names, which are restricted to Latin-1.
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
file:write_file(Name, Data, [raw]) would turn Data into
a single binary before writing. This meant it could not
take advantage of the writev() system call if it was
given a list of binaries and told to write with raw
mode.
Related Id(s): PR-1245
The performance of the disk_log has been somewhat
improved in some corner cases (big items), and the
documentation has been clarified.
*** HIGHLIGHT ***
Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.
Introduce an event manager in Erlang to handle OS
signals. A subset of OS signals may be subscribed to
and those are described in the Kernel application.
Related Id(s): PR-1326
Sockets can now be bound to device (SO_BINDTODEVICE) on
platforms where it is supported.
This has been implemented e.g to support VRF-Lite under
Linux; see
VRF , and GitHub pull request #1326.
shell_history
をディスクに保存するオプションを追加。
Related Id(s): PR-1420
Added option to store shell_history on disk so that the
history can be reused between sessions.
gen_server
, gen_statem
, proc_lib
から生成されるクラッシュレポートのサイ
ズが、Kernel アプリケーションの変数 error_logger_format_depth
によって
制限される。
error_logger
プロセスへのメッセージサイズを制限することである。proc_lib
により生成されるクラッシュレポートは、クラッシュ新しいタグ
message_queue_len
を含む。
current_stacktrace
が含まれる。error_logger:get_format_depth/0
は Kernel アプリケーションの
変数 error_logger_format_depth
の値を返す。 The size of crash reports created by gen_server,
gen_statem and proc_lib is limited with aid of the
Kernel application variable error_logger_format_depth.
The purpose is to limit the size of the messages sent
to the error_logger process when processes with huge
message queues or states crash.
The crash report generated by proc_lib includes the new
tag message_queue_len. The neighbour report also
includes the new tag current_stacktrace. Finally, the
neighbour report no longer includes the tags messages
and dictionary.
The new function error_logger:get_format_depth/0 can be
used to retrieve the value of the Kernel application
variable error_logger_format_depth.
One of the ETS tables used by the global module is
created with {read_concurrency, true} in order to
reduce contention.
Warnings have been added to the relevant documentation
about not using un-secure distributed nodes in exposed
environments.
Typos have been fixed.
*** POTENTIAL INCOMPATIBILITY ***
Removed the wrapping of select continuations in
extension plugin handling. This might require the user
to rewrite user backend plugin if used.
etop had a hardcoded timeout value of 1 second when
waiting for data from a remote node. When this expired,
which could happen for instance if there were very many
processes on the remote node, etop would exit with
reason connection_lost. To overcome this problem, the
timeout is now changed to be the same as the update
interval, which is configurable.
Show dirty-scheduler threads in performance monitor
graph and add a column with maximum allocated memory in
the Memory Allocators table.
Keep table and port selection after refresh of tables.
Store settings before shutdown and restore when
starting application.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): ERL-399
When observing a node older than OTP-19.0, a pop-up
will be displayed when trying to access port
information. Earlier, observer would crash in this
situation.
Fix dialyzer warnings in Orber and CosProperty.
Related Id(s): PR-1357
Minor documentation fixes
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Bug for public_key:generate_key({namedCurve,OID})
fixed.
Modernized internal representation used for crl
validation by use of maps.
Support EC key in pkix_sign/2
Related Id(s): OTP-13830
The User's Guide examples are updated after removal of
support for Dets files created with Erlang/OTP R7 and
earlier.
Related Id(s): PR-1390
Add compile option -compile(no_native) in modules with
on_load directive which is not yet supported by HiPE.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): PR-1326
Sockets can now be bound to device (SO_BINDTODEVICE) on
platforms where it is supported.
This has been implemented e.g to support VRF-Lite under
Linux; see
VRF , and GitHub pull request #1326.
Documented default values for the 'mod' and
'start_phases' fields in .app files were not allowed as
actual values in a .app file. This is now corrected.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Internal code change: Calls to catch followed by a call
to erlang:get_stacktrace/0 has been rewritten to use
try instead of catch to make the code future-proof.
*** POTENTIAL INCOMPATIBILITY ***
The internal handling of SSH options is re-written.
Previously there were no checks if a client option was
given to a daemon or vice versa. This is corrected now.
If your code has e.g. a client-only option in a call to
start a daemon, the call will fail.
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Modernization of key exchange algorithms. See
draft-ietf-curdle-ssh-kex-sha2 for a discussion.
Removed an outdated weak algorithm and added stronger
replacements to keep interoperability with other modern
ssh clients and servers. The default ordering of the
algorithms is also adjusted.
Retired: The nowadays unsecure key-exchange
diffie-hellman-group1-sha1 is not enabled by default,
but can be enabled with the option
preferred-algorithms.
Added: The new stronger key-exchange
diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256 are added and enabled by
default.
The questionable [RFC 6194] sha1-based algorithms
diffie-hellman-group-exchange-sha1 and
diffie-hellman-group14-sha1 are however still kept
enabled by default for compatibility with ancient
clients and servers that lack modern key-exchange
alternatives. When the draft-ietf-curdle-ssh-kex-sha2
becomes an rfc, those sha1-based algorithms and
diffie-hellman-group1-sha1 will be deprecated by IETF.
They might then be removed from the default list in
Erlang/OTP.
Modernized internal representation of sftp by use of
maps.
*** HIGHLIGHT ***
The Extension Negotiation Mechanism and the extension
server-sig-algs in draft-ietf-curdle-ssh-ext-info-05
are implemented.
The related draft-ietf-curdle-rsa-sha2-05 is
implemented and introduces the signature algorithms
rsa-sha2-256 and rsa-sha2-512.
The 'timeout' and 'connect_timeout' handling in
ssh_sftp:start_channel documentation is clarified.
The functions ssh:connect, ssh:shell and
ssh:start_channel now accept an IP-tuple as Host
destination argument.
The function ssh:daemon_info/1 now returns Host and
Profile as well as the Port info in the property list.
*** POTENTIAL INCOMPATIBILITY ***
Removed the option public_key_alg which was deprecated
in 18.2. Use pref_public_key_algs instead.
*** POTENTIAL INCOMPATIBILITY ***
The SSH application is refactored regarding daemon
starting. The resolution of contradicting Host argument
and ip option were not described. There were also
strange corner cases when the 'any' value was used in
Host argument or ip option. This is (hopefully)
resolved now, but it may cause incompatibilities for
code using both Host and the ip option. The value
'loopback' has been added for a correct way of naming
those addresses.
Related Id(s): OTP-14266
The supervisor code is refactored. The naming of
listening IP-Port-Profile triples are slightly changed
to improve consistency in strange corner cases as
resolved by OTP-14264
The idle_time option can now be used in daemons.
Added test cases for IETF-CURDLE Extension Negotiation
(ext-info)
Related Id(s): OTP-14361
Testcases for IETF-CURDLE extension server-sig-algs
including rsa-sha2-*
The option auth_methods can now also be used in clients
to select which authentication options that are used
and in which order.
Checks that a ECDSA public key (ecdsa-sha2-nistp*)
stored in a file has the correct size.
ECDH-ECDSA key exchange supported, was accidently
dismissed in earlier versions.
Correct close semantics for active once connections.
This was a timing dependent bug the resulted in the
close message not always reaching the ssl user process.
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
TLS-1.2 clients will now always send hello messages on
its own format, as opposed to earlier versions that
will send the hello on the lowest supported version,
this is a change supported by the latest RFC.
This will make interoperability with some newer servers
smoother. Potentially, but unlikely, this could cause a
problem with older servers if they do not adhere to the
RFC and ignore unknown extensions.
Related Id(s): PR-1180
*** HIGHLIGHT ***
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
order to satisfy specific security requirements (mostly
by different parts of the US federal government).
See the new crypto users guide "FIPS mode" chapter
about building and using the FIPS support which is
disabled by default.
(Thanks to dszoboszlay and legoscia)
Implemented DTLS cookie generation, required by spec,
instead of using a hardcoded value.
Implement sliding window replay protection of DTLS
records.
*** HIGHLIGHT ***
TLS client processes will by default call
public_key:pkix_verify_hostname/2 to verify the
hostname of the connection with the server certificates
specified hostname during certificate path validation.
The user may explicitly disables it. Also if the
hostname can not be derived from the first argument to
connect or is not supplied by the server name
indication option, the check will not be performed.
*** HIGHLIGHT ***
Extend connection_information/[1,2] . The values
session_id, master_secret, client_random and
server_random can no be accessed by
connection_information/2. Note only session_id will be
added to connection_information/1. The rational is that
values concerning the connection security should have
to be explicitly requested.
Chacha cipher suites are currently not tested enough to
be most preferred ones
*** HIGHLIGHT ***
Basic support for DTLS that been tested together with
OpenSSL.
Test by providing the option {protocol, dtls} to the
ssl API functions connect and listen.
For many releases, it has been legal to override a BIF
with a local function having the same name. However,
calling a local function with the same name as guard
BIF as filter in a list comprehension was not allowed.
Xoroshiro116+
が rand
モジュー
ルに実装された。 Related Id(s): PR-1372
A new (default) pseudo-random number generator
algorithm Xoroshiro116+ has been implemented in the
rand module.
The old algorithm implementations had a number of flaws
so they are all deprecated, but corrected versions of
two of them have been added. See the documentation.
The Erlang shell, qlc:string_to_handle(), and the
Debugger (the Evaluator area and Edit variable window
of the Bindings area) can parse pids, ports,
references, and external funs, as long as they can be
created in the running system.
Internal code change: Calls to catch followed by a call
to erlang:get_stacktrace/0 has been rewritten to use
try instead of catch to make the code future-proof.
Related Id(s): ERIERL-29
The ms_transform module, used by ets:fun2ms/1 and
dbg:fun2ms/1, evaluates constant arithmetic
expressions. This is necessary since the Erlang
compiler, which normally evaluates constant
expressions, does not recognize the format generated by
ms_transform.
*** POTENTIAL INCOMPATIBILITY ***
The state machine engine gen_statem can now handle
generic time-outs (multiple named) as well as absolute
time-out time. See the documentation.
The gen_statem callback Module:init/1 has become
mandatory to harmonize with other gen_* modules. This
may be an incompatibility for gen_statem callback
modules that use gen_statem:enter_loop/4-6.
Related Id(s): OTP-10309
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Improved unicode support for strings. Added
normalization functions in the unicode module. Extended
the string module API with new functions with improved
unicode handling and that works on grapheme clusters.
The new functions operates on the unicode:chardata()
type, thus they also accept UTF-8 binaries as input.
The old string API have been marked as obsolete. The
return values have been changed for some error cases.
floor/1
と ceil/1
。
math
モジュールには、同じ名前の新しい BIF が追加され、それらは
浮動小数点数を返す。 There are two new guard BIFs 'floor/1' and 'ceil/1'.
They both return integers. In the 'math' module, there
are two new BIFs with the same names that return
floating point values.
code_change
, terminate
, handle_info
コールバックを
オプションに変更。 Making code_change, terminate and handle_info callbacks
optional in the OTP behaviours.
The support for Dets files created with Erlang/OTP R7
and earlier is removed.
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
The function fmod/2 has been added to the math module.
proc_lib
を用いたプロセスから受信される EXIT
シグナルが spawn_link
を
用いて開始されたプロセスからの EXIT
シグナルのように見えるようになった。
EXIT
シグナルに含まれることを意味し、
プロセスクラッシュがどこで起きたかが分かるようになった。 The EXIT signals received from processes using proc_lib
now looks like EXIT signals from processes that were
spawned using spawn_link. In particular, that means
that the stack trace is now included in the EXIT signal
so that it can see where the process crashed.
sets:add_element/2
が既に存在する要素の追加のときに速くなった。
また、 sets:del_element/2
が存在しない要素の際に速くなった。
sets:union/2
は
2桁高速になることもある。 sets:add_element/2 is faster when adding an element
that is already present, and sets:del_element/2 is
faster when the element to be deleted is not present.
This optimization can make certain operations, such as
sets:union/2 with many overlapping elements, up to two
orders of magnitude faster.
Related Id(s): PR-1233
Add information in doc about supervisor shutdown reason
when maximum restart frequency is reached.
rand:jump/[0|1]
関数の追加。 Related Id(s): PR-1235
Added rand:jump/[0|1] functions.
*** HIGHLIGHT ***
Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.
assert.hrl
のアサートマクロが、コメント追加のための追加引数がある
バージョンを持つようになった。
Each assert macro in assert.hrl now has a corresponding
version with an extra argument, for adding comments to
assertions. These can for example be printed as part of
error reports, to clarify the meaning of the check that
failed.
error_logger_tty_h
と error_logger_file_h
は、非ローカルメッセージに、
メッセージ本体のあとではなく、前にノード情報を挿入する。
error_logger_tty_h and error_logger_file_h now inserts
the node information for nonlocal messages before the
message itself instead of after, both for readability
and so as not to change the line termination property
at the end of the message.
Related Id(s): PR-1214
The Erlang code linter checks for badly formed type
constraints.
By default, there will now be a warning when export_all
is used. The warning can be disabled using
nowarn_export_all.
gen_server
プロセスがクラッシュすると、デバッグを容易にするため、
クライアント向けにスタックトレースが表示される。 When a gen_server process crashes, the stacktrace for
the client will be printed to facilitate debugging.
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Optimized ETS operations by changing table identifier
type from integer to reference. The reference enables a
more direct mapping to the table with less potential
lock contention and makes especially creation and
deletion of tables scale much better.
The change of the opaque type for the ETS table
identifiers may cause failure in code that make faulty
assumptions about this opaque type.
The number of tables stored at one Erlang node *used*
to be limited. This is no longer the case (except by
memory usage). The previous default limit was about
1400 tables and could be increased by setting the
environment variable ERL_MAX_ETS_TABLES before starting
the Erlang runtime system. This hard limit has been
removed, but it is currently useful to set the
ERL_MAX_ETS_TABLES anyway. It should be set to an
approximate of the maximum amount of tables used. This
since an internal table for named tables is sized using
this value. If large amounts of named tables are used
and ERL_MAX_ETS_TABLES hasn't been increased, the
performance of named table lookup will degrade.
take/2
が dict
, orddict
, gb_trees
に追加、take_any/2
が
gb_trees
に追加された。 take/2 has been added to dict, orddict, and gb_trees.
take_any/2 has been added to gb_trees.
Extend gen_event API to handle options as well.
Related Id(s): PR-1289
Advice on how to tune the supervisor restart frequency
(intensity and period) is added to System Documentation
- Design Principles - Supervisor Behaviour.
*** HIGHLIGHT ***
gen_fsm is deprecated and is replaced by gen_statem,
however for backwards compatibility reasons gen_fsm may
continue to exist as an undocumented feature for quite
some time.
The shell functions c/1 and c/2 have been extended so
that if the argument is a module name instead of a file
name, it automatically locates the .beam file and the
corresponding source file, and then recompiles the
module using the same compiler options (plus any
options passed to c/2). If compilation fails, the old
beam file is preserved. Also adds c(Mod, Opts, Filter),
where the Filter argument allows you to remove old
compiler options before the new options are added.
New utility functions file_find/2/3 and
find_source/1/2/3 have been added to filelib.
*** HIGHLIGHT ***
erl_tar in previous versions of OTP only supports the
USTAR format. That limited path names to at most 255
bytes, and did not support Unicode characters in names
in a portable way.
erl_tar now has support for reading tar archives in the
formats currently in common use, such as v7, STAR,
USTAR, PAX, and GNU tar's extensions to the STAR/USTAR
format. When writing tar archives, erl_tar can now
write them in the PAX format if necessary (for example,
to support very long filenames or filenames with
Unicode characters). If possible, erl_tar will still
write tar archives in the USTAR for maximum
portability.
base64:mime_decode/1 has been optimized so that it is
now almost as fast asbase64:decode/1; it used be
noticeably slower.
erl_tar will now strip any leading '/' from pathnames
when extracting files from a tar archive and write a
message to the error logger. There is also new check
for directory traversal attacks; if a relative path
points above the current working directory the
extraction will be aborted.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): PR-1372
The Crypto application now supports generation of
cryptographically strong random numbers (floats < 1.0
and integer arbitrary ranges) as a plugin to the 'rand'
module.
Related Id(s): PR-1076
*** HIGHLIGHT ***
Add new function ets:select_replace/2 which performs
atomic "compare-and-swap" operations for ETS objects
using match specifications.
The Erlang code linter checks for bad dialyzer
attributes. It also checks for bad type variables in
type declarations.
rand
モジュールに新しい2つの関数 normal/2
と normal_s/3
を追加。
Related Id(s): PR-1382
Two new functions has been implemented in the rand
module; normal/2 and normal_s/3, that both produce
normal distribution (pseudo) random numbers with mean
value and variance according to arguments.
Related Id(s): ERL-208
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
Related Id(s): PR-1412
Added function re:version/0 which returns information
about the OTP internal PCRE version used for
implementation of the re module.
Related Id(s): PR-1367
The format of debug information that is stored in BEAM
files (when debug_info is used) has been changed. The
purpose of the change is to better support other
BEAM-based languages such as Elixir or LFE.
All tools included in OTP (dialyzer, debugger, cover,
and so on) will handle both the new format and the
previous format. Tools that retrieve the debug
information using beam_lib:chunk(Beam, [abstract_code])
will continue to work with both the new and old format.
Tools that call beam_lib:chunk(Beam, ["Abst"]) will not
work with the new format.
For more information, see the description of debug_info
in the documentation for beam_lib and the description
of the {debug_info,{Backend,Data}} option in the
documentation for compile.
Add option hibernate_after to gen_server, gen_statem
and gen_event. Also added to the deprecated gen_fsm
behaviour.
gen_server
, gen_statem
, proc_lib
から生成されるクラッシュレポートのサイ
ズが、Kernel アプリケーションの変数 error_logger_format_depth
によって
制限される。
error_logger
プロセスへのメッセージサイズを制限することである。proc_lib
により生成されるクラッシュレポートは、クラッシュ新しいタグ
message_queue_len
を含む。
current_stacktrace
が含まれる。error_logger:get_format_depth/0
は Kernel アプリケーションの
変数 error_logger_format_depth
の値を返す。 The size of crash reports created by gen_server,
gen_statem and proc_lib is limited with aid of the
Kernel application variable error_logger_format_depth.
The purpose is to limit the size of the messages sent
to the error_logger process when processes with huge
message queues or states crash.
The crash report generated by proc_lib includes the new
tag message_queue_len. The neighbour report also
includes the new tag current_stacktrace. Finally, the
neighbour report no longer includes the tags messages
and dictionary.
The new function error_logger:get_format_depth/0 can be
used to retrieve the value of the Kernel application
variable error_logger_format_depth.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Related Id(s): ERL-395
In some situations, make:all() and friends did not
detect changes in include files located in the current
directory. This is now corrected.
The make module now accepts the {emake,Emake} option.
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Fix a livelock that could be caused by wx:batch/1.
Related Id(s): PR-1369
Improves accumulator fun in xmerl_scan so that only one
#xmlText record is returned for strings which have
character references.
(Thanks to Jimmy Zöger)