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
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
|
Inital Release: OTP 23.0
Git Tag: OTP-23.0
Date: 2020-03-25
Trouble Report Id: OTP-10278, OTP-11688, OTP-13450, OTP-13812,
OTP-14708, OTP-14734, OTP-14790, OTP-15077,
OTP-15232, OTP-15251, OTP-15299, OTP-15434,
OTP-15517, OTP-15589, 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-16250, OTP-16251, OTP-16252,
OTP-16260, 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-16391, OTP-16394,
OTP-16395, OTP-16398, OTP-16400, OTP-16402,
OTP-16406, OTP-16419, OTP-16429, OTP-16431,
OTP-16432, OTP-16453, OTP-16454, OTP-16455,
OTP-16463, 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, OTP-16504, OTP-16505, OTP-16506,
OTP-16509, OTP-16510, OTP-16511, OTP-16512,
OTP-16513, OTP-16516, OTP-16519, OTP-16523,
OTP-16530, OTP-16531, OTP-16540, OTP-16541,
OTP-16543, OTP-16544, OTP-16545, OTP-16549,
OTP-16551, OTP-16554, OTP-16561, OTP-16562,
OTP-16563, OTP-16567
Seq num: ERIERL-402, ERIERL-481, ERL-1002, ERL-1003,
ERL-1051, ERL-1053, ERL-1057, ERL-1058,
ERL-1115, ERL-1134, ERL-1150, ERL-1154,
ERL-1168, ERL-1178, ERL-1186, ERL-1189,
ERL-303, ERL-496, ERL-560, ERL-592, ERL-700,
ERL-708, ERL-927, ERL-991
System: OTP
Release: 23
Application: asn1-5.0.11, 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-4.0,
erts-11.0, eunit-2.5, hipe-4.0, inets-7.2,
jinterface-1.11, kernel-7.0, megaco-3.19,
mnesia-4.17, observer-2.9.4, odbc-2.13,
os_mon-2.5.2, parsetools-2.2,
public_key-1.7.3, runtime_tools-1.15,
sasl-3.5, snmp-5.6, ssh-4.10, ssl-10.0,
stdlib-3.13, 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-15589 Application(s): ssl
Improve interoperability by implementing the middlebox
compatiblity mode.
The middlebox compatibility mode makes the TLS 1.3
handshake look more like a TLS 1.2 handshake and
increases the chance of successfully establishing TLS
1.3 connections through legacy middleboxes.
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
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 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-16250 Application(s): erts, kernel
The possibility to run Erlang distribution without
relying on EPMD has been extended. To achieve this a
couple of new options to the inet distribution has been
added.
-- -dist_listen false -- Setup the distribution
channel, but do not listen for incoming connection.
This is useful when you want to use the current node to
interact with another node on the same machine without
it joining the entire cluster.
-- -erl_epmd_port Port -- Configure a default port that
the built-in EPMD client should return. This allows the
local node to know the port to connect to for any other
node in the cluster.
The erl_epmd callback API has also been extended to
allow returning -1 as the creation which means that a
random creation will be created by the node.
In addition a new callback function called
listen_port_please has been added that allows the
callback to return which listen port the distribution
should use. This can be used instead of
inet_dist_listen_min/max if the listen port is to be
fetched from an external service.
OTP-16260 Application(s): kernel
Related Id(s): OTP-15403
A first EXPERIMENTAL module that is a socket backend to
gen_tcp and inet has been implemented. Others will
follow. Feedback will be appreciated.
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).
OTP-16506 Application(s): ssh
The default known_hosts file handling is improved to
include ports.
The handling of the contents in that file is updated to
support the full syntax, with exception of 1) the
wildcard '?', 2) wildcards in canonical names and 3)
the option '@cert-authority'
OTP-16513 Application(s): ssh
The ssh agent is now implemented in the ssh_agent key
callback module.
Enable with the the option {key_cb, {ssh_agent, []}} in
for example ssh:connect/3.
See the ssh_agent manual for details.
OTP-16540 Application(s): ssh
Algorithm configuration could now be done in a .config
file.
This is useful for example to enable an algorithm that
is disabled by default. It could now be enabled in an
.config-file without changing the code,
See the SSH User's Guide chapter "Configuration in
SSH".
---------------------------------------------------------------------
--- 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-16328 Application(s): erl_interface
As announced in OTP 22.0, the deprecated parts of
erl_interface have now been removed (essentially all C
functions with prefix erl_).
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-16509 Application(s): ssh
The key-exchange algorithms
'diffie-hellman-group14-sha1' and
'diffie-hellman-group-exchange-sha1' are disabled per
default. The reason is that SHA1 now is considered
insecure.
They can be enabled if needed, see SSH (App).
OTP-16510 Application(s): ssh
The public key algorithm 'ssh-dss' is disabled per
default. The reason is that it is now considered as
insecure.
It can be enabled if needed, see SSH (App).
OTP-16511 Application(s): ssh
The public key 'ssh-rsa' is now considered as insecure
because of its usage of SHA1.
It is therefore deprecated and will be removed in
OTP-24.0.
---------------------------------------------------------------------
--- 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.
OTP-16551 Application(s): otp
Starting from OTP 23, the pages in the documentation
for which functions that are deprecated and scheduled
for removal are now up to date.
---------------------------------------------------------------------
--- asn1-5.0.11 -----------------------------------------------------
---------------------------------------------------------------------
--- 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.
OTP-16554 Application(s): asn1
Related Id(s): ERL-1189
Improve handling of ellipsis in a CHOICE
Full runtime dependencies of asn1-5.0.11: 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-.
OTP-16516 Application(s): compiler, stdlib
Initialization of record fields using _ is no longer
allowed if the number of affected fields is zero.
--- 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-16429 Application(s): compiler, stdlib
Related Id(s): ERL-303
The compiler will now raise a warning when inlining is
used in modules that load NIFs.
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-16505 Application(s): compiler
Related Id(s): ERL-1178
Line information was sometimes incorrect for
floating-point math exceptions.
OTP-16523 Application(s): compiler
Related Id(s): ERL-1058
The debug_info option can now be specified in
-compile() attributes.
OTP-16543 Application(s): compiler, erts
Related Id(s): ERL-1186
Reduced the resource usage of erlc in parallel builds
(e.g. make -j128).
Full runtime dependencies of compiler-7.6: crypto-3.6, erts-11.0,
hipe-3.12, kernel-7.0, stdlib-3.13
---------------------------------------------------------------------
--- 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-4.0 -----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-13812 Application(s): erl_interface, kernel
A client node can receive its node name dynamically
from the node that it first connects to. This featured
can by used by
-- starting with erl -dist_listen false -sname
undefined
-- erl_interface functions ei_connect_init and friends
-- erl_call -R
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
*** POTENTIAL INCOMPATIBILITY ***
As announced in OTP 22.0, the deprecated parts of
erl_interface have now been removed (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-16431 Application(s): erts, stdlib
Related Id(s): ERL-592
Compiling a match specification with excessive nesting
caused the runtime system to crash due to scheduler
stack exhaustion. Instead of crashing the runtime
system, effected functions will now raise a
system_limit error exception in this situation.
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-16250 Application(s): erts, kernel
*** HIGHLIGHT ***
The possibility to run Erlang distribution without
relying on EPMD has been extended. To achieve this a
couple of new options to the inet distribution has been
added.
-- -dist_listen false -- Setup the distribution
channel, but do not listen for incoming connection.
This is useful when you want to use the current node to
interact with another node on the same machine without
it joining the entire cluster.
-- -erl_epmd_port Port -- Configure a default port that
the built-in EPMD client should return. This allows the
local node to know the port to connect to for any other
node in the cluster.
The erl_epmd callback API has also been extended to
allow returning -1 as the creation which means that a
random creation will be created by the node.
In addition a new callback function called
listen_port_please has been added that allows the
callback to return which listen port the distribution
should use. This can be used instead of
inet_dist_listen_min/max if the listen port is to be
fetched from an external service.
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 erlang:decode_packet/3. Example:
> erlang:decode_packet(httph_bin,<<"HELLO:
hi\r\n\r\n">>,[]).
{ok,{http_header,0,<<"Hello">>,<<"HELLO">>,<<"hi">>},<<"\r\n">>}
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.
OTP-16530 Application(s): erts, kernel
Related Id(s): OTP-16464
Improve configure for the net nif, which should
increase portability.
OTP-16543 Application(s): compiler, erts
Related Id(s): ERL-1186
Reduced the resource usage of erlc in parallel builds
(e.g. make -j128).
Full runtime dependencies of erts-11.0: kernel-7.0, sasl-3.3,
stdlib-3.13
---------------------------------------------------------------------
--- 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
OTP-16549 Application(s): eunit
Related Id(s): PR-2532
Add option to limit print depth of exceptions generated
by eunit test suites.
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.
OTP-16504 Application(s): kernel
Related Id(s): PR-2328
The application stop/1 callback was not called if the
application master of the application terminated.
--- 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-13812 Application(s): erl_interface, kernel
A client node can receive its node name dynamically
from the node that it first connects to. This featured
can by used by
-- starting with erl -dist_listen false -sname
undefined
-- erl_interface functions ei_connect_init and friends
-- erl_call -R
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-16250 Application(s): erts, kernel
*** HIGHLIGHT ***
The possibility to run Erlang distribution without
relying on EPMD has been extended. To achieve this a
couple of new options to the inet distribution has been
added.
-- -dist_listen false -- Setup the distribution
channel, but do not listen for incoming connection.
This is useful when you want to use the current node to
interact with another node on the same machine without
it joining the entire cluster.
-- -erl_epmd_port Port -- Configure a default port that
the built-in EPMD client should return. This allows the
local node to know the port to connect to for any other
node in the cluster.
The erl_epmd callback API has also been extended to
allow returning -1 as the creation which means that a
random creation will be created by the node.
In addition a new callback function called
listen_port_please has been added that allows the
callback to return which listen port the distribution
should use. This can be used instead of
inet_dist_listen_min/max if the listen port is to be
fetched from an external service.
OTP-16260 Application(s): kernel
Related Id(s): OTP-15403
*** HIGHLIGHT ***
A first EXPERIMENTAL module that is a socket backend to
gen_tcp and inet has been implemented. Others will
follow. Feedback will be appreciated.
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.
OTP-16530 Application(s): erts, kernel
Related Id(s): OTP-16464
Improve configure for the net nif, which should
increase portability.
OTP-16563 Application(s): kernel
Related Id(s): PR-2523
Allow using custom IO devices in logger_std_h.
Full runtime dependencies of kernel-7.0: erts-11.0, sasl-3.0,
stdlib-3.13
---------------------------------------------------------------------
--- megaco-3.19 -----------------------------------------------------
---------------------------------------------------------------------
--- 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.
OTP-16531 Application(s): megaco
The preliminary version 3 codec(s) prev3a, prev3b and
prev3c has been deprecated and will be *removed* in OTP
24. The encoding config option 'version3' will continue
to work until OTP 24.
Full runtime dependencies of megaco-3.19: 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.13, wx-1.2
---------------------------------------------------------------------
--- odbc-2.13 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-16544 Application(s): odbc
Related Id(s): OTP-16328
Rewrite due to the removal of erl_interface legacy
functions.
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.3 ------------------------------------------------
---------------------------------------------------------------------
--- 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.3: 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.13
---------------------------------------------------------------------
--- 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.
OTP-16561 Application(s): sasl
Related Id(s): PR-2420
systools:make_script/2 now accepts the name of the boot
file to create, it is not restricted to only
RelName.boot or start.boot.
systools:make_tar/2 now accepts the option extra_files
to add any extra non release related files to the tar
file.
Full runtime dependencies of sasl-3.5: erts-10.2, kernel-5.3,
stdlib-3.4, tools-2.6.14
---------------------------------------------------------------------
--- snmp-5.6 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16541 Application(s): snmp
Related Id(s): #2544
For manager, fix PrivParams for SNMPv3 USM with AES
privacy; * In `snmp_usm:do_decrypt/3`, pass full
UsmSecParams to `snmp_usm:try_decrypt/5` as expected by
AES clause. * Change `snmpm_usm:aes_encrypt/3` to use
EngineBoots and EngineTime as cached by
`snmpm_config:get_usm_eboots/1` and
`snmpm_config:get_usm_etime/1` instead of
`snmpm_config:get_engine_boots/0` and
`snmpm_config:get_engine_time/0`. This ensures correct
msgPrivacyParameters are sent when AES is used. * Add
test `snmp.snmp_manager_SUITE.usm_priv_aes/1` to avoid
regression.
--- 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-16463 Application(s): snmp
Finalize deprecation. Already deprecated functions has
a "remove version 24" set and "new" functions added to
list of deprecated functions.
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.6: crypto-3.3, erts-6.0,
kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- ssh-4.10 --------------------------------------------------------
---------------------------------------------------------------------
--- 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
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 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.
OTP-16506 Application(s): ssh
*** HIGHLIGHT ***
The default known_hosts file handling is improved to
include ports.
The handling of the contents in that file is updated to
support the full syntax, with exception of 1) the
wildcard '?', 2) wildcards in canonical names and 3)
the option '@cert-authority'
OTP-16509 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
The key-exchange algorithms
'diffie-hellman-group14-sha1' and
'diffie-hellman-group-exchange-sha1' are disabled per
default. The reason is that SHA1 now is considered
insecure.
They can be enabled if needed, see SSH (App).
OTP-16510 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
The public key algorithm 'ssh-dss' is disabled per
default. The reason is that it is now considered as
insecure.
It can be enabled if needed, see SSH (App).
OTP-16511 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
The public key 'ssh-rsa' is now considered as insecure
because of its usage of SHA1.
It is therefore deprecated and will be removed in
OTP-24.0.
OTP-16512 Application(s): ssh
An option optimize (optimize_key_lookup) is introduced
for the file interface ssh_file.erl
The option enables the user to select between the
default handling which is fast but memory consuming vs
memory efficient but not as fast. The effect might be
observable only for large files.
See the manual for ssh_file:is_host_key/5 and
ssh_file:is_auth_key/3.
OTP-16513 Application(s): ssh
*** HIGHLIGHT ***
The ssh agent is now implemented in the ssh_agent key
callback module.
Enable with the the option {key_cb, {ssh_agent, []}} in
for example ssh:connect/3.
See the ssh_agent manual for details.
OTP-16540 Application(s): ssh
*** HIGHLIGHT ***
Algorithm configuration could now be done in a .config
file.
This is useful for example to enable an algorithm that
is disabled by default. It could now be enabled in an
.config-file without changing the code,
See the SSH User's Guide chapter "Configuration in
SSH".
Full runtime dependencies of ssh-4.10: crypto-4.6.4, erts-9.0,
kernel-5.3, public_key-1.6.1, stdlib-3.4.1
---------------------------------------------------------------------
--- ssl-10.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16562 Application(s): ssl
Related Id(s): ERL-1168
Fix a bug that causes cross-build failure.
This change excludes the ssh.d dependency file from the
source tar balls.
OTP-16567 Application(s): ssl
Related Id(s): ERIERL-481
Correct error handling when the partial_chain fun
claims a certificate to be the trusted cert that is not
part of the chain. This bug would hide the appropriate
alert generating an "INTERNAL_ERROR" alert instead.
--- 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-15589 Application(s): ssl
*** HIGHLIGHT ***
Improve interoperability by implementing the middlebox
compatiblity mode.
The middlebox compatibility mode makes the TLS 1.3
handshake look more like a TLS 1.2 handshake and
increases the chance of successfully establishing TLS
1.3 connections through legacy middleboxes.
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-16391 Application(s): ssl
Implement cipher suite TLS_AES_128_CCM_8_SHA256.
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.
OTP-16519 Application(s): ssl
Extended ssl:versions to include information about
TLS/DTLS versions that have sufficient crypto lib
support. Renamed information tag supported to
default_supported, to clarify.
Full runtime dependencies of ssl-10.0: crypto-4.2, erts-10.0,
inets-5.10.7, kernel-6.0, public_key-1.7.2, stdlib-3.5
---------------------------------------------------------------------
--- stdlib-3.13 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-16431 Application(s): erts, stdlib
Related Id(s): ERL-592
Compiling a match specification with excessive nesting
caused the runtime system to crash due to scheduler
stack exhaustion. Instead of crashing the runtime
system, effected functions will now raise a
system_limit error exception in this situation.
OTP-16516 Application(s): compiler, stdlib
Initialization of record fields using _ is no longer
allowed if the number of affected fields is zero.
OTP-16545 Application(s): stdlib
Fix bugs in eval_bits.
--- 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-16429 Application(s): compiler, stdlib
Related Id(s): ERL-303
The compiler will now raise a warning when inlining is
used in modules that load NIFs.
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.13: 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
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|