* Sat Apr 14 2018 matwey.kornilov@gmail.com
- Update to 20.3.2
* ssl: Added new API functions to facilitate cipher suite handling
* erts, observer: More crash dump info such as: process binary
virtual heap stats, full info for process causing out-of-mem
during GC, more port related info, and dirty scheduler info.
* inets: Add support for unix domain sockets in the http client.
* Thu Feb 01 2018 matwey.kornilov@gmail.com
- Update to 20.2.2.
- Changes for 20.2.2:
* mnesia: Removed a quadratic behavior in startup. This change
implies that backend plugins (if used) must be set when the
schema is created or via configuration parameters before mnesia
is started.
* mnesia: Bad timing could crash mnesia after a checkpoint was
deactivated and reactivated with the same checkpoint name on
different tables.
- Changes for 20.2.1:
* ssh: Fix problem with OpenSSH 7.2 (and later) clients that has
used sha1 instead of sha2 for rsa-sha-256/512 user's public
keys.
- Highlighted changes for 20.2:
* crypto, ssl: The crypto API is extended to use private/public
keys stored in an Engine for sign/verify or encrypt/decrypt
operations. The ssl application provides an API to use this new
engine concept in TLS.
* ssh: SSH can now fetch the host key from the private keys stored
in an Engine. See the crypto application for details about
Engines.
* ssl: A new command line option -ssl_dist_optfile has been added
to facilitate specifying the many options needed when using SSL
as the distribution protocol.
* stdlib: Improve performance of the new string functionality when
handling ASCII characters.
* Mon Nov 27 2017 matwey.kornilov@gmail.com
- Update to 20.1.5:
* erts: Fixed a regression in zlib:gunzip/1 that prevented it
from working when the decompressed size was a perfect multiple
of 16384. This regression was introduced in 20.1.1
* erts: Fixed a memory corruption bug in enif_inspect_iovec;
writable binaries stayed writable after entering the iovec.
* erts: Fixed a crash in enif_inspect_iovec on encountering empty
binaries.
* erts: zlib:deflateParams/3 will no longer return buf_error when
called after zlib:deflate/2 with zlib 1.2.11.
* inets: Correct the handling of location headers so that the
status code is not hard coded. This should have been fixed by
commit 2cc5ba70cbbc6b3ace81a2a0324417c3b65265bb but
unfortunately was broken during a code refactoring and
unnoticed due to a faulty placed test case.
- Update to 20.1.4:
* inets: Fix broken handling of POST requests
* inets: Make sure ints:stop/2 of the service httpd is
synchronous
* inets: Honor status code returned by ESI script and modernize
"location" header handling.
- Update to 20.1.3:
* diameter: A fault introduced in diameter 2.1 could cause decode
errors to be ignored in AVPs following the header of aGrouped
AVP.
* erts: Added zlib:set_controlling_process/2 to move a zstream()
between processes.
* erts: Fix so that schedulers are bound correctly when the first
available cpu is not the first detected cpu. e.g. when using
"taskset -c X..Y" when X is not equal to 0.
* snmp: The recbuf configuration option was not propagated
correctly to the socket for the SNMP Manager.
* Thu Nov 23 2017 rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
* Thu Oct 19 2017 matwey.kornilov@gmail.com
- Update to 21.1.2:
* diameter: An inadvertently removed monitor in diameter 2.1
caused the ets table diameter_reg to leak entries, and caused
service restart and more to fail.
* erts: Fixed bug that could cause a VM crash when a corrupt
message is received on distribution channel from other node.
- Update to 20.1.1:
* compiler: The compiler could issue an incorrect internal
consistency failure diagnostic for some complicated bit syntax
maches.
* erts: The new zlib module returned a data_error when inflating
concatenated streams, which was incompatible with the old
module's behavior of returning the uncompressed data up to the
end of the first stream.
* erts: zlib:gunzip/1 will no longer stop at the end of the first
stream when decompressing concatenated gzip files.
* ssh: Fixed broken printout
* ssh: Disable aes_gcm ciphers if peer is OpenSSH 6.2 which is
known to have trouble with them in some cases.
- Update to 20.1:
* crypto, public_key: Extend crypto and public_key functions
sign and verify with: support for RSASSA-PS padding for
signatures and for saltlength setting X9.31 RSA padding. sha,
sha224, sha256, sha384, and sha512 for dss signatures as
mentioned in NIST SP 800-57 Part 1. ripemd160 to be used for
rsa signatures. A new tuple in crypto:supports/0 reports
supported MAC algorithms.
* diameter: Add service option decode_format to allow incoming
messages to be decoded into maps instead of records. Decode
performance has been improved. Add service/transport option
avp_dictionaries to give better support for dictionaries only
defining AVPs.
* erts: Upgraded the ERTS internal PCRE library from version
8.40 to version 8.41.
* erts, kernel, tools: Profiling with lock counting can now be
fully toggled at runtime in the lock counting emulator
(-emu_type lcnt). Everything is enabled by default to match
the old behavior, but specific categories can be toggled at
will with minimal runtime overhead when disabled. Refer to the
documentation on lcnt:rt_mask/1 for details.
* lcnt:collect and lcnt:clear will no longer block all other
threads in the runtime system. This makes it possible to run
the lock counting under heavier load.
* erts: The zlib module has been refactored and all its
operations will now yield appropriately, allowing them to be
used freely in concurrent applications.
* erts, tools: Add erlang:iolist_to_iovec/1, which converts an
iolist() to an erlang:iovec(), which is suitable for use with
enif_inspect_iovec().
* erts: Add new nif API functions for managing an I/O Queue. The
added functions are: enif_ioq_create(), enif_ioq_destroy(),
enif_ioq_enq_binary(), enif_ioq_enqv(), enif_ioq_deq(),
enif_ioq_peek(), enif_inspect_iovec(), enif_free_iovec()
* observer/crashdump_viewer: Reading of crash dumps with many
binaries is optimized. A progress bar is shown when the detail
view for a process is opened. The cdv script now sets
ERL_CRASH_DUMP_SECONDS=0 to avoid generating a new crash dump
from the node running the Crashdump Viewer.
* observer: Add system statistics and limits to frontpage in
observer.
* public_key, ssl**: Improved error propagation and reports
* ssh: A new option modify_algorithms is implemented. It enables
specifying changes on the default algorithms list. See the
reference manual and the SSH User's Guide chapter "Configuring
algorithms in SSH".
* tools/xref: The predefined Xref analysis locals_not_used now
understands the -on_load() attribute and does not report
unused functions.
* tools/fprof: When sampling multiple processes and analyzing
with totals set to true, the output now sums together all
caller and callee entries which concerns the same function.
Previous behaviour was to report each contributing entry
separately.
* Thu Sep 14 2017 matwey.kornilov@gmail.com
- Only Java 1.6 is supported by Erlang since 18.0 release
* Thu Sep 14 2017 matwey.kornilov@gmail.com
- Update to 20.0.5:
* erts: Fixed bug in binary_to_term and binary_to_atom that could
cause VM crash. Typically happens when the last character of an
UTF8 string is in the range 128 to 255, but truncated to only
one byte. Bug exists in binary_to_term since ERTS version
5.10.2 (OTP_R16B01) and binary_to_atom since ERTS version 9.0
(OTP-20.0).
* inets: http_uri aligned to follow RFC 3986 and not convert "+"
to space when decoding URIs.
* inets: Added new option max_client_body_chunk to httpd server
to allow chunked delivery of PUT and POST data to mod_esi
callback. Note, new mod_esi callback implementation is
required. Also correct value provided by server_name
environment variable.
* Sun Aug 27 2017 matwey.kornilov@gmail.com
- Update to 20.0.4:
* dializer: Fix a bug where merging PLT:s could lose info. The
bug was introduced in Erlang/OTP 20.0.
* erts: A timer internal bit-field used for storing scheduler id
was too small. As a result, VM internal timer data structures
could become inconsistent when using 1024 schedulers on the
system. Note that systems with less than 1024 schedulers are
not effected by this bug. This bug was introduced in ERTS
version 7.0 (OTP 18.0).
* erts: Automatic cleanup of a BIF timer, when the owner process
terminated, could race with the timeout of the timer. This
could cause the VM internal data structures to become
inconsistent which very likely caused a VM crash. This bug was
introduced in ERTS version 9.0 (OTP 20.0).
- Update to 20.0.3:
* asn1: Default values now work in extension for PER, so if you
give the atom asn1_DEFAULT instead of a value it will become
the default value.
* compiler: Fail labels on guard BIFs weren't taken into account
during an optimization pass, and a bug in the validation pass
sometimes prevented this from being noticed when a fault
occurred.
* erts: Binary append operations did not check for overflow,
resulting in nonsensical results when huge binaries were
appended.
* ssh: All unknown options are sent to the transport handler
regardless of type.
* Sun Aug 20 2017 matwey.kornilov@gmail.com
- Update to 20.0.2:
* asn: Fixed compilation error of generated code caused by a
missing quotation of function names as part of an external call for
encoding.
* erts: Added missing release notes for OTP-14491 ("performance
bug in pre-allocators") which was included in erts-9.0.1 (OTP-20.0.1).
* erts: Fixed a bug that prevented TCP sockets from being
closed properly on send timeouts.
* erts: Fixed bug in operator bxor causing erroneuos result
when one operand is a big *negative* integer with the lowest N*W bits as
zero and the other operand not larger than N*W bits. N is an integer of 1
or larger and W is 32 or 64 depending on word size.
* kernel: The documentation for the 'quiet' option in
disk_log:open/1 had an incorrect default value.
* Mon Jul 31 2017 matwey.kornilov@gmail.com
- erlang-gs application has been depricated
* Mon Jul 17 2017 matwey.kornilov@gmail.com
- Update to 20.0.1:
* erts: Fixed a bug in gen_tcp:send where it never returned when
repeatedly called on a remotely closed TCP socket.
* erts: Fixed segfault that could happen during cleanup of aborted
erlang:port_command/3 calls. A port_command is aborted if the
port is closed at the same time as the port_command was issued.
This bug was introduced in erts-8.0.
* erts: Fixed implementation of statistics(wall_clock) and
statistics(runtime) so that values do not unnecessarily wrap due
to the emulator. Note that the values returned by
statistics(runtime) may still wrap due to limitations in the
underlying functionality provided by the operating system.
* erts: Fix performance bug in pre-allocators that could cause
them to permanently fall back on normal more expensive memory
allocation. Pre-allocators are used for quick allocation of
short lived meta data used by messages and other scheduled
tasks. Bug exists since OTP_R15B02.
* runtime_tools: A faulty encoding comment was added when saving
trace patterns to file. This is now corrected.
* stdlib: A bug in proc_lib:format() introduced in Erlang/OTP 20.0
is corrected.
* stdlib: Fix string:len/1 to be compatible with previous
versions.
* stdlib: In OTP-20.0, the behavior of c, make, and ct_make was
changed so that in some cases the beam files by default would be
written to the directory where the source files were found. This
is now changed back to the old behavior so beam files are by
default written to current directory.
- Update to 20.0.0:
* Potential Incompatibilities
* ERTS:
* The non SMP Erlang VM is deprecated and not built by default
* Remove deprecated erlang:hash/2
* erlang:statistics/1 with scheduler_wall_time now also
includes info about dirty CPU schedulers.
* The new purge strategy introduced in OTP 19.1 is mandatory
and slightly incompatible for processes holding funs
* see erlang:check_process_code/3.
* The NIF library reload is not supported anymore.
* Atoms can now contain arbitrary unicode characters which
means that the DFLAG_UTF8_ATOMS capability in the
distribution protocol must be supported if an OTP 20 node
should accept the connection with another node or library.
Third party libraries which uses the distribution protocol
need to be updated with this.
* Asn1: Deprecated module and functions removed (asn1rt,
asn1ct:encode/3 and decode/3)
* Ssh: client only option in a call to start a daemon will now fail
* Highlights
* Erts:
* Dirty schedulers enabled and supported on VM with SMP support.
* support for ?dirty? BIFs and ?dirty? GC.
* erlang:garbage_collect/2 for control of minor or major GC
* Erlang literals are no longer copied when sending messages.
* Improved performance for large ETS tables, >256 entries
(except ordered_set)
* erlang:system_info/1 atom_count and atom_limit
* Reduced memory pressure by converting sub-binaries to
heap-binaries during GC
* enif_select, map an external event to message
* Improvements of timers internally in the VM resulting in
reduced memory consumption and more efficient administration
for timers
* Compiler:
* Code generation for complicated guards is improved.
* Warnings for repeated identical map keys. #{'a'=>1, 'b'=>2,
'a'=>3} will warn for the repeated key a.
* By default there is now a warning when export_all is used.
Can be disabled
* Pattern matching for maps is optimized
* New option deterministic to omit path to source + options
info the BEAM file.
* Atoms may now contain arbitrary unicode characters.
* compile:file/2 has an option to include extra chunks in the
BEAM file.
* Misc other applications:
* Significantly updated string module with unicode support and
many new functions
* crypto now supports OpenSSL 1.1
* Unnamed ets tables optimized
* gen_fsm is deprecated and replaced by gen_statem
* A new event manager to handle a subset of OS signals in
Erlang
* Optimized sets add_element, del_element and union
* Added rand:jump/0-1
* When a gen_server crashes, the stacktrace for the client
will be printed to facilitate debugging.
* take/2 has been added to dict, orddict, and gb_trees.
* take_any/2 has been added to gb_trees
* erl_tar support for long path names and new file formats
* asn1: the new maps option changes the representation of
SEQUENCE to be maps instead of records
* A TLS client will by default call
public_key:pkix_verify_hostname/2 to verify the hostname
* ssl: DTLS documented in the API, experimental
* ssh: improving security, removing and adding algorithms
* New math:fmod/2
* Sat May 06 2017 meissner@suse.com
- Disable global PIE for erlang, code is currently not fully
ready.
* Sun Apr 30 2017 matwey.kornilov@gmail.com
- Update to 19.3.2:
* erts: The +Bi command line argument of erl erroneously caused
SIGTERM to be ignored by the VM as well as of all its child
processes. This bug was introduced in erts version 8.3.
* Thu Apr 06 2017 matwey.kornilov@gmail.com
- Update to 19.3.1:
* crypto: Fix a bug with AES CFB 128 for 192 and 256 bit keys.
Thanks to kellymclaughlin !
* erts: Trying to open a directory with file:read_file/1 on Unix
leaked a file descriptor. This bug has now been fixed.
* erts: Invoking init:stop/0 via the SIGTERM signal, in a non-SMP
BEAM, could cause BEAM to terminate with fatal error. This has
now been fixed and the BEAM will terminate normally when SIGTERM
is received.
* inets: Fixed a bug in ftp that made further operations after a
recv_chunk operation impossible.
* ssh: ssh:daemon_info/1 crashed if the listening IP was not 'any'
* ssl: Correct active once emulation, for TLS. Now all data
received by the connection process will be delivered through
active once, even when the active once arrives after that the
gen_tcp socket is closed by the peer.
* Thu Apr 06 2017 matwey.kornilov@gmail.com
- Changes since 19.2:
* crypto, ssh: The implementation of the key exchange algorithms
diffie-hellman-group-exchange-sha* are optimized, up to a factor
of 11 for the slowest ( = biggest and safest) group size.
* dialyzer: The peak memory consumption is reduced. Analyzing
modules with binary construction with huge strings is now much
faster.
* erts: A received SIGTERM signal to beam will generate a 'stop'
message to the init process and terminate the Erlang VM nicely.
This is equivalent to calling init:stop/0.
* kernel: The functions in the file module that take a list of
paths (e.g. file:path_consult/2) will now continue to search in
the path if the path contains something that is not a directory.
* kernel: Two OTP processes that are known to receive many
messages are rex (used by rpc) and error_logger. Those processes
will now store unprocessed messages outside the process heap,
which will potentially decrease the cost of garbage collections.
* public_key: New function pkix_verify_hostname/2,3 implements
certificate hostname checking. See the manual and RFC 6125.-
* public_key, ssh: The ssh host key fingerprint generation now
also takes a list of algorithms and returns a list of
corresponding fingerprints. See
public_key:ssh_hostkey_fingerprint/2 and the option
silently_accept_hosts in ssh:connect.
* ssl: Move PEM cache to a dedicated process, to avoid making the
SSL manager process a bottleneck. This improves scalability of
TLS connections.
* stdlib: filename:safe_relative_path/1 to sanitize a relative
path has been added.
* Fri Mar 10 2017 matwey.kornilov@gmail.com
- Add missed scripts requires for erlang-epmd package
* Thu Feb 02 2017 matwey.kornilov@gmail.com
- Update to 19.2.2:
* mnesia: Fixed crash in checkpoint handling when table was
deleted during backup.
* Sun Dec 18 2016 matwey.kornilov@gmail.com
- Update to 19.2:
* stdlib: The new behaviour gen_statem has been improved with 3
new features: the possibility to use old style non-proxy
timeouts for gen_statem:call/2,3, state entry code, and state
timeouts. These are backwards compatible. Minor code and
documentation improvements has been performed including a
borderline semantics correction of timeout zero handling.
* ssl: Experimental version of DTLS. It is runnable but not
complete and cannot be considered reliable for production usage.
To use DTLS add the option {protocol, dtls} to ssl:connect and
ssl:listen.
* ssh: Extended the option silently_accept_hosts for ssh:connect
to make it possible for the client to check the SSH host key
fingerprint string. Se the reference manual for SSH.
* ~40 contributions since the previous service release OTP 19.1
* Thu Sep 29 2016 kruber@zib.de
- Update to 19.1:
* erts: Improved dirty scheduler support. A purge of a module
will not have to wait for completion of all ongoing dirty
NIF calls
* erts: Improved accuracy of timeouts on MacOS X
* kernel: Add net_kernel:setopts/2 and net_kernel:getopts/2 to
control options for distribution sockets in runtime
* asn1: Compiling multiple ASN.1 modules in the same directory
with parallel make (make -j) should now be safe
* httpd: support for PUT and DELETE in mod_esi
* ~30 contributions since 19.0
* Fri Aug 12 2016 matwey.kornilov@gmail.com
- Update to 19.0.4:
* erts: Fixed a race that could cause a lost wakeup of a process
that timed out in a receive ... after. This bug was introduced
in ERTS version 7.0.
* erts: Fixed segfault after writing an erl crash dump.