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
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
|
Inital Release: OTP 23.0
Git Tag: OTP-23.0
Date: 2020-02-27
Trouble Report Id: OTP-10278, OTP-11688, OTP-13450, OTP-14708,
OTP-14734, OTP-14790, OTP-15077, OTP-15232,
OTP-15251, OTP-15299, OTP-15434, OTP-15517,
OTP-15603, OTP-15618, OTP-15695, OTP-15744,
OTP-15812, OTP-15835, OTP-15837, OTP-15840,
OTP-15842, OTP-15866, OTP-15868, OTP-15915,
OTP-15925, OTP-15948, OTP-15950, OTP-15956,
OTP-15967, OTP-15995, OTP-15998, OTP-15999,
OTP-16005, OTP-16007, OTP-16008, OTP-16014,
OTP-16026, OTP-16029, OTP-16055, OTP-16072,
OTP-16073, OTP-16105, OTP-16120, OTP-16127,
OTP-16128, OTP-16148, OTP-16155, OTP-16160,
OTP-16168, OTP-16171, OTP-16189, OTP-16210,
OTP-16214, OTP-16215, OTP-16222, OTP-16229,
OTP-16232, OTP-16237, OTP-16244, OTP-16251,
OTP-16252, OTP-16264, OTP-16270, OTP-16273,
OTP-16275, OTP-16276, OTP-16283, OTP-16284,
OTP-16289, OTP-16327, OTP-16328, OTP-16329,
OTP-16345, OTP-16346, OTP-16347, OTP-16362,
OTP-16363, OTP-16367, OTP-16368, OTP-16369,
OTP-16370, OTP-16386, OTP-16394, OTP-16395,
OTP-16398, OTP-16400, OTP-16402, OTP-16406,
OTP-16419, OTP-16432, OTP-16453, OTP-16454,
OTP-16455, OTP-16469, OTP-16470, OTP-16478,
OTP-16480, OTP-16482, OTP-16483, OTP-16484,
OTP-16487, OTP-16489, OTP-16490, OTP-16492,
OTP-16494, OTP-16495, OTP-16496, OTP-16497,
OTP-16499, OTP-16500, OTP-16501, OTP-16502,
OTP-16503
Seq num: ERIERL-402, ERL-1002, ERL-1003, ERL-1051,
ERL-1053, ERL-1057, ERL-1115, ERL-1134,
ERL-1150, ERL-1154, ERL-496, ERL-560,
ERL-700, ERL-708, ERL-927, ERL-991
System: OTP
Release: 23
Application: asn1-5.0.10, common_test-1.19, compiler-7.6,
crypto-4.7, debugger-5.0, dialyzer-4.2,
edoc-0.12, erl_docgen-1.0,
erl_interface-3.14, erts-11.0, eunit-2.5,
hipe-4.0, inets-7.2, jinterface-1.11,
kernel-7.0, megaco-3.18.8, mnesia-4.17,
observer-2.9.4, odbc-2.13, os_mon-2.5.2,
parsetools-2.2, public_key-1.7.2,
runtime_tools-1.15, sasl-3.5, snmp-5.5,
ssh-4.9, ssl-10.0, stdlib-3.12,
syntax_tools-2.3, tools-3.4, wx-1.9.1
Predecessor: OTP
Check out the git tag OTP-23.0, and build a full OTP system including
documentation.
---------------------------------------------------------------------
--- HIGHLIGHTS ------------------------------------------------------
---------------------------------------------------------------------
OTP-13450 Application(s): kernel
Related Id(s): OTP-15251
*** POTENTIAL INCOMPATIBILITY ***
A new module erpc has been introduced in the kernel
application. The erpc module implements an enhanced
subset of the operations provided by the rpc module.
Enhanced in the sense that it makes it possible to
distinguish between returned value, raised exceptions,
and other errors. erpc also has better performance and
scalability than the original rpc implementation. This
by utilizing the newly introduced spawn_request() BIF.
Also the rpc module benefits from these improvements by
utilizing erpc when it is possible.
This change has been marked as a potential
incompatibility since rpc:block_call() now only is
guaranteed to block other block_call() operations. The
documentation previously claimed that it would block
all rpc operations. This has however never been the
case. It previously did not block node-local
block_call() operations.
OTP-14708 Application(s): compiler, debugger, erts
EEP-52 has been implemented.
In binary matching, the size of the segment to be
matched is now allowed to be a guard expression, and
similarly in map matching the keys can now be guard
expressions. See the Erlang Reference Manual and
Programming Examples for more details.
Language compilers or code generators that generate
Core Erlang code may need to be updated to be
compatible with the compiler in OTP 23. For more
details, see the section Backwards Compatibility in EEP
52.
OTP-15251 Application(s): erts
Improvements of distributed spawn operations. These
include both scalability and performance improvements
as well as new functionality.
New functionality:
-- A distributed spawn_monitor() BIF.
-- Support for monitor option in the distributed
spawn_opt() BIF.
-- New spawn_request() BIFs for asynchronous spawn of
processes. spawn_request() supports all options that
spawn_opt() support plus a few more.
OTP-15434 Application(s): ssh
OpenSSH 6.5 introduced a new file representation of
keys called openssh-key-v1.
OTP/SSH had an experimental implementation of this
format. That implementation is now improved and
supported with the exception of handling encrypted
keys.
OTP-15744 Application(s): erts, stdlib
Related Id(s): OTP-15623, PR-2229
Improved ETS scalability of concurrent calls that
change the size of a table, like ets:insert/2 and
ets:delete/2.
This performance feature was implemented for
ordered_set in OTP 22.0 and does now apply for all ETS
table types.
The improved scalability may come at the cost of longer
latency of ets:info(T,size) and ets:info(T,memory). A
new table option decentralized_counters has therefore
been added. It is default true for ordered_set with
write_concurrency enabled and default false for all
other table types.
OTP-15998 Application(s): ssh
Related Id(s): PR-2368, PR-2376
TCP/IP port forwarding, a.k.a tunneling a.k.a as
tcp-forward/direct-tcp is implemented. In the OpenSSH
client, this corresponds to the options -L and -R.
The client or server listens to a specified socket, and
when something connects to it with TCP/IP, that
connection is forwarded in an encrypted tunnel to the
peer. The peer then connects to a predefined IP/port
pair and then acts as a proxy.
See the manual, ssh:tcpip_tunnel_to_server/6 and
ssh:tcpip_tunnel_from_server/6.
The functionality is disabled per default but can be
enabled if wanted when starting a daemon.
OTP-16007 Application(s): compiler
Related Id(s): PR-2324
Allow underscores in numeric literals to improve
readability. Examples: 123_456_789, 16#1234_ABCD.
OTP-16214 Application(s): compiler
Related Id(s): PR-2460
Improved the type optimization pass' inference of types
that depend on themselves, giving us more accurate
types and letting us track the content types of lists.
OTP-16222 Application(s): stdlib
New functions have been added to c(3) for printing
embedded documentation for Erlang modules. The
functions are:
-- h/1,2,3 -- Print the documentation for a
Module:Function/Arity.
-- ht/1,2,3 -- Print the type documentation for a
Module:Type/Arity.
The embedded documentation is created when building the
Erlang/OTP documentation.
OTP-16232 Application(s): crypto
As announced in OTP 22.0, a New API was introduced in
CRYPTO. See the New and Old API chapter in the CRYPTO
User's Guide for more information and suggested
replacement functions.
The Old API is now deprecated in OTP-23.0 and will be
removed in OTP-24.0.
OTP-16406 Application(s): erl_docgen, otp
Embedded documentation (also known as Documentation
Chunks) is now also available in the form of files
according to EEP-48. The Documentation Chunks are
produced by default when building the other Erlang/OTP
documentation. If you want to only build the embedded
documentation you can pass the DOC_TARGETS=chunks
environment variable to make.
OTP-16453 Application(s): kernel
Related Id(s): PR-2524
A new implementation of distributed named process
groups has been introduced. It is available in the pg
module.
Note that this pg module only has the name in common
with the experimental pg module that was present in
stdlib up until OTP 17.
Thanks to Maxim Fedorov for the implementation.
OTP-16484 Application(s): debugger, erts, hipe
*** POTENTIAL INCOMPATIBILITY ***
The deprecated erlang:get_stacktrace/0 BIF now returns
an empty list instead of a stacktrace. To retrieve the
stacktrace, use the extended try/catch syntax that was
introduced in OTP 21. erlang:get_stacktrace/0 is
scheduled for removal in OTP 24.
OTP-16501 Application(s): stdlib
Related Id(s): ERL-708, OTP-16222, OTP-16406,
OTP-16494, OTP-16499, OTP-16500, PR-2545
Module and function auto-completion in the shell now
looks at all available modules instead of only those
loaded. A module is considered available if it either
is loaded already or would be loaded if called.
The auto-completion has also been expanded to work in
the new h/1,2,3 function in c(3).
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-13450 Application(s): kernel
Related Id(s): OTP-15251
*** HIGHLIGHT ***
A new module erpc has been introduced in the kernel
application. The erpc module implements an enhanced
subset of the operations provided by the rpc module.
Enhanced in the sense that it makes it possible to
distinguish between returned value, raised exceptions,
and other errors. erpc also has better performance and
scalability than the original rpc implementation. This
by utilizing the newly introduced spawn_request() BIF.
Also the rpc module benefits from these improvements by
utilizing erpc when it is possible.
This change has been marked as a potential
incompatibility since rpc:block_call() now only is
guaranteed to block other block_call() operations. The
documentation previously claimed that it would block
all rpc operations. This has however never been the
case. It previously did not block node-local
block_call() operations.
OTP-14790 Application(s): ssl
Drop support for SSL-3.0. Support for this legacy TLS
version has not been enabled by default since OTP 19.
Now all code to support it has been removed, that is
SSL-3.0 protocol version can not be used and is
considered invalid.
OTP-16168 Application(s): erts
Related Id(s): ERL-1053
erlang:decode_packet with type set to httph no longer
accepts http headers that have whitespaces in between
the header name and the colon. That is:
Content-Type : text/html
is no longer allowed. This has been changed to conform
with RFC 7230 and thus protect against http desync
attacks.
OTP-16215 Application(s): erts
Removed the scheduler_poll and async I/O dtrace and
LTTng trace probes.
OTP-16244 Application(s): erts
Related Id(s): ERL-1051
Fix the quoting rules in erl -args_file, ERL_FLAGS,
ERL_AFLAGS and ERL_ZFLAGS to work as unix sh quoting.
This bug fix can make previous configuration options to
erl passed through ERL_FLAGS, ERL_AFLAGS, ERL_ZFLAGS or
-args_file not be interpreted in the same way as before
the fix.
OTP-16329 Application(s): erl_interface, erts, otp
Related Id(s): OTP-15621
As announced in OTP 22.0, the previously existing
limited support for VxWorks has now been removed.
OTP-16400 Application(s): ssl
This change adds TLS-1.3 to the list of default
supported versions. That is, TLS-1.3 and TLS-1.2 are
configured when ssl option 'versions' is not explicitly
set.
OTP-16455 Application(s): kernel
The pg2 module has been deprecated. It has also been
scheduled for removal in OTP 24.
You are advised to replace the usage of pg2 with the
newly introduced pg module. pg has a similar API, but
with a more scalable implementation.
OTP-16484 Application(s): debugger, erts, hipe
*** HIGHLIGHT ***
The deprecated erlang:get_stacktrace/0 BIF now returns
an empty list instead of a stacktrace. To retrieve the
stacktrace, use the extended try/catch syntax that was
introduced in OTP 21. erlang:get_stacktrace/0 is
scheduled for removal in OTP 24.
OTP-16495 Application(s): kernel
As of OTP 23, the distributed disk_log feature has been
deprecated. It has also been scheduled for removal in
OTP 24.
OTP-16502 Application(s): kernel
code:lib_dir/1 has been fixed to also return the lib
dir for erts.
This is been marked as an incompatibility for any
application that depended on {error,bad_name} to be
returned for erts.
OTP-16503 Application(s): erl_docgen
The dtds of all documentation files have been trimmed
from all unused or rarely-used tags.
Unused dtds have been removed.
---------------------------------------------------------------------
--- OTP-23.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16394 Application(s): otp
Related Id(s): PR-2450
The Android cross-compilation support has been updated
to support Android 4.1 and 5.0.
--- Improvements and New Features ---
OTP-15812 Application(s): otp
Add new "make test" target for simplified test
execution. Read more in HOWTO/TESTING.md.
OTP-15915 Application(s): otp
Added make dialyzer to top-level makefile and each
application.
OTP-16264 Application(s): otp
Updated the Android build instructions
OTP-16329 Application(s): erl_interface, erts, otp
Related Id(s): OTP-15621
*** POTENTIAL INCOMPATIBILITY ***
As announced in OTP 22.0, the previously existing
limited support for VxWorks has now been removed.
OTP-16406 Application(s): erl_docgen, otp
*** HIGHLIGHT ***
Embedded documentation (also known as Documentation
Chunks) is now also available in the form of files
according to EEP-48. The Documentation Chunks are
produced by default when building the other Erlang/OTP
documentation. If you want to only build the embedded
documentation you can pass the DOC_TARGETS=chunks
environment variable to make.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
---------------------------------------------------------------------
--- asn1-5.0.10 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16490 Application(s): asn1
Adhere to the ASN.1 specification for hstring &
bstring lexical items. That is they may include white
space.
--- Improvements and New Features ---
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of asn1-5.0.10: erts-7.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- common_test-1.19 ------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16029 Application(s): common_test
Related Id(s): PR-2145
The function ct_property_test:init_tool/1 is added for
the cases when the user does not want ct_property_test
to compile properties. init_tool/1 can be used to set
the property_test_tool config value.
OTP-16273 Application(s): common_test
The built-in Common Test Hook, cth_log_redirect, has
been updated to use the system default Logger handler's
configuration instead of its own. See the section on
Built-in Hooks in the Common Test User's Guide.
OTP-16346 Application(s): common_test, public_key, snmp, ssh,
ssl
Calls of deprecated functions in the Old Crypto API are
replaced by calls of their substitutions.
Full runtime dependencies of common_test-1.19: 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.6 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-15837 Application(s): compiler, erts
erlang:fun_info(fun foo/1, name/1) used to return a
function name based on the name of the function that
fun foo/1 was used in. The name returned is now
-fun.foo/1-.
--- Improvements and New Features ---
OTP-14708 Application(s): compiler, debugger, erts
*** HIGHLIGHT ***
EEP-52 has been implemented.
In binary matching, the size of the segment to be
matched is now allowed to be a guard expression, and
similarly in map matching the keys can now be guard
expressions. See the Erlang Reference Manual and
Programming Examples for more details.
Language compilers or code generators that generate
Core Erlang code may need to be updated to be
compatible with the compiler in OTP 23. For more
details, see the section Backwards Compatibility in EEP
52.
OTP-16007 Application(s): compiler
Related Id(s): PR-2324
*** HIGHLIGHT ***
Allow underscores in numeric literals to improve
readability. Examples: 123_456_789, 16#1234_ABCD.
OTP-16214 Application(s): compiler
Related Id(s): PR-2460
*** HIGHLIGHT ***
Improved the type optimization pass' inference of types
that depend on themselves, giving us more accurate
types and letting us track the content types of lists.
OTP-16367 Application(s): compiler
Related Id(s): OTP-15251
Support message queue optimization also for references
returned from the new spawn_request() BIFs.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of compiler-7.6: crypto-3.6, erts-11.0,
hipe-3.12, kernel-7.0, stdlib-3.12
---------------------------------------------------------------------
--- crypto-4.7 ------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15967 Application(s): crypto
Related Id(s): PR-2329
Support for ed25519 and ed448 added to
crypto:generate_key.
OTP-16160 Application(s): crypto
The new crypto functions api (crypto_init,
crypto_update and crypto_one_time) has been updated.
There is now a function crypto_final/1 and a
possibility to set options in crypto_init/3 and
crypto_init/4. See the manual for details.
OTP-16232 Application(s): crypto
*** HIGHLIGHT ***
As announced in OTP 22.0, a New API was introduced in
CRYPTO. See the New and Old API chapter in the CRYPTO
User's Guide for more information and suggested
replacement functions.
The Old API is now deprecated in OTP-23.0 and will be
removed in OTP-24.0.
OTP-16369 Application(s): crypto
Related Id(s): PR-2474
Fix C-compilation without deprecated OpenSSL cryptolib
APIs
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of crypto-4.7: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- debugger-5.0 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14708 Application(s): compiler, debugger, erts
*** HIGHLIGHT ***
EEP-52 has been implemented.
In binary matching, the size of the segment to be
matched is now allowed to be a guard expression, and
similarly in map matching the keys can now be guard
expressions. See the Erlang Reference Manual and
Programming Examples for more details.
Language compilers or code generators that generate
Core Erlang code may need to be updated to be
compatible with the compiler in OTP 23. For more
details, see the section Backwards Compatibility in EEP
52.
OTP-16484 Application(s): debugger, erts, hipe
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
The deprecated erlang:get_stacktrace/0 BIF now returns
an empty list instead of a stacktrace. To retrieve the
stacktrace, use the extended try/catch syntax that was
introduced in OTP 21. erlang:get_stacktrace/0 is
scheduled for removal in OTP 24.
Full runtime dependencies of debugger-5.0: compiler-5.0, erts-9.0,
kernel-5.3, stdlib-3.4, wx-1.2
---------------------------------------------------------------------
--- dialyzer-4.2 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16055 Application(s): dialyzer
Related Id(s): ERL-1002
Improve handling of maps:remove/2.
Full runtime dependencies of dialyzer-4.2: compiler-7.0, erts-9.0,
hipe-3.16.1, kernel-5.3, stdlib-3.4, syntax_tools-2.0, wx-1.2
---------------------------------------------------------------------
--- edoc-0.12 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15999 Application(s): edoc
Related Id(s): PR-2317
Remove Inets dependency from EDoc.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of edoc-0.12: erts-6.0, kernel-3.0,
stdlib-2.5, syntax_tools-1.6.14, xmerl-1.3.7
---------------------------------------------------------------------
--- erl_docgen-1.0 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16406 Application(s): erl_docgen, otp
*** HIGHLIGHT ***
Embedded documentation (also known as Documentation
Chunks) is now also available in the form of files
according to EEP-48. The Documentation Chunks are
produced by default when building the other Erlang/OTP
documentation. If you want to only build the embedded
documentation you can pass the DOC_TARGETS=chunks
environment variable to make.
OTP-16497 Application(s): erl_docgen
Minor DTD additions.
OTP-16503 Application(s): erl_docgen
*** POTENTIAL INCOMPATIBILITY ***
The dtds of all documentation files have been trimmed
from all unused or rarely-used tags.
Unused dtds have been removed.
Full runtime dependencies of erl_docgen-1.0: edoc-0.7.13, erts-9.0,
stdlib-3.4, xmerl-1.3.7
---------------------------------------------------------------------
--- erl_interface-3.14 ----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15603 Application(s): erl_interface, erts, jinterface
Increased size of node incarnation numbers (aka
"creation"), from 2 bits to 32 bits. This will reduce
the risk of pids/ports/refs, from different node
incarnation with the same name, being mixed up.
OTP-15866 Application(s): erl_interface, erts
Related Id(s): PR-2110
Fix various build issues when compiling Erlang/OTP to
the IBM AIX platform.
OTP-16229 Application(s): erl_interface, jinterface, kernel
Improved node connection setup handshake protocol. Made
possible to agree on protocol version without
dependence on epmd or other prior knowledge of peer
node version. Also added exchange of node incarnation
("creation") values and expanded the distribution
capability flag field from 32 to 64 bits.
OTP-16251 Application(s): erl_interface
New erl_call option -address [Host]:Port to connect
directly to a node without being dependent on epmd to
resolve the node name.
OTP-16328 Application(s): erl_interface, odbc
Removed the deprecated parts of erl_interface
(essentially all C functions with prefix erl_).
OTP-16329 Application(s): erl_interface, erts, otp
Related Id(s): OTP-15621
*** POTENTIAL INCOMPATIBILITY ***
As announced in OTP 22.0, the previously existing
limited support for VxWorks has now been removed.
OTP-16496 Application(s): erl_interface
Related Id(s): OTP-16251
New function ei_connect_host_port and friends to allow
node connection without being dependent on epmd for
node name resolution.
---------------------------------------------------------------------
--- erts-11.0 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14734 Application(s): erts
Related Id(s): ERL-496
BIFs now behave like ordinary functions with regard to
tracing, allowing call_count tracing and fixing a few
bugs where return trace messages were lost when BIFs
tail-called themselves or other functions ("trapping").
OTP-15837 Application(s): compiler, erts
erlang:fun_info(fun foo/1, name/1) used to return a
function name based on the name of the function that
fun foo/1 was used in. The name returned is now
-fun.foo/1-.
OTP-16155 Application(s): erts
Related Id(s): PR-2408
file:allocate/3 will now update the file size on all
platforms.
OTP-16168 Application(s): erts
Related Id(s): ERL-1053
*** POTENTIAL INCOMPATIBILITY ***
erlang:decode_packet with type set to httph no longer
accepts http headers that have whitespaces in between
the header name and the colon. That is:
Content-Type : text/html
is no longer allowed. This has been changed to conform
with RFC 7230 and thus protect against http desync
attacks.
OTP-16244 Application(s): erts
Related Id(s): ERL-1051
*** POTENTIAL INCOMPATIBILITY ***
Fix the quoting rules in erl -args_file, ERL_FLAGS,
ERL_AFLAGS and ERL_ZFLAGS to work as unix sh quoting.
This bug fix can make previous configuration options to
erl passed through ERL_FLAGS, ERL_AFLAGS, ERL_ZFLAGS or
-args_file not be interpreted in the same way as before
the fix.
OTP-16284 Application(s): erts, kernel
Fix the Erlang distribution to handle the scenario when
a node connects that can handle message fragmentation
but can not handle the atom cache. This bug only
affects users that have implemented a custom
distribution carrier. It has been present since OTP-21.
The DFLAG_FRAGMENT distribution flag was added to the
set of flags that can be rejected by a distribution
implementation.
OTP-16478 Application(s): erts
Related Id(s): ERL-1115
Fixed a bug that prevented Erlang from being started on
Windows if it were installed on certain paths.
--- Improvements and New Features ---
OTP-10278 Application(s): erts
Improved concurrency of erlang:load_nif/2 as it does no
longer block other schedulers from executing during
initial load of a NIF library.
OTP-14708 Application(s): compiler, debugger, erts
*** HIGHLIGHT ***
EEP-52 has been implemented.
In binary matching, the size of the segment to be
matched is now allowed to be a guard expression, and
similarly in map matching the keys can now be guard
expressions. See the Erlang Reference Manual and
Programming Examples for more details.
Language compilers or code generators that generate
Core Erlang code may need to be updated to be
compatible with the compiler in OTP 23. For more
details, see the section Backwards Compatibility in EEP
52.
OTP-15077 Application(s): erts
Internally in BEAM, handling of continuation pointers
has been simplified. This change is not user-visible,
except when examing a process stack in the crashdump
viewer. The continuation pointer for a function will
now be stored below the y(0) for that function.
OTP-15232 Application(s): erts
Related Id(s): ERL-700
seq_trace tokens are now propagated to spawned
processes.
OTP-15251 Application(s): erts
*** HIGHLIGHT ***
Improvements of distributed spawn operations. These
include both scalability and performance improvements
as well as new functionality.
New functionality:
-- A distributed spawn_monitor() BIF.
-- Support for monitor option in the distributed
spawn_opt() BIF.
-- New spawn_request() BIFs for asynchronous spawn of
processes. spawn_request() supports all options that
spawn_opt() support plus a few more.
OTP-15517 Application(s): erts
Related Id(s): ERL-560
Make ets:insert/2 and ets:insert_new/2 yield scheduler
execution on long lists of records to insert.
OTP-15603 Application(s): erl_interface, erts, jinterface
Increased size of node incarnation numbers (aka
"creation"), from 2 bits to 32 bits. This will reduce
the risk of pids/ports/refs, from different node
incarnation with the same name, being mixed up.
OTP-15618 Application(s): erts
The runtime system can now encode Erlang terms to the
Erlang external term format as I/O vectors. The main
benefit of this is that reference counted binaries can
be referred to directly instead of copied into a new
binary.
The default Erlang distribution over TCP will always
utilize this. Alternate distribution implementations
utilizing a port as distribution controller will
utilize this if the driver implements the outputv
callback. Alternate Erlang distribution implementations
utilizing a process as distribution controller will
utilize this if I/O vectors are utilized by the
functionality that processes the data returned from
erlang:dist_ctrl_get_data().
The return type for data returned by
erlang:dist_ctrl_get_data() has been changed from
iodata() to iovec(). Note that iovec() data is valid
iodata() so old implementations using
erlang:dist_ctrl_get_data() do not need to be changed,
but may benefit from being changed depending on usage
scenario.
The new BIFs term_to_iovec/1 and term_to_iovec/2 have
been introduced. These work exactly as term_to_binary()
with the corresponding arity except the return type.
OTP-15744 Application(s): erts, stdlib
Related Id(s): OTP-15623, PR-2229
*** HIGHLIGHT ***
Improved ETS scalability of concurrent calls that
change the size of a table, like ets:insert/2 and
ets:delete/2.
This performance feature was implemented for
ordered_set in OTP 22.0 and does now apply for all ETS
table types.
The improved scalability may come at the cost of longer
latency of ets:info(T,size) and ets:info(T,memory). A
new table option decentralized_counters has therefore
been added. It is default true for ordered_set with
write_concurrency enabled and default false for all
other table types.
OTP-15835 Application(s): erts, kernel
Related Id(s): PR-2212
Directories can now be opened by file:open/2 when
passing the directory option.
OTP-15840 Application(s): erts
Add Hygon Dhyana as known processor to enable support
for atomic operations.
OTP-15842 Application(s): erts
Related Id(s): PR-2182
Make erlang:phash2 functions consume reductions
proportional to the size of the input term and yield
scheduler when reductions are depleted.
OTP-15866 Application(s): erl_interface, erts
Related Id(s): PR-2110
Fix various build issues when compiling Erlang/OTP to
the IBM AIX platform.
OTP-15868 Application(s): erts
Add configure options --enable-pie and --disable-pie to
control the build of position independent executables.
OTP-15956 Application(s): erts, kernel
Related Id(s): PR-2231
file:read_file_info/2 can now be used on opened files
and directories.
OTP-15995 Application(s): erts
Related Id(s): PR-2358
Add arity-1 versions of atom_to_binary, binary_to_atom
and binary_to_existing_atom, all with utf8 as default
encoding.
OTP-16014 Application(s): erts
Related Id(s): PR-2345
Optimized the erts internal hash table implementation
for faster lookups. The internal hash is used for
things like; the process registry, executing
erlang:apply/2, executing M:func(test), and more.
OTP-16105 Application(s): erts
Related Id(s): ERL-927
CPU quotas are now taken into account when deciding the
default number of online schedulers, improving
performance in container environments where quotas are
applied, such as docker with the --cpus flag.
OTP-16148 Application(s): erts, kernel
Related Id(s): PR-2373
The -config option to erl now can take multiple config
files without repeating the -config option. Example:
erl -config sys local
OTP-16215 Application(s): erts
*** POTENTIAL INCOMPATIBILITY ***
Removed the scheduler_poll and async I/O dtrace and
LTTng trace probes.
OTP-16237 Application(s): erts
Related Id(s): PR-2389
Optimized persistent_term:put/2 and erase/1 to consume
less CPU in many cases.
OTP-16270 Application(s): erts
On systems without closefrom(), such as Linux,
iterating over all possible file descriptors and
calling close() for each is inefficient. This is
markedly so when the maximum number of file descriptors
has been tuned to a large number.
Instead, in erl_child_setup, walk the open descriptors
under /dev/fd and close only those which are open.
This optimization affects the CPU usage of starting a
new Erlang instance.
OTP-16283 Application(s): erts
Related Id(s): PR-2441
Optimized maps:merge/2 for trivial cases of an empty
map(s) or same map.
OTP-16327 Application(s): erts, runtime_tools, tools
Improved the presentation of allocations and carriers
in the instrument module.
OTP-16329 Application(s): erl_interface, erts, otp
Related Id(s): OTP-15621
*** POTENTIAL INCOMPATIBILITY ***
As announced in OTP 22.0, the previously existing
limited support for VxWorks has now been removed.
OTP-16347 Application(s): erts
Related Id(s): PR-2466
The return value when using the httph and httph_bin
option to erlang:decode_packet/3 and inet:setopts/2 has
been changed to also include the original header
unmodified. See the erlang:decode_packet/3. Example:
> erlang:decode_packet(httph_bin,>,[]).
{ok,{http_header,0,>,>,>},>}
OTP-16362 Application(s): erts
Ensure net_kernel:monitor_nodes/1 sends nodedown
messages of a failed connection before nodeup messages
of a reestablished connection toward the same node.
OTP-16370 Application(s): erts, kernel
Related Id(s): OTP-15232, OTP-15251
Update of sequential tracing to also support other
information transfers than message passing.
OTP-16398 Application(s): erts
Related Id(s): ERL-1154
socket: It is now possible to create a socket from an
already existing file descriptor.
OTP-16432 Application(s): erts
socket: The socket:supports/1 function now also report
if netns is supported or not.
OTP-16454 Application(s): erts
=:= has been optimized to return false immediately when
comparing two maps of different sizes.
OTP-16482 Application(s): erts
Changed the behaviour of passing the erl command line
argument +A 0 to silently imply +A 1. That is, it will
no longer be possible to completely disable the async
thread pool. Disabling of the async thread pool has
since OTP 21 had no benefits; only lots of drawbacks.
OTP-16484 Application(s): debugger, erts, hipe
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
The deprecated erlang:get_stacktrace/0 BIF now returns
an empty list instead of a stacktrace. To retrieve the
stacktrace, use the extended try/catch syntax that was
introduced in OTP 21. erlang:get_stacktrace/0 is
scheduled for removal in OTP 24.
OTP-16492 Application(s): erts
Related Id(s): PR-2461
init:restart/1 has been introduced. init:restart/1 can
be utilized for changing the code loading mode during a
restart.
Full runtime dependencies of erts-11.0: kernel-7.0, sasl-3.3,
stdlib-3.12
---------------------------------------------------------------------
--- eunit-2.5 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15950 Application(s): eunit
Related Id(s): ERL-991, PR-2316
Let eunit_surefire skip invalid XML 1.0 characters.
OTP-16275 Application(s): eunit
Related Id(s): PR-2424
Add new macro ?capturedOutput for enabling to write
test cases that verify data printed to standard out
Full runtime dependencies of eunit-2.5: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- hipe-4.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16470 Application(s): hipe
Fixed a rare miss-compilation of tuple matching.
--- Improvements and New Features ---
OTP-16484 Application(s): debugger, erts, hipe
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
The deprecated erlang:get_stacktrace/0 BIF now returns
an empty list instead of a stacktrace. To retrieve the
stacktrace, use the extended try/catch syntax that was
introduced in OTP 21. erlang:get_stacktrace/0 is
scheduled for removal in OTP 24.
Full runtime dependencies of hipe-4.0: compiler-5.0, erts-9.3,
kernel-5.3, stdlib-3.4, syntax_tools-1.6.14
---------------------------------------------------------------------
--- inets-7.2 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16252 Application(s): inets
Remove support for deprecated functionality. Support
for mod_esi eval scheme, mod_htacess, mod_browser,
apache config files and deprecated httpd_conf functions
are dropped. Module http_uri is deprecated.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of inets-7.2: erts-6.0, kernel-3.0,
mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5
---------------------------------------------------------------------
--- jinterface-1.11 -------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15603 Application(s): erl_interface, erts, jinterface
Increased size of node incarnation numbers (aka
"creation"), from 2 bits to 32 bits. This will reduce
the risk of pids/ports/refs, from different node
incarnation with the same name, being mixed up.
OTP-16229 Application(s): erl_interface, jinterface, kernel
Improved node connection setup handshake protocol. Made
possible to agree on protocol version without
dependence on epmd or other prior knowledge of peer
node version. Also added exchange of node incarnation
("creation") values and expanded the distribution
capability flag field from 32 to 64 bits.
---------------------------------------------------------------------
--- kernel-7.0 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16008 Application(s): kernel
Related Id(s): PR-2302
Fix race condition during shutdown when shell_history
is enabled. The race condition would trigger crashes in
disk_log.
OTP-16284 Application(s): erts, kernel
Fix the Erlang distribution to handle the scenario when
a node connects that can handle message fragmentation
but can not handle the atom cache. This bug only
affects users that have implemented a custom
distribution carrier. It has been present since OTP-21.
The DFLAG_FRAGMENT distribution flag was added to the
set of flags that can be rejected by a distribution
implementation.
OTP-16395 Application(s): kernel
Related Id(s): PR-2444
Fix bug where a binary was not allowed to be the format
string in calls to logger:log.
OTP-16489 Application(s): kernel
Related Id(s): ERL-1134
Fix bug where logger would end up in an infinite loop
when trying to log the crash of a handler or formatter.
OTP-16502 Application(s): kernel
*** POTENTIAL INCOMPATIBILITY ***
code:lib_dir/1 has been fixed to also return the lib
dir for erts.
This is been marked as an incompatibility for any
application that depended on {error,bad_name} to be
returned for erts.
--- Improvements and New Features ---
OTP-13450 Application(s): kernel
Related Id(s): OTP-15251
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
A new module erpc has been introduced in the kernel
application. The erpc module implements an enhanced
subset of the operations provided by the rpc module.
Enhanced in the sense that it makes it possible to
distinguish between returned value, raised exceptions,
and other errors. erpc also has better performance and
scalability than the original rpc implementation. This
by utilizing the newly introduced spawn_request() BIF.
Also the rpc module benefits from these improvements by
utilizing erpc when it is possible.
This change has been marked as a potential
incompatibility since rpc:block_call() now only is
guaranteed to block other block_call() operations. The
documentation previously claimed that it would block
all rpc operations. This has however never been the
case. It previously did not block node-local
block_call() operations.
OTP-15299 Application(s): kernel, stdlib
Improved the printout of single line logger events for
most of the OTP behaviours in STDLIB and Kernel. This
includes proc_lib, gen_server, gen_event, gen_statem,
gen_fsm, supervisor, supervisor_bridge and application.
Improved the chars_limit and depth handling in proc_lib
and when formatting of exceptions.
OTP-15695 Application(s): kernel, mnesia, parsetools, sasl,
snmp, stdlib
Remove usage and documentation of old requests of the
I/O-protocol.
OTP-15835 Application(s): erts, kernel
Related Id(s): PR-2212
Directories can now be opened by file:open/2 when
passing the directory option.
OTP-15948 Application(s): kernel
Related Id(s): PR-2356
The check of whether to log or not based on the log
level in logger has been optimized by using
persistent_term to store the log level.
OTP-15956 Application(s): erts, kernel
Related Id(s): PR-2231
file:read_file_info/2 can now be used on opened files
and directories.
OTP-16148 Application(s): erts, kernel
Related Id(s): PR-2373
The -config option to erl now can take multiple config
files without repeating the -config option. Example:
erl -config sys local
OTP-16229 Application(s): erl_interface, jinterface, kernel
Improved node connection setup handshake protocol. Made
possible to agree on protocol version without
dependence on epmd or other prior knowledge of peer
node version. Also added exchange of node incarnation
("creation") values and expanded the distribution
capability flag field from 32 to 64 bits.
OTP-16345 Application(s): kernel
Replace usage of deprecated function in the group
module.
OTP-16368 Application(s): kernel, observer, runtime_tools,
stdlib, tools
Related Id(s): OTP-15251
Minor updates due to the new spawn improvements made.
OTP-16370 Application(s): erts, kernel
Related Id(s): OTP-15232, OTP-15251
Update of sequential tracing to also support other
information transfers than message passing.
OTP-16402 Application(s): kernel
code:module_status/1 now accepts a list of modules.
code:module_status/0, which returns the statuses for
all loaded modules, has been added.
OTP-16419 Application(s): kernel
filelib:wildcard/1,2 is now twice as fast when a double
star (**) is part of the pattern.
OTP-16453 Application(s): kernel
Related Id(s): PR-2524
*** HIGHLIGHT ***
A new implementation of distributed named process
groups has been introduced. It is available in the pg
module.
Note that this pg module only has the name in common
with the experimental pg module that was present in
stdlib up until OTP 17.
Thanks to Maxim Fedorov for the implementation.
OTP-16455 Application(s): kernel
*** POTENTIAL INCOMPATIBILITY ***
The pg2 module has been deprecated. It has also been
scheduled for removal in OTP 24.
You are advised to replace the usage of pg2 with the
newly introduced pg module. pg has a similar API, but
with a more scalable implementation.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
OTP-16487 Application(s): kernel
Related Id(s): PR-2516
The internal hosts file resolver cache inet_hosts has
been rewritten to behave better when the hosts file
changes. For example the cache is updated per entry
instead of cleared and reloaded so lookups do not
temporarily fail during reloading, and; when multiple
processes simultaneously request reload these are now
folded into one instead of all done in sequence.
Reported and first solution suggestion by Maxim
Fedorov.
OTP-16494 Application(s): kernel
Add code:all_available/0 that can be used to get all
available modules.
OTP-16495 Application(s): kernel
*** POTENTIAL INCOMPATIBILITY ***
As of OTP 23, the distributed disk_log feature has been
deprecated. It has also been scheduled for removal in
OTP 24.
OTP-16499 Application(s): kernel
Add the function code:fetch_docs/1 for fetching
embedded documentation for aa Erlang module.
Full runtime dependencies of kernel-7.0: erts-11.0, sasl-3.0,
stdlib-3.12
---------------------------------------------------------------------
--- megaco-3.18.8 ---------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of megaco-3.18.8: 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.17 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16072 Application(s): mnesia
Related Id(s): PR-2320
Make mnesia:create_table/2 return correct badarg value.
--- Improvements and New Features ---
OTP-15695 Application(s): kernel, mnesia, parsetools, sasl,
snmp, stdlib
Remove usage and documentation of old requests of the
I/O-protocol.
OTP-16189 Application(s): mnesia
Avoid using rpc calls to do table reads, which will
reduce the load on rpc server and improve performance.
Full runtime dependencies of mnesia-4.17: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- observer-2.9.4 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16368 Application(s): kernel, observer, runtime_tools,
stdlib, tools
Related Id(s): OTP-15251
Minor updates due to the new spawn improvements made.
Full runtime dependencies of observer-2.9.4: erts-11.0, et-1.5,
kernel-7.0, runtime_tools-1.8.14, stdlib-3.12, wx-1.2
---------------------------------------------------------------------
--- odbc-2.13 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16328 Application(s): erl_interface, odbc
Removed the deprecated parts of erl_interface
(essentially all C functions with prefix erl_).
Full runtime dependencies of odbc-2.13: erts-6.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- os_mon-2.5.2 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of os_mon-2.5.2: erts-6.0, kernel-3.0,
sasl-2.4, stdlib-2.0
---------------------------------------------------------------------
--- parsetools-2.2 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15695 Application(s): kernel, mnesia, parsetools, sasl,
snmp, stdlib
Remove usage and documentation of old requests of the
I/O-protocol.
Full runtime dependencies of parsetools-2.2: erts-6.0, kernel-3.0,
stdlib-2.5
---------------------------------------------------------------------
--- public_key-1.7.2 ------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16346 Application(s): common_test, public_key, snmp, ssh,
ssl
Calls of deprecated functions in the Old Crypto API are
replaced by calls of their substitutions.
Full runtime dependencies of public_key-1.7.2: asn1-3.0, crypto-3.8,
erts-6.0, kernel-3.0, stdlib-3.5
---------------------------------------------------------------------
--- runtime_tools-1.15 ----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16327 Application(s): erts, runtime_tools, tools
Improved the presentation of allocations and carriers
in the instrument module.
OTP-16368 Application(s): kernel, observer, runtime_tools,
stdlib, tools
Related Id(s): OTP-15251
Minor updates due to the new spawn improvements made.
Full runtime dependencies of runtime_tools-1.15: erts-11.0,
kernel-7.0, mnesia-4.12, stdlib-3.12
---------------------------------------------------------------------
--- sasl-3.5 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15695 Application(s): kernel, mnesia, parsetools, sasl,
snmp, stdlib
Remove usage and documentation of old requests of the
I/O-protocol.
Full runtime dependencies of sasl-3.5: erts-10.2, kernel-5.3,
stdlib-3.4, tools-2.6.14
---------------------------------------------------------------------
--- snmp-5.5 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15695 Application(s): kernel, mnesia, parsetools, sasl,
snmp, stdlib
Remove usage and documentation of old requests of the
I/O-protocol.
OTP-16346 Application(s): common_test, public_key, snmp, ssh,
ssl
Calls of deprecated functions in the Old Crypto API are
replaced by calls of their substitutions.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of snmp-5.5: crypto-3.3, erts-6.0,
kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- ssh-4.9 ---------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16363 Application(s): ssh
Fix error in ssh_sftpd typespec.
--- Improvements and New Features ---
OTP-11688 Application(s): ssh
Related Id(s): OTP-12699
The plug-in file ssh_file.erl, that is responsible for
default file handling, is re-factored, optimized and
re-written.
OTP-15434 Application(s): ssh
*** HIGHLIGHT ***
OpenSSH 6.5 introduced a new file representation of
keys called openssh-key-v1.
OTP/SSH had an experimental implementation of this
format. That implementation is now improved and
supported with the exception of handling encrypted
keys.
OTP-15998 Application(s): ssh
Related Id(s): PR-2368, PR-2376
*** HIGHLIGHT ***
TCP/IP port forwarding, a.k.a tunneling a.k.a as
tcp-forward/direct-tcp is implemented. In the OpenSSH
client, this corresponds to the options -L and -R.
The client or server listens to a specified socket, and
when something connects to it with TCP/IP, that
connection is forwarded in an encrypted tunnel to the
peer. The peer then connects to a predefined IP/port
pair and then acts as a proxy.
See the manual, ssh:tcpip_tunnel_to_server/6 and
ssh:tcpip_tunnel_from_server/6.
The functionality is disabled per default but can be
enabled if wanted when starting a daemon.
OTP-16026 Application(s): ssh
Related Id(s): (OTP-15998), PR-2368
The client-side of the supervisor tree (under sshc_sup)
was previously not complete; the channel handling
processes were handled with links but had no
supervisors.
This is now corrected with a client-side supervisor
tree under sshc_sup, similar to the server-side
supervisor tree under sshd_sup.
OTP-16289 Application(s): ssh
Related Id(s): PR-2448
The extension [email protected] is added to the
ssh/sftp rename operation.
OTP-16346 Application(s): common_test, public_key, snmp, ssh,
ssl
Calls of deprecated functions in the Old Crypto API are
replaced by calls of their substitutions.
Full runtime dependencies of ssh-4.9: crypto-4.6.4, erts-9.0,
kernel-5.3, public_key-1.6.1, stdlib-3.4.1
---------------------------------------------------------------------
--- ssl-10.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14790 Application(s): ssl
*** POTENTIAL INCOMPATIBILITY ***
Drop support for SSL-3.0. Support for this legacy TLS
version has not been enabled by default since OTP 19.
Now all code to support it has been removed, that is
SSL-3.0 protocol version can not be used and is
considered invalid.
OTP-16127 Application(s): ssl
Related Id(s): OTP-15618
Utilize new properties of erlang:dist_ctrl_get_data()
for performance improvement of Erlang distribution over
TLS.
OTP-16346 Application(s): common_test, public_key, snmp, ssh,
ssl
Calls of deprecated functions in the Old Crypto API are
replaced by calls of their substitutions.
OTP-16400 Application(s): ssl
*** POTENTIAL INCOMPATIBILITY ***
This change adds TLS-1.3 to the list of default
supported versions. That is, TLS-1.3 and TLS-1.2 are
configured when ssl option 'versions' is not explicitly
set.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of ssl-10.0: crypto-4.2, erts-10.0,
inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5
---------------------------------------------------------------------
--- stdlib-3.12 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15299 Application(s): kernel, stdlib
Improved the printout of single line logger events for
most of the OTP behaviours in STDLIB and Kernel. This
includes proc_lib, gen_server, gen_event, gen_statem,
gen_fsm, supervisor, supervisor_bridge and application.
Improved the chars_limit and depth handling in proc_lib
and when formatting of exceptions.
OTP-15695 Application(s): kernel, mnesia, parsetools, sasl,
snmp, stdlib
Remove usage and documentation of old requests of the
I/O-protocol.
OTP-15744 Application(s): erts, stdlib
Related Id(s): OTP-15623, PR-2229
*** HIGHLIGHT ***
Improved ETS scalability of concurrent calls that
change the size of a table, like ets:insert/2 and
ets:delete/2.
This performance feature was implemented for
ordered_set in OTP 22.0 and does now apply for all ETS
table types.
The improved scalability may come at the cost of longer
latency of ets:info(T,size) and ets:info(T,memory). A
new table option decentralized_counters has therefore
been added. It is default true for ordered_set with
write_concurrency enabled and default false for all
other table types.
OTP-16005 Application(s): stdlib
Related Id(s): ERL-1003, ERL-1150
Handle Unicode filenames in the zip module.
OTP-16073 Application(s): stdlib
Related Id(s): PR-2339
Unicode support was updated to the Unicode 12.1
standard.
OTP-16120 Application(s): stdlib
Related Id(s): ERIERL-402, PR-2427
All of the modules proc_lib, gen_server, gen_statem,
and gen_event have been extended with a start_monitor()
function. For more information, see the documentation
of start_monitor() for these modules.
OTP-16128 Application(s): stdlib, tools
Related Id(s): OTP-15618
Updates for new erlang:term_to_iovec() BIF.
OTP-16171 Application(s): stdlib
Related Id(s): ERL-1057
Documented a quirk regarding extraction from file
descriptors in erl_tar.
OTP-16210 Application(s): stdlib
Related Id(s): PR-2411
Added ok as return value to gen_server:reply/2
OTP-16222 Application(s): stdlib
*** HIGHLIGHT ***
New functions have been added to c(3) for printing
embedded documentation for Erlang modules. The
functions are:
-- h/1,2,3 -- Print the documentation for a
Module:Function/Arity.
-- ht/1,2,3 -- Print the type documentation for a
Module:Type/Arity.
The embedded documentation is created when building the
Erlang/OTP documentation.
OTP-16276 Application(s): stdlib
Related Id(s): PR-2443
Add indent and linewidth to the options of the erl_pp
module's functions.
OTP-16368 Application(s): kernel, observer, runtime_tools,
stdlib, tools
Related Id(s): OTP-15251
Minor updates due to the new spawn improvements made.
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
OTP-16480 Application(s): stdlib
Extend erl_parse:abstract/1,2 to handle external fun
expressions (fun M:F/A).
OTP-16483 Application(s): stdlib
Related Id(s): PR-2542
Added filelib:safe_relative_path/2 to replace
filename:safe_relative_path/1, which did not safely
handle symbolic links.
filename:safe_relative_path/1 has been deprecated.
OTP-16500 Application(s): stdlib
The module shell_docs has been added. The module
contains functions for rendering, validating and
normalizing embedded documentation.
OTP-16501 Application(s): stdlib
Related Id(s): ERL-708, OTP-16222, OTP-16406,
OTP-16494, OTP-16499, OTP-16500, PR-2545
*** HIGHLIGHT ***
Module and function auto-completion in the shell now
looks at all available modules instead of only those
loaded. A module is considered available if it either
is loaded already or would be loaded if called.
The auto-completion has also been expanded to work in
the new h/1,2,3 function in c(3).
Full runtime dependencies of stdlib-3.12: compiler-5.0, crypto-3.3,
erts-11.0, kernel-7.0, sasl-3.0
---------------------------------------------------------------------
--- syntax_tools-2.3 ------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15925 Application(s): syntax_tools
Related Id(s): PR-2304
Remove incomplete support for cond expressions.
OTP-16386 Application(s): syntax_tools
Related Id(s): PR-2451
Improved indentation for code generated with
erl_prettypr and tidier.
Full runtime dependencies of syntax_tools-2.3: compiler-7.0,
erts-9.0, kernel-5.0, stdlib-3.4
---------------------------------------------------------------------
--- tools-3.4 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16128 Application(s): stdlib, tools
Related Id(s): OTP-15618
Updates for new erlang:term_to_iovec() BIF.
OTP-16327 Application(s): erts, runtime_tools, tools
Improved the presentation of allocations and carriers
in the instrument module.
OTP-16368 Application(s): kernel, observer, runtime_tools,
stdlib, tools
Related Id(s): OTP-15251
Minor updates due to the new spawn improvements made.
Full runtime dependencies of tools-3.4: compiler-5.0, erts-11.0,
erts-9.1, kernel-5.4, runtime_tools-1.8.14, stdlib-3.4
---------------------------------------------------------------------
--- wx-1.9.1 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16469 Application(s): asn1, compiler, crypto, edoc, inets,
kernel, megaco, os_mon, otp, snmp, ssl, stdlib, wx
Refactored the internal handling of deprecated and
removed functions.
Full runtime dependencies of wx-1.9.1: erts-6.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|