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
|
Inital Release: OTP 25.0
Git Tag: OTP-25.0
Date: 2022-02-16
Trouble Report Id: OTP-15991, OTP-16607, 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-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-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-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-17909, OTP-17910, OTP-17911,
OTP-17920, OTP-17921, OTP-17923, OTP-17925,
OTP-17930, OTP-17935
Seq num: ERIERL-590, ERIERL-663, ERIERL-760, ERL-1347,
GH-4492, GH-4673, GH-4784, GH-4819, GH-4853,
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-5379, GH-5402, GH-5403,
GH-5513, GH-5617
System: OTP
Release: 25
Application: common_test-1.23, compiler-8.1, crypto-5.1,
debugger-5.3, dialyzer-5.0, edoc-1.2,
erl_docgen-1.3, erl_interface-5.2, erts-13.0,
eunit-2.7.1, inets-8.0, jinterface-1.13,
kernel-8.3, megaco-4.3, mnesia-4.21,
observer-2.11, odbc-2.14, parsetools-2.4,
public_key-1.12, runtime_tools-1.18,
sasl-4.2, snmp-5.12, ssh-4.14, ssl-10.7,
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-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
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
The JIT now does type-based optimizations based on type
information in the BEAM files.
OTP-17705 Application(s): compiler
Related Id(s): PR-5411
The maybe ... end construction has 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,maybe_expr} to
the compiler. (The exact option to use will change in
the next release candidate.) That option will not work
if given inside the module being compiled. We hope to
lift that restriction in the next release candidate.
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-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.
---------------------------------------------------------------------
--- 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-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.
---------------------------------------------------------------------
--- 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.3,
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.1 ----------------------------------------------------
---------------------------------------------------------------------
--- 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
Add compile attribute -nifs() to empower compiler and
loader with information about which functions may be
overridden as NIFs by erlang:load_nif/2.
OTP-17504 Application(s): compiler, erts
Related Id(s): GH-4971
*** 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
*** HIGHLIGHT ***
The JIT now does type-based optimizations based on type
information in the BEAM files.
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 has 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,maybe_expr} to
the compiler. (The exact option to use will change in
the next release candidate.) That option will not work
if given inside the module being compiled. We hope to
lift that restriction in the next release candidate.
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()
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).
Full runtime dependencies of compiler-8.1: crypto-5.1, erts-13.0,
kernel-8.3, stdlib-4.0
---------------------------------------------------------------------
--- crypto-5.1 ------------------------------------------------------
---------------------------------------------------------------------
--- 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-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-17870 Application(s): crypto
crypto_dyn_iv_init/3 and crypto_dyn_iv_update/3 are
deprecated.
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.
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
---------------------------------------------------------------------
--- 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.2 -----------------------------------------------
---------------------------------------------------------------------
--- 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.
--- 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-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
Add compile attribute -nifs() to empower compiler and
loader with information about which functions may be
overridden as NIFs by erlang:load_nif/2.
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
*** 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
*** HIGHLIGHT ***
The JIT now does type-based optimizations based on type
information in the BEAM files.
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.
Full runtime dependencies of erts-13.0: kernel-8.3, sasl-3.3,
stdlib-3.13
---------------------------------------------------------------------
--- 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.
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.
---------------------------------------------------------------------
--- kernel-8.3 ------------------------------------------------------
---------------------------------------------------------------------
--- 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.
--- 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.
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-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.
Full runtime dependencies of kernel-8.3: crypto-5.0, erts-13.0,
sasl-3.0, stdlib-4.0
---------------------------------------------------------------------
--- megaco-4.3 ------------------------------------------------------
---------------------------------------------------------------------
--- 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.3: 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.11 ---------------------------------------------------
---------------------------------------------------------------------
--- 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.11: erts-11.0, et-1.5,
kernel-8.1, runtime_tools-1.17, 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.12 -------------------------------------------------
---------------------------------------------------------------------
--- 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.12: asn1-3.0, crypto-4.6,
erts-6.0, kernel-3.0, stdlib-3.5
---------------------------------------------------------------------
--- runtime_tools-1.18 ----------------------------------------------
---------------------------------------------------------------------
--- 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.
Full runtime dependencies of runtime_tools-1.18: 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.12 -------------------------------------------------------
---------------------------------------------------------------------
--- 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.12: 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.7 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
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().
Full runtime dependencies of ssl-10.7: crypto-5.0, erts-10.0,
inets-5.10.7, kernel-8.3, 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-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.
--- 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-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-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.
Full runtime dependencies of stdlib-4.0: compiler-5.0, crypto-4.5,
erts-12.0, kernel-8.3, 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).
Full runtime dependencies of syntax_tools-3.0: compiler-7.0,
erts-9.0, kernel-5.0, stdlib-3.4
---------------------------------------------------------------------
--- 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.
Full runtime dependencies of wx-2.2: erts-6.0, kernel-3.0,
stdlib-3.13
---------------------------------------------------------------------
--- 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
---------------------------------------------------------------------
--- Thanks to -------------------------------------------------------
---------------------------------------------------------------------
Anatolii, Andrew Bennett, Anton Thomasson, Cheng Zhe, Danil Zagoskin,
David Buckley, Dominic Letz, Eksperimental, Frank Hunleth, Fred
Hebert, Frej Drejhammar, Garry Hill, Gustaw Lippa, Hakan Nilsson,
Harry Lawrence, Holger Weiß, Ilya Klyuchnikov, Jean-Sébastien Pédron,
Jon Carstens, José Valim, Justin Davis, Jérôme de Bretagne, Kaleb
Luedtke, Kian-Meng Ang, Kian-Meng, Ang, Leo Liu, Loïc Hoguin, Luke
Bakken, Mackenzie Morgan, Maintenance App, Marc-André Lafortune,
Marcel Lanz, Maria Scott, Maria-12648430, Mark McElroy, Matteo
Brancaleoni, Matteo Cafasso, Max Heiber, Maxim Fedorov, Maxwell
Elliot Heiber, Michał Muskała, Mikael Pettersson, Per Andersson,
Péter Gömöri, Radek Szymczyszyn, Sidharth Kshatriya, Thomas Depierre,
Tom Davies, Tomas Abrahamsson, Wojtek Mach, Yao Bao, Zeyu Zhang, Zhe
Cheng, bibajz, c-blair, gearnode, ilya-klyuchnikov, juhlig, kang,
massivefermion, nixxquality, obi458, radrow, skynet1, soulna, vk,
vkatsuba, Łukasz Niemier
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|