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
|
Inital Release: OTP 25.0
Git Tag: OTP-25.0
Date: 2022-04-13
Trouble Report Id: OTP-15991, OTP-15993, OTP-16464, OTP-16607,
OTP-16643, OTP-16644, OTP-16702, OTP-16852,
OTP-16982, OTP-17119, OTP-17151, OTP-17224,
OTP-17304, OTP-17318, OTP-17323, OTP-17351,
OTP-17370, OTP-17414, OTP-17447, OTP-17471,
OTP-17479, OTP-17480, OTP-17481, OTP-17504,
OTP-17518, OTP-17523, OTP-17524, OTP-17544,
OTP-17550, OTP-17551, OTP-17554, OTP-17555,
OTP-17556, OTP-17558, OTP-17561, OTP-17562,
OTP-17566, OTP-17569, OTP-17589, OTP-17592,
OTP-17608, OTP-17612, OTP-17617, OTP-17627,
OTP-17630, OTP-17636, OTP-17644, OTP-17654,
OTP-17660, OTP-17661, OTP-17667, OTP-17669,
OTP-17676, OTP-17681, OTP-17682, OTP-17683,
OTP-17684, OTP-17685, OTP-17701, OTP-17704,
OTP-17705, OTP-17710, OTP-17717, OTP-17720,
OTP-17728, OTP-17729, OTP-17733, OTP-17752,
OTP-17753, OTP-17755, OTP-17758, OTP-17762,
OTP-17772, OTP-17778, OTP-17779, OTP-17784,
OTP-17802, OTP-17810, OTP-17819, OTP-17820,
OTP-17821, OTP-17824, OTP-17826, OTP-17832,
OTP-17836, OTP-17841, OTP-17842, OTP-17846,
OTP-17855, OTP-17860, OTP-17866, OTP-17869,
OTP-17870, OTP-17878, OTP-17881, OTP-17882,
OTP-17884, OTP-17885, OTP-17889, OTP-17890,
OTP-17892, OTP-17894, OTP-17897, OTP-17899,
OTP-17901, OTP-17908, OTP-17909, OTP-17910,
OTP-17911, OTP-17915, OTP-17920, OTP-17921,
OTP-17923, OTP-17925, OTP-17927, OTP-17930,
OTP-17935, OTP-17939, OTP-17945, OTP-17950,
OTP-17951, OTP-17953, OTP-17958, OTP-17961,
OTP-17964, OTP-17965, OTP-17968, OTP-17969,
OTP-17970, OTP-17974, OTP-17976, OTP-17977,
OTP-17980, OTP-17984, OTP-17985, OTP-17986,
OTP-17988, OTP-17990, OTP-17991, OTP-17996,
OTP-17997, OTP-17999, OTP-18000, OTP-18001,
OTP-18003, OTP-18008, OTP-18009, OTP-18011,
OTP-18012, OTP-18014, OTP-18015, OTP-18020,
OTP-18027, OTP-18033, OTP-18034, OTP-18035,
OTP-18036, OTP-18038, OTP-18039, OTP-18047
Seq num: ERIERL-590, ERIERL-663, ERIERL-760, ERL-1347,
GH-2375, GH-2690, GH-4143, GH-4492, GH-4622,
GH-4673, GH-4759, GH-4784, GH-4819, GH-4853,
GH-4915, GH-4965, GH-4968, GH-4971, GH-5016,
GH-5071, GH-5093, GH-5094, GH-5140, GH-5204,
GH-5214, GH-5297, GH-5368, GH-5376, GH-5379,
GH-5402, GH-5403, GH-5463, GH-5513, GH-5606,
GH-5617, GH-5655, GH-5683, GH-5728, GH-5780,
GH-5782, GH-5801, GH-5828
System: OTP
Release: 25
Application: asn1-5.0.19, common_test-1.23, compiler-8.2,
crypto-5.1, debugger-5.3, dialyzer-5.0,
diameter-2.2.6, edoc-1.2, erl_docgen-1.3,
erl_interface-5.3, erts-13.0, eunit-2.7.1,
inets-8.0, jinterface-1.13, kernel-8.4,
megaco-4.4, mnesia-4.21, observer-2.12,
odbc-2.14, parsetools-2.4, public_key-1.13,
runtime_tools-1.19, sasl-4.2, snmp-5.13,
ssh-4.14, ssl-10.8, stdlib-4.0,
syntax_tools-3.0, tools-3.5.3, wx-2.2,
xmerl-1.3.29
Predecessor: OTP
Check out the git tag OTP-25.0, and build a full OTP system including
documentation.
---------------------------------------------------------------------
--- HIGHLIGHTS ------------------------------------------------------
---------------------------------------------------------------------
OTP-15991 Application(s): erts, stdlib
Related Id(s): PR-5208
Users can now configure ETS tables with the
{write_concurrency, auto} option. This option forces
tables to automatically change the number of locks that
are used at run-time depending on how much concurrency
is detected. The {decentralized_counters, true} option
is enabled by default when {write_concurrency, auto} is
active.
Benchmark results comparing this option with the other
ETS optimization options are available here:
https://erlang.org/bench/ets_bench_result_lock_config.html
OTP-16702 Application(s): compiler, erts
To enable more optimizations, BEAM files compiled with
OTP 21 and earlier cannot be loaded in OTP 25.
OTP-16982 Application(s): erts
Related Id(s): PR-5020
The signal queue of a process with
message_queue_data=off_heap* has been optimized to
allow parallel reception of signals from multiple
processes.
This is possible to do as Erlang only guarantees that
signals (i.e., message signals and non-message signals)
sent from a single process to another process are
ordered in send order. However, there are no ordering
guarantees for signals sent from different processes to
a particular process. Therefore, several processes can
send signals in parallel to a specific process without
synchronizing with each other. However, such signal
sending was previously always serialized as the senders
had to acquire the lock for the outer signal queue of
the receiving process. This parallel signal sending
optimization yields much better scalability for signal
sending than what was previously possible, see
https://erlang.org/bench/sigq_bench_result.html for
benchmark results.
* Information about how to enable the
message_queue_data=off_heap setting can be found in the
documentation of the function erlang:process_flag/2.
OTP-17119 Application(s): erts
Related Id(s): PR-4869
The JIT now works for 64-bit ARM processors.
OTP-17151 Application(s): compiler, erts
Related Id(s): ERIERL-590, PR-5479
Added support for the compile attribute -nifs() to
empower compiler and loader with information about
which functions may be overridden as NIFs by
erlang:load_nif/2. It is recommended to use this
attribute in all modules that load NIF libraries.
OTP-17351 Application(s): stdlib
Related Id(s): GH-4673, PR-4952
The format_status/2 callback for gen_server, gen_statem
and gen_event has been deprecated in favor of the new
format_status/1 callback.
The new callback adds the possibility to limit and
change many more things than the just the state, such
as the last received message, the reason for
terminating and more events specific to each type of
behavior. See the respective modules documentation for
more details.
OTP-17481 Application(s): stdlib
Related Id(s): PR-4811
The timer module has been modernized and made more
efficient, which makes the timer server less
susceptible to being overloaded. The timer:sleep/1
function now accepts an arbitrarily large integer.
OTP-17504 Application(s): compiler, erts
Related Id(s): GH-4971, PR-5281, PR-5752
When binary construction using the binary syntax fails,
the error message printed in the shell and by
erl_error:format_exception/3,4 will contain more
detailed information about what went wrong.
OTP-17684 Application(s): compiler, erts
Related Id(s): PR-5316, PR-5664
The Erlang compiler now includes type information in
BEAM files, and the JIT can now use that type
information to do optimizations such as eliminating or
simplifying type tests.
OTP-17705 Application(s): compiler
Related Id(s): PR-5411
The maybe ... end construction proposed in EEP-49 has
been implemented. It can simplify complex code where
otherwise deeply nested cases would have to be used.
To enable maybe, give the option -enable-feature
maybe_expr to erlc or add -feature(enable, maybe_expr).
inside the module.
OTP-17710 Application(s): otp
Related Id(s): PR-5597
A new DEVELOPMENT how-to guide has been added that
describes how to build and test Erlang/OTP when fixing
bugs or developing new functionality.
The makefile system has been extended to make it easier
to run tests at different granulates directly from the
command line. This new functionality is described in
the development how-to.
Using the extended makefile system, testing has been
added to the Github actions run for each opened PR so
that more bugs are caught earlier when bug fixes and
new features are proposed.
OTP-17720 Application(s): common_test, kernel, stdlib
Related Id(s): PR-5162
The new module peer supersedes the slave module. The
slave module is now deprecated and will be removed in
OTP 27.
peer contains an extended and more robust API for
starting erlang nodes.
OTP-17784 Application(s): kernel, stdlib
Related Id(s): PR-5792
In order to make it easier for the user to manage
multiple outstanding asynchronous call requests, new
functionality utilizing request identifier collections
have been introduced in erpc, gen_server, gen_statem,
and gen_event.
OTP-17841 Application(s): compiler, erts
Related Id(s): PR-5694
When a record matching or record update fails, a
{badrecord,ExpectedRecordTag} exception used to be
raised. In this release, the exception has been changed
to {badrecord,ActualValue}, where ActualValue is the
actual that was found instead of the expected record.
OTP-17911 Application(s): kernel
Related Id(s): OTP-17843, PR-5611, PR-5687
*** POTENTIAL INCOMPATIBILITY ***
As of OTP 25, global will by default prevent
overlapping partitions due to network issues by
actively disconnecting from nodes that reports that
they have lost connections to other nodes. This will
cause fully connected partitions to form instead of
leaving the network in a state with overlapping
partitions.
Prevention of overlapping partitions can be disabled
using the prevent_overlapping_partitions kernel(6)
parameter, making global behave like it used to do.
This is, however, problematic for all applications
expecting a fully connected network to be provided,
such as for example mnesia, but also for global itself.
A network of overlapping partitions might cause the
internal state of global to become inconsistent. Such
an inconsistency can remain even after such partitions
have been brought together to form a fully connected
network again. The effect on other applications that
expects that a fully connected network is maintained
may vary, but they might misbehave in very subtle hard
to detect ways during such a partitioning. Since you
might get hard to detect issues without this fix, you
are strongly advised not to disable this fix. Also note
that this fix has to be enabled on all nodes in the
network in order to work properly.
OTP-17953 Application(s): stdlib
Related Id(s): PR-5621
Added filelib:ensure_path/1 that ensures that all
directories for the given path exists (unlike
filelib:ensure_dir/1, which will not create the last
segment of the path).
OTP-17969 Application(s): stdlib
Related Id(s): PR-5588
The functions groups_from_list/2 and groups_from_list/3
have been added to the maps module.
OTP-17977 Application(s): stdlib
Related Id(s): GH-5606, PR-5766
The functions uniq/1 and uniq/2 for removing duplicates
have been added to the lists module.
OTP-17988 Application(s): compiler, kernel, stdlib, syntax_tools
Added support for selectable features as described in
EEP-60. Features can be enabled/disabled during
compilation with options (ordinary and +term) to erlc
as well as with directives in the file. Similar options
can be used to erl for enabling/disabling features
allowed at runtime. The new maybe expression (EEP-49)
is fully supported as the feature maybe_expr.
OTP-18039 Application(s): compiler
Change format of feature options and directives for
better consistency. Options to erlc and the
-compile(..) directive now has the format {feature,
feature-name, enable | disable}. The -feature(..) now
has the format -feature(feature-name, enable |
disable).
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-17544 Application(s): stdlib
Related Id(s): PR-5008
Fix gen_server:call with the first argument as self()
to throw an error instead of failing with a timeout.
The same fix has also been done for gen_statem:call/3,
gen_event:sync_notify/2 and any other functionality
relying on the internal gen:call/3 function.
A similar fix was also done when using io:format/2 and
the current group_leader was set to the current
process.
OTP-17569 Application(s): erts
Related Id(s): PR-4793
The growth rate of writable binaries has been adjusted
to only increase by 20% after 16MB in size. Before this
change the size would always double.
This change may degrade write performance of large
binaries.
OTP-17627 Application(s): inets, stdlib
Adjust uri_string:normalize behavior for URIs with
undefined port (URI string with a port colon but no
port value or URI map with port => undefined).
Remove redundant normalization from http_request
module.
Before this change, normalize would not remove port
subcomponent in such cases and could for example return
"http://localhost:" URI.
OTP-17644 Application(s): dialyzer
Related Id(s): PR-5223
Fixed a bug that could cause the type analyzer to enter
an infinite loop.
OTP-17681 Application(s): kernel
Related Id(s): PR-5307
The most, or at least the most used, rpc operations now
require erpc support in order to communicate with other
Erlang nodes. erpc was introduced in OTP 23. That is,
rpc operations against Erlang nodes of releases prior
to OTP 23 will fail.
OTP-17683 Application(s): erts
Related Id(s): PR-5306
Distributed spawn operations now require distributed
spawn_request() support. Distributed spawn_request()
was introduced in OTP 23. That is, distributed spawn
operations against Erlang nodes of releases prior to
OTP 23 will fail.
OTP-17821 Application(s): dialyzer
Related Id(s): GH-5016, OTP-17554, PR-5408
The default location of the plt has been changed from
$HOME to filename:basedir(user_cache,"erlang").
OTP-17866 Application(s): inets
This change removes deprecated functions:
http_uri:parse/1, http_uri:parse/2 and
http_uri:scheme_defaults/0.
This change delays until OTP-26 removal of deprecated
functions: http_uri:encode/1 and http_uri:decode/1.
This change marks httpd_util:decode_hex/1 and
httpd_util:encode_hex/1 as deprecated.
OTP-17889 Application(s): inets
Fixed typo in Reason term returned from
httpc_handler:handle_http_body.
After this change, could_not_establish_ssl_tunnel atom
is returned within Reason term.
OTP-17894 Application(s): syntax_tools
Related Id(s): PR-5509
The erl_syntax_lib:analyze_attribute/1 function would
return {Name, {Name, Value}} instead of {Name, Value}
(which is the documented return value).
OTP-17911 Application(s): kernel
Related Id(s): OTP-17843, PR-5611, PR-5687
*** HIGHLIGHT ***
As of OTP 25, global will by default prevent
overlapping partitions due to network issues by
actively disconnecting from nodes that reports that
they have lost connections to other nodes. This will
cause fully connected partitions to form instead of
leaving the network in a state with overlapping
partitions.
Prevention of overlapping partitions can be disabled
using the prevent_overlapping_partitions kernel(6)
parameter, making global behave like it used to do.
This is, however, problematic for all applications
expecting a fully connected network to be provided,
such as for example mnesia, but also for global itself.
A network of overlapping partitions might cause the
internal state of global to become inconsistent. Such
an inconsistency can remain even after such partitions
have been brought together to form a fully connected
network again. The effect on other applications that
expects that a fully connected network is maintained
may vary, but they might misbehave in very subtle hard
to detect ways during such a partitioning. Since you
might get hard to detect issues without this fix, you
are strongly advised not to disable this fix. Also note
that this fix has to be enabled on all nodes in the
network in order to work properly.
OTP-17920 Application(s): ssh
The representation of Edward curves (ed25519 and ed448)
inside ssh had a temporary representation (ed_pri and
ed_pub).
That is now changed to the public_key form. See the
manual for more information.
OTP-17921 Application(s): public_key
The deprecated public_key functions ssh_decode/2,
ssh_encode/2, ssh_hostkey_fingerprint/1 and
ssh_hostkey_fingerprint/2 are removed.
They are replaced by ssh_file:decode/2,
ssh_file:encode/2, ssh:hostkey_fingerprint/1 and
ssh:hostkey_fingerprint/2 respectively.
Note that the decode/2 and encode/2 are not exact
replacement functions, some minor changes may be
needed. Se the manual for more information.
OTP-17925 Application(s): stdlib
Related Id(s): PR-5631
The non-local function handler for the erl_eval can now
be called with either two or three arguments. When
called with three arguments, the first argument is the
annotation for the node in the abstract format.
All errors during evaluation will now be passed through
erlang:raise/3. If the restricted shell is active and
it does not let erlang:raise/3 through, evaluation
errors will be printed in less clear way. See the
documentation for restricted shell in shell.
OTP-17950 Application(s): wx
Added aux1Down and aux2Down fields to the wxMouseState
record. Since one record have been changed a
recompilation of user code might be required.
OTP-17965 Application(s): crypto
The infomation in error messages are increased.
Previously the error was signaled with en error class
exception badarg, notsup or error, and also in some
more ways like an other exception or a return value in
a non-standardized format.
Now it is an error-class exception
{notsup|badarg|error, InfoFromCfile,
Description::string()}.
The InfoFromCfile is a term with name and line number
of the C-file where the error was found. This is
primarily intended for a crypto maitntainer or an
advanced user to find the cause of complicated errors -
maybe in crypto itself. The contents of that term might
be changed in the future.
The Description is a clear text string that describes
the error. In case of badarg and notsup the intention
is that it should help the user to find the cause ("Bad
key size" as an example). Specially for some error that
are unlikely, the string may not be possible to
understand without deep knowledge of the underlying
cryptolib. Such messages are intended for a crypto
maintainer.
The first element on call stack (the S in try ... catch
error:E:S .... end) gives more information like the
actual argument list in the call of crypto and the
argument number (if possible) in the call to the NIF
inside crypto.
The functions in crypto affected by this change are:
sign/4, sign/5, verify/5, verify/6,
generate_key/2, generate_key/3, compute_key/4,
hash/2, hash/4, hash_init/1, hash_update/4,
hash_final/1,
mac/3,4, mac_init/3, mac_update/2, mac_final/2,
pbkdf2_hmac/5,
public_encrypt/4, private_decrypt/4, private_encrypt/4,
public_decrypt/4
This schema was introduced earlier in:
crypto_init/3, crypto_init/4, crypto_update/2,
crypto_final/1, crypto_get_data/1,
crypto_one_time/4, crypto_one_time/5,
crypto_one_time_aead/6, crypto_one_time_aead/7
OTP-17991 Application(s): stdlib
The function filename:safe_relative_path/1, which has
been deprecated since OTP 25, has been removed. Use
filelib:safe_relative_path/2 instead.
OTP-18009 Application(s): stdlib
Related Id(s): PR-5785
Fixed string:next_grapheme/1 to return an empty binary
in the tail for binary input for the last grapheme
cluster.
---------------------------------------------------------------------
--- OTP-25.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17224 Application(s): erts, otp
A test case has been added to the otp_SUITE that test
that the dependency versions for OTP's applications are
correct. The test case uses xref to check if the used
functions are available in the specified dependency
versions. The test case depends on the Erlang/OTP
team's testing infrastructure and will be skipped if
its dependencies are not met.
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17669 Application(s): erl_docgen, otp
Related Id(s): PR-5226
Any exported, but private function or module in
Erlang/OTP now generate an EEP-48 style documentation
entry with the content set to hidden.
Before this change, exported but private functions and
modules did not have any entry at all.
OTP-17710 Application(s): otp
Related Id(s): PR-5597
*** HIGHLIGHT ***
A new DEVELOPMENT how-to guide has been added that
describes how to build and test Erlang/OTP when fixing
bugs or developing new functionality.
The makefile system has been extended to make it easier
to run tests at different granulates directly from the
command line. This new functionality is described in
the development how-to.
Using the extended makefile system, testing has been
added to the Github actions run for each opened PR so
that more bugs are caught earlier when bug fixes and
new features are proposed.
---------------------------------------------------------------------
--- asn1-5.0.19 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17980 Application(s): asn1
The atom maybe has been quoted in the source code.
Full runtime dependencies of asn1-5.0.19: erts-11.0, kernel-7.0,
stdlib-3.13
---------------------------------------------------------------------
--- common_test-1.23 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17881 Application(s): common_test
Related Id(s): PR-5581
Fix bug when running parallel testcases and together
with one or more ct hooks that would cause the hook
lock process to crash and produce printouts in the ct
logs.
--- Improvements and New Features ---
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17676 Application(s): common_test
Related Id(s): PR-5021
Remove unused and undocumented tracer node
functionality.
OTP-17720 Application(s): common_test, kernel, stdlib
Related Id(s): PR-5162
*** HIGHLIGHT ***
The new module peer supersedes the slave module. The
slave module is now deprecated and will be removed in
OTP 27.
peer contains an extended and more robust API for
starting erlang nodes.
OTP-17882 Application(s): common_test
Related Id(s): PR-5581
The cth_surefire ct hook has been updated to include
the file and line number of the executed test case in
the xml output.
The performance of the hook has also been improved
greatly for test runs with many test cases.
Full runtime dependencies of common_test-1.23: 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.2 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17820 Application(s): compiler
Fixed a rare bug that would crash the compiler during
type optimization.
OTP-17860 Application(s): compiler
Related Id(s): GH-5513, OTP-17226
Starting in OTP 24, when a fun was created and
immediately used, it would be inlined. An unintended
consequence of the inlining was that what would be a
function_clause exception without the inlining would
now be a rather confusing case_clause exception. This
has been corrected, so that function_clause exceptions
remain function_clause exceptions in inlined code.
--- Improvements and New Features ---
OTP-16702 Application(s): compiler, erts
*** HIGHLIGHT ***
To enable more optimizations, BEAM files compiled with
OTP 21 and earlier cannot be loaded in OTP 25.
OTP-17151 Application(s): compiler, erts
Related Id(s): ERIERL-590, PR-5479
*** HIGHLIGHT ***
Added support for the compile attribute -nifs() to
empower compiler and loader with information about
which functions may be overridden as NIFs by
erlang:load_nif/2. It is recommended to use this
attribute in all modules that load NIF libraries.
OTP-17504 Application(s): compiler, erts
Related Id(s): GH-4971, PR-5281, PR-5752
*** HIGHLIGHT ***
When binary construction using the binary syntax fails,
the error message printed in the shell and by
erl_error:format_exception/3,4 will contain more
detailed information about what went wrong.
OTP-17684 Application(s): compiler, erts
Related Id(s): PR-5316, PR-5664
*** HIGHLIGHT ***
The Erlang compiler now includes type information in
BEAM files, and the JIT can now use that type
information to do optimizations such as eliminating or
simplifying type tests.
OTP-17685 Application(s): compiler, erts
Improved the JIT's support for external tools like perf
and gdb, allowing them to show line numbers and even
the original Erlang source code when that can be found.
To aid them in finding the source code, the
absolute_path compiler option has been added to embed
the absolute file path of a module.
OTP-17705 Application(s): compiler
Related Id(s): PR-5411
*** HIGHLIGHT ***
The maybe ... end construction proposed in EEP-49 has
been implemented. It can simplify complex code where
otherwise deeply nested cases would have to be used.
To enable maybe, give the option -enable-feature
maybe_expr to erlc or add -feature(enable, maybe_expr).
inside the module.
OTP-17810 Application(s): compiler
Related Id(s): GH-5379
A subtle bug regarding variable scoping has been
corrected. Consider this example:
(A=1) + fun() -> A = 2() end
In the shell, the expression correctly evaluates to 3.
In compiled code, it raised a {badmatch, 2} exception.
OTP-17841 Application(s): compiler, erts
Related Id(s): PR-5694
*** HIGHLIGHT ***
When a record matching or record update fails, a
{badrecord,ExpectedRecordTag} exception used to be
raised. In this release, the exception has been changed
to {badrecord,ActualValue}, where ActualValue is the
actual that was found instead of the expected record.
OTP-17842 Application(s): compiler
Improved optimization of try/catch expressions.
OTP-17885 Application(s): compiler
Related Id(s): GH-5140
The beam_trim pass of the compiler could be extremely
slow for huge straight-line functions. It will now
compile such functions much faster (down to seconds
from minutes for some huge functions).
OTP-17988 Application(s): compiler, kernel, stdlib, syntax_tools
*** HIGHLIGHT ***
Added support for selectable features as described in
EEP-60. Features can be enabled/disabled during
compilation with options (ordinary and +term) to erlc
as well as with directives in the file. Similar options
can be used to erl for enabling/disabling features
allowed at runtime. The new maybe expression (EEP-49)
is fully supported as the feature maybe_expr.
OTP-18039 Application(s): compiler
*** HIGHLIGHT ***
Change format of feature options and directives for
better consistency. Options to erlc and the
-compile(..) directive now has the format {feature,
feature-name, enable | disable}. The -feature(..) now
has the format -feature(feature-name, enable |
disable).
Full runtime dependencies of compiler-8.2: crypto-5.1, erts-13.0,
kernel-8.4, stdlib-4.0
---------------------------------------------------------------------
--- crypto-5.1 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17984 Application(s): crypto
Remove faulty types run_time_error() and
descriptive_error().
--- Improvements and New Features ---
OTP-16643 Application(s): crypto
Related Id(s): OTP-16282
The deprecated low-level DH API is not used when crypto
is compiled with OpenSSL 3.0.
OTP-16644 Application(s): crypto
Related Id(s): OTP-16282
The deprecated low-level RSA API is not used when
crypto is compiled with OpenSSL 3.0.
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17471 Application(s): crypto
Related Id(s): PR-4750
Add crypto:hash_equals/2
OTP-17561 Application(s): crypto
Add /opt/homebrew/opt/openssl to standard locations to
search for OpenSSL cryptolib.
OTP-17701 Application(s): crypto
Related Id(s): OTP-16282
The deprecated low-level DSA API is not used when
crypto is compiled with OpenSSL 3.0.
OTP-17704 Application(s): crypto
Related Id(s): OTP-16282
The deprecated BN_pseudo_rand_range is not used when
crypto is compiled with OpenSSL 3.0.
OTP-17870 Application(s): crypto
crypto_dyn_iv_init/3 and crypto_dyn_iv_update/3 are
deprecated.
OTP-17965 Application(s): crypto
*** POTENTIAL INCOMPATIBILITY ***
The infomation in error messages are increased.
Previously the error was signaled with en error class
exception badarg, notsup or error, and also in some
more ways like an other exception or a return value in
a non-standardized format.
Now it is an error-class exception
{notsup|badarg|error, InfoFromCfile,
Description::string()}.
The InfoFromCfile is a term with name and line number
of the C-file where the error was found. This is
primarily intended for a crypto maitntainer or an
advanced user to find the cause of complicated errors -
maybe in crypto itself. The contents of that term might
be changed in the future.
The Description is a clear text string that describes
the error. In case of badarg and notsup the intention
is that it should help the user to find the cause ("Bad
key size" as an example). Specially for some error that
are unlikely, the string may not be possible to
understand without deep knowledge of the underlying
cryptolib. Such messages are intended for a crypto
maintainer.
The first element on call stack (the S in try ... catch
error:E:S .... end) gives more information like the
actual argument list in the call of crypto and the
argument number (if possible) in the call to the NIF
inside crypto.
The functions in crypto affected by this change are:
sign/4, sign/5, verify/5, verify/6,
generate_key/2, generate_key/3, compute_key/4,
hash/2, hash/4, hash_init/1, hash_update/4,
hash_final/1,
mac/3,4, mac_init/3, mac_update/2, mac_final/2,
pbkdf2_hmac/5,
public_encrypt/4, private_decrypt/4, private_encrypt/4,
public_decrypt/4
This schema was introduced earlier in:
crypto_init/3, crypto_init/4, crypto_update/2,
crypto_final/1, crypto_get_data/1,
crypto_one_time/4, crypto_one_time/5,
crypto_one_time_aead/6, crypto_one_time_aead/7
Full runtime dependencies of crypto-5.1: erts-9.0, kernel-5.3,
stdlib-3.9
---------------------------------------------------------------------
--- debugger-5.3 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17554 Application(s): debugger, erts, kernel, observer,
stdlib
Related Id(s): GH-5016, OTP-17821, PR-5408
The configuration files .erlang, .erlang.cookie and
.erlang.crypt can now be located in the XDG Config Home
directory.
See the documentation for each file and
filename:basedir/2 for more details.
Full runtime dependencies of debugger-5.3: compiler-8.0, erts-12.0,
kernel-8.0, stdlib-3.15, wx-2.0
---------------------------------------------------------------------
--- dialyzer-5.0 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17644 Application(s): dialyzer
Related Id(s): PR-5223
*** POTENTIAL INCOMPATIBILITY ***
Fixed a bug that could cause the type analyzer to enter
an infinite loop.
--- Improvements and New Features ---
OTP-17524 Application(s): dialyzer
Optimize operations in the erl_types module.
Parallelize the Dialyzer pass remote.
OTP-17654 Application(s): dialyzer
Related Id(s): GH-5214
Added the missing_return and extra_return options to
raise warnings when specifications differ from inferred
types. These are similar to, but not quite as verbose
as overspecs and underspecs.
OTP-17819 Application(s): dialyzer
The race_conditions option has been removed.
OTP-17821 Application(s): dialyzer
Related Id(s): GH-5016, OTP-17554, PR-5408
*** POTENTIAL INCOMPATIBILITY ***
The default location of the plt has been changed from
$HOME to filename:basedir(user_cache,"erlang").
OTP-17826 Application(s): dialyzer
Related Id(s): PR-5498
dialyzer will now honor dependencies inside type
declarations. That is, if the declaration of an
exported type changes, all modules using said type will
be revisited.
OTP-17897 Application(s): dialyzer
Related Id(s): PR-5651
Dialyzer now better understands the types for min/2,
max/2, and erlang:raise/3. Because of that, Dialyzer
can potentially generate new warnings. In particular,
functions that use erlang:raise/3 could now need a spec
with a no_return() return type to avoid an unwanted
warning.
OTP-17964 Application(s): dialyzer
Related Id(s): PR-5660
The typer_core module has been added to provide an
Erlang API for running typer.
OTP-18035 Application(s): dialyzer
Related Id(s): PR-5802
Added the --annotate-in-place option to typer, which
can be used to annotate the specs that the tool
inferred directly into the source code files.
Full runtime dependencies of dialyzer-5.0: compiler-8.0, erts-12.0,
kernel-8.0, stdlib-3.15, syntax_tools-2.0, wx-2.0
---------------------------------------------------------------------
--- diameter-2.2.6 --------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17976 Application(s): diameter
Related Id(s): GH-5463
Fix decode of non-IP address types; that is, of values
of the derived AVP data format Address whose first two
octets specify an address family other than 1 (IP) or 2
(IP6). Such values have never been decoded, and were
treated as decode errors. They're now decoded to a
2-tuple of the integer() address family and binary()
remaining octets, with no family-specific decode. The
2-tuple distinguishes the decode from the 4-tuple and
8-tuple IP address decodes. 2-tuples are also now
encoded.
Note that even currently unassigned address families
are decoded: only the reserved values, 0 and 65535, are
treated as errors.
Full runtime dependencies of diameter-2.2.6: erts-10.0, kernel-3.2,
ssl-9.0, stdlib-3.0
---------------------------------------------------------------------
--- edoc-1.2 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17550 Application(s): edoc
Related Id(s): GH-5094, PR-5106
Fix unused types warnings in internal edoc module.
--- Improvements and New Features ---
OTP-17556 Application(s): edoc
Related Id(s): PR-5023
Add source file to the warning on skipped tags when
generating EEP-48 style docs.
OTP-17733 Application(s): edoc
Related Id(s): PR-5205
Fix the doc chunks generators to emit documentation
even if there is not module level documentation.
Fix the doc chunks generators to respect the @hidden
and @private tags properly for both modules and
functions.
Full runtime dependencies of edoc-1.2: erts-6.0, inets-5.10,
kernel-3.0, stdlib-3.15, syntax_tools-2.0, xmerl-1.3.7
---------------------------------------------------------------------
--- erl_docgen-1.3 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17669 Application(s): erl_docgen, otp
Related Id(s): PR-5226
Any exported, but private function or module in
Erlang/OTP now generate an EEP-48 style documentation
entry with the content set to hidden.
Before this change, exported but private functions and
modules did not have any entry at all.
Full runtime dependencies of erl_docgen-1.3: edoc-1.0, erts-11.0,
kernel-8.0, stdlib-3.15, xmerl-1.3.7
---------------------------------------------------------------------
--- erl_interface-5.3 -----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17846 Application(s): erl_interface
Related Id(s): PR-5558
erl_call no longer links against nsl on platforms where
gethostbyname is provided by libc.
--- Improvements and New Features ---
OTP-17318 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-4972
The following distribution flags are now mandatory:
DFLAG_BIT_BINARIES, DFLAG_EXPORT_PTR_TAG,
DFLAG_MAP_TAGS, DFLAG_NEW_FLOATS, and DFLAG_FUN_TAGS.
This mainly concerns libraries or application that
implement the distribution protocol themselves.
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17682 Application(s): erl_interface, erts, jinterface
Related Id(s): PR-5347
Removed use of node creation value zero as a wildcard.
Also prevent zero from being used as creation by
erl_interface and jinterface nodes.
OTP-17802 Application(s): erl_interface
Related Id(s): PR-5347
Changed creation arguments, of function ei_connet_init
and friends, from type short to unsigned int for full
32-bit range.
--- 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-13.0 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17447 Application(s): erts, kernel
Related Id(s): GH-4819
The socket option 'reuseaddr' is *no longer* ignored on
Windows.
OTP-17569 Application(s): erts
Related Id(s): PR-4793
*** POTENTIAL INCOMPATIBILITY ***
The growth rate of writable binaries has been adjusted
to only increase by 20% after 16MB in size. Before this
change the size would always double.
This change may degrade write performance of large
binaries.
OTP-17661 Application(s): erts, stdlib
Related Id(s): PR-5165
Fix reduction counting bug in re:run that caused the
function to yield too frequently when doing global
matches.
OTP-17758 Application(s): erts
Related Id(s): PR-5391
Fix spelling mistakes in epmd error messages.
OTP-17779 Application(s): erts
Related Id(s): GH-5403, PR-5599
Fix bug where the "newshell" would trigger a newline at
the column width of the terminal, even if the next
character to be printed was a newline. This would cause
the terminal to render two newlines instead of one.
OTP-17832 Application(s): erts, stdlib
Related Id(s): PR-5494
Fix the memory value returned from ets:info(Tid,memory)
when the read_concurrency option is used.
Before this fix the memory used by the scheduler
specific lock cache lines was not counted towards the
total. This caused the returned memory usage to be very
incorrect on systems with many schedulers for tables
with man locks.
OTP-17836 Application(s): erts
Related Id(s): PR-5546
Fix the undocumented --profile_boot option to work
again.
OTP-17970 Application(s): erts
Related Id(s): PR-5762
Let EPMD tolerate failure when binding to IPv4/IPv6
loopback intefaces in addition to user-supplied
addresses via ERL_EPMD_ADDRESS or the -address option.
This can happen, for example, if the host system has
ipv6 disabled via the disable_ipv6 sysctl.
OTP-18020 Application(s): erts, kernel
[socket] Encode of sockaddr has been improved.
OTP-18027 Application(s): erts
Fixed a bug in binary_to_term/1,
enif_make_map_from_arrays, erl_drv_send_term, and
Erlang distribution that could crash the emulator.
OTP-18047 Application(s): erts
Related Id(s): PR-5861
Fix erl_child_setup (the program used by
open_port({spawn,...}) and os:cmd/1) to better handle
partial reads from the Erlang VM.
--- Improvements and New Features ---
OTP-15991 Application(s): erts, stdlib
Related Id(s): PR-5208
*** HIGHLIGHT ***
Users can now configure ETS tables with the
{write_concurrency, auto} option. This option forces
tables to automatically change the number of locks that
are used at run-time depending on how much concurrency
is detected. The {decentralized_counters, true} option
is enabled by default when {write_concurrency, auto} is
active.
Benchmark results comparing this option with the other
ETS optimization options are available here:
https://erlang.org/bench/ets_bench_result_lock_config.html
OTP-16464 Application(s): erts, kernel
The net module now works on Windows.
OTP-16702 Application(s): compiler, erts
*** HIGHLIGHT ***
To enable more optimizations, BEAM files compiled with
OTP 21 and earlier cannot be loaded in OTP 25.
OTP-16852 Application(s): erts
Related Id(s): ERL-1347, PR-5195
Optimize minor garbage collection for processes with
large number of binaries, funs and/or external
pids/ports/refs. This is a continuation of the
optimization (OTP-17602) released in OTP-24.1.
OTP-16982 Application(s): erts
Related Id(s): PR-5020
*** HIGHLIGHT ***
The signal queue of a process with
message_queue_data=off_heap* has been optimized to
allow parallel reception of signals from multiple
processes.
This is possible to do as Erlang only guarantees that
signals (i.e., message signals and non-message signals)
sent from a single process to another process are
ordered in send order. However, there are no ordering
guarantees for signals sent from different processes to
a particular process. Therefore, several processes can
send signals in parallel to a specific process without
synchronizing with each other. However, such signal
sending was previously always serialized as the senders
had to acquire the lock for the outer signal queue of
the receiving process. This parallel signal sending
optimization yields much better scalability for signal
sending than what was previously possible, see
https://erlang.org/bench/sigq_bench_result.html for
benchmark results.
* Information about how to enable the
message_queue_data=off_heap setting can be found in the
documentation of the function erlang:process_flag/2.
OTP-17119 Application(s): erts
Related Id(s): PR-4869
*** HIGHLIGHT ***
The JIT now works for 64-bit ARM processors.
OTP-17151 Application(s): compiler, erts
Related Id(s): ERIERL-590, PR-5479
*** HIGHLIGHT ***
Added support for the compile attribute -nifs() to
empower compiler and loader with information about
which functions may be overridden as NIFs by
erlang:load_nif/2. It is recommended to use this
attribute in all modules that load NIF libraries.
OTP-17224 Application(s): erts, otp
A test case has been added to the otp_SUITE that test
that the dependency versions for OTP's applications are
correct. The test case uses xref to check if the used
functions are available in the specified dependency
versions. The test case depends on the Erlang/OTP
team's testing infrastructure and will be skipped if
its dependencies are not met.
OTP-17304 Application(s): erts, kernel, sasl
An Erlang installation directory is now relocatable on
the file system given that the paths in the
installation's RELEASES file are paths that are
relative to the installations root directory. The
`release_handler:create_RELEASES/4 function can
generate a RELEASES file with relative paths if its
RootDir parameter is set to the empty string.
OTP-17318 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-4972
The following distribution flags are now mandatory:
DFLAG_BIT_BINARIES, DFLAG_EXPORT_PTR_TAG,
DFLAG_MAP_TAGS, DFLAG_NEW_FLOATS, and DFLAG_FUN_TAGS.
This mainly concerns libraries or application that
implement the distribution protocol themselves.
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17504 Application(s): compiler, erts
Related Id(s): GH-4971, PR-5281, PR-5752
*** HIGHLIGHT ***
When binary construction using the binary syntax fails,
the error message printed in the shell and by
erl_error:format_exception/3,4 will contain more
detailed information about what went wrong.
OTP-17554 Application(s): debugger, erts, kernel, observer,
stdlib
Related Id(s): GH-5016, OTP-17821, PR-5408
The configuration files .erlang, .erlang.cookie and
.erlang.crypt can now be located in the XDG Config Home
directory.
See the documentation for each file and
filename:basedir/2 for more details.
OTP-17555 Application(s): erts
Related Id(s): PR-5027
Make byte_size/1 and binary_part/2/3 callable from
match specs (in ETS and tracing).
OTP-17558 Application(s): erts, kernel
Related Id(s): GH-5402, OTP-17538, PR-5111
Dynamic node name improvements: erlang:is_alive/0
changed to return true for pending dynamic node name
and new function net_kernel:get_state/0.
OTP-17562 Application(s): erts
Related Id(s): GH-4492
A new option called short has been added to the
functions erlang:float_to_list and
erlang:float_to_binary. This option creates the
shortest correctly rounded string representation of the
given float that can be converted back to the same
float again.
OTP-17608 Application(s): erts, kernel, stdlib
The tagged tuple tests and fun-calls have been
optimized and are now a little bit cheaper than
previously.
These optimizations become possible after making sure
that all boxed terms have at least one word allocated
after the arity word. This has been accomplished by
letting all empty tuples refer to the same empty tuple
literal which also reduces memory usage for empty
tuples.
OTP-17630 Application(s): erts, stdlib
The signal queue benchmark in parallel_messages_SUITE
and the ETS benchmark in ets_SUITE have benchmark
result visualization HTML pages with "fill-screen"
buttons to make the graphs bigger. This button did not
work as intended before. When pressing the button for a
graph, the last graph got replaced with a bigger
version and not the one over the button. This is now
fixed.
OTP-17636 Application(s): erts
The test case num_bif_SUITE:t_float_to_string
previously failed sometimes as it assumed a certain
rounding of floats printed with sprintf but the
rounding type is platform specific.
OTP-17660 Application(s): erts
Related Id(s): PR-5164
Optimize interpreter to create heap binaries of small
match contexts if possible.
This optimization was already done in the JIT.
OTP-17667 Application(s): erts
Related Id(s): PR-5237
Optimize integer multiplication for x86 JIT
OTP-17682 Application(s): erl_interface, erts, jinterface
Related Id(s): PR-5347
Removed use of node creation value zero as a wildcard.
Also prevent zero from being used as creation by
erl_interface and jinterface nodes.
OTP-17683 Application(s): erts
Related Id(s): PR-5306
*** POTENTIAL INCOMPATIBILITY ***
Distributed spawn operations now require distributed
spawn_request() support. Distributed spawn_request()
was introduced in OTP 23. That is, distributed spawn
operations against Erlang nodes of releases prior to
OTP 23 will fail.
OTP-17684 Application(s): compiler, erts
Related Id(s): PR-5316, PR-5664
*** HIGHLIGHT ***
The Erlang compiler now includes type information in
BEAM files, and the JIT can now use that type
information to do optimizations such as eliminating or
simplifying type tests.
OTP-17685 Application(s): compiler, erts
Improved the JIT's support for external tools like perf
and gdb, allowing them to show line numbers and even
the original Erlang source code when that can be found.
To aid them in finding the source code, the
absolute_path compiler option has been added to embed
the absolute file path of a module.
OTP-17717 Application(s): erts
Related Id(s): PR-5290
Add [32-bit] to the Erlang shell title row for 32-bit
VMs.
OTP-17728 Application(s): erts
Related Id(s): PR-5284
Instructions for how to build the runtime system for
iOS/iPadOS can now be found in HOWTO/INSTALL.md.
OTP-17729 Application(s): erts
Related Id(s): PR-5477
Add support for static Elixir NIF modules with
non-alphanumeric characters by using new macro
STATIC_ERLANG_NIF_LIBNAME.
OTP-17753 Application(s): erts
Related Id(s): GH-5297, PR-5305
Add new function caller_line to for trace match
specifications used by erlang:trace_pattern/3.
This new option puts the line number of the caller into
the trace message sent to the trace receiver.
OTP-17762 Application(s): erts
Related Id(s): GH-5204, PR-5219
A new erl command line argument +ssrct has been
introduced which will cause the runtime system to skip
reading CPU topology information. This reduce startup
time especially when the CPU topology is large. Reading
of CPU topology information is now also skipped if a
user defined CPU topology is set using the +sct command
line argument.
OTP-17772 Application(s): erts
Related Id(s): GH-4965, PR-5644
The default time warp mode will change in Erlang/OTP
26. Added a warning about this upcoming potential
incompatibility to the documentation.
OTP-17824 Application(s): erts
The emulator will no longer mark unused memory as
discardable (e.g. through madvise(2)), as it caused
more problems than it solved.
OTP-17841 Application(s): compiler, erts
Related Id(s): PR-5694
*** HIGHLIGHT ***
When a record matching or record update fails, a
{badrecord,ExpectedRecordTag} exception used to be
raised. In this release, the exception has been changed
to {badrecord,ActualValue}, where ActualValue is the
actual that was found instead of the expected record.
OTP-17892 Application(s): erts, tools
Related Id(s): PR-5591
Removed the previously undocumented and unsupported
emem tool.
OTP-17899 Application(s): erts
Related Id(s): PR-5524
Remove version number from the default install path on
Windows.
OTP-17927 Application(s): erts
Related Id(s): PR-5283
On Windows apply the limit flag
JOB_OBJECT_LIMIT_BREAKAWAY_OK in the Erlang service to
be able to start a OS child process with a different
session number.
OTP-17945 Application(s): erts
Related Id(s): GH-4759, PR-5809
New erl command line option +IOs. It can be used to
disable scheduler thread poll optimization, which has
been seen to cause degraded event latency in some use
cases.
OTP-17951 Application(s): erts, kernel
Related Id(s): PR-5656
An API for multihomed SCTP connect has been added in
the guise of gen_sctp:connectx_init/*
OTP-17968 Application(s): erts, kernel
Related Id(s): OTP-16464
[socket] Add encoding of the field hatype of the type
sockaddr_ll (family 'packet').
OTP-17985 Application(s): erts
Related Id(s): GH-5728
A cross compilation issue has been fixed about finding
libdlpi during the configure phase.
OTP-17999 Application(s): erts
Related Id(s): PR-5768
process_info/2 now also accepts parent as argument.
When passed, the process identifier of the parent
process will be returned.
OTP-18033 Application(s): erts
Related Id(s): GH-5376, PR-2926
The exported type erlang:send_destination/0 has been
introduced.
OTP-18036 Application(s): erts
Related Id(s): PR-5846
Building of the C/C++ make dependencies on Windows has
been optimized to be a lot faster.
OTP-18038 Application(s): erts
file:sync/1 will now use the F_BARRIERFSYNC flag when
available on Mac OS.
Full runtime dependencies of erts-13.0: kernel-8.3, sasl-3.3,
stdlib-4.0
---------------------------------------------------------------------
--- eunit-2.7.1 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17884 Application(s): eunit
Related Id(s): GH-5617
Minor internal improvements.
Full runtime dependencies of eunit-2.7.1: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- inets-8.0 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17627 Application(s): inets, stdlib
*** POTENTIAL INCOMPATIBILITY ***
Adjust uri_string:normalize behavior for URIs with
undefined port (URI string with a port colon but no
port value or URI map with port => undefined).
Remove redundant normalization from http_request
module.
Before this change, normalize would not remove port
subcomponent in such cases and could for example return
"http://localhost:" URI.
OTP-17889 Application(s): inets
*** POTENTIAL INCOMPATIBILITY ***
Fixed typo in Reason term returned from
httpc_handler:handle_http_body.
After this change, could_not_establish_ssl_tunnel atom
is returned within Reason term.
--- Improvements and New Features ---
OTP-17866 Application(s): inets
*** POTENTIAL INCOMPATIBILITY ***
This change removes deprecated functions:
http_uri:parse/1, http_uri:parse/2 and
http_uri:scheme_defaults/0.
This change delays until OTP-26 removal of deprecated
functions: http_uri:encode/1 and http_uri:decode/1.
This change marks httpd_util:decode_hex/1 and
httpd_util:encode_hex/1 as deprecated.
OTP-17997 Application(s): inets
Related Id(s): GH-5782
After this change, connect_timeout value is re-used
when upgrading TCP connection to TLS over a proxy.
Full runtime dependencies of inets-8.0: erts-6.0, kernel-6.0,
mnesia-4.12, runtime_tools-1.8.14, ssl-9.0, stdlib-4.0
---------------------------------------------------------------------
--- jinterface-1.13 -------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17318 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-4972
The following distribution flags are now mandatory:
DFLAG_BIT_BINARIES, DFLAG_EXPORT_PTR_TAG,
DFLAG_MAP_TAGS, DFLAG_NEW_FLOATS, and DFLAG_FUN_TAGS.
This mainly concerns libraries or application that
implement the distribution protocol themselves.
OTP-17682 Application(s): erl_interface, erts, jinterface
Related Id(s): PR-5347
Removed use of node creation value zero as a wildcard.
Also prevent zero from being used as creation by
erl_interface and jinterface nodes.
OTP-17961 Application(s): jinterface
Related Id(s): PR-4839
Add new abstract class OtpGenericTransportFactory to
allow implementation of any transport protocol without
dependency on epmd.
---------------------------------------------------------------------
--- kernel-8.4 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17323 Application(s): kernel
The DNS resolver implementation has been rewritten to
validate replies more thoroughly, and a bit optimized
to create less garbage.
OTP-17447 Application(s): erts, kernel
Related Id(s): GH-4819
The socket option 'reuseaddr' is *no longer* ignored on
Windows.
OTP-17551 Application(s): kernel
Related Id(s): GH-5071, PR-5075
Fix bug where using the atoms string or report as the
format when calling logger:log(Level, Format, Args) (or
any other logging function) would cause a crash or
incorrect logging.
OTP-17911 Application(s): kernel
Related Id(s): OTP-17843, PR-5611, PR-5687
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
As of OTP 25, global will by default prevent
overlapping partitions due to network issues by
actively disconnecting from nodes that reports that
they have lost connections to other nodes. This will
cause fully connected partitions to form instead of
leaving the network in a state with overlapping
partitions.
Prevention of overlapping partitions can be disabled
using the prevent_overlapping_partitions kernel(6)
parameter, making global behave like it used to do.
This is, however, problematic for all applications
expecting a fully connected network to be provided,
such as for example mnesia, but also for global itself.
A network of overlapping partitions might cause the
internal state of global to become inconsistent. Such
an inconsistency can remain even after such partitions
have been brought together to form a fully connected
network again. The effect on other applications that
expects that a fully connected network is maintained
may vary, but they might misbehave in very subtle hard
to detect ways during such a partitioning. Since you
might get hard to detect issues without this fix, you
are strongly advised not to disable this fix. Also note
that this fix has to be enabled on all nodes in the
network in order to work properly.
OTP-17958 Application(s): kernel
Related Id(s): OTP-17978
Starting the helper program for name resolving;
inet_gethost, has been improved to use an absolute file
system path to ensure that the right program is
started.
If the helper program can not be started - the system
now halts, to avoid running with a silently broken name
resolver.
OTP-17986 Application(s): kernel
Related Id(s): PR-5412
The type specification for inet_res:getbyname/2,3 has
been corrected to reflect that it can return peculiar
#hostent{} records.
OTP-17990 Application(s): kernel
Related Id(s): GH-5801
code:module_status/1 would always report BEAM files
loaded from an archive as modified, and
code:modified_modules/0 would always return the name of
all modules loaded from archives.
OTP-18001 Application(s): kernel
Related Id(s): GH-5780, PR-5829
In logger fix file handler shutdown delay by using
erlang timers instead of the timer modul's timers.
OTP-18003 Application(s): kernel
Related Id(s): PR-5771
Fix the metadata in log events generated by logger on
failure to not contain the original log event's
metadata.
OTP-18015 Application(s): kernel
Related Id(s): GH-5828, PR-5845
Fix logger file backend to re-create the log folder if
it has been deleted.
OTP-18020 Application(s): erts, kernel
[socket] Encode of sockaddr has been improved.
--- Improvements and New Features ---
OTP-16464 Application(s): erts, kernel
The net module now works on Windows.
OTP-17304 Application(s): erts, kernel, sasl
An Erlang installation directory is now relocatable on
the file system given that the paths in the
installation's RELEASES file are paths that are
relative to the installations root directory. The
`release_handler:create_RELEASES/4 function can
generate a RELEASES file with relative paths if its
RootDir parameter is set to the empty string.
OTP-17318 Application(s): erl_interface, erts, jinterface,
kernel
Related Id(s): PR-4972
The following distribution flags are now mandatory:
DFLAG_BIT_BINARIES, DFLAG_EXPORT_PTR_TAG,
DFLAG_MAP_TAGS, DFLAG_NEW_FLOATS, and DFLAG_FUN_TAGS.
This mainly concerns libraries or application that
implement the distribution protocol themselves.
OTP-17479 Application(s): kernel
Related Id(s): PR-4917
Fix os:cmd to work on Android OS.
OTP-17554 Application(s): debugger, erts, kernel, observer,
stdlib
Related Id(s): GH-5016, OTP-17821, PR-5408
The configuration files .erlang, .erlang.cookie and
.erlang.crypt can now be located in the XDG Config Home
directory.
See the documentation for each file and
filename:basedir/2 for more details.
OTP-17558 Application(s): erts, kernel
Related Id(s): GH-5402, OTP-17538, PR-5111
Dynamic node name improvements: erlang:is_alive/0
changed to return true for pending dynamic node name
and new function net_kernel:get_state/0.
OTP-17589 Application(s): kernel
Related Id(s): PR-4926
The types for callback result types in gen_statem has
bee augmented with arity 2 types where it is possible
for a callback module to specify the type of the
callback data, so the callback module can get type
validation of it.
OTP-17608 Application(s): erts, kernel, stdlib
The tagged tuple tests and fun-calls have been
optimized and are now a little bit cheaper than
previously.
These optimizations become possible after making sure
that all boxed terms have at least one word allocated
after the arity word. This has been accomplished by
letting all empty tuples refer to the same empty tuple
literal which also reduces memory usage for empty
tuples.
OTP-17617 Application(s): kernel
Related Id(s): PR-5069
A net_ticker_spawn_options kernel configuration
parameter with which one can set spawn options for the
distribution channel ticker processes has been
introduced.
OTP-17681 Application(s): kernel
Related Id(s): PR-5307
*** POTENTIAL INCOMPATIBILITY ***
The most, or at least the most used, rpc operations now
require erpc support in order to communicate with other
Erlang nodes. erpc was introduced in OTP 23. That is,
rpc operations against Erlang nodes of releases prior
to OTP 23 will fail.
OTP-17720 Application(s): common_test, kernel, stdlib
Related Id(s): PR-5162
*** HIGHLIGHT ***
The new module peer supersedes the slave module. The
slave module is now deprecated and will be removed in
OTP 27.
peer contains an extended and more robust API for
starting erlang nodes.
OTP-17784 Application(s): kernel, stdlib
Related Id(s): PR-5792
*** HIGHLIGHT ***
In order to make it easier for the user to manage
multiple outstanding asynchronous call requests, new
functionality utilizing request identifier collections
have been introduced in erpc, gen_server, gen_statem,
and gen_event.
OTP-17915 Application(s): kernel, stdlib
Related Id(s): GH-2375, GH-2690, PR-5751
Type specifications have been added to the gen_server,
and the documentation has been updated to utilize this.
This surfaced a few type violations that has been
corrected in global, logger_olp and rpc.
OTP-17923 Application(s): kernel
Related Id(s): PR-5646
IP address validation functions is_ipv4_address/1,
is_ipv6_address/1 and is_ip_address/1 have been added
to the module inet in Kernel.
OTP-17951 Application(s): erts, kernel
Related Id(s): PR-5656
An API for multihomed SCTP connect has been added in
the guise of gen_sctp:connectx_init/*
OTP-17968 Application(s): erts, kernel
Related Id(s): OTP-16464
[socket] Add encoding of the field hatype of the type
sockaddr_ll (family 'packet').
OTP-17988 Application(s): compiler, kernel, stdlib, syntax_tools
*** HIGHLIGHT ***
Added support for selectable features as described in
EEP-60. Features can be enabled/disabled during
compilation with options (ordinary and +term) to erlc
as well as with directives in the file. Similar options
can be used to erl for enabling/disabling features
allowed at runtime. The new maybe expression (EEP-49)
is fully supported as the feature maybe_expr.
Full runtime dependencies of kernel-8.4: crypto-5.0, erts-13.0,
sasl-3.0, stdlib-4.0
---------------------------------------------------------------------
--- megaco-4.4 ------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17910 Application(s): megaco
Megaco test suite(s) use the new peer module for node
starts.
Full runtime dependencies of megaco-4.4: asn1-3.0, debugger-4.0,
erts-12.0, et-1.5, kernel-8.0, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- mnesia-4.21 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17930 Application(s): mnesia
Documentation fixes.
Full runtime dependencies of mnesia-4.21: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- observer-2.12 ---------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17996 Application(s): observer
Related Id(s): PR-5795
Fixed default handling of Mac specific menus.
OTP-18012 Application(s): observer, runtime_tools
Related Id(s): #5798
Reading port socket options on macOS and Windows
"skips" invalid options.
--- Improvements and New Features ---
OTP-17554 Application(s): debugger, erts, kernel, observer,
stdlib
Related Id(s): GH-5016, OTP-17821, PR-5408
The configuration files .erlang, .erlang.cookie and
.erlang.crypt can now be located in the XDG Config Home
directory.
See the documentation for each file and
filename:basedir/2 for more details.
Full runtime dependencies of observer-2.12: erts-11.0, et-1.5,
kernel-8.1, runtime_tools-1.19, stdlib-3.13, wx-1.2
---------------------------------------------------------------------
--- odbc-2.14 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
Full runtime dependencies of odbc-2.14: erts-6.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- parsetools-2.4 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17755 Application(s): parsetools
In the generated code, yecc will now quote all atoms
coming from terminals in the grammar, in order to avoid
conflicts with future reserved words.
Full runtime dependencies of parsetools-2.4: erts-6.0, kernel-3.0,
stdlib-3.4
---------------------------------------------------------------------
--- public_key-1.13 -------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17890 Application(s): public_key, ssl
Allow key file passwords to be input as a single
binary, that is we change the datatype to be the more
for the purpose logical data type iodata() instead of
string().
OTP-17921 Application(s): public_key
*** POTENTIAL INCOMPATIBILITY ***
The deprecated public_key functions ssh_decode/2,
ssh_encode/2, ssh_hostkey_fingerprint/1 and
ssh_hostkey_fingerprint/2 are removed.
They are replaced by ssh_file:decode/2,
ssh_file:encode/2, ssh:hostkey_fingerprint/1 and
ssh:hostkey_fingerprint/2 respectively.
Note that the decode/2 and encode/2 are not exact
replacement functions, some minor changes may be
needed. Se the manual for more information.
Full runtime dependencies of public_key-1.13: asn1-3.0, crypto-4.6,
erts-6.0, kernel-3.0, stdlib-3.5
---------------------------------------------------------------------
--- runtime_tools-1.19 ----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18012 Application(s): observer, runtime_tools
Related Id(s): #5798
Reading port socket options on macOS and Windows
"skips" invalid options.
--- Improvements and New Features ---
OTP-17909 Application(s): runtime_tools
Related Id(s): ERIERL-760
dbg:stop/0 now behaves like dbg:stop_clear/0, clearing
all global trace patterns for all functions.
OTP-17939 Application(s): runtime_tools
erts_alloc_config has been scheduled for removal in OTP
26. It has not produced good configurations for a very
long time, and unfortunately it cannot be fixed in a
backwards compatible manner.
Full runtime dependencies of runtime_tools-1.19: erts-11.0,
kernel-8.1, mnesia-4.12, stdlib-3.13
---------------------------------------------------------------------
--- sasl-4.2 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17752 Application(s): sasl
Related Id(s): PR-5302
Fix systools:make* to recursively search for source
code when doing a src_tests.
--- Improvements and New Features ---
OTP-17304 Application(s): erts, kernel, sasl
An Erlang installation directory is now relocatable on
the file system given that the paths in the
installation's RELEASES file are paths that are
relative to the installations root directory. The
`release_handler:create_RELEASES/4 function can
generate a RELEASES file with relative paths if its
RootDir parameter is set to the empty string.
Full runtime dependencies of sasl-4.2: erts-10.2, kernel-6.0,
stdlib-3.4, tools-2.6.14
---------------------------------------------------------------------
--- snmp-5.13 -------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17612 Application(s): snmp
Removed deprecated functions slated for removal in
OTP-25. Also removed "dead" code, kept for backward
compatibility reasons.
Full runtime dependencies of snmp-5.13: crypto-4.6, erts-12.0,
kernel-8.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- ssh-4.14 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17920 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
The representation of Edward curves (ed25519 and ed448)
inside ssh had a temporary representation (ed_pri and
ed_pub).
That is now changed to the public_key form. See the
manual for more information.
Full runtime dependencies of ssh-4.14: crypto-5.0, erts-11.0,
kernel-6.0, public_key-1.6.1, runtime_tools-1.15.1, stdlib-3.15
---------------------------------------------------------------------
--- ssl-10.8 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18014 Application(s): ssl
Now also accepts the signature_algs_cert option in
TLS-1.2 configuration.
--- Improvements and New Features ---
OTP-15993 Application(s): ssl
Related Id(s): GH-4143
With this change, it is possible to provide several
certificates. Most appropriate will be selected based
on extensions.
OTP-17855 Application(s): ssl
Related Id(s): PR-5328
Add options for users to be able to set spawn_opts for
TLS processes (sender and receiver) this may be useful
for tuning trade-offs between CPU and Memory usage.
OTP-17890 Application(s): public_key, ssl
Allow key file passwords to be input as a single
binary, that is we change the datatype to be the more
for the purpose logical data type iodata() instead of
string().
OTP-18000 Application(s): ssl
Related Id(s): PR-5790
Logging enhancement, add location information to the
warning log message.
Full runtime dependencies of ssl-10.8: crypto-5.0, erts-10.0,
inets-5.10.7, kernel-8.4, public_key-1.11.3, runtime_tools-1.15.1,
stdlib-3.12
---------------------------------------------------------------------
--- stdlib-4.0 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17370 Application(s): stdlib
Related Id(s): GH-4784
Improve the Erlang code linter's check of unused types.
OTP-17480 Application(s): stdlib
Related Id(s): GH-4853, PR-4872
Fix race condition in proc_lib:stop/3 where the process
is not stopped when the timeout given is very short.
OTP-17518 Application(s): stdlib
Related Id(s): GH-4915
Maps are now fully supported in by ms_transform.
OTP-17544 Application(s): stdlib
Related Id(s): PR-5008
*** POTENTIAL INCOMPATIBILITY ***
Fix gen_server:call with the first argument as self()
to throw an error instead of failing with a timeout.
The same fix has also been done for gen_statem:call/3,
gen_event:sync_notify/2 and any other functionality
relying on the internal gen:call/3 function.
A similar fix was also done when using io:format/2 and
the current group_leader was set to the current
process.
OTP-17566 Application(s): stdlib
Related Id(s): GH-5093, PR-5095
erl_pp printed unary - and + operators with a space
between the operator and the operand. This is fixed by
not having any space in between.
OTP-17627 Application(s): inets, stdlib
*** POTENTIAL INCOMPATIBILITY ***
Adjust uri_string:normalize behavior for URIs with
undefined port (URI string with a port colon but no
port value or URI map with port => undefined).
Remove redundant normalization from http_request
module.
Before this change, normalize would not remove port
subcomponent in such cases and could for example return
"http://localhost:" URI.
OTP-17661 Application(s): erts, stdlib
Related Id(s): PR-5165
Fix reduction counting bug in re:run that caused the
function to yield too frequently when doing global
matches.
OTP-17832 Application(s): erts, stdlib
Related Id(s): PR-5494
Fix the memory value returned from ets:info(Tid,memory)
when the read_concurrency option is used.
Before this fix the memory used by the scheduler
specific lock cache lines was not counted towards the
total. This caused the returned memory usage to be very
incorrect on systems with many schedulers for tables
with man locks.
OTP-17878 Application(s): stdlib
Avoid confusion by correcting the argument order in the
gen_event crash log printout.
OTP-18009 Application(s): stdlib
Related Id(s): PR-5785
*** POTENTIAL INCOMPATIBILITY ***
Fixed string:next_grapheme/1 to return an empty binary
in the tail for binary input for the last grapheme
cluster.
OTP-18034 Application(s): stdlib
Related Id(s): GH-4622, PR-4661
Fixed type specifications of the supervisor:sup_name/0
and supervisor:sup_ref/0 types.
--- Improvements and New Features ---
OTP-15991 Application(s): erts, stdlib
Related Id(s): PR-5208
*** HIGHLIGHT ***
Users can now configure ETS tables with the
{write_concurrency, auto} option. This option forces
tables to automatically change the number of locks that
are used at run-time depending on how much concurrency
is detected. The {decentralized_counters, true} option
is enabled by default when {write_concurrency, auto} is
active.
Benchmark results comparing this option with the other
ETS optimization options are available here:
https://erlang.org/bench/ets_bench_result_lock_config.html
OTP-17351 Application(s): stdlib
Related Id(s): GH-4673, PR-4952
*** HIGHLIGHT ***
The format_status/2 callback for gen_server, gen_statem
and gen_event has been deprecated in favor of the new
format_status/1 callback.
The new callback adds the possibility to limit and
change many more things than the just the state, such
as the last received message, the reason for
terminating and more events specific to each type of
behavior. See the respective modules documentation for
more details.
OTP-17481 Application(s): stdlib
Related Id(s): PR-4811
*** HIGHLIGHT ***
The timer module has been modernized and made more
efficient, which makes the timer server less
susceptible to being overloaded. The timer:sleep/1
function now accepts an arbitrarily large integer.
OTP-17523 Application(s): stdlib
Related Id(s): PR-4928
Add lists:enumerate/[1,2].
OTP-17554 Application(s): debugger, erts, kernel, observer,
stdlib
Related Id(s): GH-5016, OTP-17821, PR-5408
The configuration files .erlang, .erlang.cookie and
.erlang.crypt can now be located in the XDG Config Home
directory.
See the documentation for each file and
filename:basedir/2 for more details.
OTP-17592 Application(s): stdlib
Related Id(s): ERIERL-663, PR-5243
Support native time unit in calendar functions
system_time_to_rfc3339/2 and rfc3339_to_system_time.
OTP-17608 Application(s): erts, kernel, stdlib
The tagged tuple tests and fun-calls have been
optimized and are now a little bit cheaper than
previously.
These optimizations become possible after making sure
that all boxed terms have at least one word allocated
after the arity word. This has been accomplished by
letting all empty tuples refer to the same empty tuple
literal which also reduces memory usage for empty
tuples.
OTP-17630 Application(s): erts, stdlib
The signal queue benchmark in parallel_messages_SUITE
and the ETS benchmark in ets_SUITE have benchmark
result visualization HTML pages with "fill-screen"
buttons to make the graphs bigger. This button did not
work as intended before. When pressing the button for a
graph, the last graph got replaced with a bigger
version and not the one over the button. This is now
fixed.
OTP-17720 Application(s): common_test, kernel, stdlib
Related Id(s): PR-5162
*** HIGHLIGHT ***
The new module peer supersedes the slave module. The
slave module is now deprecated and will be removed in
OTP 27.
peer contains an extended and more robust API for
starting erlang nodes.
OTP-17778 Application(s): stdlib
Related Id(s): GH-5368
This change introduces quote and unquote functions in
uri_string module - a replacement for deprecated encode
and decode functions from http_uri.
OTP-17784 Application(s): kernel, stdlib
Related Id(s): PR-5792
*** HIGHLIGHT ***
In order to make it easier for the user to manage
multiple outstanding asynchronous call requests, new
functionality utilizing request identifier collections
have been introduced in erpc, gen_server, gen_statem,
and gen_event.
OTP-17869 Application(s): stdlib
Related Id(s): PR-5595
Update to the Unicode 14.0 specification.
OTP-17901 Application(s): stdlib
Related Id(s): GH-4968, PR-5649
The following ets types have been renamed to a clearer
name: tab/0 to table/0 and comp_match_spec/0 to
compiled_match_spec/0.
The types table_access/0 and table_type/0 have been
exported.
OTP-17908 Application(s): stdlib
Related Id(s): GH-5655, PR-5669
Add support for locating .asn1 files to the default
search rules of filelib:find_file/1 and
filelib:find_source/1.
OTP-17915 Application(s): kernel, stdlib
Related Id(s): GH-2375, GH-2690, PR-5751
Type specifications have been added to the gen_server,
and the documentation has been updated to utilize this.
This surfaced a few type violations that has been
corrected in global, logger_olp and rpc.
OTP-17925 Application(s): stdlib
Related Id(s): PR-5631
*** POTENTIAL INCOMPATIBILITY ***
The non-local function handler for the erl_eval can now
be called with either two or three arguments. When
called with three arguments, the first argument is the
annotation for the node in the abstract format.
All errors during evaluation will now be passed through
erlang:raise/3. If the restricted shell is active and
it does not let erlang:raise/3 through, evaluation
errors will be printed in less clear way. See the
documentation for restricted shell in shell.
OTP-17953 Application(s): stdlib
Related Id(s): PR-5621
*** HIGHLIGHT ***
Added filelib:ensure_path/1 that ensures that all
directories for the given path exists (unlike
filelib:ensure_dir/1, which will not create the last
segment of the path).
OTP-17969 Application(s): stdlib
Related Id(s): PR-5588
*** HIGHLIGHT ***
The functions groups_from_list/2 and groups_from_list/3
have been added to the maps module.
OTP-17974 Application(s): stdlib
Related Id(s): GH-5683
gen_server has been refactored to throw more readable
exceptions when a callback returns bad values in the
Timeout field (timeout() | 'hibernate' |
{'continue,_}), and also to verify that argument in the
gen_server:enter_loop/3,4,5 API function.
OTP-17977 Application(s): stdlib
Related Id(s): GH-5606, PR-5766
*** HIGHLIGHT ***
The functions uniq/1 and uniq/2 for removing duplicates
have been added to the lists module.
OTP-17988 Application(s): compiler, kernel, stdlib, syntax_tools
*** HIGHLIGHT ***
Added support for selectable features as described in
EEP-60. Features can be enabled/disabled during
compilation with options (ordinary and +term) to erlc
as well as with directives in the file. Similar options
can be used to erl for enabling/disabling features
allowed at runtime. The new maybe expression (EEP-49)
is fully supported as the feature maybe_expr.
OTP-17991 Application(s): stdlib
*** POTENTIAL INCOMPATIBILITY ***
The function filename:safe_relative_path/1, which has
been deprecated since OTP 25, has been removed. Use
filelib:safe_relative_path/2 instead.
OTP-18011 Application(s): stdlib
Two ancient well-known PRNG:s have been added to the
rand module: mcg35 and lcg35. These are intended for
applications that need really fast pseudo-random
numbers and are not sensitive to lesser quality ones.
Two internal functions for the exsp generator have also
been exported so they can be used outside the rand
plug-in framework to shave off some overhead.
The internal splitmix64 generator has also been
exported which can be useful for seeding other kinds of
PRNG:s than its own.
Full runtime dependencies of stdlib-4.0: compiler-5.0, crypto-4.5,
erts-12.0, kernel-8.4, sasl-3.0
---------------------------------------------------------------------
--- syntax_tools-3.0 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-17894 Application(s): syntax_tools
Related Id(s): PR-5509
*** POTENTIAL INCOMPATIBILITY ***
The erl_syntax_lib:analyze_attribute/1 function would
return {Name, {Name, Value}} instead of {Name, Value}
(which is the documented return value).
--- Improvements and New Features ---
OTP-17988 Application(s): compiler, kernel, stdlib, syntax_tools
*** HIGHLIGHT ***
Added support for selectable features as described in
EEP-60. Features can be enabled/disabled during
compilation with options (ordinary and +term) to erlc
as well as with directives in the file. Similar options
can be used to erl for enabling/disabling features
allowed at runtime. The new maybe expression (EEP-49)
is fully supported as the feature maybe_expr.
Full runtime dependencies of syntax_tools-3.0: compiler-7.0,
erts-9.0, kernel-5.0, stdlib-4.0
---------------------------------------------------------------------
--- tools-3.5.3 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17892 Application(s): erts, tools
Related Id(s): PR-5591
Removed the previously undocumented and unsupported
emem tool.
Full runtime dependencies of tools-3.5.3: compiler-5.0, erts-11.0,
erts-9.1, kernel-5.4, runtime_tools-1.8.14, stdlib-3.4
---------------------------------------------------------------------
--- wx-2.2 ----------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17414 Application(s): common_test, crypto, erl_interface,
erts, megaco, odbc, otp, snmp, wx
Related Id(s): PR-4967
Input for configure scripts adapted to autoconf 2.71.
OTP-17950 Application(s): wx
*** POTENTIAL INCOMPATIBILITY ***
Added aux1Down and aux2Down fields to the wxMouseState
record. Since one record have been changed a
recompilation of user code might be required.
OTP-18008 Application(s): wx
Related Id(s): PR-5816
Add mac specific menubar functions.
Full runtime dependencies of wx-2.2: erts-12.0, kernel-8.0,
stdlib-3.15
---------------------------------------------------------------------
--- xmerl-1.3.29 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-17935 Application(s): xmerl
Related Id(s): PR-5590
Fixed misspellings in both documentation, comments and
code (internal data structures).
Full runtime dependencies of xmerl-1.3.29: erts-6.0, kernel-3.0,
stdlib-2.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|