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
|
---------------------------------------------------------------------
--- HIGHLIGHTS ------------------------------------------------------
---------------------------------------------------------------------
OTP-10289 Application(s): stdlib
Related Id(s): OTP-10309
*** POTENTIAL INCOMPATIBILITY ***
Improved unicode support for strings. Added
normalization functions in the unicode module. Extended
the string module API with new functions with improved
unicode handling and that works on grapheme clusters.
The new functions operates on the unicode:chardata()
type, thus they also accept UTF-8 binaries as input.
The old string API have been marked as obsolete. The
return values have been changed for some error cases.
OTP-13820 Application(s): ssl
*** POTENTIAL INCOMPATIBILITY ***
TLS-1.2 clients will now always send hello messages on
its own format, as opposed to earlier versions that
will send the hello on the lowest supported version,
this is a change supported by the latest RFC.
This will make interoperability with some newer servers
smoother. Potentially, but unlikely, this could cause a
problem with older servers if they do not adhere to the
RFC and ignore unknown extensions.
OTP-13900 Application(s): crypto
The crypto application now supports OpenSSL 1.1.
OTP-13921 Application(s): crypto, ssl
Related Id(s): PR-1180
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
order to satisfy specific security requirements (mostly
by different parts of the US federal government).
See the new crypto users guide "FIPS mode" chapter
about building and using the FIPS support which is
disabled by default.
(Thanks to dszoboszlay and legoscia)
OTP-14059 Application(s): kernel, stdlib
Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.
OTP-14094 Application(s): stdlib
*** POTENTIAL INCOMPATIBILITY ***
Optimized ETS operations by changing table identifier
type from integer to reference. The reference enables a
more direct mapping to the table with less potential
lock contention and makes especially creation and
deletion of tables scale much better.
The change of the opaque type for the ETS table
identifiers may cause failure in code that make faulty
assumptions about this opaque type.
OTP-14152 Application(s): erts
*** POTENTIAL INCOMPATIBILITY ***
Dirty schedulers are now enabled and supported on
Erlang runtime systems with SMP support.
Besides support for dirty NIFs also support for dirty
BIFs and dirty garbage collection have been introduced.
All garbage collections that potentially will take a
long time to complete are now performed on dirty
schedulers if enabled.
erlang:statistics(scheduler_wall_time) now also
includes information about dirty CPU schedulers. Code
using erlang:statistics(scheduler_wall_time) may have
to be rewritten to take this incompatibility into
consideration.
OTP-14178 Application(s): compiler, erts
Atoms may now contain arbitrary Unicode characters.
OTP-14183 Application(s): stdlib
Replace gen_fsm with gen_statem
OTP-14205 Application(s): erts
All uses of the magic binary kludge has been replaced
by uses of erlang references.
A magic binary was presented as an empty binary, but
actually referred other data internally in the Erlang
VM. Since they were presented as empty binaries,
different magic binaries compared as equal, and also
lost their internal data when passed out of an erlang
node.
The new usage of references has not got any of these
strange semantic issues, and the usage of these
references has been optimized to give the same
performance benefits as well as memory usage benefits
as magic binaries had.
A couple of examples of previous uses of magic binaries
are match specifications and NIF resources.
OTP-14219 Application(s): asn1
The new 'maps' option changes the representation of the
types SEQUENCE and SET to be maps (instead of records).
OTP-14226 Application(s): stdlib
erl_tar in previous versions of OTP only supports the
USTAR format. That limited path names to at most 255
bytes, and did not support Unicode characters in names
in a portable way.
erl_tar now has support for reading tar archives in the
formats currently in common use, such as v7, STAR,
USTAR, PAX, and GNU tar's extensions to the STAR/USTAR
format. When writing tar archives, erl_tar can now
write them in the PAX format if necessary (for example,
to support very long filenames or filenames with
Unicode characters). If possible, erl_tar will still
write tar archives in the USTAR for maximum
portability.
OTP-14291 Application(s): ssl
Extend connection_information/[1,2] . The values
session_id, master_secret, client_random and
server_random can no be accessed by
connection_information/2. Note only session_id will be
added to connection_information/1. The rational is that
values concerning the connection security should have
to be explicitly requested.
OTP-14319 Application(s): stdlib
Related Id(s): PR-1076
Add new function ets:select_replace/2 which performs
atomic "compare-and-swap" operations for ETS objects
using match specifications.
OTP-14331 Application(s): erts, stdlib
Related Id(s): ERL-208
*** POTENTIAL INCOMPATIBILITY ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
OTP-14388 Application(s): ssl
Basic support for DTLS that been tested together with
OpenSSL.
Test by providing the option {protocol, dtls} to the
ssl API functions connect and listen.
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-10289 Application(s): stdlib
Related Id(s): OTP-10309
*** HIGHLIGHT ***
Improved unicode support for strings. Added
normalization functions in the unicode module. Extended
the string module API with new functions with improved
unicode handling and that works on grapheme clusters.
The new functions operates on the unicode:chardata()
type, thus they also accept UTF-8 binaries as input.
The old string API have been marked as obsolete. The
return values have been changed for some error cases.
OTP-12872 Application(s): ssh
The internal handling of SSH options is re-written.
Previously there were no checks if a client option was
given to a daemon or vice versa. This is corrected now.
If your code has e.g. a client-only option in a call to
start a daemon, the call will fail.
OTP-13703 Application(s): otp
The 'gs' application has been removed.
OTP-13820 Application(s): ssl
*** HIGHLIGHT ***
TLS-1.2 clients will now always send hello messages on
its own format, as opposed to earlier versions that
will send the hello on the lowest supported version,
this is a change supported by the latest RFC.
This will make interoperability with some newer servers
smoother. Potentially, but unlikely, this could cause a
problem with older servers if they do not adhere to the
RFC and ignore unknown extensions.
OTP-13827 Application(s): erts
Remove deprecated erlang:hash/2.
OTP-13844 Application(s): erts
Related Id(s): OTP-13833
The previously used purge strategy has been removed.
The optional purge strategy introduced in ERTS version
8.1 is now the only strategy available.
The new purge strategy is slightly incompatible with
the old strategy. Previously processes holding funs
that referred to the module being purged either failed
a soft purge, or was killed during a hard purge. The
new strategy completely ignores funs. If funs referring
to the code being purged exist, and are used after a
purge, an exception will be raised upon usage. That is,
the behavior will be exactly the same as the case when
a fun is received by a process after the purge.
For more information see the documentation of
erlang:check_process_code/3.
OTP-13873 Application(s): crypto
Removed functions deprecated in crypto-3.0 first
released in OTP-R16B01
OTP-13908 Application(s): erts
The NIF library reload feature is not supported
anymore. It has been marked as deprecated since OTP
R15B. This means that you are only allowed to do one
successful call to erlang:load_nif/2 for each module
instance. A second call to erlang:load_nif/2 will
return {error, {reload, _}} even if the NIF library
imlements the reload callback.
Runtime upgrade of a NIF library is still supported by
using the Erlang module upgrade mechanics with a
current and an old module instance existing at the same
time with their corresponding NIF libraries.
OTP-14039 Application(s): mnesia
Removed the wrapping of select continuations in
extension plugin handling. This might require the user
to rewrite user backend plugin if used.
OTP-14094 Application(s): stdlib
*** HIGHLIGHT ***
Optimized ETS operations by changing table identifier
type from integer to reference. The reference enables a
more direct mapping to the table with less potential
lock contention and makes especially creation and
deletion of tables scale much better.
The change of the opaque type for the ETS table
identifiers may cause failure in code that make faulty
assumptions about this opaque type.
OTP-14110 Application(s): ssh
Modernization of diffie-hellman algorithms. Removed an
outdated weak algorithm and added stronger replacements
to keep interoperability with other ssh clients and
servers. The default ordering is also adjusted.
Retired: key-exchange diffie-hellman-group1-sha1. It is
not enabled by default, but can be enabled with the
option preferred-algorithms.
Added: key-exchange diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256.
OTP-14146 Application(s): asn1
The deprecated module asn1rt has been removed. The
deprecated functions asn1ct:encode/3 and
asn1ct:decode/3 have been removed. The undocumented
function asn1ct:encode/2 has been removed.
OTP-14152 Application(s): erts
*** HIGHLIGHT ***
Dirty schedulers are now enabled and supported on
Erlang runtime systems with SMP support.
Besides support for dirty NIFs also support for dirty
BIFs and dirty garbage collection have been introduced.
All garbage collections that potentially will take a
long time to complete are now performed on dirty
schedulers if enabled.
erlang:statistics(scheduler_wall_time) now also
includes information about dirty CPU schedulers. Code
using erlang:statistics(scheduler_wall_time) may have
to be rewritten to take this incompatibility into
consideration.
OTP-14171 Application(s): crypto
Raised minimum requeriment for OpenSSL version to
OpenSSL-9.0.8.c although we recommend a much higher
version, that is a version that is still maintained
officially by the OpenSSL project. Note that using such
an old version may restrict the crypto algorithms
supported.
OTP-14263 Application(s): ssh
Removed the option public_key_alg which was deprecated
in 18.2. Use pref_public_key_algs instead.
OTP-14264 Application(s): ssh
The ssh application is refactored regarding daemon
starting. The resolution of contradicting Host argument
and ip option were not described. There were also
strange corner cases when the 'any' value was used in
Host argument or ip option. This is (hopefully)
resolved now, but it may cause incompatibilities for
code using both Host and the ip option. The value
'loopback' has been added for a correct way of naming
those addresses.
OTP-14272 Application(s): erts, otp
The non-smp emulators have been deprecated and are
scheduled for removal in OTP-21.
In preperations for this, the threaded non-smp emulator
is no longer built by default and has to be enabled
using the --enable-plain-emulator to configure.
OTP-14331 Application(s): erts, stdlib
Related Id(s): ERL-208
*** HIGHLIGHT ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
OTP-14531 Application(s): stdlib
The state machine engine gen_statem can now handle
generic time-outs (multiple named) as well as absolute
time-out time. See the documentation.
The gen_statem callback Module:init/1 has become
mandatory to harmonize with other gen_* modules. This
may be an incompatibility for gen_statem callback
modules that use gen_statem:enter_loop/4-6.
---------------------------------------------------------------------
--- asn1-5.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14316 Application(s): asn1, crypto, runtime_tools
Related Id(s): PR-1390
Add compile option -compile(no_native) in modules with
on_load directive which is not yet supported by HiPE.
--- Improvements and New Features ---
OTP-13961 Application(s): asn1
The error tuple returned from the encode and decode
functions will now include the stack backtrace to make
it easier to understand what went wrong.
OTP-14146 Application(s): asn1
*** POTENTIAL INCOMPATIBILITY ***
The deprecated module asn1rt has been removed. The
deprecated functions asn1ct:encode/3 and
asn1ct:decode/3 have been removed. The undocumented
function asn1ct:encode/2 has been removed.
OTP-14219 Application(s): asn1
*** HIGHLIGHT ***
The new 'maps' option changes the representation of the
types SEQUENCE and SET to be maps (instead of records).
---------------------------------------------------------------------
--- common_test-1.15 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14332 Application(s): common_test
Related Id(s): seq13299
Errors in the documentation for user HTML stylesheets
have been corrected.
--- Improvements and New Features ---
OTP-13806 Application(s): common_test
The ct_slave modules now handle nodenames in the same
way as nodenames passed to -sname. That means
ct_slave:start('[email protected]'). will now work.
OTP-14179 Application(s): common_test
Added the new option, keep_logs. If setting the value
for this option to an integer, N, common_test will
remove all ct_run.* directories in the current log
directory, except the N newest.
---------------------------------------------------------------------
--- compiler-7.1 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-13690 Application(s): compiler, stdlib
For many releases, it has been legal to override a BIF
with a local function having the same name. However,
calling a local function with the same name as guard
BIF as filter in a list comprehension was not allowed.
--- Improvements and New Features ---
OTP-12148 Application(s): compiler, erts
Optimized test for tuples with an atom as first
element.
OTP-13794 Application(s): compiler
Compilation of modules with huge literal binary strings
is now much faster.
OTP-13831 Application(s): compiler, erts, hipe, kernel, percept,
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
OTP-13856 Application(s): compiler
The undocumented and unsupported module sys_pre_expand
has been removed. As a partical replacement for the
functionality, there is a new function
erl_internal:add_predefined_functions/1 and
erl_expand_records will now add a module prefix to
calls to BIFs and imported functions.
OTP-13924 Application(s): compiler
The internal compiler passes now start all generated
variables with "@" to avoid any conflicts with
variables in languages such as Elixir or LFE.
OTP-14000 Application(s): compiler, erts, stdlib
The function fmod/2 has been added to the math module.
OTP-14042 Application(s): compiler
Code generation for complicated guards have been
improved.
OTP-14058 Application(s): compiler
The compiler has new warnings for repeated identical
map keys.
A map expression such as,
#{'a' => 1, 'b' => 2, 'a' => 3}.
will produce a warning for the repeated key 'a'.
OTP-14071 Application(s): compiler, stdlib
By default, there will now be a warning when export_all
is used. The warning can be disabled using
nowarn_export_all.
OTP-14072 Application(s): compiler
Optimize maps pattern matching by only examining the
common keys in each clause first instead of all keys.
This will reduce the number of lookups of each key in
maps pattern matching.
OTP-14087 Application(s): compiler
There is a new 'deterministc' option to omit 'source'
and 'options' tuples in the BEAM file.
OTP-14125 Application(s): compiler, dialyzer
Related Id(s): ERL-308
Analyzing modules with binary construction with huge
strings is now much faster. The compiler also compiles
such modules slightly faster.
OTP-14178 Application(s): compiler, erts
*** HIGHLIGHT ***
Atoms may now contain arbitrary Unicode characters.
OTP-14221 Application(s): compiler
compile:file/2 now accepts the option extra_chunks to
include extra chunks in the BEAM file.
OTP-14369 Application(s): compiler, dialyzer, stdlib
Related Id(s): PR-1367
The format of debug information that is stored in BEAM
files (when debug_info is used) has been changed. The
purpose of the change is to better support other
BEAM-based languages such as Elixir or LFE.
All tools included in OTP (dialyzer, debugger, cover,
and so on) will handle both the new format and the
previous format. Tools that retrieve the debug
information using beam_lib:chunk(Beam, [abstract_code])
will continue to work with both the new and old format.
Tools that call beam_lib:chunk(Beam, ["Abst"]) will not
work with the new format.
For more information, see the description of debug_info
in the documentation for beam_lib and the description
of the {debug_info,{Backend,Data}} option in the
documentation for compile.
---------------------------------------------------------------------
--- cosProperty-1.2.2 -----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14006 Application(s): cosProperty, orber
Fix dialyzer warnings in Orber and CosProperty.
---------------------------------------------------------------------
--- crypto-4.0 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14247 Application(s): crypto
LibreSSL can now be used by the modernized crypto app.
OTP-14316 Application(s): asn1, crypto, runtime_tools
Related Id(s): PR-1390
Add compile option -compile(no_native) in modules with
on_load directive which is not yet supported by HiPE.
--- Improvements and New Features ---
OTP-13779 Application(s): crypto
Related Id(s): ERL-82, PR-1138
Add basic support for CMAC
OTP-13873 Application(s): crypto
*** POTENTIAL INCOMPATIBILITY ***
Removed functions deprecated in crypto-3.0 first
released in OTP-R16B01
OTP-13900 Application(s): crypto
*** HIGHLIGHT ***
The crypto application now supports OpenSSL 1.1.
OTP-13921 Application(s): crypto, ssl
Related Id(s): PR-1180
*** HIGHLIGHT ***
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
order to satisfy specific security requirements (mostly
by different parts of the US federal government).
See the new crypto users guide "FIPS mode" chapter
about building and using the FIPS support which is
disabled by default.
(Thanks to dszoboszlay and legoscia)
OTP-14092 Application(s): crypto
Related Id(s): PR-1291
Crypto chacha20-poly1305 as in RFC 7539 enabled for
OpenSSL >= 1.1.
Thanks to mururu.
OTP-14140 Application(s): crypto
Related Id(s): ERL-165, PR-1299
RSA key generation added to crypto:generate_key/2.
Thanks to wiml.
An interface is also added to
public_key:generate_key/1.
OTP-14171 Application(s): crypto
*** POTENTIAL INCOMPATIBILITY ***
Raised minimum requeriment for OpenSSL version to
OpenSSL-9.0.8.c although we recommend a much higher
version, that is a version that is still maintained
officially by the OpenSSL project. Note that using such
an old version may restrict the crypto algorithms
supported.
OTP-14274 Application(s): crypto
Deprecate crypto:rand_uniform/2 as it is not
cryptographically strong
OTP-14317 Application(s): crypto, stdlib
Related Id(s): PR-1372
The Crypto application now supports generation of
cryptographically strong random numbers (floats < 1.0
and integer arbitrary ranges) as a plugin to the 'rand'
module.
---------------------------------------------------------------------
--- debugger-4.2.2 --------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14296 Application(s): debugger, stdlib
The Erlang shell, qlc:string_to_handle(), and the
Debugger (the Evaluator area and Edit variable window
of the Bindings area) can parse pids, ports,
references, and external funs, as long as they can be
created in the running system.
OTP-14318 Application(s): debugger
Fix editing of simple binary values in the Bindings
area of the Debugger's Attach Process Window.
--- Improvements and New Features ---
OTP-14285 Application(s): debugger, edoc, parsetools, stdlib,
syntax_tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
---------------------------------------------------------------------
--- dialyzer-3.2 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14125 Application(s): compiler, dialyzer
Related Id(s): ERL-308
Analyzing modules with binary construction with huge
strings is now much faster. The compiler also compiles
such modules slightly faster.
OTP-14127 Application(s): dialyzer
The peak memory consumption is reduced.
OTP-14336 Application(s): dialyzer, otp
TypEr has been removed as separate application and is
now a part of the Dialyzer application. Documentation
for TypEr has been added in the Dialyzer application.
OTP-14369 Application(s): compiler, dialyzer, stdlib
Related Id(s): PR-1367
The format of debug information that is stored in BEAM
files (when debug_info is used) has been changed. The
purpose of the change is to better support other
BEAM-based languages such as Elixir or LFE.
All tools included in OTP (dialyzer, debugger, cover,
and so on) will handle both the new format and the
previous format. Tools that retrieve the debug
information using beam_lib:chunk(Beam, [abstract_code])
will continue to work with both the new and old format.
Tools that call beam_lib:chunk(Beam, ["Abst"]) will not
work with the new format.
For more information, see the description of debug_info
in the documentation for beam_lib and the description
of the {debug_info,{Backend,Data}} option in the
documentation for compile.
---------------------------------------------------------------------
--- diameter-1.12.3 -------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14387 Application(s): diameter, inets, megaco
Typos have been fixed.
--- Improvements and New Features ---
OTP-14389 Application(s): diameter
The usage of module erl_anno is corrected.
---------------------------------------------------------------------
--- edoc-0.9 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14277 Application(s): edoc
To support stable builds, edoc no longer includes time
stamps in the footer for generated files.
OTP-14285 Application(s): debugger, edoc, parsetools, stdlib,
syntax_tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
---------------------------------------------------------------------
--- erl_docgen-0.7 --------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14333 Application(s): erl_docgen
Related Id(s): ERL-393
Sort index of C functions alphabetically in the
sidebar.
--- Improvements and New Features ---
OTP-14371 Application(s): erl_docgen
Related Id(s): PR-1215
Improvements in the OTP documentation style.
(Thanks to Mariano Guerra)
---------------------------------------------------------------------
--- erl_interface-3.10 ----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14310 Application(s): erl_interface, kernel
Fix bug where gethostname would incorrectly fail with
enametoolong on Linux.
--- Improvements and New Features ---
OTP-14337 Application(s): erl_interface, erts, jinterface
Remove generation of atoms in old latin1 external
format. The old latin1 format can still be decoded but
is never generated by term_to_binary or sent on a
distribution channel. The new utf8 format for atoms was
introduced in OTP R16. An OTP 20 node can therefore not
connect to nodes older than R16.
---------------------------------------------------------------------
--- erts-9.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-13968 Application(s): erts
Fix various bugs regarding loading, upgrade and purge
of HiPE compiled code:
-- The native code memory for a purged module was never
deallocated.
-- Wrong functions could in some cases be called after
a module upgrade.
-- erlang:check_process_code did not check for
recursive calls made from native code.
OTP-14238 Application(s): erts, hipe
Hipe optional LLVM backend does require LLVM version
3.9 or later as older versions forced strong
dependencies on erts internals structures.
OTP-14303 Application(s): erts
Slogans in crash dumps have been extended to print more
complex terms.
OTP-14304 Application(s): erts
Fixed bug when using enif_inspect_binary in combination
with enif_copy. In some circumstances the inspected
binary could be realloced by the enif_copy call when it
shouldn't have been.
OTP-14307 Application(s): erts
Related Id(s): PR-1379
Use -fno-PIE for Gentoo Hardened and others that don't
accept linker flag -no-pie.
OTP-14314 Application(s): erts
Related Id(s): ERL-369, PR-1394
Disable hipe for ppc64le architecture (little endian)
as it is not, and has never been, supported. It was
earlier equated with ppc64 (big endian) which lead to
broken build without --disable-hipe.
OTP-14324 Application(s): erts
Fix 'epmd -kill' to return a failure exit status code
if epmd was not killed because of some error.
OTP-14335 Application(s): erts
Fixed the following dirty scheduler related bugs:
-- the +SDPcpu command line argument could cause the
amount of dirty CPU schedulers to be set to zero
-- erlang:system_flag(multi_scheduling, _) failed when
only one normal scheduler was used together with dirty
scheduler support
OTP-14352 Application(s): erts
Fix erlexec to handle mismatch in sysconf and proc fs
when figuring out the cpu topology. This behaviour has
been seen when using docker together with
--cpuset-cpus.
OTP-14360 Application(s): erts
Related Id(s): ERL-401, PR-1417
Fixed memory segment cache used for multiblock
carriers. Huge (> 2GB) memory segments could cause a VM
crash. Creation of such huge memory segments used for
multiblock carriers is however very uncommon.
--- Improvements and New Features ---
OTP-11695 Application(s): erts
Added erlang:garbage_collect/2 that takes an option
list as the last argument that can be used to control
whether a minor or a major garbage collection is to be
done. Doing a minor collection only collects terms that
have recently died, but is cheaper than a mjor
collection.
OTP-12148 Application(s): compiler, erts
Optimized test for tuples with an atom as first
element.
OTP-13529 Application(s): erts
Erlang literals are no longer copied during process to
process messaging.
OTP-13684 Application(s): erts
Add support in the erl_nif API for asynchronous message
notifications when sockets or other file descriptors
are ready to accept read or write operations. The
following functions have been added:
-- enif_select
-- enif_monitor_process
-- enif_demonitor_process
-- enif_compare_monitors
-- enif_open_resource_type_x
OTP-13692 Application(s): erts, stdlib
There are two new guard BIFs 'floor/1' and 'ceil/1'.
They both return integers. In the 'math' module, there
are two new BIFs with the same names that return
floating point values.
OTP-13827 Application(s): erts
*** POTENTIAL INCOMPATIBILITY ***
Remove deprecated erlang:hash/2.
OTP-13831 Application(s): compiler, erts, hipe, kernel, percept,
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
OTP-13842 Application(s): erts
Added support in zlib for extraction of the inflation
dictionary.
OTP-13844 Application(s): erts
Related Id(s): OTP-13833
*** POTENTIAL INCOMPATIBILITY ***
The previously used purge strategy has been removed.
The optional purge strategy introduced in ERTS version
8.1 is now the only strategy available.
The new purge strategy is slightly incompatible with
the old strategy. Previously processes holding funs
that referred to the module being purged either failed
a soft purge, or was killed during a hard purge. The
new strategy completely ignores funs. If funs referring
to the code being purged exist, and are used after a
purge, an exception will be raised upon usage. That is,
the behavior will be exactly the same as the case when
a fun is received by a process after the purge.
For more information see the documentation of
erlang:check_process_code/3.
OTP-13860 Application(s): erts
Dirty schedulers are now enabled by default when the
runtime system is built with SMP support.
OTP-13903 Application(s): erts
Improved ETS lookup/insert/delete speed for large set,
bag and duplicate_bag by a significant reduction of the
hash load factor. This speed improvement comes at the
expense of less than one word per table entry. Tables
with less than 256 entries are not affected at all.
OTP-13908 Application(s): erts
*** POTENTIAL INCOMPATIBILITY ***
The NIF library reload feature is not supported
anymore. It has been marked as deprecated since OTP
R15B. This means that you are only allowed to do one
successful call to erlang:load_nif/2 for each module
instance. A second call to erlang:load_nif/2 will
return {error, {reload, _}} even if the NIF library
imlements the reload callback.
Runtime upgrade of a NIF library is still supported by
using the Erlang module upgrade mechanics with a
current and an old module instance existing at the same
time with their corresponding NIF libraries.
OTP-13976 Application(s): erts
Add erlang:system_info(atom_count) and
erlang:system_info(atom_limit) to provide a way to
retrieve the current and maximum number of atoms.
OTP-14000 Application(s): compiler, erts, stdlib
The function fmod/2 has been added to the math module.
OTP-14002 Application(s): erts
erlang:load_nif/2 returns new error type notsup when
called for a HiPE compiled module, which is not
supported.
OTP-14069 Application(s): erts
Add driver and nif lock instrumentation to lcnt
OTP-14149 Application(s): erts
Reduce memory pressure by converting sub-binaries to
heap-binaries when possible. This is done during
garbage collection.
OTP-14152 Application(s): erts
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Dirty schedulers are now enabled and supported on
Erlang runtime systems with SMP support.
Besides support for dirty NIFs also support for dirty
BIFs and dirty garbage collection have been introduced.
All garbage collections that potentially will take a
long time to complete are now performed on dirty
schedulers if enabled.
erlang:statistics(scheduler_wall_time) now also
includes information about dirty CPU schedulers. Code
using erlang:statistics(scheduler_wall_time) may have
to be rewritten to take this incompatibility into
consideration.
OTP-14178 Application(s): compiler, erts
*** HIGHLIGHT ***
Atoms may now contain arbitrary Unicode characters.
OTP-14186 Application(s): erts, kernel
Introduce an event manager in Erlang to handle OS
signals. A subset of OS signals may be subscribed to
and those are described in the Kernel application.
OTP-14201 Application(s): erts
Related Id(s): PR-1293
The escript program now handles symbolic links to
escripts.
This is useful for standalone systems with escripts
residing on a bin directory not included in the
execution path (as it may cause their erl program(s) to
override the desired one). Instead the escripts can be
referred to via symbolic links from a bin directory in
the path.
OTP-14205 Application(s): erts
*** HIGHLIGHT ***
All uses of the magic binary kludge has been replaced
by uses of erlang references.
A magic binary was presented as an empty binary, but
actually referred other data internally in the Erlang
VM. Since they were presented as empty binaries,
different magic binaries compared as equal, and also
lost their internal data when passed out of an erlang
node.
The new usage of references has not got any of these
strange semantic issues, and the usage of these
references has been optimized to give the same
performance benefits as well as memory usage benefits
as magic binaries had.
A couple of examples of previous uses of magic binaries
are match specifications and NIF resources.
OTP-14272 Application(s): erts, otp
*** POTENTIAL INCOMPATIBILITY ***
The non-smp emulators have been deprecated and are
scheduled for removal in OTP-21.
In preperations for this, the threaded non-smp emulator
is no longer built by default and has to be enabled
using the --enable-plain-emulator to configure.
OTP-14330 Application(s): erts, hipe
Related Id(s): PR-1397
Allow HiPE to run on VM built with --enable-m32-build.
OTP-14331 Application(s): erts, stdlib
Related Id(s): ERL-208
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
OTP-14337 Application(s): erl_interface, erts, jinterface
Remove generation of atoms in old latin1 external
format. The old latin1 format can still be decoded but
is never generated by term_to_binary or sent on a
distribution channel. The new utf8 format for atoms was
introduced in OTP R16. An OTP 20 node can therefore not
connect to nodes older than R16.
OTP-14347 Application(s): erts, stdlib
Related Id(s): PR-1412
Added function re:version/0 which returns information
about the OTP internal PCRE version used for
implementation of the re module.
OTP-14348 Application(s): erts
Added new debug bif erlang:list_to_port/1.
OTP-14356 Application(s): erts
Various improvements of timer management internally in
the VM. These improvements both reduced memory
consumption of timer wheels as well as reduce the
amount of work that has to be performed in order to
handle timers.
OTP-14357 Application(s): erts, kernel, runtime_tools
Related Id(s): PR-1326
Sockets can now be bound to device (SO_BINDTODEVICE) on
platforms where it is supported.
This has been implemented e.g to support VRF-Lite under
Linux; see
VRF , and GitHub pull request #1326.
OTP-14380 Application(s): erts
Added the following erl command line arguments with
which you can set suggested stack for dirty schedulers:
-- +sssdcpu -- for dirty CPU schedulers
-- +sssdio -- for dirty IO schedulers
The default suggested stack size for dirty schedulers
is 40 kilo words.
OTP-14381 Application(s): erts
Changed erts startup program name, argv 0, to use the
environment variable ESCRIPT_NAME so that erlc,
dialyzer, typer, ct_run, or the escript name can be
seen with external programs, such as ps and htop
(depending on options), on unix.
If environment variable ESCRIPT_NAME is not set, argv 0
of the invoking program will be used, e.g. the name
will be erl, cerl, or the soft link name.
OTP-14384 Application(s): erts
Related Id(s): OTP-14201
Improvements of escript documentation.
OTP-14385 Application(s): erts
Related Id(s): PR-1413
Add function enif_hash for NIFs to calculate hash
values of arbitrary terms.
---------------------------------------------------------------------
--- eunit-2.3.3 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14287 Application(s): eunit
The surefire reports from eunit will no longer have
names with embedded double quotes.
---------------------------------------------------------------------
--- hipe-3.16 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-13862 Application(s): hipe
Related Id(s): PR-1154
Fix hipe compiler flags o0 and o1 that have previously
been ignored by mistake.
OTP-13983 Application(s): hipe
Fix LLVM backend to not convert all remote calls to own
module, like ?MODULE:foo(), into local calls.
OTP-14238 Application(s): erts, hipe
Hipe optional LLVM backend does require LLVM version
3.9 or later as older versions forced strong
dependencies on erts internals structures.
OTP-14302 Application(s): hipe
Related Id(s): ERL-376, PR-1386
Fix a bug that has been seen causing failed loading of
hipe compiled modules on NetBSD due to unaligned data
pointers.
OTP-14306 Application(s): hipe
Related Id(s): ERL-278, PR-1392
Fix miscompilation bug in hipe that could cause wrong
function clause to be called from non-tail calls, where
the return value is unused, if the right function
clause is only reachable from those non-tail calls.
--- Improvements and New Features ---
OTP-13810 Application(s): hipe
Related Id(s): PR-1124
Improve hipe compilation time for large functions.
OTP-13831 Application(s): compiler, erts, hipe, kernel, percept,
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
OTP-13879 Application(s): hipe
Speed up hipe compile time register allocation for
larger function.
OTP-14261 Application(s): hipe
Related Id(s): PR-1360
Various code generation improvements.
OTP-14293 Application(s): hipe
Related Id(s): PR-1380
Improve hipe compiler to generate code with better CPU
register utilization at runtime by the use of 'Live
Range Splitting' techniques.
OTP-14330 Application(s): erts, hipe
Related Id(s): PR-1397
Allow HiPE to run on VM built with --enable-m32-build.
---------------------------------------------------------------------
--- inets-6.3.9 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14387 Application(s): diameter, inets, megaco
Typos have been fixed.
---------------------------------------------------------------------
--- jinterface-1.8 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14337 Application(s): erl_interface, erts, jinterface
Remove generation of atoms in old latin1 external
format. The old latin1 format can still be decoded but
is never generated by term_to_binary or sent on a
distribution channel. The new utf8 format for atoms was
introduced in OTP R16. An OTP 20 node can therefore not
connect to nodes older than R16.
---------------------------------------------------------------------
--- kernel-5.3 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14310 Application(s): erl_interface, kernel
Fix bug where gethostname would incorrectly fail with
enametoolong on Linux.
--- Improvements and New Features ---
OTP-13805 Application(s): kernel
Since Unicode is now allowed in atoms an extra check is
needed for node names, which are restricted to Latin-1.
OTP-13831 Application(s): compiler, erts, hipe, kernel, percept,
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
OTP-13909 Application(s): kernel
file:write_file(Name, Data, [raw]) would turn Data into
a single binary before writing. This meant it could not
take advantage of the writev() system call if it was
given a list of binaries and told to write with raw
mode.
OTP-14057 Application(s): kernel
Related Id(s): PR-1245
The performance of the disk_log has been somewhat
improved in some corner cases (big items), and the
documentation has been clarified.
OTP-14059 Application(s): kernel, stdlib
*** HIGHLIGHT ***
Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.
OTP-14186 Application(s): erts, kernel
Introduce an event manager in Erlang to handle OS
signals. A subset of OS signals may be subscribed to
and those are described in the Kernel application.
OTP-14357 Application(s): erts, kernel, runtime_tools
Related Id(s): PR-1326
Sockets can now be bound to device (SO_BINDTODEVICE) on
platforms where it is supported.
This has been implemented e.g to support VRF-Lite under
Linux; see
VRF , and GitHub pull request #1326.
---------------------------------------------------------------------
--- megaco-3.18.2 ---------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14387 Application(s): diameter, inets, megaco
Typos have been fixed.
---------------------------------------------------------------------
--- mnesia-4.15 -----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14039 Application(s): mnesia
*** POTENTIAL INCOMPATIBILITY ***
Removed the wrapping of select continuations in
extension plugin handling. This might require the user
to rewrite user backend plugin if used.
---------------------------------------------------------------------
--- observer-2.4 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14137 Application(s): observer
Show dirty-scheduler threads in performance monitor
graph and add a column with maximum allocated memory in
the Memory Allocators table.
OTP-14270 Application(s): observer
Keep table and port selection after refresh of tables.
Store settings before shutdown and restore when
starting application.
OTP-14345 Application(s): observer
Related Id(s): ERL-399
When observing a node older than OTP-19.0, a pop-up
will be displayed when trying to access port
information. Earlier, observer would crash in this
situation.
---------------------------------------------------------------------
--- orber-3.8.3 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14006 Application(s): cosProperty, orber
Fix dialyzer warnings in Orber and CosProperty.
---------------------------------------------------------------------
--- otp-20.0 --------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-13652 Application(s): otp
The myths in the Efficiency Guide have been updated.
OTP-13703 Application(s): otp
*** POTENTIAL INCOMPATIBILITY ***
The 'gs' application has been removed.
OTP-14163 Application(s): otp
Application percept is moved to a separate repository,
https://github.com/erlang/percept, and therefore
removed from the OTP repository.
OTP-14272 Application(s): erts, otp
*** POTENTIAL INCOMPATIBILITY ***
The non-smp emulators have been deprecated and are
scheduled for removal in OTP-21.
In preperations for this, the threaded non-smp emulator
is no longer built by default and has to be enabled
using the --enable-plain-emulator to configure.
OTP-14336 Application(s): dialyzer, otp
TypEr has been removed as separate application and is
now a part of the Dialyzer application. Documentation
for TypEr has been added in the Dialyzer application.
---------------------------------------------------------------------
--- parsetools-2.1.5 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14276 Application(s): parsetools
Related Id(s): PR-1357
Minor documentation fixes
--- Improvements and New Features ---
OTP-14285 Application(s): debugger, edoc, parsetools, stdlib,
syntax_tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
---------------------------------------------------------------------
--- public_key-1.4.1 ------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14258 Application(s): public_key
Bug for public_key:generate_key({namedCurve,OID})
fixed.
--- Improvements and New Features ---
OTP-14111 Application(s): public_key
Modernized internal representation used for crl
validation by use of maps.
OTP-14294 Application(s): public_key
Support EC key in pkix_sign/2
---------------------------------------------------------------------
--- runtime_tools-1.12 ----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14316 Application(s): asn1, crypto, runtime_tools
Related Id(s): PR-1390
Add compile option -compile(no_native) in modules with
on_load directive which is not yet supported by HiPE.
--- Improvements and New Features ---
OTP-14357 Application(s): erts, kernel, runtime_tools
Related Id(s): PR-1326
Sockets can now be bound to device (SO_BINDTODEVICE) on
platforms where it is supported.
This has been implemented e.g to support VRF-Lite under
Linux; see
VRF , and GitHub pull request #1326.
---------------------------------------------------------------------
--- sasl-3.0.4 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14029 Application(s): sasl
Documented default values for the 'mod' and
'start_phases' fields in .app files were not allowed as
actual values in a .app file. This is now corrected.
---------------------------------------------------------------------
--- ssh-4.5 ---------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-12872 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
The internal handling of SSH options is re-written.
Previously there were no checks if a client option was
given to a daemon or vice versa. This is corrected now.
If your code has e.g. a client-only option in a call to
start a daemon, the call will fail.
OTP-14110 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
Modernization of diffie-hellman algorithms. Removed an
outdated weak algorithm and added stronger replacements
to keep interoperability with other ssh clients and
servers. The default ordering is also adjusted.
Retired: key-exchange diffie-hellman-group1-sha1. It is
not enabled by default, but can be enabled with the
option preferred-algorithms.
Added: key-exchange diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256.
OTP-14117 Application(s): ssh
Modernized internal representation of sftp by use of
maps.
OTP-14193 Application(s): ssh
The draft-ietf-curdle-ssh-ext-info-05 and
draft-ietf-curdle-rsa-sha2-05 are (partially)
implemented.
The extension server-sig-algs and the signature
algorithms rsa-sha2-256 and rsa-sha2-512 are
implemented. The rsa-sha2-* are not enabled by default
yet since they has a bug. Use option
preferred_algorithms with key public key to try them.
OTP-14243 Application(s): ssh
Ssh:connect, ssh:shell and ssh:start_channel now accept
an IP-tuple as Host destination argument.
OTP-14259 Application(s): ssh
The function ssh:daemon_info/1 now returns Host and
Profile as well as the Port info.
OTP-14263 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
Removed the option public_key_alg which was deprecated
in 18.2. Use pref_public_key_algs instead.
OTP-14264 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
The ssh application is refactored regarding daemon
starting. The resolution of contradicting Host argument
and ip option were not described. There were also
strange corner cases when the 'any' value was used in
Host argument or ip option. This is (hopefully)
resolved now, but it may cause incompatibilities for
code using both Host and the ip option. The value
'loopback' has been added for a correct way of naming
those addresses.
OTP-14267 Application(s): ssh
Related Id(s): OTP-14266
The supervisor code is refactored. The naming of
listening IP-Port-Profile tripples are slightly changed
to improve consistency in strange corner cases as
resolved by OTP-14264
OTP-14312 Application(s): ssh
The idle_time option can now be used in daemons.
---------------------------------------------------------------------
--- ssl-8.2 ---------------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-13820 Application(s): ssl
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
TLS-1.2 clients will now always send hello messages on
its own format, as opposed to earlier versions that
will send the hello on the lowest supported version,
this is a change supported by the latest RFC.
This will make interoperability with some newer servers
smoother. Potentially, but unlikely, this could cause a
problem with older servers if they do not adhere to the
RFC and ignore unknown extensions.
OTP-13921 Application(s): crypto, ssl
Related Id(s): PR-1180
*** HIGHLIGHT ***
Allow Erlang/OTP to use OpenSSL in FIPS-140 mode, in
order to satisfy specific security requirements (mostly
by different parts of the US federal government).
See the new crypto users guide "FIPS mode" chapter
about building and using the FIPS support which is
disabled by default.
(Thanks to dszoboszlay and legoscia)
OTP-14076 Application(s): ssl
Implemented DTLS cookie generation, requiered by spec,
instead of using hardcode value.
OTP-14291 Application(s): ssl
*** HIGHLIGHT ***
Extend connection_information/[1,2] . The values
session_id, master_secret, client_random and
server_random can no be accessed by
connection_information/2. Note only session_id will be
added to connection_information/1. The rational is that
values concerning the connection security should have
to be explicitly requested.
OTP-14382 Application(s): ssl
Chacha cipher suites are currently not tested enough to
be most prefered ones
OTP-14388 Application(s): ssl
*** HIGHLIGHT ***
Basic support for DTLS that been tested together with
OpenSSL.
Test by providing the option {protocol, dtls} to the
ssl API functions connect and listen.
---------------------------------------------------------------------
--- stdlib-3.4 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-13690 Application(s): compiler, stdlib
For many releases, it has been legal to override a BIF
with a local function having the same name. However,
calling a local function with the same name as guard
BIF as filter in a list comprehension was not allowed.
OTP-14295 Application(s): stdlib
Related Id(s): PR-1372
A new (default) pseudo-random number generator
algorithm Xoroshiro116+ has been implemented in the
rand module.
The old algorithm implementations had a number of flaws
so they are all deprecated, but corrected versions of
two of them have been added. See the documentation.
OTP-14296 Application(s): debugger, stdlib
The Erlang shell, qlc:string_to_handle(), and the
Debugger (the Evaluator area and Edit variable window
of the Bindings area) can parse pids, ports,
references, and external funs, as long as they can be
created in the running system.
OTP-14531 Application(s): stdlib
*** POTENTIAL INCOMPATIBILITY ***
The state machine engine gen_statem can now handle
generic time-outs (multiple named) as well as absolute
time-out time. See the documentation.
The gen_statem callback Module:init/1 has become
mandatory to harmonize with other gen_* modules. This
may be an incompatibility for gen_statem callback
modules that use gen_statem:enter_loop/4-6.
--- Improvements and New Features ---
OTP-10289 Application(s): stdlib
Related Id(s): OTP-10309
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Improved unicode support for strings. Added
normalization functions in the unicode module. Extended
the string module API with new functions with improved
unicode handling and that works on grapheme clusters.
The new functions operates on the unicode:chardata()
type, thus they also accept UTF-8 binaries as input.
The old string API have been marked as obsolete. The
return values have been changed for some error cases.
OTP-13692 Application(s): erts, stdlib
There are two new guard BIFs 'floor/1' and 'ceil/1'.
They both return integers. In the 'math' module, there
are two new BIFs with the same names that return
floating point values.
OTP-13801 Application(s): stdlib
Making code_change, terminate and handle_info callbacks
optional in the OTP behaviours.
OTP-13830 Application(s): stdlib
The support for Dets files created with Erlang/OTP R7
and earlier is removed.
OTP-13831 Application(s): compiler, erts, hipe, kernel, percept,
stdlib
Related Id(s): OTP-13735
Replaced usage of deprecated symbolic time unit
representations.
OTP-14000 Application(s): compiler, erts, stdlib
The function fmod/2 has been added to the math module.
OTP-14001 Application(s): stdlib
The EXIT signals received from processes using proc_lib
now looks like EXIT signals from processes that were
spawned using spawn_link. In particular, that means
that the stack trace is now included in the EXIT signal
so that it can see where the process crashed.
OTP-14035 Application(s): stdlib
sets:add_element/2 is faster when adding an element
that is already present, and sets:del_element/2 is
faster when the element to be deleted is not present.
This optimization can make certain operations, such as
sets:union/2 with many overlapping elements, up to two
orders of magnitude faster.
OTP-14037 Application(s): stdlib
Related Id(s): PR-1233
Add information in doc about supervisor shutdown reason
when maximum restart frequency is reached.
OTP-14038 Application(s): stdlib
Related Id(s): PR-1235
Added rand:jump/[0|1] functions.
OTP-14059 Application(s): kernel, stdlib
*** HIGHLIGHT ***
Functions for detecting changed code has been added.
code:modified_modules/0 returns all currently loaded
modules that have changed on disk. code:module_status/1
returns the status for a module. In the shell and in c
module, mm/0 is short for code:modified_modules/0, and
lm/0 reloads all currently loaded modules that have
changed on disk.
OTP-14066 Application(s): stdlib
Each assert macro in assert.hrl now has a corresponding
version with an extra argument, for adding comments to
assertions. These can for example be printed as part of
error reports, to clarify the meaning of the check that
failed.
OTP-14068 Application(s): stdlib
error_logger_tty_h and error_logger_file_h now inserts
the node information for nonlocal messages before the
message itself instead of after, both for readability
and so as not to change the line termination property
at the end of the message.
OTP-14070 Application(s): stdlib
Related Id(s): PR-1214
The Erlang code linter checks for badly formed type
constraints.
OTP-14071 Application(s): compiler, stdlib
By default, there will now be a warning when export_all
is used. The warning can be disabled using
nowarn_export_all.
OTP-14089 Application(s): stdlib
When a gen_server process crashes, the stacktrace for
the client will be printed to facilitate debugging.
OTP-14094 Application(s): stdlib
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Optimized ETS operations by changing table identifier
type from integer to reference. The reference enables a
more direct mapping to the table with less potential
lock contention and makes especially creation and
deletion of tables scale much better.
The change of the opaque type for the ETS table
identifiers may cause failure in code that make faulty
assumptions about this opaque type.
OTP-14102 Application(s): stdlib
take/2 has been added to dict, orddict, and gb_trees.
take_any/2 has been added to gb_trees.
OTP-14123 Application(s): stdlib
Extend gen_event API to handle options as well.
OTP-14168 Application(s): stdlib
Related Id(s): PR-1289
Advice on how to tune the supervisor restart frequency
(intensity and period) is added to System Documentation
- Design Principles - Supervisor Behaviour.
OTP-14183 Application(s): stdlib
*** HIGHLIGHT ***
Replace gen_fsm with gen_statem
OTP-14190 Application(s): stdlib
The shell functions c/1 and c/2 have been extended so
that if the argument is a module name instead of a file
name, it automatically locates the .beam file and the
corresponding source file, and then recompiles the
module using the same compiler options (plus any
options passed to c/2). If compilation fails, the old
beam file is preserved. Also adds c(Mod, Opts, Filter),
where the Filter argument allows you to remove old
compiler options before the new options are added.
New utility functions file_find/2/3 and
find_source/1/2/3 have been added to filelib.
OTP-14226 Application(s): stdlib
*** HIGHLIGHT ***
erl_tar in previous versions of OTP only supports the
USTAR format. That limited path names to at most 255
bytes, and did not support Unicode characters in names
in a portable way.
erl_tar now has support for reading tar archives in the
formats currently in common use, such as v7, STAR,
USTAR, PAX, and GNU tar's extensions to the STAR/USTAR
format. When writing tar archives, erl_tar can now
write them in the PAX format if necessary (for example,
to support very long filenames or filenames with
Unicode characters). If possible, erl_tar will still
write tar archives in the USTAR for maximum
portability.
OTP-14245 Application(s): stdlib
base64:mime_decode/1 has been optimized so that it is
now almost as fast asbase64:decode/1; it used be
noticably slower.
OTP-14278 Application(s): stdlib
erl_tar will now strip any leading '/' from pathnames
when extracting files from a tar archive and write a
message to the error logger. There is also new check
for directory traversal attacks; if a relative path
points above the current working directory the
extraction will be aborted.
OTP-14285 Application(s): debugger, edoc, parsetools, stdlib,
syntax_tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
OTP-14317 Application(s): crypto, stdlib
Related Id(s): PR-1372
The Crypto application now supports generation of
cryptographically strong random numbers (floats < 1.0
and integer arbitrary ranges) as a plugin to the 'rand'
module.
OTP-14319 Application(s): stdlib
Related Id(s): PR-1076
*** HIGHLIGHT ***
Add new function ets:select_replace/2 which performs
atomic "compare-and-swap" operations for ETS objects
using match specifications.
OTP-14323 Application(s): stdlib
The Erlang code linter checks for bad dialyzer
attributes.
OTP-14328 Application(s): stdlib
Related Id(s): PR-1382
Two new functions has been implemented in the rand
module; normal/2 and normal_s/3, that both produce
normal distribution (pseudo) random numbers with mean
value and variance according to arguments.
OTP-14331 Application(s): erts, stdlib
Related Id(s): ERL-208
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Upgraded the OTP internal PCRE library from version
8.33 to version 8.40. This library is used for
implementation of the re regular expressions module.
Besides various bug fixes, the new version allows for
better stack protection. In order to utilize this
feature, the stack size of normal scheduler threads is
now by default set to 128 kilo words on all platforms.
The stack size of normal scheduler threads can be set
upon system start by passing the +sss command line
argument to the erl command.
See http://pcre.org/original/changelog.txt for
information about changes made to PCRE between the
versions 8.33 and 8.40.
OTP-14347 Application(s): erts, stdlib
Related Id(s): PR-1412
Added function re:version/0 which returns information
about the OTP internal PCRE version used for
implementation of the re module.
OTP-14369 Application(s): compiler, dialyzer, stdlib
Related Id(s): PR-1367
The format of debug information that is stored in BEAM
files (when debug_info is used) has been changed. The
purpose of the change is to better support other
BEAM-based languages such as Elixir or LFE.
All tools included in OTP (dialyzer, debugger, cover,
and so on) will handle both the new format and the
previous format. Tools that retrieve the debug
information using beam_lib:chunk(Beam, [abstract_code])
will continue to work with both the new and old format.
Tools that call beam_lib:chunk(Beam, ["Abst"]) will not
work with the new format.
For more information, see the description of debug_info
in the documentation for beam_lib and the description
of the {debug_info,{Backend,Data}} option in the
documentation for compile.
---------------------------------------------------------------------
--- syntax_tools-2.1.2 ----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14285 Application(s): debugger, edoc, parsetools, stdlib,
syntax_tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
---------------------------------------------------------------------
--- tools-2.10 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14339 Application(s): tools
Related Id(s): ERL-395
In some situations, make:all() and friends did not
detect changes in include files located in the current
directory. This is now corrected.
--- Improvements and New Features ---
OTP-14253 Application(s): tools
The make module now accepts the {emake,Emake} option.
---------------------------------------------------------------------
--- wx-1.8.1 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14289 Application(s): wx
Fix a livelock that could be caused by wx:batch/1.
---------------------------------------------------------------------
--- xmerl-1.3.14 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14377 Application(s): xmerl
Related Id(s): PR-1369
Improves accumulator fun in xmerl_scan so that only one
#xmlText record is returned for strings which have
character references.
(Thanks to Jimmy Zöger)
|