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
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
|
Inital Release: OTP 26.0
Git Tag: OTP-26.0
Date: 2023-03-22
Trouble Report Id: OTP-14835, OTP-15597, OTP-15903, OTP-16607,
OTP-17771, OTP-17932, OTP-18016, OTP-18029,
OTP-18053, OTP-18126, OTP-18131, OTP-18135,
OTP-18137, OTP-18140, OTP-18141, OTP-18150,
OTP-18159, OTP-18167, OTP-18168, OTP-18176,
OTP-18185, OTP-18188, OTP-18204, OTP-18206,
OTP-18209, OTP-18210, OTP-18211, OTP-18221,
OTP-18225, OTP-18226, OTP-18227, OTP-18228,
OTP-18230, OTP-18231, OTP-18235, OTP-18236,
OTP-18237, OTP-18238, OTP-18246, OTP-18247,
OTP-18248, OTP-18253, OTP-18254, OTP-18259,
OTP-18261, OTP-18271, OTP-18272, OTP-18274,
OTP-18275, OTP-18276, OTP-18277, OTP-18278,
OTP-18279, OTP-18282, OTP-18285, OTP-18286,
OTP-18287, OTP-18297, OTP-18300, OTP-18301,
OTP-18303, OTP-18305, OTP-18309, OTP-18310,
OTP-18312, OTP-18318, OTP-18327, OTP-18334,
OTP-18335, OTP-18337, OTP-18338, OTP-18340,
OTP-18342, OTP-18344, OTP-18350, OTP-18354,
OTP-18355, OTP-18359, OTP-18360, OTP-18361,
OTP-18364, OTP-18367, OTP-18369, OTP-18377,
OTP-18385, OTP-18389, OTP-18405, OTP-18410,
OTP-18413, OTP-18414, OTP-18419, OTP-18423,
OTP-18424, OTP-18425, OTP-18430, OTP-18431,
OTP-18435, OTP-18438, OTP-18439, OTP-18440,
OTP-18441, OTP-18442, OTP-18444, OTP-18445,
OTP-18447, OTP-18448, OTP-18451, OTP-18452,
OTP-18453, OTP-18455, OTP-18456, OTP-18459,
OTP-18466, OTP-18471, OTP-18474, OTP-18476,
OTP-18477, OTP-18483, OTP-18484, OTP-18485,
OTP-18486, OTP-18487, OTP-18488, OTP-18490,
OTP-18491, OTP-18492, OTP-18493, OTP-18494,
OTP-18495, OTP-18498, OTP-18499, OTP-18500,
OTP-18501, OTP-18502, OTP-18505, OTP-18510,
OTP-18511, OTP-18515, OTP-18517, OTP-18518,
OTP-18520, OTP-18521, OTP-18522, OTP-18523,
OTP-18524
Seq num: GH-3150, GH-3390, GH-4225, GH-4343, GH-4965,
GH-5325, GH-5333, GH-5639, GH-5695, GH-5877,
GH-5889, GH-5899, GH-6014, GH-6085, GH-6098,
GH-6117, GH-6132, GH-6139, GH-6156, GH-6221,
GH-6333, GH-6339, GH-6348, GH-6380, GH-6455,
GH-6461, GH-6477, GH-6508, GH-6544, GH-6606,
GH-6672, GH-6679, GH-6706, GH-6850, GH-6942,
GH-6990, GH-7015
System: OTP
Release: 26
Application: asn1-5.1, common_test-1.25, compiler-8.3,
crypto-5.2, dialyzer-5.1, diameter-2.3,
erl_docgen-1.5, erl_interface-5.4, erts-14.0,
ftp-1.1.5, inets-8.4, jinterface-1.14,
kernel-9.0, mnesia-4.22, observer-2.15,
os_mon-2.9, parsetools-2.5, public_key-1.14,
reltool-1.0, runtime_tools-1.20, sasl-4.2.1,
snmp-5.14, ssh-5.0, ssl-11.0, stdlib-5.0,
syntax_tools-3.1, tftp-1.1, tools-3.6, wx-2.3
Predecessor: OTP
Check out the git tag OTP-26.0, and build a full OTP system including
documentation.
---------------------------------------------------------------------
--- HIGHLIGHTS ------------------------------------------------------
---------------------------------------------------------------------
OTP-14835 Application(s): kernel, stdlib
Related Id(s): PR-5924
The Erlang shell has been improved to support the
following features:
-- Auto-complete variables, record names, record field
names, map keys, function parameter types and
filenames.
-- Open external editor in the shell (with C-o) to edit
the current expression in an editor.
-- Support defining records (with types), functions and
function typespecs, and custom types in the shell.
-- Do not save pager commands, and input to io:getline
in history.
OTP-17932 Application(s): erts, kernel, stdlib
Related Id(s): GH-3150, GH-3390, GH-4225, GH-4343,
PR-6144
The TTY/terminal subsystem has been rewritten from by
moving more code to Erlang from the old linked-in
driver and implementing all the I/O primitives needed
in a NIF instead.
On Unix platforms the user should not notice a lot of
difference, besides better handling of unicode
characters and fixing of some long standing bugs.
Windows users will notice that erl.exe has the same
functionality as a normal Unix shell and that werl.exe
has been removed and replaced with a symlink to
erl.exe. This makes the Windows Erlang terminal
experience identical to that of Unix.
The re-write brings with it a number of bug fixes and
feature additions:
-- The TTY is now reset when Erlang exits, fixing zsh
to not break when terminating an Erlang session.
-- standard_error now uses the same unicode mode as
standard_io.
-- Hitting backspace when searching the shell history
with an empty search string no longer breaks the shell.
-- Tab expansion now works on remote nodes started
using the JCL interface.
-- It is now possible to configure the shell slogan and
the session slogans (that is the texts that appear when
you start an Erlang shell). See the kernel
documentation for more details.
-- Added shell:start_interactive for starting the
interactive shell from a non-interactive Erlang session
(for example an escript).
-- On Windows, when starting in detached mode the
standard handler are now set to nul devices instead of
being unset.
OTP-18135 Application(s): erts
Related Id(s): GH-4965, PR-6046
*** POTENTIAL INCOMPATIBILITY ***
As announced when OTP 25 was released, multi time warp
mode is now enabled by default. This assumes that all
code executing on the system is time warp safe.
If you have old code in the system that is not time
warp safe, you now explicitly need to start the system
in no time warp mode (or singe time warp mode if it is
partially time warp safe) in order to avoid problems.
When starting the system in no time warp mode, the
system behaves as it did prior to the introduction of
the extended time functionality introduced in OTP 18.
If you have code that is not time warp safe, you are
strongly encouraged to change this so that you can use
multi time warp mode. Compared to no time warp mode,
multi time warp mode improves scalability and
performance as well as accuracy and precision of time
measurements.
OTP-18137 Application(s): compiler, erts
Related Id(s): PR-6259, PR-6404, PR-6576, PR-6804
There are several new optimization for binary syntax in
the JIT:
-- Creation and matching of binaries with segments of
fixed sizes have been optimized.
-- Creation and matching of UTF-8 segments have been
optimized.
-- Appending to binaries has been optimized.
OTP-18185 Application(s): compiler, erts
Related Id(s): GH-6139
The compiler and JIT now generate better code for
creation of small maps where all keys are literals
known at compile time.
OTP-18188 Application(s): dialyzer
Related Id(s): PR-5997
Dialyzer has a new incremental mode that be invoked by
giving the --incremental option when running Dialyzer.
This new incremental mode is likely to become the
default in a future release.
Incremental mode primarily differs from the previous,
"classic", ways of running Dialyzer, in that its model
is optimised around the common use case of regularly
analysing a single codebase, tweaking the code,
analysing it again, and so on, without explicit
reference to the building and checking of a PLT.
In this mode the PLT file acts much more like a true
cache, where users provide a codebase and a set of
files they care about, and Dialyzer does the legwork in
terms of deciding how to most efficiently report all of
the relevant warnings given the cached results it may
already have in the PLT (and if a PLT doesn't exist,
incremental mode will create one).
OTP-18228 Application(s): stdlib
Related Id(s): GH-5639
The performance of the base64 module has been
significantly improved. For example, on an x86_64
system with the JIT both encode and decode are almost
three times faster than in Erlang/OTP 25.
OTP-18235 Application(s): kernel, ssl
Related Id(s): PR-5840, PR-6104
Support for Kernel TLS (kTLS), has been added to the
SSL application, for TLS distribution (-proto_dist
inet_tls), the SSL option {ktls, true}. Using this for
general SSL sockets is uncomfortable, undocumented and
not recommended since it requires very platform
dependent raw options.
This, for now, only works for some not too old Linux
distributions. Roughly, a kernel 5.2.0 or later with
support for UserLand Protocols and the kernel module
tls is required.
OTP-18278 Application(s): kernel, stdlib
Related Id(s): PR-6260
The Erlang shell's auto-completion when typing tab has
been changed to happen after the editing current line
instead of before it.
This behaviour can be configured using a the
shell_expand_location STDLIB configuration parameter.
OTP-18297 Application(s): compiler, stdlib
Related Id(s): GH-6348
A limitation in the binary syntax has been removed. It
is now possible to match binary patterns in parallel.
Example: <<A:8>> = <<B:4,C:4>> = Bin
OTP-18318 Application(s): stdlib
Related Id(s): PR-6347
In the lists, the zip family of functions now takes
options to allow handling lists of different lengths.
OTP-18334 Application(s): erts
Related Id(s): PR-6434
Support for UTF-8 atoms and strings in the NIF
interface including new functions enif_make_new_atom,
enif_make_new_atom_len and enif_get_string_length.
OTP-18367 Application(s): compiler, erts, stdlib
Related Id(s): GH-6544
The BIFs min/2 and max/2 are now allowed to be used in
guards and match specs.
OTP-18413 Application(s): compiler, erts, stdlib, syntax_tools,
tools
Related Id(s): EEP-58, PR-6727
Map comprehensions as suggested in EEP 58 has now been
implemented.
OTP-18414 Application(s): erts, stdlib
Related Id(s): PR-6151
Some map operations have been optimized by changing the
internal sort order of atom keys. This changes the
(undocumented) order of how atom keys in small maps are
printed and returned by maps:to_list/1 and maps:next/1.
The new order is unpredictable and may change between
different invocations of the Erlang VM.
For applications where order is important, there is a
new function maps:iterator/2 for creating iterators
that return the map elements in a deterministic order.
There are also new modifiers k and K for the format
string for io:format() to support printing map elements
ordered.
OTP-18431 Application(s): compiler, stdlib
Related Id(s): PR-6739
Improved the selective receive optimization, which can
now be enabled for references returned from other
functions.
This greatly improves the performance of
gen_server:send_request/3, gen_server:wait_response/2,
and similar functions.
OTP-18435 Application(s): erts
Related Id(s): PR-6827
The amount of significant bits in node local process
identifiers and port identifiers has been extended from
28 bits to 60 bits on 64-bit runtime systems. This
makes these identifiers large enough to in practice
never having to be reused during the life time of a
node.
OTP-18440 Application(s): erts
Related Id(s): PR-6351
New trace feature call_memory. Similar to call_time
tracing, but instead of measure accumulated time in
traced functions it measures accumulated heap space
consumed by traced functions. It can be used to compare
how much different functions are contributing to
garbage collection being triggered.
OTP-18445 Application(s): erts, stdlib
It is no longer necessary to enable a feature in the
runtime system in order to load modules that are using
it. It is sufficient to enable the feature in the
compiler when compiling it.
That means that to use feature maybe_expr in Erlang/OTP
26, it is sufficient to enable it during compilation.
In Erlang/OTP 27, feature maybe_expr will be enabled by
default, but it will be possible to disable it.
OTP-18459 Application(s): ssl
Add encoding and decoding of use_srtp hello extension
to facilitate for DTLS users to implement SRTP
functionality.
OTP-18491 Application(s): parsetools
Related Id(s): PR-6882
Leex has been extended with optional column number
support.
OTP-18495 Application(s): stdlib
Related Id(s): PR-6943
The family of enumeration functions in module lists has
been extended with enumerate/3 that allows a step value
to be supplied.
OTP-18498 Application(s): erts
Reintroduced the optimization that turned anonymous
functions without free variables into literals
(OTP-15195). This optimization was lost during
refactoring in OTP 24.
Alongside this fix, we plan to remove the "fun creator
pid" feature in OTP 27. See Upcoming Potential
Incompatibilities for more details.
OTP-18500 Application(s): stdlib
Update Unicode to version 15.0.0.
OTP-18522 Application(s): dialyzer, erts, stdlib
Added the new built-in type dynamic() introduced in
EEP-61, improving support for gradual type checkers.
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-17771 Application(s): erts
Related Id(s): GH-5325, PR-6370
The enif_set_option() function has been introduced into
the NIF API. It can be used in order to set the
ERL_NIF_OPT_DELAY_HALT and/or ERL_NIF_OPT_ON_HALT
options with which one can synchronize halt of the
runtime system with flushing enabled and execution of
NIFs. Halt of the runtime system without flushing
enabled, now terminates the runtime system without
execution of atexit/on_exit handlers that may have been
installed into the runtime system which might be
considered a potential incompatibility.
OTP-18135 Application(s): erts
Related Id(s): GH-4965, PR-6046
*** HIGHLIGHT ***
As announced when OTP 25 was released, multi time warp
mode is now enabled by default. This assumes that all
code executing on the system is time warp safe.
If you have old code in the system that is not time
warp safe, you now explicitly need to start the system
in no time warp mode (or singe time warp mode if it is
partially time warp safe) in order to avoid problems.
When starting the system in no time warp mode, the
system behaves as it did prior to the introduction of
the extended time functionality introduced in OTP 18.
If you have code that is not time warp safe, you are
strongly encouraged to change this so that you can use
multi time warp mode. Compared to no time warp mode,
multi time warp mode improves scalability and
performance as well as accuracy and precision of time
measurements.
OTP-18140 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-6072
As announced since the release of OTP 24, support for:
-- version 4 node container types in the external term
format are now mandatory. That is, references
supporting up to 5 32-bit integer identifiers, and
process and port identifiers with support for 64-bit
data storage. The distribution flag DFLAG_V4_NC is
therefor now also mandatory. OTP has since OTP 24
supported this. Also note that the external format
produced by term_to_binary() and term_to_iovec() will
unconditionally produce pids, ports, and references
supporting this larger format.
-- the new link protocol introduced in OTP 23.3 is now
mandatory. The distribution flag DFLAG_UNLINK_ID is
therefor now also mandatory.
Due to the above, OTP 26 nodes will refuse to connect
to OTP nodes from releases prior to OTP 24.
OTP-18168 Application(s): ssl
Related Id(s): GH-6014, PR-6019
With this change, stateless tickets generated by server
with anti_replay option enabled can be used for
creating ClientHello throughout ticket lifetime.
Without this change, usability was limited to
WindowSize number of seconds configured for anti_replay
option.
OTP-18210 Application(s): kernel
Related Id(s): GH-5877, PR-5878
Fix bug where duplicate keys were allowed in the .app
file of an application. Duplicate keys are now rejected
and the application will not start if they exist.
OTP-18285 Application(s): kernel, ssh, stdlib
Related Id(s): PR-6262
Typing Ctrl+L in a shell now clears the screen and
redraws the current line instead of only redrawing the
current line. To only redraw the current line, you must
now type Alt+L. This brings the behaviour of Ctrl+L
closer to how bash and other shells work.
OTP-18344 Application(s): erts, kernel
Related Id(s): GH-6461, OTP-18324, PR-6481, PR-6522,
PR-6944
The following inet:setopts/2 options have been
introduced:
-- reuseport -- Reuse of local port. Load balancing may
or may not be provided depending on underlying OS.
-- reuseport_lb -- Reuse of local port. Load balancing
provided.
-- exclusiveaddruse -- Exclusive address/port usage on
Windows. This socket option is Windows specific and
will silently be ignored on other systems.
The behavior of setting reuseaddr on Windows have
changed in a *backwards incompatible* way. The
underlying SO_REUSEADDR socket option is now only set
if both the reusaddr and the reuseport inet options
have been set. This since the underlying SO_REUSEADDR
socket option on Windows behaves similar to how BSD
behaves if both the underlying socket options
SO_REUSEADDR and SO_REUSEPORT have been set. See the
documentation of the reuseaddr option for more
information.
OTP-18389 Application(s): dialyzer
Related Id(s): GH-6508, PR-6864
Dialyzer was accepting typespecs containing singleton
type variables that appeared in an union type.
Before this change, singleton type variables in an
union type were accepted (see example below). However,
type variable Foo appears only once in each branch of
the union type, so it is a singleton type variable (in
each branch of the union type) that is not bound.
-spec run_test(Opts) -> term() when Opts ::
{join_specs, Foo} | {test, Foo}.
Unbound type variables should be rejected by Dialyzer,
which now detects this error and rejects it in the same
manner as its non-union equivalent:
-spec run_test_error(Opts) -> term() when Opts ::
{join_specs, Foo}.
OTP-18438 Application(s): ssl
Related Id(s): GH-6679
For security reasons remove support for SHA1 and DSA
algorithms from default values.
OTP-18439 Application(s): dialyzer
Related Id(s): GH-5695, GH-6942, PR-6822
Dialyzer has enabled (by default) warnings about
unknown types and functions.
Prior to this change, Dialyzer had warnings about
unknown types and functions disabled (by default).
This default value has been overwritten; Dialyzer now
warns about unknown types and functions (as requested
by the community in GH-5695). Thus, the following two
examples are equivalent, i.e., passing the -Wunknown
function is enabled by default:
dialyzer moduler.erl -Wunknown -Wmissing_return
dialyzer moduler.erl -Wmissing_return
Dialyzer has a new flag, -Wno_unknown. Its purpose is
to suppress warnings about unknown functions and types.
Users who wish to suppress these warnings can invoke
Dialyzer using this flag. Example: dialyzer module.erl
-Wno_unknown
OTP-18455 Application(s): ssl
Related Id(s): GH-5899
Change the client default verify option to verify_peer.
Note that this makes it mandatory to also supply
trusted CA certificates or explicitly set verify to
verify_none. This also applies when using the so called
anonymous test cipher suites defined in TLS versions
pre TLS-1.3.
OTP-18471 Application(s): kernel, stdlib
Related Id(s): GH-6339, PR-6843
proc_lib:start*/* has become synchronous when the
started process fails. This requires that a failing
process use a new function proc_lib:init_fail/2,3, or
exits, to indicate failure. All OTP behaviours have
been fixed to do this.
All these start functions now consume the 'EXIT'
message from a process link for all error returns.
Previously it was only the start_link/* functions that
did this, and only when the started function exited,
not when it used init_ack/1,2 or init_fail/2,3 to
create the return value.
OTP-18488 Application(s): reltool
Related Id(s): PR-6836
Support for the experimental code archives feature has
been removed from reltool.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
OTP-18505 Application(s): erts
Related Id(s): PR-6991
The default encoding of atoms by term_to_binary and
term_to_iovec have changed from Latin1 to UTF-8. The
old encoding can still be obtained with options
{minor_version, 1}.
Apart from encoding code points between 128 and 255
with two bytes (UTF-8) instead of one, most atoms will
occupy one less byte as the length field use only one
byte instead of two if possible.
---------------------------------------------------------------------
--- OTP-26.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18364 Application(s): otp
Starting from Erlang/OTP 24, it has been possible to
write expressions such as A = catch Expr without
parentheses around the catch expression, but it was not
mentioned in the documentation. It now is.
--- Improvements and New Features ---
OTP-18053 Application(s): erts, otp
Related Id(s): PR-6101
Updated configure cache for Windows. This makes
configure run faster on windows as many more checks are
cached.
OTP-18209 Application(s): otp
Related Id(s): PR-5881
Fix the make target release, release_docs, install and
install-docs now work when the target path contains
whitespace and/or unicode characters.
OTP-18492 Application(s): otp
Related Id(s): GH-6706
The documentation for the bit syntax has been updated
to correct some factual errors and omissions.
OTP-18511 Application(s): otp, stdlib
Related Id(s): PR-7017
The regular expression library powering the re module
is likely to be changed in Erlang/OTP 27. See Upcoming
Potential Incompatibilities.
---------------------------------------------------------------------
--- asn1-5.1 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18441 Application(s): asn1
Minor code improvements.
OTP-18447 Application(s): asn1, crypto, erts, kernel,
public_key, runtime_tools
Handling of on_load modules during boot has been
improved by adding an extra step in the boot order for
embedded mode that runs all on_load handlers, instead
of relying on explicit invocation of them, later, when
the kernel supervision tree starts.
This is mostly a code improvement and OTP internal
simplification to avoid future bugs and to simplify
code maintenance.
Full runtime dependencies of asn1-5.1: erts-11.0, kernel-7.0,
stdlib-3.13
---------------------------------------------------------------------
--- common_test-1.25 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18377 Application(s): common_test
Related Id(s): PR-6437
This change improves Common Test docs (CT hook example
code) and adds Emacs skeleton with hook code.
--- Improvements and New Features ---
OTP-18259 Application(s): common_test
Related Id(s): PR-5924
Updated common_test with a more robust way to fetch old
releases, while ignoring the current release.
OTP-18340 Application(s): common_test
- re-write the XML ct module documentation into erlang
types to make Dialyzer able to catch more precise
errors
Full runtime dependencies of common_test-1.25: compiler-6.0,
crypto-4.5, debugger-4.1, erts-7.0, ftp-1.0, inets-6.0, kernel-8.4,
observer-2.1, runtime_tools-1.8.16, sasl-2.5, snmp-5.1.2, ssh-4.0,
stdlib-4.0, syntax_tools-1.7, tools-3.2, xmerl-1.3.8
---------------------------------------------------------------------
--- compiler-8.3 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18126 Application(s): compiler, erts
Related Id(s): PR-6033
Optimized record updates.
OTP-18137 Application(s): compiler, erts
Related Id(s): PR-6259, PR-6404, PR-6576, PR-6804
*** HIGHLIGHT ***
There are several new optimization for binary syntax in
the JIT:
-- Creation and matching of binaries with segments of
fixed sizes have been optimized.
-- Creation and matching of UTF-8 segments have been
optimized.
-- Appending to binaries has been optimized.
OTP-18185 Application(s): compiler, erts
Related Id(s): GH-6139
*** HIGHLIGHT ***
The compiler and JIT now generate better code for
creation of small maps where all keys are literals
known at compile time.
OTP-18297 Application(s): compiler, stdlib
Related Id(s): GH-6348
*** HIGHLIGHT ***
A limitation in the binary syntax has been removed. It
is now possible to match binary patterns in parallel.
Example: <<A:8>> = <<B:4,C:4>> = Bin
OTP-18337 Application(s): compiler, stdlib
Related Id(s): GH-6477, PR-6503
It is documented that $\^X is the ASCII code for
Control X, where X is an uppercase or lowercase letter.
However, this notation would work for any character X,
even then it didn't make sense.
In Erlang/OTP 26, it is now documented that the
following characters are also allowed to follow the \^
characters: @, [, \, ], ^, _, and ?. Attempt to use
other characters will be rejected with a compiler
error.
The value for $\^? is now 127 (instead of 31 as in
earlier releases).
OTP-18367 Application(s): compiler, erts, stdlib
Related Id(s): GH-6544
*** HIGHLIGHT ***
The BIFs min/2 and max/2 are now allowed to be used in
guards and match specs.
OTP-18413 Application(s): compiler, erts, stdlib, syntax_tools,
tools
Related Id(s): EEP-58, PR-6727
*** HIGHLIGHT ***
Map comprehensions as suggested in EEP 58 has now been
implemented.
OTP-18431 Application(s): compiler, stdlib
Related Id(s): PR-6739
*** HIGHLIGHT ***
Improved the selective receive optimization, which can
now be enabled for references returned from other
functions.
This greatly improves the performance of
gen_server:send_request/3, gen_server:wait_response/2,
and similar functions.
OTP-18502 Application(s): compiler
The compiler will now inline calls to maps:get/3.
Full runtime dependencies of compiler-8.3: crypto-5.1, erts-13.0,
kernel-8.4, stdlib-5.0
---------------------------------------------------------------------
--- crypto-5.2 ------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18204 Application(s): crypto
Related Id(s): PR-6203
Add support for SHAKE128 and SHAKE256.
OTP-18206 Application(s): crypto
Related Id(s): PR-6167
Make the -DOPENSSL_API_COMPAT flag work without
warnings.
OTP-18405 Application(s): crypto, diameter, kernel, ssl
Related Id(s): GH-6672, PR-6700, PR-6702, PR-6768,
PR-6769, PR-6812, PR-6814
Replace size/1 with either tuple_size/1 or byte_size/1
The size/1 BIF is not optimized by the JIT, and its use
can result in worse types for Dialyzer.
When one knows that the value being tested must be a
tuple, tuple_size/1 should always be preferred.
When one knows that the value being tested must be a
binary, byte_size/1 should be preferred. However,
byte_size/1 also accepts a bitstring (rounding up size
to a whole number of bytes), so one must make sure that
the call to byte_size/ is preceded by a call to
is_binary/1 to ensure that bitstrings are rejected.
Note that the compiler removes redundant calls to
is_binary/1, so if one is not sure whether previous
code had made sure that the argument is a binary, it
does not harm to add an is_binary/1 test immediately
before the call to byte_size/1.
OTP-18447 Application(s): asn1, crypto, erts, kernel,
public_key, runtime_tools
Handling of on_load modules during boot has been
improved by adding an extra step in the boot order for
embedded mode that runs all on_load handlers, instead
of relying on explicit invocation of them, later, when
the kernel supervision tree starts.
This is mostly a code improvement and OTP internal
simplification to avoid future bugs and to simplify
code maintenance.
Full runtime dependencies of crypto-5.2: erts-9.0, kernel-5.3,
stdlib-3.9
---------------------------------------------------------------------
--- dialyzer-5.1 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18237 Application(s): dialyzer
Related Id(s): GH-6221, PR-6243
When checking behaviors, Dialyzer could generate false
warning that a callback function did not have the
correct type according to the spec in the behavior
definition.
OTP-18276 Application(s): dialyzer
Related Id(s): GH-6333
In a spec, list(none()) used to mean none(). It has now
been corrected to mean the empty list.
OTP-18389 Application(s): dialyzer
Related Id(s): GH-6508, PR-6864
*** POTENTIAL INCOMPATIBILITY ***
Dialyzer was accepting typespecs containing singleton
type variables that appeared in an union type.
Before this change, singleton type variables in an
union type were accepted (see example below). However,
type variable Foo appears only once in each branch of
the union type, so it is a singleton type variable (in
each branch of the union type) that is not bound.
-spec run_test(Opts) -> term() when Opts ::
{join_specs, Foo} | {test, Foo}.
Unbound type variables should be rejected by Dialyzer,
which now detects this error and rejects it in the same
manner as its non-union equivalent:
-spec run_test_error(Opts) -> term() when Opts ::
{join_specs, Foo}.
OTP-18485 Application(s): dialyzer
Related Id(s): GH-6850, PR-6854
Fixed a bug that prevented the --plts option from being
used together with --add-to-plt.
--- Improvements and New Features ---
OTP-18188 Application(s): dialyzer
Related Id(s): PR-5997
*** HIGHLIGHT ***
Dialyzer has a new incremental mode that be invoked by
giving the --incremental option when running Dialyzer.
This new incremental mode is likely to become the
default in a future release.
Incremental mode primarily differs from the previous,
"classic", ways of running Dialyzer, in that its model
is optimised around the common use case of regularly
analysing a single codebase, tweaking the code,
analysing it again, and so on, without explicit
reference to the building and checking of a PLT.
In this mode the PLT file acts much more like a true
cache, where users provide a codebase and a set of
files they care about, and Dialyzer does the legwork in
terms of deciding how to most efficiently report all of
the relevant warnings given the cached results it may
already have in the PLT (and if a PLT doesn't exist,
incremental mode will create one).
OTP-18238 Application(s): dialyzer
Related Id(s): PR-6271
Dialyzer now produces clearer error messages for
contract violations.
OTP-18282 Application(s): dialyzer
Related Id(s): GH-6132, PR-6335
The name of a built-in type can now be reused as the
name of type locally. That is useful when an OTP
release introduces a new built-in type; having the
possibility to redefine built-in types locally can make
it easier to maintain code that works in multiple OTP
releases.
OTP-18310 Application(s): dialyzer
There is new option -no_spec to ignore all specs. It is
useful for debugging when one suspects that some specs
could be incorrect.
OTP-18342 Application(s): dialyzer
Related Id(s): GH-6117, PR-6654
Dialyzer's overloaded domain warning becomes is
disabled by default, and can be enabled with the flag
-Woverlapping_contract.
Dialyzer used to issue a warning for overloaded domains
stating "such contracts are currently unsupported and
are simply ignored".
These contracts are not "ignored" but rather, Dialyzer
takes the union of the overloaded domains. This means
that we lose the dependency from each corresponding
input to output type. Because of this, the warning is
really about not being able to establish a dependency
between the input and output types of each respective
overloaded function specification.
OTP-18439 Application(s): dialyzer
Related Id(s): GH-5695, GH-6942, PR-6822
*** POTENTIAL INCOMPATIBILITY ***
Dialyzer has enabled (by default) warnings about
unknown types and functions.
Prior to this change, Dialyzer had warnings about
unknown types and functions disabled (by default).
This default value has been overwritten; Dialyzer now
warns about unknown types and functions (as requested
by the community in GH-5695). Thus, the following two
examples are equivalent, i.e., passing the -Wunknown
function is enabled by default:
dialyzer moduler.erl -Wunknown -Wmissing_return
dialyzer moduler.erl -Wmissing_return
Dialyzer has a new flag, -Wno_unknown. Its purpose is
to suppress warnings about unknown functions and types.
Users who wish to suppress these warnings can invoke
Dialyzer using this flag. Example: dialyzer module.erl
-Wno_unknown
OTP-18522 Application(s): dialyzer, erts, stdlib
*** HIGHLIGHT ***
Added the new built-in type dynamic() introduced in
EEP-61, improving support for gradual type checkers.
Full runtime dependencies of dialyzer-5.1: compiler-8.0, erts-12.0,
kernel-8.0, stdlib-4.0, syntax_tools-2.0, wx-2.0
---------------------------------------------------------------------
--- diameter-2.3 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18405 Application(s): crypto, diameter, kernel, ssl
Related Id(s): GH-6672, PR-6700, PR-6702, PR-6768,
PR-6769, PR-6812, PR-6814
Replace size/1 with either tuple_size/1 or byte_size/1
The size/1 BIF is not optimized by the JIT, and its use
can result in worse types for Dialyzer.
When one knows that the value being tested must be a
tuple, tuple_size/1 should always be preferred.
When one knows that the value being tested must be a
binary, byte_size/1 should be preferred. However,
byte_size/1 also accepts a bitstring (rounding up size
to a whole number of bytes), so one must make sure that
the call to byte_size/ is preceded by a call to
is_binary/1 to ensure that bitstrings are rejected.
Note that the compiler removes redundant calls to
is_binary/1, so if one is not sure whether previous
code had made sure that the argument is a binary, it
does not harm to add an is_binary/1 test immediately
before the call to byte_size/1.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of diameter-2.3: erts-10.0, kernel-3.2,
ssl-9.0, stdlib-5.0
---------------------------------------------------------------------
--- erl_docgen-1.5 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18338 Application(s): erl_docgen
Related Id(s): PR-6408
New XML tag <change>. Like a <note> box, but with a
different (steel blue) color and label. Intended to
contain talk about semantic differences between OTP
releases.
OTP-18501 Application(s): erl_docgen
Related Id(s): PR-6987
Add "since" attribute to XML taglist/tag elements to
document OTP version when a particular option/feature
was introduced. The version is shown out in the right
margin, similar to "since" versions for functions.
Full runtime dependencies of erl_docgen-1.5: edoc-1.0, erts-11.0,
kernel-8.0, stdlib-3.15, xmerl-1.3.7
---------------------------------------------------------------------
--- erl_interface-5.4 -----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18140 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-6072
*** POTENTIAL INCOMPATIBILITY ***
As announced since the release of OTP 24, support for:
-- version 4 node container types in the external term
format are now mandatory. That is, references
supporting up to 5 32-bit integer identifiers, and
process and port identifiers with support for 64-bit
data storage. The distribution flag DFLAG_V4_NC is
therefor now also mandatory. OTP has since OTP 24
supported this. Also note that the external format
produced by term_to_binary() and term_to_iovec() will
unconditionally produce pids, ports, and references
supporting this larger format.
-- the new link protocol introduced in OTP 23.3 is now
mandatory. The distribution flag DFLAG_UNLINK_ID is
therefor now also mandatory.
Due to the above, OTP 26 nodes will refuse to connect
to OTP nodes from releases prior to OTP 24.
--- Known Bugs and Problems ---
OTP-16607 Application(s): erl_interface
Related Id(s): OTP-16608
The ei API for decoding/encoding terms is not fully
64-bit compatible since terms that have a
representation on the external term format larger than
2 GB cannot be handled.
---------------------------------------------------------------------
--- erts-14.0 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18016 Application(s): erts
If a local fun was called while reloading the *exact
same* module that defined said fun, there was a small
window in which the call would land in code that was
yet to be fully loaded.
OTP-18248 Application(s): erts, kernel
Related Id(s): GH-6085, PR-6227
Fix the TLS distribution to work when starting Erlang
in embedded mode and a connection is done before kernel
is fully started.
OTP-18271 Application(s): erts, kernel
Related Id(s): PR-6279
erl -remsh has been improved to provide better error
reasons and work when using a shell without terminal
support (that is an "oldshell").
OTP-18274 Application(s): erts
Related Id(s): PR-6048
Fix so that -fno-omit-frame-pointer is applied to all
of the Erlang VM when using the JIT so that tools, such
as perf, can crawl the process stacks.
OTP-18277 Application(s): erts
Related Id(s): PR-6306
Compilation server now support unicode paths in
compilation server for filesystems that are encoded
with unicode.
OTP-18498 Application(s): erts
*** HIGHLIGHT ***
Reintroduced the optimization that turned anonymous
functions without free variables into literals
(OTP-15195). This optimization was lost during
refactoring in OTP 24.
Alongside this fix, we plan to remove the "fun creator
pid" feature in OTP 27. See Upcoming Potential
Incompatibilities for more details.
--- Improvements and New Features ---
OTP-17771 Application(s): erts
Related Id(s): GH-5325, PR-6370
*** POTENTIAL INCOMPATIBILITY ***
The enif_set_option() function has been introduced into
the NIF API. It can be used in order to set the
ERL_NIF_OPT_DELAY_HALT and/or ERL_NIF_OPT_ON_HALT
options with which one can synchronize halt of the
runtime system with flushing enabled and execution of
NIFs. Halt of the runtime system without flushing
enabled, now terminates the runtime system without
execution of atexit/on_exit handlers that may have been
installed into the runtime system which might be
considered a potential incompatibility.
OTP-17932 Application(s): erts, kernel, stdlib
Related Id(s): GH-3150, GH-3390, GH-4225, GH-4343,
PR-6144
*** HIGHLIGHT ***
The TTY/terminal subsystem has been rewritten from by
moving more code to Erlang from the old linked-in
driver and implementing all the I/O primitives needed
in a NIF instead.
On Unix platforms the user should not notice a lot of
difference, besides better handling of unicode
characters and fixing of some long standing bugs.
Windows users will notice that erl.exe has the same
functionality as a normal Unix shell and that werl.exe
has been removed and replaced with a symlink to
erl.exe. This makes the Windows Erlang terminal
experience identical to that of Unix.
The re-write brings with it a number of bug fixes and
feature additions:
-- The TTY is now reset when Erlang exits, fixing zsh
to not break when terminating an Erlang session.
-- standard_error now uses the same unicode mode as
standard_io.
-- Hitting backspace when searching the shell history
with an empty search string no longer breaks the shell.
-- Tab expansion now works on remote nodes started
using the JCL interface.
-- It is now possible to configure the shell slogan and
the session slogans (that is the texts that appear when
you start an Erlang shell). See the kernel
documentation for more details.
-- Added shell:start_interactive for starting the
interactive shell from a non-interactive Erlang session
(for example an escript).
-- On Windows, when starting in detached mode the
standard handler are now set to nul devices instead of
being unset.
OTP-18029 Application(s): erts, kernel
Preparation for adding Windows support to 'socket'.
OTP-18053 Application(s): erts, otp
Related Id(s): PR-6101
Updated configure cache for Windows. This makes
configure run faster on windows as many more checks are
cached.
OTP-18126 Application(s): compiler, erts
Related Id(s): PR-6033
Optimized record updates.
OTP-18131 Application(s): erts
Optimized internal hash routines.
OTP-18135 Application(s): erts
Related Id(s): GH-4965, PR-6046
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
As announced when OTP 25 was released, multi time warp
mode is now enabled by default. This assumes that all
code executing on the system is time warp safe.
If you have old code in the system that is not time
warp safe, you now explicitly need to start the system
in no time warp mode (or singe time warp mode if it is
partially time warp safe) in order to avoid problems.
When starting the system in no time warp mode, the
system behaves as it did prior to the introduction of
the extended time functionality introduced in OTP 18.
If you have code that is not time warp safe, you are
strongly encouraged to change this so that you can use
multi time warp mode. Compared to no time warp mode,
multi time warp mode improves scalability and
performance as well as accuracy and precision of time
measurements.
OTP-18137 Application(s): compiler, erts
Related Id(s): PR-6259, PR-6404, PR-6576, PR-6804
*** HIGHLIGHT ***
There are several new optimization for binary syntax in
the JIT:
-- Creation and matching of binaries with segments of
fixed sizes have been optimized.
-- Creation and matching of UTF-8 segments have been
optimized.
-- Appending to binaries has been optimized.
OTP-18140 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-6072
*** POTENTIAL INCOMPATIBILITY ***
As announced since the release of OTP 24, support for:
-- version 4 node container types in the external term
format are now mandatory. That is, references
supporting up to 5 32-bit integer identifiers, and
process and port identifiers with support for 64-bit
data storage. The distribution flag DFLAG_V4_NC is
therefor now also mandatory. OTP has since OTP 24
supported this. Also note that the external format
produced by term_to_binary() and term_to_iovec() will
unconditionally produce pids, ports, and references
supporting this larger format.
-- the new link protocol introduced in OTP 23.3 is now
mandatory. The distribution flag DFLAG_UNLINK_ID is
therefor now also mandatory.
Due to the above, OTP 26 nodes will refuse to connect
to OTP nodes from releases prior to OTP 24.
OTP-18141 Application(s): erts
Related Id(s): OTP-18140, PR-6073
Optimization of process aliases made possible now that
support for version 4 node container types in the
external term format is mandatory.
OTP-18185 Application(s): compiler, erts
Related Id(s): GH-6139
*** HIGHLIGHT ***
The compiler and JIT now generate better code for
creation of small maps where all keys are literals
known at compile time.
OTP-18227 Application(s): erts
Related Id(s): PR-6254
When erl -eval fails to execute the command is not
printed to standard_error.
OTP-18334 Application(s): erts
Related Id(s): PR-6434
*** HIGHLIGHT ***
Support for UTF-8 atoms and strings in the NIF
interface including new functions enif_make_new_atom,
enif_make_new_atom_len and enif_get_string_length.
OTP-18344 Application(s): erts, kernel
Related Id(s): GH-6461, OTP-18324, PR-6481, PR-6522,
PR-6944
*** POTENTIAL INCOMPATIBILITY ***
The following inet:setopts/2 options have been
introduced:
-- reuseport -- Reuse of local port. Load balancing may
or may not be provided depending on underlying OS.
-- reuseport_lb -- Reuse of local port. Load balancing
provided.
-- exclusiveaddruse -- Exclusive address/port usage on
Windows. This socket option is Windows specific and
will silently be ignored on other systems.
The behavior of setting reuseaddr on Windows have
changed in a *backwards incompatible* way. The
underlying SO_REUSEADDR socket option is now only set
if both the reusaddr and the reuseport inet options
have been set. This since the underlying SO_REUSEADDR
socket option on Windows behaves similar to how BSD
behaves if both the underlying socket options
SO_REUSEADDR and SO_REUSEPORT have been set. See the
documentation of the reuseaddr option for more
information.
OTP-18360 Application(s): erts
Related Id(s): PR-6497
erlang:display/1 will now print large maps in a more
readable way (similar to how small maps are printed).
OTP-18367 Application(s): compiler, erts, stdlib
Related Id(s): GH-6544
*** HIGHLIGHT ***
The BIFs min/2 and max/2 are now allowed to be used in
guards and match specs.
OTP-18369 Application(s): erts
Fail enif_init_resource_type and friends by returning
NULL if not called during load/upgrade. Old behavior
was undefined.
OTP-18410 Application(s): erts
Related Id(s): GH-5889, PR-6345
New option include_shared_binaries for the
max_heap_size process limit. If set to true, large
binaries (> 64 bytes), which may be referred by several
processes, are included in the memory sum compared
against the max_heap_size limit.
OTP-18413 Application(s): compiler, erts, stdlib, syntax_tools,
tools
Related Id(s): EEP-58, PR-6727
*** HIGHLIGHT ***
Map comprehensions as suggested in EEP 58 has now been
implemented.
OTP-18414 Application(s): erts, stdlib
Related Id(s): PR-6151
*** HIGHLIGHT ***
Some map operations have been optimized by changing the
internal sort order of atom keys. This changes the
(undocumented) order of how atom keys in small maps are
printed and returned by maps:to_list/1 and maps:next/1.
The new order is unpredictable and may change between
different invocations of the Erlang VM.
For applications where order is important, there is a
new function maps:iterator/2 for creating iterators
that return the map elements in a deterministic order.
There are also new modifiers k and K for the format
string for io:format() to support printing map elements
ordered.
OTP-18424 Application(s): erts
Related Id(s): PR-6716
Reduced memory usage of file:read_file_info/1,2
OTP-18425 Application(s): erts
Related Id(s): GH-5333, PR-6628
Add new function current_stacktrace for trace match
specifications used by erlang:trace_pattern/3.
This new option puts the current stacktrace of the
caller into the trace message sent to the trace
receiver.
OTP-18435 Application(s): erts
Related Id(s): PR-6827
*** HIGHLIGHT ***
The amount of significant bits in node local process
identifiers and port identifiers has been extended from
28 bits to 60 bits on 64-bit runtime systems. This
makes these identifiers large enough to in practice
never having to be reused during the life time of a
node.
OTP-18440 Application(s): erts
Related Id(s): PR-6351
*** HIGHLIGHT ***
New trace feature call_memory. Similar to call_time
tracing, but instead of measure accumulated time in
traced functions it measures accumulated heap space
consumed by traced functions. It can be used to compare
how much different functions are contributing to
garbage collection being triggered.
OTP-18445 Application(s): erts, stdlib
*** HIGHLIGHT ***
It is no longer necessary to enable a feature in the
runtime system in order to load modules that are using
it. It is sufficient to enable the feature in the
compiler when compiling it.
That means that to use feature maybe_expr in Erlang/OTP
26, it is sufficient to enable it during compilation.
In Erlang/OTP 27, feature maybe_expr will be enabled by
default, but it will be possible to disable it.
OTP-18447 Application(s): asn1, crypto, erts, kernel,
public_key, runtime_tools
Handling of on_load modules during boot has been
improved by adding an extra step in the boot order for
embedded mode that runs all on_load handlers, instead
of relying on explicit invocation of them, later, when
the kernel supervision tree starts.
This is mostly a code improvement and OTP internal
simplification to avoid future bugs and to simplify
code maintenance.
OTP-18477 Application(s): erts
Related Id(s): PR-7006
Introduced the local option of term_to_binary/2 and
term_to_iovec/2.
OTP-18483 Application(s): erts
Related Id(s): PR-6888
Document the commonly used practice to create and store
static atoms at NIF load time in callbacks load or
upgrade.
OTP-18493 Application(s): erts
Related Id(s): PR-6272
Optimize ets:lookup_element for uncompressed tables by
using a more efficient method to copy the term from ETS
to the heap of the calling process.
OTP-18505 Application(s): erts
Related Id(s): PR-6991
*** POTENTIAL INCOMPATIBILITY ***
The default encoding of atoms by term_to_binary and
term_to_iovec have changed from Latin1 to UTF-8. The
old encoding can still be obtained with options
{minor_version, 1}.
Apart from encoding code points between 128 and 255
with two bytes (UTF-8) instead of one, most atoms will
occupy one less byte as the length field use only one
byte instead of two if possible.
OTP-18517 Application(s): erts
The version of zlib included in the Erlang/OTP source
code is now 1.2.13.
OTP-18520 Application(s): erts
Related Id(s): GH-6455
gen_tcp:send/*, gen_udp:send/* and gen_sctp:send/* have
been optimized to use the infamous receive reference
optimization, so now sending should not have bad
performance when the calling process has a large
message queue.
OTP-18522 Application(s): dialyzer, erts, stdlib
*** HIGHLIGHT ***
Added the new built-in type dynamic() introduced in
EEP-61, improving support for gradual type checkers.
OTP-18523 Application(s): erts
Related Id(s): PR-7004
Optimize maps:merge/2 memory consumption for small maps
(<33 keys) by reusing key tuples or entire maps if the
result map has the same number of keys as any of the
argument maps.
OTP-18524 Application(s): erts
Related Id(s): OTP-18523, PR-7004
Optimize maps:merge/2 memory consumption further for
small maps by mutating 2nd map to use literal key tuple
of 1st map if both have the same keys.
Full runtime dependencies of erts-14.0: kernel-9.0, sasl-3.3,
stdlib-4.1
---------------------------------------------------------------------
--- ftp-1.1.5 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18359 Application(s): ftp
Related Id(s): PR-6545
Fixes the documentation for the ftp module and updates
the typing of ftp functions that return errors.
The documentation has been improved and the types of
the functions are now read from source code, instead of
being hard-coded in XML.
Functions returning errors of the form {error, Reason
:: 'ehost' | ...} are now similar to other modules,
i.e., {error, Reason :: term()}. If one wants to
understand the error, one must call the function
ftp:formaterror({error, Reason}).
Full runtime dependencies of ftp-1.1.5: erts-7.0, kernel-6.0,
runtime_tools-1.15.1, ssl-10.2, stdlib-3.5
---------------------------------------------------------------------
--- inets-8.4 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18476 Application(s): inets
Related Id(s): GH-6380
Correct timing related pipelining/keepalive queue bug,
that could result in unexpected "socket_remotly_closed"
errors.
--- Improvements and New Features ---
OTP-18167 Application(s): inets
By default ssl connections will use options from
ssl_default_options(true)
OTP-18350 Application(s): inets, observer, os_mon, reltool, wx
Runtime dependencies have been updated.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of inets-8.4: erts-14.0, kernel-9.0,
mnesia-4.12, public_key-1.13, runtime_tools-1.8.14, ssl-9.0,
stdlib-5.0, stdlib-5.0
---------------------------------------------------------------------
--- jinterface-1.14 -------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18140 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-6072
*** POTENTIAL INCOMPATIBILITY ***
As announced since the release of OTP 24, support for:
-- version 4 node container types in the external term
format are now mandatory. That is, references
supporting up to 5 32-bit integer identifiers, and
process and port identifiers with support for 64-bit
data storage. The distribution flag DFLAG_V4_NC is
therefor now also mandatory. OTP has since OTP 24
supported this. Also note that the external format
produced by term_to_binary() and term_to_iovec() will
unconditionally produce pids, ports, and references
supporting this larger format.
-- the new link protocol introduced in OTP 23.3 is now
mandatory. The distribution flag DFLAG_UNLINK_ID is
therefor now also mandatory.
Due to the above, OTP 26 nodes will refuse to connect
to OTP nodes from releases prior to OTP 24.
---------------------------------------------------------------------
--- kernel-9.0 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18210 Application(s): kernel
Related Id(s): GH-5877, PR-5878
*** POTENTIAL INCOMPATIBILITY ***
Fix bug where duplicate keys were allowed in the .app
file of an application. Duplicate keys are now rejected
and the application will not start if they exist.
OTP-18225 Application(s): kernel
Related Id(s): PR-6036
Fix inconsistent handling in logger_formatter of the
branched values in conditional branches. For example
using msg in a conditional branch would not be
formatted as it should before this fix.
OTP-18226 Application(s): kernel
Related Id(s): PR-6253
Fix the logger_std_h handler to log to standard_error
if logging to standard_io fails for any reason.
OTP-18248 Application(s): erts, kernel
Related Id(s): GH-6085, PR-6227
Fix the TLS distribution to work when starting Erlang
in embedded mode and a connection is done before kernel
is fully started.
OTP-18271 Application(s): erts, kernel
Related Id(s): PR-6279
erl -remsh has been improved to provide better error
reasons and work when using a shell without terminal
support (that is an "oldshell").
OTP-18286 Application(s): kernel
Related Id(s): PR-5955
Fix logging of log events generated before kernel is
started to not fail if the code for formatting those
log messaged have not yet been loaded.
OTP-18471 Application(s): kernel, stdlib
Related Id(s): GH-6339, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
proc_lib:start*/* has become synchronous when the
started process fails. This requires that a failing
process use a new function proc_lib:init_fail/2,3, or
exits, to indicate failure. All OTP behaviours have
been fixed to do this.
All these start functions now consume the 'EXIT'
message from a process link for all error returns.
Previously it was only the start_link/* functions that
did this, and only when the started function exited,
not when it used init_ack/1,2 or init_fail/2,3 to
create the return value.
OTP-18486 Application(s): kernel, stdlib
Related Id(s): PR-6881
Fixed a bug where file:read(standard_io, ...)
unexpectedly returned eof in binary mode.
--- Improvements and New Features ---
OTP-14835 Application(s): kernel, stdlib
Related Id(s): PR-5924
*** HIGHLIGHT ***
The Erlang shell has been improved to support the
following features:
-- Auto-complete variables, record names, record field
names, map keys, function parameter types and
filenames.
-- Open external editor in the shell (with C-o) to edit
the current expression in an editor.
-- Support defining records (with types), functions and
function typespecs, and custom types in the shell.
-- Do not save pager commands, and input to io:getline
in history.
OTP-17932 Application(s): erts, kernel, stdlib
Related Id(s): GH-3150, GH-3390, GH-4225, GH-4343,
PR-6144
*** HIGHLIGHT ***
The TTY/terminal subsystem has been rewritten from by
moving more code to Erlang from the old linked-in
driver and implementing all the I/O primitives needed
in a NIF instead.
On Unix platforms the user should not notice a lot of
difference, besides better handling of unicode
characters and fixing of some long standing bugs.
Windows users will notice that erl.exe has the same
functionality as a normal Unix shell and that werl.exe
has been removed and replaced with a symlink to
erl.exe. This makes the Windows Erlang terminal
experience identical to that of Unix.
The re-write brings with it a number of bug fixes and
feature additions:
-- The TTY is now reset when Erlang exits, fixing zsh
to not break when terminating an Erlang session.
-- standard_error now uses the same unicode mode as
standard_io.
-- Hitting backspace when searching the shell history
with an empty search string no longer breaks the shell.
-- Tab expansion now works on remote nodes started
using the JCL interface.
-- It is now possible to configure the shell slogan and
the session slogans (that is the texts that appear when
you start an Erlang shell). See the kernel
documentation for more details.
-- Added shell:start_interactive for starting the
interactive shell from a non-interactive Erlang session
(for example an escript).
-- On Windows, when starting in detached mode the
standard handler are now set to nul devices instead of
being unset.
OTP-18029 Application(s): erts, kernel
Preparation for adding Windows support to 'socket'.
OTP-18140 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-6072
*** POTENTIAL INCOMPATIBILITY ***
As announced since the release of OTP 24, support for:
-- version 4 node container types in the external term
format are now mandatory. That is, references
supporting up to 5 32-bit integer identifiers, and
process and port identifiers with support for 64-bit
data storage. The distribution flag DFLAG_V4_NC is
therefor now also mandatory. OTP has since OTP 24
supported this. Also note that the external format
produced by term_to_binary() and term_to_iovec() will
unconditionally produce pids, ports, and references
supporting this larger format.
-- the new link protocol introduced in OTP 23.3 is now
mandatory. The distribution flag DFLAG_UNLINK_ID is
therefor now also mandatory.
Due to the above, OTP 26 nodes will refuse to connect
to OTP nodes from releases prior to OTP 24.
OTP-18235 Application(s): kernel, ssl
Related Id(s): PR-5840, PR-6104
*** HIGHLIGHT ***
Support for Kernel TLS (kTLS), has been added to the
SSL application, for TLS distribution (-proto_dist
inet_tls), the SSL option {ktls, true}. Using this for
general SSL sockets is uncomfortable, undocumented and
not recommended since it requires very platform
dependent raw options.
This, for now, only works for some not too old Linux
distributions. Roughly, a kernel 5.2.0 or later with
support for UserLand Protocols and the kernel module
tls is required.
OTP-18261 Application(s): kernel
Related Id(s): PR-5924
Add code:get_doc/2 which adds support to fetch
documentation skeletons of functions using debug_info
chunks instead of eep48 doc chunks.
OTP-18278 Application(s): kernel, stdlib
Related Id(s): PR-6260
*** HIGHLIGHT ***
The Erlang shell's auto-completion when typing tab has
been changed to happen after the editing current line
instead of before it.
This behaviour can be configured using a the
shell_expand_location STDLIB configuration parameter.
OTP-18285 Application(s): kernel, ssh, stdlib
Related Id(s): PR-6262
*** POTENTIAL INCOMPATIBILITY ***
Typing Ctrl+L in a shell now clears the screen and
redraws the current line instead of only redrawing the
current line. To only redraw the current line, you must
now type Alt+L. This brings the behaviour of Ctrl+L
closer to how bash and other shells work.
OTP-18305 Application(s): kernel
Related Id(s): PR-5831
gen_server optimized by caching callback functions
OTP-18327 Application(s): kernel
Related Id(s): PR-6433
Prepare the pg communication protocol for upgrade. The
plan is for OTP-28 nodes to be able to use an upgraded
pg protocol while still being able to talk with OTP 26
nodes.
OTP-18344 Application(s): erts, kernel
Related Id(s): GH-6461, OTP-18324, PR-6481, PR-6522,
PR-6944
*** POTENTIAL INCOMPATIBILITY ***
The following inet:setopts/2 options have been
introduced:
-- reuseport -- Reuse of local port. Load balancing may
or may not be provided depending on underlying OS.
-- reuseport_lb -- Reuse of local port. Load balancing
provided.
-- exclusiveaddruse -- Exclusive address/port usage on
Windows. This socket option is Windows specific and
will silently be ignored on other systems.
The behavior of setting reuseaddr on Windows have
changed in a *backwards incompatible* way. The
underlying SO_REUSEADDR socket option is now only set
if both the reusaddr and the reuseport inet options
have been set. This since the underlying SO_REUSEADDR
socket option on Windows behaves similar to how BSD
behaves if both the underlying socket options
SO_REUSEADDR and SO_REUSEPORT have been set. See the
documentation of the reuseaddr option for more
information.
OTP-18405 Application(s): crypto, diameter, kernel, ssl
Related Id(s): GH-6672, PR-6700, PR-6702, PR-6768,
PR-6769, PR-6812, PR-6814
Replace size/1 with either tuple_size/1 or byte_size/1
The size/1 BIF is not optimized by the JIT, and its use
can result in worse types for Dialyzer.
When one knows that the value being tested must be a
tuple, tuple_size/1 should always be preferred.
When one knows that the value being tested must be a
binary, byte_size/1 should be preferred. However,
byte_size/1 also accepts a bitstring (rounding up size
to a whole number of bytes), so one must make sure that
the call to byte_size/ is preceded by a call to
is_binary/1 to ensure that bitstrings are rejected.
Note that the compiler removes redundant calls to
is_binary/1, so if one is not sure whether previous
code had made sure that the argument is a binary, it
does not harm to add an is_binary/1 test immediately
before the call to byte_size/1.
OTP-18419 Application(s): kernel
The function file:pid2name/1 is deprecated and will be
removed in Erlang/OTP 27.
OTP-18442 Application(s): kernel
Related Id(s): GH-6606, PR-6786
The modules Erlang DNS resolver inet_res and helper
modules have been updated for RFC6891; to handle OPT RR
with DNSSEC OK (DO) bit.
OTP-18444 Application(s): kernel
Related Id(s): PR-6035
Introduced application:get_supervisor/1.
OTP-18447 Application(s): asn1, crypto, erts, kernel,
public_key, runtime_tools
Handling of on_load modules during boot has been
improved by adding an extra step in the boot order for
embedded mode that runs all on_load handlers, instead
of relying on explicit invocation of them, later, when
the kernel supervision tree starts.
This is mostly a code improvement and OTP internal
simplification to avoid future bugs and to simplify
code maintenance.
OTP-18448 Application(s): kernel
Related Id(s): PR-6736
Reduce contention on the code_server by doing the code
preparation on the client.
OTP-18451 Application(s): kernel
Related Id(s): PR-6737
Added a mode to ensure_all_loaded, to start children
application and their dependencies concurrently.
OTP-18452 Application(s): kernel
Related Id(s): PR-6729
Cache OTP boot code paths, to limit how many folders
that are being accessed during a module lookup. Can be
disabled with -cache_boot_path false. OTP boot code
paths consists of ERL_LIB environment variables. The
various otp/*/ebin folders. And the {path, ...} clauses
in the init script.
OTP-18456 Application(s): kernel, ssl
Erlang distribution code in Kernel and SSL has been
refactored a bit to facilitate debugging and
re-usability, which shouldn't have any noticeable
effects on behaviour or performance.
OTP-18466 Application(s): kernel
Related Id(s): PR-6832
Add cache attribute to code path apis.
Added an optional cache/nocache argument to all
code:add_path*, code:set_path*, and code:replace_path*
functions. These functions will then avoid doing
file-accesses if they are cached. Cache can be cleared
with code:clear_cache/0. Added code:del_paths/1 to make
it easier to clear multiple paths.
OTP-18484 Application(s): kernel
Related Id(s): PR-6844
Improvements to code:ensure_modules_loaded/1:
Previously it would prepare modules and then abandon
references to said modules if they had on_load
callbacks. This pull request makes it so they keep the
references around and then serially load them without
having to fetch the object code and prepare them again.
OTP-18510 Application(s): kernel
Related Id(s): GH-6098, PR-6982
The internal DNS resolver has bee updated to handle DNS
LOC RR:s (RFC 1876). This is an undocumented module,
although still used by power users. See the source
code.
OTP-18521 Application(s): kernel
Related Id(s): PR-7025
Reduced memory consumption in global when informing
other nodes about lost connections.
Full runtime dependencies of kernel-9.0: crypto-5.0, erts-14.0,
sasl-3.0, stdlib-5.0
---------------------------------------------------------------------
--- mnesia-4.22 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18309 Application(s): mnesia
Related Id(s): PR-6377
Added debug statistics for active transactions.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of mnesia-4.22: erts-9.0, kernel-5.3,
stdlib-5.0
---------------------------------------------------------------------
--- observer-2.15 ---------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18350 Application(s): inets, observer, os_mon, reltool, wx
Runtime dependencies have been updated.
OTP-18430 Application(s): observer
Related Id(s): PR-6397
Added start/1, start_and_wait functions/1|2 functions.
Full runtime dependencies of observer-2.15: erts-14.0, et-1.5,
kernel-9.0, runtime_tools-1.19, stdlib-5.0, wx-2.3
---------------------------------------------------------------------
--- os_mon-2.9 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18246 Application(s): os_mon
Related Id(s): GH-6156, PR-6284
Fix internal os_mon_sysinfo:get_disk_info/1 function to
not crash when run on Windows with multiple drives.
--- Improvements and New Features ---
OTP-18303 Application(s): os_mon
Related Id(s): PR-6384
The disksup:get_disk_info/0 and disksup:get_disk_info/1
functions have been introduced. These can be used in
order to immediately fetch information about current
disk usage.
OTP-18350 Application(s): inets, observer, os_mon, reltool, wx
Runtime dependencies have been updated.
Full runtime dependencies of os_mon-2.9: erts-14.0, kernel-9.0,
sasl-4.2.1, stdlib-5.0
---------------------------------------------------------------------
--- parsetools-2.5 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18491 Application(s): parsetools
Related Id(s): PR-6882
*** HIGHLIGHT ***
Leex has been extended with optional column number
support.
Full runtime dependencies of parsetools-2.5: erts-6.0, kernel-3.0,
stdlib-3.4
---------------------------------------------------------------------
--- public_key-1.14 -------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18447 Application(s): asn1, crypto, erts, kernel,
public_key, runtime_tools
Handling of on_load modules during boot has been
improved by adding an extra step in the boot order for
embedded mode that runs all on_load handlers, instead
of relying on explicit invocation of them, later, when
the kernel supervision tree starts.
This is mostly a code improvement and OTP internal
simplification to avoid future bugs and to simplify
code maintenance.
Full runtime dependencies of public_key-1.14: asn1-3.0, crypto-4.6,
erts-6.0, kernel-3.0, stdlib-3.5
---------------------------------------------------------------------
--- reltool-1.0 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18230 Application(s): reltool
Related Id(s): PR-5936
Add possibility to strip specific chunks from beam
files included in a release. Before this change it was
only possible to strip all chunks from the beam files.
OTP-18350 Application(s): inets, observer, os_mon, reltool, wx
Runtime dependencies have been updated.
OTP-18488 Application(s): reltool
Related Id(s): PR-6836
*** POTENTIAL INCOMPATIBILITY ***
Support for the experimental code archives feature has
been removed from reltool.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of reltool-1.0: erts-14.0, kernel-9.0,
sasl-4.2.1, stdlib-5.0, stdlib-5.0, tools-2.6.14, wx-2.3
---------------------------------------------------------------------
--- runtime_tools-1.20 ----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18499 Application(s): runtime_tools
Related Id(s): PR-6946
Fixed the type specification for
instrument:carriers/0,1
--- Improvements and New Features ---
OTP-18211 Application(s): runtime_tools
Related Id(s): PR-6143
Add dbg:tracer(file, Filename) as a convenient way to
trace to a file in clean text.
OTP-18447 Application(s): asn1, crypto, erts, kernel,
public_key, runtime_tools
Handling of on_load modules during boot has been
improved by adding an extra step in the boot order for
embedded mode that runs all on_load handlers, instead
of relying on explicit invocation of them, later, when
the kernel supervision tree starts.
This is mostly a code improvement and OTP internal
simplification to avoid future bugs and to simplify
code maintenance.
OTP-18487 Application(s): runtime_tools, tools
Related Id(s): PR-6829
The instrument module has been moved from tools to
runtime_tools.
Full runtime dependencies of runtime_tools-1.20: erts-11.0,
kernel-8.1, mnesia-4.12, stdlib-3.13
---------------------------------------------------------------------
--- sasl-4.2.1 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18300 Application(s): sasl
Related Id(s): PR-6389
Improve error message from systools:make_script, when
.app parameters contain duplicates. The parameters that
will be checked are modules, applications and
registered.
Full runtime dependencies of sasl-4.2.1: erts-10.2, kernel-6.0,
stdlib-4.0, tools-2.6.14
---------------------------------------------------------------------
--- snmp-5.14 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of snmp-5.14: crypto-4.6, erts-12.0,
kernel-8.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-5.0
---------------------------------------------------------------------
--- ssh-5.0 ---------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18231 Application(s): ssh
Related Id(s): OTP-17932, PR-6144
The ssh_cli has been updated to work with the changes
introduced in the new Erlang shell implementation.
OTP-18285 Application(s): kernel, ssh, stdlib
Related Id(s): PR-6262
*** POTENTIAL INCOMPATIBILITY ***
Typing Ctrl+L in a shell now clears the screen and
redraws the current line instead of only redrawing the
current line. To only redraw the current line, you must
now type Alt+L. This brings the behaviour of Ctrl+L
closer to how bash and other shells work.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of ssh-5.0: crypto-5.0, erts-14.0,
kernel-9.0, public_key-1.6.1, runtime_tools-1.15.1, stdlib-5.0,
stdlib-5.0
---------------------------------------------------------------------
--- ssl-11.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-15903 Application(s): ssl
Improved error checking and handling of ssl options.
OTP-18168 Application(s): ssl
Related Id(s): GH-6014, PR-6019
*** POTENTIAL INCOMPATIBILITY ***
With this change, stateless tickets generated by server
with anti_replay option enabled can be used for
creating ClientHello throughout ticket lifetime.
Without this change, usability was limited to
WindowSize number of seconds configured for anti_replay
option.
OTP-18235 Application(s): kernel, ssl
Related Id(s): PR-5840, PR-6104
*** HIGHLIGHT ***
Support for Kernel TLS (kTLS), has been added to the
SSL application, for TLS distribution (-proto_dist
inet_tls), the SSL option {ktls, true}. Using this for
general SSL sockets is uncomfortable, undocumented and
not recommended since it requires very platform
dependent raw options.
This, for now, only works for some not too old Linux
distributions. Roughly, a kernel 5.2.0 or later with
support for UserLand Protocols and the kernel module
tls is required.
OTP-18253 Application(s): ssl
With this change, TLS 1.3 server can be configured to
include client certificate in session ticket.
OTP-18254 Application(s): ssl
Related Id(s): PR-5982
With this change, it is possible to configure
encryption seed to be used with TLS1.3 stateless
tickets. This enables using tickets on different server
instances.
OTP-18312 Application(s): ssl
Debugging enhancements.
OTP-18335 Application(s): ssl
With this change, maybe keyword atom is not used as
function name in ssl code.
OTP-18405 Application(s): crypto, diameter, kernel, ssl
Related Id(s): GH-6672, PR-6700, PR-6702, PR-6768,
PR-6769, PR-6812, PR-6814
Replace size/1 with either tuple_size/1 or byte_size/1
The size/1 BIF is not optimized by the JIT, and its use
can result in worse types for Dialyzer.
When one knows that the value being tested must be a
tuple, tuple_size/1 should always be preferred.
When one knows that the value being tested must be a
binary, byte_size/1 should be preferred. However,
byte_size/1 also accepts a bitstring (rounding up size
to a whole number of bytes), so one must make sure that
the call to byte_size/ is preceded by a call to
is_binary/1 to ensure that bitstrings are rejected.
Note that the compiler removes redundant calls to
is_binary/1, so if one is not sure whether previous
code had made sure that the argument is a binary, it
does not harm to add an is_binary/1 test immediately
before the call to byte_size/1.
OTP-18438 Application(s): ssl
Related Id(s): GH-6679
*** POTENTIAL INCOMPATIBILITY ***
For security reasons remove support for SHA1 and DSA
algorithms from default values.
OTP-18453 Application(s): ssl
Mitigate memory usage from large certificate chains by
lowering the maximum handshake size. This should not
effect the common cases, if needed it can be configured
to a higher value.
OTP-18455 Application(s): ssl
Related Id(s): GH-5899
*** POTENTIAL INCOMPATIBILITY ***
Change the client default verify option to verify_peer.
Note that this makes it mandatory to also supply
trusted CA certificates or explicitly set verify to
verify_none. This also applies when using the so called
anonymous test cipher suites defined in TLS versions
pre TLS-1.3.
OTP-18456 Application(s): kernel, ssl
Erlang distribution code in Kernel and SSL has been
refactored a bit to facilitate debugging and
re-usability, which shouldn't have any noticeable
effects on behaviour or performance.
OTP-18459 Application(s): ssl
*** HIGHLIGHT ***
Add encoding and decoding of use_srtp hello extension
to facilitate for DTLS users to implement SRTP
functionality.
Full runtime dependencies of ssl-11.0: crypto-5.0, erts-14.0,
inets-5.10.7, kernel-9.0, public_key-1.11.3, runtime_tools-1.15.1,
stdlib-4.1
---------------------------------------------------------------------
--- stdlib-5.0 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18275 Application(s): stdlib
Related Id(s): PR-6045
All process calls in dets have been updated to use the
receive queue optimizations.
OTP-18471 Application(s): kernel, stdlib
Related Id(s): GH-6339, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
proc_lib:start*/* has become synchronous when the
started process fails. This requires that a failing
process use a new function proc_lib:init_fail/2,3, or
exits, to indicate failure. All OTP behaviours have
been fixed to do this.
All these start functions now consume the 'EXIT'
message from a process link for all error returns.
Previously it was only the start_link/* functions that
did this, and only when the started function exited,
not when it used init_ack/1,2 or init_fail/2,3 to
create the return value.
OTP-18486 Application(s): kernel, stdlib
Related Id(s): PR-6881
Fixed a bug where file:read(standard_io, ...)
unexpectedly returned eof in binary mode.
--- Improvements and New Features ---
OTP-14835 Application(s): kernel, stdlib
Related Id(s): PR-5924
*** HIGHLIGHT ***
The Erlang shell has been improved to support the
following features:
-- Auto-complete variables, record names, record field
names, map keys, function parameter types and
filenames.
-- Open external editor in the shell (with C-o) to edit
the current expression in an editor.
-- Support defining records (with types), functions and
function typespecs, and custom types in the shell.
-- Do not save pager commands, and input to io:getline
in history.
OTP-15597 Application(s): stdlib
Related Id(s): PR-5831
Gen_server now caches external functions for use in
handle_call, handle_cast and handle_info.
OTP-17932 Application(s): erts, kernel, stdlib
Related Id(s): GH-3150, GH-3390, GH-4225, GH-4343,
PR-6144
*** HIGHLIGHT ***
The TTY/terminal subsystem has been rewritten from by
moving more code to Erlang from the old linked-in
driver and implementing all the I/O primitives needed
in a NIF instead.
On Unix platforms the user should not notice a lot of
difference, besides better handling of unicode
characters and fixing of some long standing bugs.
Windows users will notice that erl.exe has the same
functionality as a normal Unix shell and that werl.exe
has been removed and replaced with a symlink to
erl.exe. This makes the Windows Erlang terminal
experience identical to that of Unix.
The re-write brings with it a number of bug fixes and
feature additions:
-- The TTY is now reset when Erlang exits, fixing zsh
to not break when terminating an Erlang session.
-- standard_error now uses the same unicode mode as
standard_io.
-- Hitting backspace when searching the shell history
with an empty search string no longer breaks the shell.
-- Tab expansion now works on remote nodes started
using the JCL interface.
-- It is now possible to configure the shell slogan and
the session slogans (that is the texts that appear when
you start an Erlang shell). See the kernel
documentation for more details.
-- Added shell:start_interactive for starting the
interactive shell from a non-interactive Erlang session
(for example an escript).
-- On Windows, when starting in detached mode the
standard handler are now set to nul devices instead of
being unset.
OTP-18150 Application(s): stdlib
Added codepoint category to unicode_util
OTP-18159 Application(s): stdlib
Related Id(s): PR-6904
Added the zip:zip_get_crc32/2 function to retrieve the
CRC32 checksum from an opened ZIP archive.
OTP-18176 Application(s): stdlib
Related Id(s): PR-6118
Add the new options post_process_args and detached to
peer:start function.
OTP-18221 Application(s): stdlib
Related Id(s): PR-6197
The re:replace/3,4 functions now accept as the
replacement argument.
OTP-18228 Application(s): stdlib
Related Id(s): GH-5639
*** HIGHLIGHT ***
The performance of the base64 module has been
significantly improved. For example, on an x86_64
system with the JIT both encode and decode are almost
three times faster than in Erlang/OTP 25.
OTP-18236 Application(s): stdlib
Related Id(s): PR-6256
Improved implementation of timer:apply_interval/4
reducing load on the timer server, and introduction of
the new function timer:apply_repeatedly/4.
timer:apply_repeatedly/4 is similar to
timer:apply_interval/4, but timer:apply_repeatedly/4
prevents parallel execution of triggered apply
operations which timer:apply_interval/4 does not.
OTP-18247 Application(s): stdlib
Related Id(s): PR-6280, PR-6711
The base64 module now supports encoding and decoding
with an alternate URL safe alphabet, and an option for
accepting or adding missing = padding characters.
OTP-18272 Application(s): stdlib
Related Id(s): PR-6279
Add shell:whereis/0 which can be used to locate the
current shell process.
OTP-18278 Application(s): kernel, stdlib
Related Id(s): PR-6260
*** HIGHLIGHT ***
The Erlang shell's auto-completion when typing tab has
been changed to happen after the editing current line
instead of before it.
This behaviour can be configured using a the
shell_expand_location STDLIB configuration parameter.
OTP-18279 Application(s): stdlib
Related Id(s): PR-6234
New function ets:lookup_element/4 with a Default
argument returned if the key did not exist in the
table. The old ets:lookup_element/3 raises a badarg
exception which can be both inconveniente and slower.
OTP-18285 Application(s): kernel, ssh, stdlib
Related Id(s): PR-6262
*** POTENTIAL INCOMPATIBILITY ***
Typing Ctrl+L in a shell now clears the screen and
redraws the current line instead of only redrawing the
current line. To only redraw the current line, you must
now type Alt+L. This brings the behaviour of Ctrl+L
closer to how bash and other shells work.
OTP-18287 Application(s): stdlib
Related Id(s): PR-5955
peer nodes using standard_io connections now include
standard error from the node in the io stream from the
started node.
OTP-18297 Application(s): compiler, stdlib
Related Id(s): GH-6348
*** HIGHLIGHT ***
A limitation in the binary syntax has been removed. It
is now possible to match binary patterns in parallel.
Example: <<A:8>> = <<B:4,C:4>> = Bin
OTP-18301 Application(s): stdlib
Related Id(s): PR-6350
Improve type specification of
unicode:characters_to_list().
OTP-18318 Application(s): stdlib
Related Id(s): PR-6347
*** HIGHLIGHT ***
In the lists, the zip family of functions now takes
options to allow handling lists of different lengths.
OTP-18337 Application(s): compiler, stdlib
Related Id(s): GH-6477, PR-6503
It is documented that $\^X is the ASCII code for
Control X, where X is an uppercase or lowercase letter.
However, this notation would work for any character X,
even then it didn't make sense.
In Erlang/OTP 26, it is now documented that the
following characters are also allowed to follow the \^
characters: @, [, \, ], ^, _, and ?. Attempt to use
other characters will be rejected with a compiler
error.
The value for $\^? is now 127 (instead of 31 as in
earlier releases).
OTP-18354 Application(s): stdlib
Related Id(s): PR-6297
The binary:encode_hex/2 function has been added to
allow the encoded hexadecimal digits to be in either
lower or upper case.
OTP-18355 Application(s): stdlib
Related Id(s): PR-6507
Variants of timer:tc() with user specified time unit
have been introduced.
OTP-18361 Application(s): stdlib
Related Id(s): PR-6536
New function math:tau/0. Returns 2*math:pi().
OTP-18367 Application(s): compiler, erts, stdlib
Related Id(s): GH-6544
*** HIGHLIGHT ***
The BIFs min/2 and max/2 are now allowed to be used in
guards and match specs.
OTP-18385 Application(s): stdlib
Related Id(s): PR-6698
Optimized gen_server:multi_call().
OTP-18413 Application(s): compiler, erts, stdlib, syntax_tools,
tools
Related Id(s): EEP-58, PR-6727
*** HIGHLIGHT ***
Map comprehensions as suggested in EEP 58 has now been
implemented.
OTP-18414 Application(s): erts, stdlib
Related Id(s): PR-6151
*** HIGHLIGHT ***
Some map operations have been optimized by changing the
internal sort order of atom keys. This changes the
(undocumented) order of how atom keys in small maps are
printed and returned by maps:to_list/1 and maps:next/1.
The new order is unpredictable and may change between
different invocations of the Erlang VM.
For applications where order is important, there is a
new function maps:iterator/2 for creating iterators
that return the map elements in a deterministic order.
There are also new modifiers k and K for the format
string for io:format() to support printing map elements
ordered.
OTP-18423 Application(s): stdlib
Related Id(s): com/erlang/backlog/issues/142,
https://github
Make gen_server fail "silently" with a new return value
for init/1.
OTP-18431 Application(s): compiler, stdlib
Related Id(s): PR-6739
*** HIGHLIGHT ***
Improved the selective receive optimization, which can
now be enabled for references returned from other
functions.
This greatly improves the performance of
gen_server:send_request/3, gen_server:wait_response/2,
and similar functions.
OTP-18445 Application(s): erts, stdlib
*** HIGHLIGHT ***
It is no longer necessary to enable a feature in the
runtime system in order to load modules that are using
it. It is sufficient to enable the feature in the
compiler when compiling it.
That means that to use feature maybe_expr in Erlang/OTP
26, it is sufficient to enable it during compilation.
In Erlang/OTP 27, feature maybe_expr will be enabled by
default, but it will be possible to disable it.
OTP-18474 Application(s): stdlib
Related Id(s): PR-6895
Static supervisors are very idle processes after they
have started so they will now be hibernated after start
to improve resource management.
OTP-18494 Application(s): stdlib
Related Id(s): PR-6924
Support has been added in ms_transform for the actions
caller_line/0, current_stacktrace/0, and
current_stacktrace/1.
OTP-18495 Application(s): stdlib
Related Id(s): PR-6943
*** HIGHLIGHT ***
The family of enumeration functions in module lists has
been extended with enumerate/3 that allows a step value
to be supplied.
OTP-18500 Application(s): stdlib
*** HIGHLIGHT ***
Update Unicode to version 15.0.0.
OTP-18511 Application(s): otp, stdlib
Related Id(s): PR-7017
The regular expression library powering the re module
is likely to be changed in Erlang/OTP 27. See Upcoming
Potential Incompatibilities.
OTP-18515 Application(s): stdlib
Related Id(s): GH-6990
Improved the performance of sets:subtract/2 when
subtracting a small number of elements.
OTP-18518 Application(s): stdlib
Related Id(s): GH-7015
The linter will no longer raise warnings for
underspecified opaque types.
OTP-18522 Application(s): dialyzer, erts, stdlib
*** HIGHLIGHT ***
Added the new built-in type dynamic() introduced in
EEP-61, improving support for gradual type checkers.
Full runtime dependencies of stdlib-5.0: compiler-5.0, crypto-4.5,
erts-13.1, kernel-9.0, sasl-3.0
---------------------------------------------------------------------
--- syntax_tools-3.1 ------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18413 Application(s): compiler, erts, stdlib, syntax_tools,
tools
Related Id(s): EEP-58, PR-6727
*** HIGHLIGHT ***
Map comprehensions as suggested in EEP 58 has now been
implemented.
Full runtime dependencies of syntax_tools-3.1: compiler-7.0,
erts-9.0, kernel-5.0, stdlib-4.0
---------------------------------------------------------------------
--- tftp-1.1 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of tftp-1.1: erts-6.0, kernel-6.0,
stdlib-5.0
---------------------------------------------------------------------
--- tools-3.6 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18413 Application(s): compiler, erts, stdlib, syntax_tools,
tools
Related Id(s): EEP-58, PR-6727
*** HIGHLIGHT ***
Map comprehensions as suggested in EEP 58 has now been
implemented.
OTP-18487 Application(s): runtime_tools, tools
Related Id(s): PR-6829
The instrument module has been moved from tools to
runtime_tools.
Full runtime dependencies of tools-3.6: compiler-5.0, erts-11.0,
erts-9.1, kernel-5.4, runtime_tools-1.8.14, stdlib-3.4
---------------------------------------------------------------------
--- wx-2.3 ----------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-18350 Application(s): inets, observer, os_mon, reltool, wx
Runtime dependencies have been updated.
OTP-18490 Application(s): diameter, inets, mnesia, reltool,
snmp, ssh, tftp, wx
Related Id(s): GH-6339, OTP-18471, PR-6843
*** POTENTIAL INCOMPATIBILITY ***
The implementation has been fixed to use
proc_lib:init_fail/2,3 where appropriate, instead of
proc_lib:init_ack/1,2.
Full runtime dependencies of wx-2.3: erts-12.0, kernel-8.0,
stdlib-5.0
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|