1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
|
Inital Release: OTP 22.0
Git Tag: OTP-22.0
Date: 2019-03-26
Trouble Report Id: OTP-13397, OTP-13726, OTP-14282, OTP-14461,
OTP-14625, OTP-14703, OTP-14724, OTP-14731,
OTP-14732, OTP-14737, OTP-14831, OTP-14865,
OTP-14894, OTP-14984, OTP-15011, OTP-15055,
OTP-15063, OTP-15075, OTP-15095, OTP-15111,
OTP-15128, OTP-15129, OTP-15195, OTP-15200,
OTP-15211, OTP-15220, OTP-15238, OTP-15261,
OTP-15262, OTP-15273, OTP-15336, OTP-15340,
OTP-15349, OTP-15351, OTP-15362, OTP-15381,
OTP-15385, OTP-15386, OTP-15427, OTP-15439,
OTP-15452, OTP-15456, OTP-15491, OTP-15513,
OTP-15534, OTP-15535, OTP-15543, OTP-15550,
OTP-15564, OTP-15571, OTP-15575, OTP-15581,
OTP-15588, OTP-15591, OTP-15596, OTP-15603,
OTP-15607, OTP-15610, OTP-15611, OTP-15612,
OTP-15613, OTP-15617, OTP-15621, OTP-15622,
OTP-15631, OTP-15632, OTP-15633, OTP-15635,
OTP-15640, OTP-15644, OTP-15649, OTP-15655,
OTP-15668, OTP-15672, OTP-15673, OTP-15674,
OTP-15677, OTP-15678, OTP-15680, OTP-15683,
OTP-15687, OTP-15689, OTP-15692, OTP-15693,
OTP-15694, OTP-15697, OTP-15698, OTP-15699,
OTP-15703
Seq num: ERIERL-280, ERL-556, ERL-639, ERL-714,
ERL-749, ERL-773, ERL-863, ERL-864
System: OTP
Release: 22
Application: asn1-5.0.9, common_test-1.17.1, compiler-7.4,
crypto-4.5, debugger-4.2.7, dialyzer-3.3.3,
eldap-1.2.7, erl_docgen-0.9.1,
erl_interface-3.12, erts-10.4, hipe-3.19,
inets-7.0.7, jinterface-1.9.2, kernel-6.4,
megaco-3.18.5, mnesia-4.16, observer-2.9.1,
odbc-2.12.4, os_mon-2.5, public_key-1.6.6,
reltool-0.8, runtime_tools-1.13.3, sasl-3.4,
snmp-5.3, ssh-4.7.5, ssl-9.3, stdlib-3.9,
syntax_tools-2.1.8, tools-3.2, wx-1.8.8,
xmerl-1.3.21
Predecessor: OTP
Check out the git tag OTP-22.0, and build a full OTP system including
documentation.
---------------------------------------------------------------------
--- HIGHLIGHTS ------------------------------------------------------
---------------------------------------------------------------------
OTP-13397 Application(s): erts
Add support for Erlang Distribution protocol to split
the payload of large signals into several fragments.
This allows other processes to communicate
uninterrupted during the transmission of these signals.
OTP-14831 Application(s): erts, kernel
A simple socket API is provided through the socket
module. This is a low level API that does *not* replace
gen_[tcp|udp|sctp]. It is intended to *eventually*
replace the inet driver, but not the high level
gen-modules (gen_tcp, gen_udp and gen_sctp). It also
provides a basic API that facilitates the
implementation of other protocols, than TCP, UDP and
SCTP.
Known issues are; No support for the Windows OS
(currently), a small term leakage.
OTP-14894 Application(s): compiler
Related Id(s): ERL-714
The compiler has been rewritten to internally use an
intermediate representation based on Static Single
Assignment (SSA). The new intermediate representation
makes more optimizations possible.
Most noticeable is that the binary matching
optimizations are now applicable in many more
circumstances than before.
Another noticeable change is that type optimizations
are now applied across local function calls, and will
remove a lot more redundant type tests than before.
OTP-15055 Application(s): ssl
Use new logger API in ssl. Introduce log levels and
verbose debug logging for SSL.
OTP-15128 Application(s): erts, stdlib
ETS option write_concurrency now also affects and
improves the scalability of ordered_set tables. The
implementation is based on a data structure called
contention adapting search tree, where the lock
granularity adapts to the actual amount of concurrency
exploited by the applications in runtime.
OTP-15439 Application(s): erts
The length/1 BIF used to calculate the length of the
list in one go without yielding, even if the list was
very long. In OTP 22, length/1 will yield when called
with a long lists.
OTP-15456 Application(s): compiler
All compiler options that can be given in the source
file can now also be given in the option list or from
the command line for erlc.
Specifically, the option
{nowarn_deprecated_function,MFAs} was only recognized
when given in the file with the attribute -compile().
The option {nowarn_unused_function,FAs} was incorrectly
documented to only work in a file, but it also worked
when given in the option list.
OTP-15575 Application(s): tools
The cover tool now uses the counters module instead of
ets for updating the counters for how many times a line
has been executed. By default, Cover will work with
distributed nodes, but a new function
cover:local_only/0 allows running the Cover in a
restricted but faster local-only mode.
The increase in speed will vary depending on the type
of code being cover-compiled, but as an example, the
compiler test suite runs more than twice as fast with
the new Cover.
OTP-15591 Application(s): ssl
Basic support for TLS 1.3 Server for experimental use.
OTP-15596 Application(s): erts, hipe, otp
In OTP 22, HiPE (the native code compiler) is not fully
functional. The reasons for this are:
There are new BEAM instructions for binary matching
that the HiPE native code compiler does not support.
The new optimizations in the Erlang compiler create new
combination of instructions that HiPE currently does
not handle correctly.
If erlc is invoked with the +native option, and if any
of the new binary matching instructions are used, the
compiler will issue a warning and produce a BEAM file
without native code.
OTP-15640 Application(s): erts
Added the NIF function enif_term_type, which helps
avoid long sequences of enif_is_xyz by returning the
type of the given term. This is especially helpful for
NIFs that serialize terms, such as JSON encoders, where
it can improve both performance and readability.
OTP-15655 Application(s): crypto
Related Id(s): ERL-864, PR-2173, PR-2186
The new hash_info/1 and cipher_info/1 functions returns
maps with information about the hash or cipher in the
argument.
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-14865 Application(s): ssl
TLS-1.0, TLS-1.1 and DTLS-1.0 are now considered legacy
and not supported by default
OTP-15381 Application(s): stdlib
The gen_* behaviours have been changed so that if
logging of the last N messages through sys:log/2,3 is
active for the server, this log is included in the
terminate report.
To accomplish this the format of "System Events" as
defined in the man page for sys has been clarified and
cleaned up, a new function sys:get_log/1 has been
added, and sys:get_debug/3 has been deprecated. Due to
these changes, code that relies on the internal badly
documented format of "System Events", need to be
corrected.
OTP-15571 Application(s): reltool
A new element, Opts, can now be included in a rel tuple
in the reltool release specific configuration format:
{rel, Name, Vsn, RelApps, Opts}.
This supports the use of {rel, Name, Vsn, RelApps,
[{load_dot_erlang, false}]} to prevent the boot script
from running the .erlang file.
The incompatibilities are as follows:
* The return from reltool:get_config/1 and
reltool:get_config/3 includes the new rel tuple for all
rels where the load_dot_erlang option is set to false.
* The return from reltool:get_config/3 includes the new
rel tuple for ALL rels if the InclDefs parameter is set
to true.
OTP-15621 Application(s): erl_interface, otp
The limited support for VxWorks is deprecated as of OTP
22, and will be removed in OTP 23.
OTP-15622 Application(s): erl_interface
The old legacy erl_interface library (functions with
prefix erl_) is deprecated as of OTP 22, and will be
removed in OTP 23. This does not apply to the ei
library. Reasonably new gcc compilers will issue
deprecation warnings. In order to disable these
warnings, define the macro EI_NO_DEPR_WARN.
OTP-15644 Application(s): crypto
Related Id(s): OTP-14732, OTP-15451, PR-1857, PR-2068,
PR-2095
A new API is implemented in crypto. So far it is not
published but used for implementing the crypto:block_*
and crypto:stream_* interfaces.
Please note that since the error checking is more
thorough, there might be arguments with faulty lengths
that are no longer accepted.
OTP-15677 Application(s): crypto
Fixed a bug in error return for crypto:poly1305/2. It
returned the atom notsup instead of the exception
notsup.
OTP-15678 Application(s): crypto
The cipher chacha20 was introduced in OpenSSL 1.1.0.
However, it could in a very odd situation fail for
versions less than OpenSSL 1.1.0d. It is therefore not
available if the linked cryptolib is OpenSSL of version
1.1.0c or earlier.
OTP-15692 Application(s): kernel
Related Id(s): PR-2170
In OTP-21.3, a warning was introduced for duplicated
applications/keys in configuration. This warning would
be displayed both when the configuration was given as a
file on system start, and during runtime via
application:set_env/1,2.
The warning is now changed to a badarg exception in
application:set_env/1,2. If the faulty configuration is
given in a configuration file on system start, the
startup will fail.
---------------------------------------------------------------------
--- OTP-22.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
--- Improvements and New Features ---
OTP-14625 Application(s): otp
Configure scripts in different OTP applications are now
executed in parallel during build of OTP.
OTP-15220 Application(s): otp
Documented how atoms are ordered in reference manual.
OTP-15596 Application(s): erts, hipe, otp
*** HIGHLIGHT ***
In OTP 22, HiPE (the native code compiler) is not fully
functional. The reasons for this are:
There are new BEAM instructions for binary matching
that the HiPE native code compiler does not support.
The new optimizations in the Erlang compiler create new
combination of instructions that HiPE currently does
not handle correctly.
If erlc is invoked with the +native option, and if any
of the new binary matching instructions are used, the
compiler will issue a warning and produce a BEAM file
without native code.
OTP-15621 Application(s): erl_interface, otp
*** POTENTIAL INCOMPATIBILITY ***
The limited support for VxWorks is deprecated as of OTP
22, and will be removed in OTP 23.
---------------------------------------------------------------------
--- asn1-5.0.9 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
OTP-15697 Application(s): asn1
Related Id(s): PR-2159
Corrected problems with the following value
definitions:
-- value of SEQUENCE OF CHOICE with extensions
-- value of CHOICE with extensions
-- DEFAULT used with OCTET STRING
Full runtime dependencies of asn1-5.0.9: erts-7.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- common_test-1.17.1 ----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
--- Improvements and New Features ---
OTP-15633 Application(s): common_test, stdlib
Related Id(s): PR-1787
Use ssh instead of rsh as the default remote shell.
Full runtime dependencies of common_test-1.17.1: compiler-6.0,
crypto-3.6, debugger-4.1, erts-7.0, ftp-1.0.0, inets-6.0, kernel-4.0,
observer-2.1, runtime_tools-1.8.16, sasl-2.4.2, snmp-5.1.2, ssh-4.0,
stdlib-3.5, syntax_tools-1.7, tools-2.8, xmerl-1.3.8
---------------------------------------------------------------------
--- compiler-7.4 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14894 Application(s): compiler
Related Id(s): ERL-714
*** HIGHLIGHT ***
The compiler has been rewritten to internally use an
intermediate representation based on Static Single
Assignment (SSA). The new intermediate representation
makes more optimizations possible.
Most noticeable is that the binary matching
optimizations are now applicable in many more
circumstances than before.
Another noticeable change is that type optimizations
are now applied across local function calls, and will
remove a lot more redundant type tests than before.
OTP-15273 Application(s): compiler
Related Id(s): ERL-639
Funs are no longer created when they are only used
locally, greatly improving the performance of named
funs and "fun-wrapped" macros.
OTP-15456 Application(s): compiler
*** HIGHLIGHT ***
All compiler options that can be given in the source
file can now also be given in the option list or from
the command line for erlc.
Specifically, the option
{nowarn_deprecated_function,MFAs} was only recognized
when given in the file with the attribute -compile().
The option {nowarn_unused_function,FAs} was incorrectly
documented to only work in a file, but it also worked
when given in the option list.
Full runtime dependencies of compiler-7.4: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5
---------------------------------------------------------------------
--- crypto-4.5 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15677 Application(s): crypto
*** POTENTIAL INCOMPATIBILITY ***
Fixed a bug in error return for crypto:poly1305/2. It
returned the atom notsup instead of the exception
notsup.
OTP-15678 Application(s): crypto
*** POTENTIAL INCOMPATIBILITY ***
The cipher chacha20 was introduced in OpenSSL 1.1.0.
However, it could in a very odd situation fail for
versions less than OpenSSL 1.1.0d. It is therefore not
available if the linked cryptolib is OpenSSL of version
1.1.0c or earlier.
--- Improvements and New Features ---
OTP-14461 Application(s): crypto, stdlib
Related Id(s): PR-1857
A new rand module algorithm, exro928ss
(Xoroshiro928**), has been implemented. It has got a
really long period and good statistical quality for all
output bits, while still being only about 50% slower
than the default algorithm.
The same generator is also used as a long period
counter in a new crypto plugin for the rand module,
algorithm crypto_aes. This plugin uses AES-256 to
scramble the counter which buries any detectable
statistical artifacts. Scrambling is done in chunks
which are cached to get good amortized speed (about
half of the default algorithm).
OTP-14732 Application(s): crypto
Related Id(s): PR-2068, PR-2095
Crypto's single C-file is splitted into multiple files.
The different coding styles in the different parts are
unified into a single style.
OTP-15129 Application(s): crypto, erts
Build configuration of the crypto application has been
moved from the erts application into the crypto
application.
OTP-15564 Application(s): crypto
Related Id(s): PR-2129
Adds two hash functions blake2b and blake2s (64 bit
hash and 32 bit hash respectively). These are modern
and standard hash functions used in blockchains and
encrypted communication protocols. The hash functions
are available in OpenSSL since version 1.1.1.
OTP-15644 Application(s): crypto
Related Id(s): OTP-14732, OTP-15451, PR-1857, PR-2068,
PR-2095
*** POTENTIAL INCOMPATIBILITY ***
A new API is implemented in crypto. So far it is not
published but used for implementing the crypto:block_*
and crypto:stream_* interfaces.
Please note that since the error checking is more
thorough, there might be arguments with faulty lengths
that are no longer accepted.
OTP-15655 Application(s): crypto
Related Id(s): ERL-864, PR-2173, PR-2186
*** HIGHLIGHT ***
The new hash_info/1 and cipher_info/1 functions returns
maps with information about the hash or cipher in the
argument.
OTP-15683 Application(s): crypto
Obey the OpenSSL flags -no-rc2, -no-rc4, -no-rc5,
-no-md4, -no-rmd160, -no-blake2, -no-chacha and
-no-cmac -no-poly1305 when compiling the C-part of the
crypto application.
Full runtime dependencies of crypto-4.5: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- debugger-4.2.7 --------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of debugger-4.2.7: compiler-5.0, erts-9.0,
kernel-5.3, stdlib-3.4, wx-1.2
---------------------------------------------------------------------
--- dialyzer-3.3.3 --------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of dialyzer-3.3.3: compiler-7.0, erts-9.0,
hipe-3.16.1, kernel-5.3, stdlib-3.4, syntax_tools-2.0, wx-1.2
---------------------------------------------------------------------
--- eldap-1.2.7 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15632 Application(s): eldap
Typo fix
Full runtime dependencies of eldap-1.2.7: asn1-3.0, erts-6.0,
kernel-3.0, ssl-5.3.4, stdlib-2.0
---------------------------------------------------------------------
--- erl_docgen-0.9.1 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of erl_docgen-0.9.1: edoc-0.7.13, erts-9.0,
stdlib-3.4, xmerl-1.3.7
---------------------------------------------------------------------
--- erl_interface-3.12 ----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15340 Application(s): erl_interface, erts, megaco, odbc
Related Id(s): OTP-14625
Minor adjustments made to build system for parallel
configure.
OTP-15603 Application(s): erl_interface, erts
Increased the 'creation' value from 2 to 32 bits. The
'creation' value determines how many times a
distributed node can restart until pids, ports and
references may conflict with such identifiers from an
earlier node incarnation with the same name.
OTP-15621 Application(s): erl_interface, otp
*** POTENTIAL INCOMPATIBILITY ***
The limited support for VxWorks is deprecated as of OTP
22, and will be removed in OTP 23.
OTP-15622 Application(s): erl_interface
*** POTENTIAL INCOMPATIBILITY ***
The old legacy erl_interface library (functions with
prefix erl_) is deprecated as of OTP 22, and will be
removed in OTP 23. This does not apply to the ei
library. Reasonably new gcc compilers will issue
deprecation warnings. In order to disable these
warnings, define the macro EI_NO_DEPR_WARN.
---------------------------------------------------------------------
--- erts-10.4 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15535 Application(s): erts
Related Id(s): PR-2055
Do not allocate new bitstring/binary when an empty
binary is appended.
OTP-15543 Application(s): erts
Related Id(s): PR-2089
Document that process_info(_, current_function) can
return {current_function, undefined} in case of
execution of native code.
OTP-15672 Application(s): erts
Fixed bug in ets:select, ets:match and friends which
could cause the table to remain fixated (as if
ets:safe_fixtable had been called) after the call
returned. This could happen for protected tables if
another concurrent running process transfered table
ownership to the process during its ets:select/match
call. Ownership can be transfered using either
ets:give_away or the heir table option.
OTP-15693 Application(s): erts
Fixed a Windows-specific bug in file:list_dir/1 that
caused it to misbehave on network shares.
OTP-15694 Application(s): erts
Related Id(s): ERL-863
Fixed bug when calling enif_whereis_* from NIF resource
destructor. Symtoms could be emulator crash or hanging
scheduler threads.
OTP-15698 Application(s): erts
Fixed a bug in the error case of apply/3, where the
exception would erroneously have an empty argument list
in some cases.
--- Improvements and New Features ---
OTP-13397 Application(s): erts
*** HIGHLIGHT ***
Add support for Erlang Distribution protocol to split
the payload of large signals into several fragments.
This allows other processes to communicate
uninterrupted during the transmission of these signals.
OTP-14831 Application(s): erts, kernel
*** HIGHLIGHT ***
A simple socket API is provided through the socket
module. This is a low level API that does *not* replace
gen_[tcp|udp|sctp]. It is intended to *eventually*
replace the inet driver, but not the high level
gen-modules (gen_tcp, gen_udp and gen_sctp). It also
provides a basic API that facilitates the
implementation of other protocols, than TCP, UDP and
SCTP.
Known issues are; No support for the Windows OS
(currently), a small term leakage.
OTP-15011 Application(s): erts
Related Id(s): PR-2147
Added NIF functions enif_set_pid_undefined,
enif_is_pid_undefined and enif_compare_pids.
OTP-15063 Application(s): erts
Underutilized memory segments (carriers) can now move
between all allocator instances, rather than just
between instances of the same type, which greatly
reduces memory usage in some scenarios.
OTP-15075 Application(s): erts
The emulator will now mark free blocks in pooled
carriers with madvise(2) + MADV_FREE (or similar),
letting the OS reclaim the associated physical memory
if necessary.
OTP-15095 Application(s): erts
New ERL_NIF_SELECT_CANCEL feature added to enif_select
in order to cancel (or "deselect") a read or write
event on a previously selected file descriptor.
OTP-15128 Application(s): erts, stdlib
*** HIGHLIGHT ***
ETS option write_concurrency now also affects and
improves the scalability of ordered_set tables. The
implementation is based on a data structure called
contention adapting search tree, where the lock
granularity adapts to the actual amount of concurrency
exploited by the applications in runtime.
OTP-15129 Application(s): crypto, erts
Build configuration of the crypto application has been
moved from the erts application into the crypto
application.
OTP-15195 Application(s): erts
Related Id(s): PR-1812
Anonymous functions that don't capture environment are
now created at load-time instead of in run-time.
OTP-15211 Application(s): erts
Related Id(s): PR-1889
Optimize updates of maps with identical keys and
values. E.g. in the example below the original Map will
be reused as the return of the update.
1> Map = #{ a => b }. #{ a => b } 2> Map#{ a := b }.
OTP-15238 Application(s): erts
Related Id(s): PR-1803
Optimize binary:match/2 and binary:matches/2 to use
memchr internally.
OTP-15261 Application(s): erts
The runtime system used to terminate when a message
larger than 2 Gb was passed over the distribution. The
send operation will now instead throw a system_limit
exeption.
OTP-15336 Application(s): erts, sasl
Related Id(s): PR-1825
Change the first module called by erts to be names
erl_init instead of otp_ring0. systools in sasl have
been updated to reflect this change.
OTP-15340 Application(s): erl_interface, erts, megaco, odbc
Related Id(s): OTP-14625
Minor adjustments made to build system for parallel
configure.
OTP-15349 Application(s): erts
Related Id(s): PR-2084
Two new NIF interface functions enif_select_read and
enif_select_write. They are similar to existing
enif_select but allow a custom event message as
argument.
OTP-15351 Application(s): erts
Related Id(s): ERL-749
The embedded copy of zlib has been updated from 1.2.8
to 1.2.11.
Note that this copy is only used as a fallback when the
target platform doesn't provide any zlib development
libraries. If your system provides zlib then it will be
used even if it is older than 1.2.11.
OTP-15362 Application(s): erts
Related Id(s): PR-2127
New NIF function enif_make_monitor_term.
OTP-15427 Application(s): erts
Appending lists (The ++ operator) will now yield
properly on large inputs.
OTP-15439 Application(s): erts
*** HIGHLIGHT ***
The length/1 BIF used to calculate the length of the
list in one go without yielding, even if the list was
very long. In OTP 22, length/1 will yield when called
with a long lists.
OTP-15513 Application(s): erts
Related Id(s): ERL-773
Processes sending messages are now punished with a
reduction cost based on message size. That is, a
process sending a large message will yield earlier than
before.
OTP-15581 Application(s): erts
Related Id(s): OTP-15580
The transitory emulator option +ztma true (introduced
in OTP 21.3) has been removed.
OTP-15596 Application(s): erts, hipe, otp
*** HIGHLIGHT ***
In OTP 22, HiPE (the native code compiler) is not fully
functional. The reasons for this are:
There are new BEAM instructions for binary matching
that the HiPE native code compiler does not support.
The new optimizations in the Erlang compiler create new
combination of instructions that HiPE currently does
not handle correctly.
If erlc is invoked with the +native option, and if any
of the new binary matching instructions are used, the
compiler will issue a warning and produce a BEAM file
without native code.
OTP-15603 Application(s): erl_interface, erts
Increased the 'creation' value from 2 to 32 bits. The
'creation' value determines how many times a
distributed node can restart until pids, ports and
references may conflict with such identifiers from an
earlier node incarnation with the same name.
OTP-15610 Application(s): erts
The termination behaviour of processes has changed to
allow processes to yield while sending link
exit/monitor down signals.
The erl crash dump as been expanded to now also include
processes that are termenating but have not yet
terminated.
OTP-15611 Application(s): erts, kernel
The dist messages EXIT, EXIT2 and MONITOR_DOWN have
been updated with new versions that send the reason
term as part of the payload of the message instead of
as part of the control message.
The old versions are still present and can be used when
communicating with nodes that don't support the new
versions.
OTP-15612 Application(s): erts
When sending messages, exit, exit2 and monitor down
distributed signals, the process sending will now yield
appropriately.
This means that a terminating process will yield and
possibly be suspended on busy distribution entries
while they are terminating. This means that any memory
held by such processes will not be released until after
all exit/monitor down signals have been sent.
OTP-15613 Application(s): erts
All external pids/ports/refs created by
erlang:list_to_pid/port/ref debug functions now compare
equal to any other pid/port/ref with the same number
from that node.
Before this change they compared differently because
the node creation of the pid/port/ref did not compare
equal to any real pid/port/ref creation.
This will mostly effect pids/ports/refs typed in the
shell.
OTP-15617 Application(s): erts
A new erlang:dist_ctrl_set_opt(DHandle, get_size,
Value) option has been added. This option makes it
possible to configure the distribution channel
identified by DHandle so that
erlang:dist_ctrl_get_data(DHandle) also returns the
size of the data to pass over the channel.
OTP-15631 Application(s): erts
The iolist_size/1 function is now yielding which means
that an Erlang/OTP system will be responsive even if
the applications running on the system frequently call
iolist_size/1 with large iolists.
OTP-15635 Application(s): erts
A simple test suite for the net module has been added.
OTP-15640 Application(s): erts
*** HIGHLIGHT ***
Added the NIF function enif_term_type, which helps
avoid long sequences of enif_is_xyz by returning the
type of the given term. This is especially helpful for
NIFs that serialize terms, such as JSON encoders, where
it can improve both performance and readability.
OTP-15674 Application(s): erts
Related Id(s): PR-2177
The last call optimization is now applied to BIFs. When
calling a BIF in the tail position of a function, the
return address and stack frame will now be discarded
before calling the BIF. As consequence of this change,
the immediate caller of a tail-called BIF will no
longer be available in stack backtraces.
OTP-15703 Application(s): erts
Fix GC bug where distributed messages in a processes
mailbox would cause extra GCs. This can be very
expensive if there many messages in the mailbox.
Full runtime dependencies of erts-10.4: kernel-6.1, sasl-3.3,
stdlib-3.5
---------------------------------------------------------------------
--- hipe-3.19 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15385 Application(s): hipe
Related Id(s): PR-1986
Add function hipe:erllvm_is_supported to check presence
of suitable version of the LLVM tool chain as well as
supported hardware architecture. The old
hipe:llvm_support_available has been removed.
OTP-15386 Application(s): hipe
Related Id(s): PR-1963
Fix hipe LLVM for FreeBSD and other non-linux unix to
use /tmp/ instead of /dev/shm/.
--- Improvements and New Features ---
OTP-15596 Application(s): erts, hipe, otp
*** HIGHLIGHT ***
In OTP 22, HiPE (the native code compiler) is not fully
functional. The reasons for this are:
There are new BEAM instructions for binary matching
that the HiPE native code compiler does not support.
The new optimizations in the Erlang compiler create new
combination of instructions that HiPE currently does
not handle correctly.
If erlc is invoked with the +native option, and if any
of the new binary matching instructions are used, the
compiler will issue a warning and produce a BEAM file
without native code.
Full runtime dependencies of hipe-3.19: compiler-5.0, erts-9.3,
kernel-5.3, stdlib-3.4, syntax_tools-1.6.14
---------------------------------------------------------------------
--- inets-7.0.7 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of inets-7.0.7: erts-6.0, kernel-3.0,
mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5
---------------------------------------------------------------------
--- jinterface-1.9.2 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
---------------------------------------------------------------------
--- kernel-6.4 ------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14831 Application(s): erts, kernel
*** HIGHLIGHT ***
A simple socket API is provided through the socket
module. This is a low level API that does *not* replace
gen_[tcp|udp|sctp]. It is intended to *eventually*
replace the inet driver, but not the high level
gen-modules (gen_tcp, gen_udp and gen_sctp). It also
provides a basic API that facilitates the
implementation of other protocols, than TCP, UDP and
SCTP.
Known issues are; No support for the Windows OS
(currently), a small term leakage.
OTP-15491 Application(s): kernel
Related Id(s): com/erlang/otp/pull/2019, https://github
Improved the documentation for the linger option.
OTP-15607 Application(s): kernel
Related Id(s): ERIERL-280
Global no longer tries more than once when connecting
to other nodes.
OTP-15611 Application(s): erts, kernel
The dist messages EXIT, EXIT2 and MONITOR_DOWN have
been updated with new versions that send the reason
term as part of the payload of the message instead of
as part of the control message.
The old versions are still present and can be used when
communicating with nodes that don't support the new
versions.
OTP-15668 Application(s): kernel
Related Id(s): PR-2088
Kernel configuration parameter start_distribution =
boolean() is added. If set to false, the system is
started with all distribution functionality disabled.
Defaults to true.
OTP-15692 Application(s): kernel
Related Id(s): PR-2170
*** POTENTIAL INCOMPATIBILITY ***
In OTP-21.3, a warning was introduced for duplicated
applications/keys in configuration. This warning would
be displayed both when the configuration was given as a
file on system start, and during runtime via
application:set_env/1,2.
The warning is now changed to a badarg exception in
application:set_env/1,2. If the faulty configuration is
given in a configuration file on system start, the
startup will fail.
Full runtime dependencies of kernel-6.4: erts-10.2.5, sasl-3.0,
stdlib-3.5
---------------------------------------------------------------------
--- megaco-3.18.5 ---------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15262 Application(s): megaco, runtime_tools
Related Id(s): OTP-15129
Minor updates to build system necessary due to move of
configuration of crypto application.
OTP-15340 Application(s): erl_interface, erts, megaco, odbc
Related Id(s): OTP-14625
Minor adjustments made to build system for parallel
configure.
Full runtime dependencies of megaco-3.18.5: asn1-3.0, debugger-4.0,
erts-7.0, et-1.5, kernel-3.0, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- mnesia-4.16 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15550 Application(s): mnesia
Related Id(s): PR-12029
Optimize mnesia:read/1 if data have been written in the
same transaction.
OTP-15689 Application(s): mnesia
Related Id(s): ERL-556, PR-1695
Fixed bugs in table index plugin handling.
--- Improvements and New Features ---
OTP-15588 Application(s): mnesia
Related Id(s): PR-2102
Optimized dumping of tables with plugin backends.
Full runtime dependencies of mnesia-4.16: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- observer-2.9.1 --------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of observer-2.9.1: erts-7.0, et-1.5,
kernel-3.0, runtime_tools-1.8.14, stdlib-3.5, wx-1.2
---------------------------------------------------------------------
--- odbc-2.12.4 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15340 Application(s): erl_interface, erts, megaco, odbc
Related Id(s): OTP-14625
Minor adjustments made to build system for parallel
configure.
Full runtime dependencies of odbc-2.12.4: erts-6.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- os_mon-2.5 ------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14984 Application(s): os_mon, snmp
Related Id(s): OTP-15329
The application otp_mibs has been removed from OTP.
Some of its components (mibs) have been moved to other
apps (snmp), or removed completely (os_mon).
Full runtime dependencies of os_mon-2.5: erts-6.0, kernel-3.0,
sasl-2.4, stdlib-2.0
---------------------------------------------------------------------
--- public_key-1.6.6 ------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-13726 Application(s): public_key
Add possibility to read PEM files encrypted with old
PEM encryption using AES-256
OTP-15687 Application(s): public_key
Related Id(s): PR-2162
Relax decoding of certificates to so that "harmless"
third party encoding errors may be accepted but not
created by the public_key application. This adds
acceptance of using an incorrect three character
country code, the PKIX standard use two character
country codes. It is also accepted that the country
code is utf8 encoded but the specification says it
should be ASCII.
Full runtime dependencies of public_key-1.6.6: asn1-3.0, crypto-3.8,
erts-6.0, kernel-3.0, stdlib-3.5
---------------------------------------------------------------------
--- reltool-0.8 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15571 Application(s): reltool
*** POTENTIAL INCOMPATIBILITY ***
A new element, Opts, can now be included in a rel tuple
in the reltool release specific configuration format:
{rel, Name, Vsn, RelApps, Opts}.
This supports the use of {rel, Name, Vsn, RelApps,
[{load_dot_erlang, false}]} to prevent the boot script
from running the .erlang file.
The incompatibilities are as follows:
* The return from reltool:get_config/1 and
reltool:get_config/3 includes the new rel tuple for all
rels where the load_dot_erlang option is set to false.
* The return from reltool:get_config/3 includes the new
rel tuple for ALL rels if the InclDefs parameter is set
to true.
Full runtime dependencies of reltool-0.8: erts-7.0, kernel-3.0,
sasl-2.4, stdlib-3.4, tools-2.6.14, wx-1.2
---------------------------------------------------------------------
--- runtime_tools-1.13.3 --------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15262 Application(s): megaco, runtime_tools
Related Id(s): OTP-15129
Minor updates to build system necessary due to move of
configuration of crypto application.
Full runtime dependencies of runtime_tools-1.13.3: erts-8.0,
kernel-5.0, mnesia-4.12, stdlib-3.0
---------------------------------------------------------------------
--- sasl-3.4 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15336 Application(s): erts, sasl
Related Id(s): PR-1825
Change the first module called by erts to be names
erl_init instead of otp_ring0. systools in sasl have
been updated to reflect this change.
Full runtime dependencies of sasl-3.4: erts-10.2, kernel-5.3,
stdlib-3.4, tools-2.6.14
---------------------------------------------------------------------
--- snmp-5.3 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14984 Application(s): os_mon, snmp
Related Id(s): OTP-15329
The application otp_mibs has been removed from OTP.
Some of its components (mibs) have been moved to other
apps (snmp), or removed completely (os_mon).
Full runtime dependencies of snmp-5.3: crypto-3.3, erts-6.0,
kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- ssh-4.7.5 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15673 Application(s): ssh
SSH uses the new crypto API.
Full runtime dependencies of ssh-4.7.5: crypto-4.2, erts-6.0,
kernel-3.0, public_key-1.5.2, stdlib-3.3
---------------------------------------------------------------------
--- ssl-9.3 ---------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14865 Application(s): ssl
*** POTENTIAL INCOMPATIBILITY ***
TLS-1.0, TLS-1.1 and DTLS-1.0 are now considered legacy
and not supported by default
OTP-15055 Application(s): ssl
*** HIGHLIGHT ***
Use new logger API in ssl. Introduce log levels and
verbose debug logging for SSL.
OTP-15591 Application(s): ssl
*** HIGHLIGHT ***
Basic support for TLS 1.3 Server for experimental use.
Full runtime dependencies of ssl-9.3: crypto-4.2, erts-10.0,
inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
---------------------------------------------------------------------
--- stdlib-3.9 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15649 Application(s): stdlib
Fix a bug in string:lexemes/2.
The bug was found when optimizing the handling of deep
lists of Unicode characters in the string module.
--- Improvements and New Features ---
OTP-14461 Application(s): crypto, stdlib
Related Id(s): PR-1857
A new rand module algorithm, exro928ss
(Xoroshiro928**), has been implemented. It has got a
really long period and good statistical quality for all
output bits, while still being only about 50% slower
than the default algorithm.
The same generator is also used as a long period
counter in a new crypto plugin for the rand module,
algorithm crypto_aes. This plugin uses AES-256 to
scramble the counter which buries any detectable
statistical artifacts. Scrambling is done in chunks
which are cached to get good amortized speed (about
half of the default algorithm).
OTP-14724 Application(s): stdlib
Related Id(s): PR-2056
Types related to server naming and starting have been
exported from gen_statem. These are: server_name/0,
server_ref/0, start_opt/0, start_ret/0 and
enter_loop_opt/0.
OTP-14731 Application(s): stdlib
Related Id(s): PR-1969
The default algorithm for the rand module has been
changed to exsss (Xorshift116**) which is a combination
of the Xorshift116 (exsp) state update and a new
scrambler "StarStar" from the 2018 paper "Scrambled
Linear Pseudorandom Number Generators" by David
Blackman and Sebastiano Vigna. This combination should
not have the caveat of weak low bits that the previous
default algorithm(s) have had, with the cost of about
10% lower speed. See GitHub pull request #1969.
OTP-14737 Application(s): stdlib
Related Id(s): PR-1855
The generic state machine behaviour gen_statem has
gotten code cleanup and documentation improvements from
GitHub Pull Request #1855, even though the PR itself
was rejected.
OTP-15111 Application(s): stdlib
Update Unicode specification to version 11.0.
OTP-15128 Application(s): erts, stdlib
*** HIGHLIGHT ***
ETS option write_concurrency now also affects and
improves the scalability of ordered_set tables. The
implementation is based on a data structure called
contention adapting search tree, where the lock
granularity adapts to the actual amount of concurrency
exploited by the applications in runtime.
OTP-15200 Application(s): stdlib
Related Id(s): PR-1878
Optimized maps:new/0 with trivial Erlang
implementation, making use of literal terms (the empty
map) not needing dynamic heap allocation.
OTP-15381 Application(s): stdlib
*** POTENTIAL INCOMPATIBILITY ***
The gen_* behaviours have been changed so that if
logging of the last N messages through sys:log/2,3 is
active for the server, this log is included in the
terminate report.
To accomplish this the format of "System Events" as
defined in the man page for sys has been clarified and
cleaned up, a new function sys:get_log/1 has been
added, and sys:get_debug/3 has been deprecated. Due to
these changes, code that relies on the internal badly
documented format of "System Events", need to be
corrected.
OTP-15452 Application(s): stdlib
The gen_statem behaviour engine loop has been optimized
for better performance in particular when the callback
module returns some actions, that is better performance
for more realistic applications than the Echo
Benchmark.
OTP-15633 Application(s): common_test, stdlib
Related Id(s): PR-1787
Use ssh instead of rsh as the default remote shell.
OTP-15680 Application(s): stdlib
Related Id(s): PR-2114
Added beam_lib:strip/2 and friends, which accept a list
of chunks that should be preserved when stripping.
Full runtime dependencies of stdlib-3.9: compiler-5.0, crypto-3.3,
erts-10.4, kernel-6.0, sasl-3.0
---------------------------------------------------------------------
--- syntax_tools-2.1.8 ----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of syntax_tools-2.1.8: compiler-7.0,
erts-9.0, kernel-5.0, stdlib-3.4
---------------------------------------------------------------------
--- tools-3.2 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15534 Application(s): tools
Related Id(s): PR-2078
Add cprof and tags modules to .app file so that they
are included in releases.
OTP-15699 Application(s): tools
Related Id(s): PR-2184
Improved documentation parsing in emacs erldoc
functionality.
--- Improvements and New Features ---
OTP-15575 Application(s): tools
*** HIGHLIGHT ***
The cover tool now uses the counters module instead of
ets for updating the counters for how many times a line
has been executed. By default, Cover will work with
distributed nodes, but a new function
cover:local_only/0 allows running the Cover in a
restricted but faster local-only mode.
The increase in speed will vary depending on the type
of code being cover-compiled, but as an example, the
compiler test suite runs more than twice as fast with
the new Cover.
Full runtime dependencies of tools-3.2: compiler-5.0, erts-9.1,
kernel-5.4, runtime_tools-1.8.14, stdlib-3.4
---------------------------------------------------------------------
--- wx-1.8.8 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14282 Application(s): asn1, common_test, debugger, dialyzer,
erl_docgen, inets, jinterface, observer, otp,
syntax_tools, wx
Related Id(s): PR-1891
All incorrect (that is, all) uses of "can not" has been
corrected to "cannot" in source code comments,
documentation, examples, and so on.
Full runtime dependencies of wx-1.8.8: erts-6.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- xmerl-1.3.21 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14703 Application(s): xmerl
Related Id(s): PR-1964
A typo in an error printout has been fixed.
Full runtime dependencies of xmerl-1.3.21: erts-6.0, kernel-3.0,
stdlib-2.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|