1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
|
Patch Package: OTP 20.0
Git Tag: OTP-20.0
Date: 2017-06-21
Trouble Report Id: OTP-10289, OTP-11695, OTP-12148, OTP-12872,
OTP-13006, OTP-13529, OTP-13684, OTP-13690,
OTP-13692, OTP-13779, OTP-13794, OTP-13801,
OTP-13805, OTP-13806, OTP-13810, OTP-13820,
OTP-13827, OTP-13830, OTP-13831, OTP-13842,
OTP-13844, OTP-13856, OTP-13860, OTP-13862,
OTP-13873, OTP-13879, OTP-13900, OTP-13903,
OTP-13908, OTP-13909, OTP-13921, OTP-13924,
OTP-13961, OTP-13968, OTP-13976, OTP-13983,
OTP-14000, OTP-14001, OTP-14002, OTP-14006,
OTP-14029, OTP-14035, OTP-14037, OTP-14038,
OTP-14039, OTP-14042, OTP-14057, OTP-14058,
OTP-14059, OTP-14066, OTP-14068, OTP-14069,
OTP-14070, OTP-14071, OTP-14072, OTP-14076,
OTP-14077, OTP-14087, OTP-14089, OTP-14092,
OTP-14094, OTP-14102, OTP-14110, OTP-14111,
OTP-14117, OTP-14123, OTP-14125, OTP-14127,
OTP-14137, OTP-14140, OTP-14146, OTP-14149,
OTP-14152, OTP-14168, OTP-14171, OTP-14178,
OTP-14179, OTP-14183, OTP-14186, OTP-14190,
OTP-14193, OTP-14197, OTP-14201, OTP-14205,
OTP-14216, OTP-14218, OTP-14219, OTP-14221,
OTP-14226, OTP-14238, OTP-14243, OTP-14245,
OTP-14247, OTP-14253, OTP-14255, OTP-14258,
OTP-14259, OTP-14261, OTP-14263, OTP-14264,
OTP-14267, OTP-14270, OTP-14272, OTP-14274,
OTP-14276, OTP-14277, OTP-14278, OTP-14284,
OTP-14285, OTP-14287, OTP-14289, OTP-14291,
OTP-14293, OTP-14294, OTP-14295, OTP-14296,
OTP-14302, OTP-14303, OTP-14304, OTP-14305,
OTP-14306, OTP-14307, OTP-14310, OTP-14312,
OTP-14314, OTP-14316, OTP-14317, OTP-14318,
OTP-14319, OTP-14323, OTP-14324, OTP-14328,
OTP-14330, OTP-14331, OTP-14332, OTP-14333,
OTP-14335, OTP-14336, OTP-14337, OTP-14338,
OTP-14339, OTP-14343, OTP-14345, OTP-14347,
OTP-14348, OTP-14352, OTP-14356, OTP-14357,
OTP-14360, OTP-14361, OTP-14362, OTP-14369,
OTP-14371, OTP-14377, OTP-14380, OTP-14381,
OTP-14382, OTP-14384, OTP-14385, OTP-14387,
OTP-14388, OTP-14390, OTP-14393, OTP-14394,
OTP-14399, OTP-14400, OTP-14401, OTP-14404,
OTP-14405, OTP-14407, OTP-14408, OTP-14409,
OTP-14410, OTP-14411, OTP-14415, OTP-14417,
OTP-14419, OTP-14421, OTP-14422, OTP-14423,
OTP-14424, OTP-14425, OTP-14426, OTP-14429,
OTP-14431, OTP-14433, OTP-14434, OTP-14435,
OTP-14436, OTP-14437, OTP-14438, OTP-14441,
OTP-14442, OTP-14443, OTP-14447, OTP-14453,
OTP-14454, OTP-14455, OTP-14531
Seq num: ERIERL-20, ERIERL-22, ERIERL-29, ERL-165,
ERL-208, ERL-278, ERL-308, ERL-332, ERL-360,
ERL-369, ERL-376, ERL-393, ERL-395, ERL-399,
ERL-401, ERL-417, ERL-429, ERL-430, ERL-82,
seq13299, seq13315
System: OTP
Release: 20
Application: asn1-5.0, common_test-1.15, compiler-7.1,
cosProperty-1.2.2, crypto-4.0,
debugger-4.2.2, dialyzer-3.2, diameter-2.0,
edoc-0.9, erl_docgen-0.7, erl_interface-3.10,
erts-9.0, eunit-2.3.3, hipe-3.16, inets-6.4,
jinterface-1.8, kernel-5.3, megaco-3.18.2,
mnesia-4.15, observer-2.4, orber-3.8.3,
parsetools-2.1.5, public_key-1.4.1,
reltool-0.7.4, runtime_tools-1.12,
sasl-3.0.4, snmp-5.2.6, ssh-4.5, ssl-8.2,
stdlib-3.4, syntax_tools-2.1.2, tools-2.10,
wx-1.8.1, xmerl-1.3.15
Predecessor: OTP
Check out the git tag OTP-20.0, and build a full OTP system including
documentation.
---------------------------------------------------------------------
--- 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.
The number of tables stored at one Erlang node *used*
to be limited. This is no longer the case (except by
memory usage). The previous default limit was about
1400 tables and could be increased by setting the
environment variable ERL_MAX_ETS_TABLES before starting
the Erlang runtime system. This hard limit has been
removed, but it is currently useful to set the
ERL_MAX_ETS_TABLES anyway. It should be set to an
approximate of the maximum amount of tables used. This
since an internal table for named tables is sized using
this value. If large amounts of named tables are used
and ERL_MAX_ETS_TABLES hasn't been increased, the
performance of named table lookup will degrade.
OTP-14110 Application(s): ssh
*** POTENTIAL INCOMPATIBILITY ***
Modernization of key exchange algorithms. See
draft-ietf-curdle-ssh-kex-sha2 for a discussion.
Removed an outdated weak algorithm and added stronger
replacements to keep interoperability with other modern
ssh clients and servers. The default ordering of the
algorithms is also adjusted.
Retired: The nowadays unsecure key-exchange
diffie-hellman-group1-sha1 is not enabled by default,
but can be enabled with the option
preferred-algorithms.
Added: The new stronger key-exchange
diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256 are added and enabled by
default.
The questionable [RFC 6194] sha1-based algorithms
diffie-hellman-group-exchange-sha1 and
diffie-hellman-group14-sha1 are however still kept
enabled by default for compatibility with ancient
clients and servers that lack modern key-exchange
alternatives. When the draft-ietf-curdle-ssh-kex-sha2
becomes an rfc, those sha1-based algorithms and
diffie-hellman-group1-sha1 will be deprecated by IETF.
They might then be removed from the default list in
Erlang/OTP.
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/1 with arguments inspecting scheduler
and run queue states have been changed due to the dirty
scheduler support. Code using this functionality may
have to be rewritten taking these incompatibilities
into consideration. Examples of such uses are calls to
erlang:statistics(scheduler_wall_time),
statistics(total_run_queue_lengths),
statistics(total_active_tasks), etc.
OTP-14178 Application(s): compiler, erts
Atoms may now contain arbitrary Unicode characters.
OTP-14183 Application(s): stdlib
gen_fsm is deprecated and is replaced by gen_statem,
however for backwards compatibility reasons gen_fsm may
continue to exist as an undocumented feature for quite
some time.
OTP-14193 Application(s): ssh
The Extension Negotiation Mechanism and the extension
server-sig-algs in draft-ietf-curdle-ssh-ext-info-05
are implemented.
The related draft-ietf-curdle-rsa-sha2-05 is
implemented and introduces the signature algorithms
rsa-sha2-256 and rsa-sha2-512.
OTP-14197 Application(s): ssl
TLS client processes will by default call
public_key:pkix_verify_hostname/2 to verify the
hostname of the connection with the server certificates
specified hostname during certificate path validation.
The user may explicitly disables it. Also if the
hostname can not be derived from the first argument to
connect or is not supplied by the server name
indication option, the check will not be performed.
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-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-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.
OTP-14407 Application(s): erts, otp
'./configure --enable-lock-counter' will enabling
building of an additional emulator that has support for
lock counting. (The option previously existed, but
would turn on lock counting in the default emulator
being built.) To start the lock-counting emulator, use
'erl -emu_type lcnt'.
On Windows, erl recognized the undocumented option
-debug for starting a debug-compiled emulator. That
option has been removed. Use 'erl -emu_type debug'
instead.
---------------------------------------------------------------------
--- 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-13006 Application(s): kernel
Related Id(s): ERIERL-20, ERL-429
Function inet:ntoa/1 has been fixed to return lowercase
letters according to RFC 5935 that has been approved
after this function was written. Previously uppercase
letters were returned so this may be a backwards
incompatible change depending on how the returned
address string is used.
Function inet:parse_address/1 has been fixed to accept
%-suffixes on scoped addresses. The addresses does not
work yet, but gives no parse errors.
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
implements 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.
The number of tables stored at one Erlang node *used*
to be limited. This is no longer the case (except by
memory usage). The previous default limit was about
1400 tables and could be increased by setting the
environment variable ERL_MAX_ETS_TABLES before starting
the Erlang runtime system. This hard limit has been
removed, but it is currently useful to set the
ERL_MAX_ETS_TABLES anyway. It should be set to an
approximate of the maximum amount of tables used. This
since an internal table for named tables is sized using
this value. If large amounts of named tables are used
and ERL_MAX_ETS_TABLES hasn't been increased, the
performance of named table lookup will degrade.
OTP-14110 Application(s): ssh
*** HIGHLIGHT ***
Modernization of key exchange algorithms. See
draft-ietf-curdle-ssh-kex-sha2 for a discussion.
Removed an outdated weak algorithm and added stronger
replacements to keep interoperability with other modern
ssh clients and servers. The default ordering of the
algorithms is also adjusted.
Retired: The nowadays unsecure key-exchange
diffie-hellman-group1-sha1 is not enabled by default,
but can be enabled with the option
preferred-algorithms.
Added: The new stronger key-exchange
diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256 are added and enabled by
default.
The questionable [RFC 6194] sha1-based algorithms
diffie-hellman-group-exchange-sha1 and
diffie-hellman-group14-sha1 are however still kept
enabled by default for compatibility with ancient
clients and servers that lack modern key-exchange
alternatives. When the draft-ietf-curdle-ssh-kex-sha2
becomes an rfc, those sha1-based algorithms and
diffie-hellman-group1-sha1 will be deprecated by IETF.
They might then be removed from the default list in
Erlang/OTP.
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/1 with arguments inspecting scheduler
and run queue states have been changed due to the dirty
scheduler support. Code using this functionality may
have to be rewritten taking these incompatibilities
into consideration. Examples of such uses are calls to
erlang:statistics(scheduler_wall_time),
statistics(total_run_queue_lengths),
statistics(total_active_tasks), etc.
OTP-14171 Application(s): crypto
Raised minimum requirement for OpenSSL version to
OpenSSL-0.9.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 preparation 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-14343 Application(s): diameter
Improve performance of message encode/decode and
related handling.
Dictionaries using @custom_types or @codecs will need
to adapt the corresponding functions to accept an
additional argument that is now passed through
encode/decode, which was required to remove various
process dictionary-based workarounds that have been
used to solve problems in the past.
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).
Full runtime dependencies of asn1-5.0: erts-7.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- 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.
OTP-14400 Application(s): common_test, snmp, stdlib
Internal code change: Calls to catch followed by a call
to erlang:get_stacktrace/0 has been rewritten to use
try instead of catch to make the code future-proof.
--- 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.
OTP-14284 Application(s): common_test
The existing ct_netconfc:open/1,2 opens an SSH
connection with one SSH channel realizing one Netconf
session. To allow testing of multiple sessions over the
same SSH connection, the following functions are added
to ct_netconfc:
* connect/1,2 - establish an SSH connection *
disconnect/1 - close the given SSH connection *
session/1,2,3 - open an ssh channel on the given
connection and send 'hello' to start a Netconf session
OTP-14285 Application(s): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
OTP-14415 Application(s): common_test
Related Id(s): seq13315
The function ct_ssh:shell/2,3 is added.
Full runtime dependencies of common_test-1.15: compiler-6.0,
crypto-3.6, debugger-4.1, erts-7.0, inets-6.0, kernel-4.0,
observer-2.1, runtime_tools-1.8.16, sasl-2.4.2, snmp-5.1.2, ssh-4.0,
stdlib-2.5, syntax_tools-1.7, tools-2.8, xmerl-1.3.8
---------------------------------------------------------------------
--- 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.
OTP-14408 Application(s): compiler
Related Id(s): ERL-417
compile:forms/2 would not return the module name as
documented when one of the options 'from_core',
'from_asm', or 'from_beam' was given. Also, the
compiler would crash if one of those options was
combined with 'native'.
--- 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 partial 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 'deterministic' 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.
OTP-14401 Application(s): compiler
In a future release, erlang:get_stacktrace/0 will
probably only work when called from within a 'try'
expression (otherwise it will return [].
To help prepare for that change, the compiler will now
by default warn if 'get_stacktrace/0' is used in a way
that will not work in the future. Note that the warning
will not be issued if 'get_stacktrace/0' is used in a
function that uses neither 'catch' nor 'try' (because
that could be a legal use if the function is called
from within a 'try'.
Full runtime dependencies of compiler-7.1: crypto-3.6, erts-9.0,
hipe-3.12, kernel-4.0, stdlib-2.5
---------------------------------------------------------------------
--- cosProperty-1.2.2 -----------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14006 Application(s): cosProperty, orber
Fix dialyzer warnings in Orber and CosProperty.
Full runtime dependencies of cosProperty-1.2.2: erts-7.0, kernel-3.0,
mnesia-4.12, orber-3.6.27, stdlib-2.0
---------------------------------------------------------------------
--- 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.
OTP-14435 Application(s): crypto
Related Id(s): OTP-14313, PR-1393, PR-1462
Fix a bug in aes cfb128 function introduced by the bug
fix in GitHub pull request #1393.
--- 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 requirement for OpenSSL version to
OpenSSL-0.9.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.
OTP-14436 Application(s): crypto
Related Id(s): PR-1396
This replaces the hard coded test values for AES, CMAC
and GCM ciphers with the full validation set from
NIST's CAVP program.
Full runtime dependencies of crypto-4.0: erts-9.0, kernel-5.3,
stdlib-3.4
---------------------------------------------------------------------
--- 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): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Full runtime dependencies of debugger-4.2.2: compiler-5.0, erts-6.0,
kernel-3.0, stdlib-2.5, wx-1.2
---------------------------------------------------------------------
--- dialyzer-3.2 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14423 Application(s): dialyzer
Related Id(s): OTP-14323
The check of bad type variables in type declarations
was mistakingly removed in Erlang/OTP 18, and is now
re-introduced.
--- 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-14218 Application(s): dialyzer
Related Id(s): OTP-14127
Warnings about unknown types are now also generated for
types not used by any function specification.
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.
Full runtime dependencies of dialyzer-3.2: compiler-7.0, erts-8.0,
hipe-3.15.4, kernel-5.0, stdlib-3.0, syntax_tools-2.0, wx-1.2
---------------------------------------------------------------------
--- diameter-2.0 ----------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14338 Application(s): diameter
Let candidate peers be passed to diameter:call/4
With call option peer, to allow a request to be sent to
a peer that hasn't advertised support for the
application in question.
RFC 6733 2.4 requires a node to send the application
identifiers of all locally supported applications at
capabilities exchange, but not all nodes respect this
for the common application, and diameter itself will
send D[WP][RA] without the common application having
been explicitly advertised. Regarding the common
application as implicit renders Result-Code 5010
(DIAMETER_NO_COMMON_APPLICATION) meaningless however,
so allow any request to be sent as long as there is a
configured dictionary to support it.
OTP-14343 Application(s): diameter
*** POTENTIAL INCOMPATIBILITY ***
Improve performance of message encode/decode and
related handling.
Dictionaries using @custom_types or @codecs will need
to adapt the corresponding functions to accept an
additional argument that is now passed through
encode/decode, which was required to remove various
process dictionary-based workarounds that have been
used to solve problems in the past.
OTP-14455 Application(s): diameter
Related Id(s): ERL-332
Add transport options to avoid deadlock and allow for
load regulation.
Both diameter_tcp and diameter_sctp now accept two new
configuration options: sender and message_cb. The
former causes outgoing sends to take place in a
dedicated process, to avoid the possibility of deadlock
when both the transport process and its peer block in
send. The latter allows a callback to control the
reading of messages on the socket, to allow for
backpressure towards peers when the rate of incoming
traffic is greater than can otherwise be handled.
Neither of these options are yet documented, but are
unlikely to change unless problems are discovered. The
sender option is not the default since it should
probably always be used in combination with message_cb,
to prevent incoming requests from being read at a
higher rate than a peer allows outgoing answers to be
sent.
Full runtime dependencies of diameter-2.0: erts-6.4, kernel-3.2,
ssl-6.0, stdlib-2.4
---------------------------------------------------------------------
--- 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): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Full runtime dependencies of edoc-0.9: erts-6.0, inets-5.10,
kernel-3.0, stdlib-2.5, syntax_tools-1.6.14, xmerl-1.3.7
---------------------------------------------------------------------
--- 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.
OTP-14431 Application(s): erl_docgen
The right side index of functions now handle functions
with same name but different arity.
--- 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)
Full runtime dependencies of erl_docgen-0.7: edoc-0.7.13, erts-6.0,
stdlib-2.5, xmerl-1.3.7
---------------------------------------------------------------------
--- 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 in the distribution between erlang nodes,
erl_interface, and jinterface. The new utf8 format for
atoms was introduced in OTP R16. An OTP 20 node can
therefore not connect to nodes older than R16.
Atoms that can be encoded using latin1 are still
encoded by term_to_binary() using latin1 encoding. Note
that all atoms will by default be encoded using utf8 in
a future Erlang/OTP release. For more information see
the documentation of erlang:term_to_binary/2.
---------------------------------------------------------------------
--- 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-14255 Application(s): erts
Related Id(s): OTP-14400, OTP-14401
When an exception such as 'throw(HugeTerm)' was caught,
HugeTerm term would be kept in the process until the
next exception occurred, potentially increasing the
heap size for the process. That has been corrected.
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 reallocated by the enif_copy call when
it shouldn't have been.
OTP-14305 Application(s): erts
The address family local (AF_UNIX / AF_LOCAL) now does
not ensure zero termination of Linux Abstract Addresses
so they can use all bytes.
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.
OTP-14390 Application(s): erts, kernel
Fix bug causing code:is_module_native to falsely return
true when local call trace is enabled for the module.
OTP-14411 Application(s): erts
Fix emulator crash when receive tracing on a
trace_delivered message.
OTP-14424 Application(s): erts
Fix file:sendfile error handling on SunOS when a
connection is closed during transmission.
OTP-14433 Application(s): erts
escript did not handle paths with spaces correct.
OTP-14437 Application(s): erts
Related Id(s): ERL-360
Fix erroneous lock check assertion when wx is run on
MacOS X.
OTP-14441 Application(s): erts
Related Id(s): ERL-430
Active-mode TCP sockets are now cleaned up properly on
send/shutdown errors.
OTP-14447 Application(s): erts
Fix compilation of hipe_mkliterals when the LIBS
configure variable had to be set.
--- 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 major
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
implements 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/1 with arguments inspecting scheduler
and run queue states have been changed due to the dirty
scheduler support. Code using this functionality may
have to be rewritten taking these incompatibilities
into consideration. Examples of such uses are calls to
erlang:statistics(scheduler_wall_time),
statistics(total_run_queue_lengths),
statistics(total_active_tasks), etc.
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 preparation 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 in the distribution between erlang nodes,
erl_interface, and jinterface. The new utf8 format for
atoms was introduced in OTP R16. An OTP 20 node can
therefore not connect to nodes older than R16.
Atoms that can be encoded using latin1 are still
encoded by term_to_binary() using latin1 encoding. Note
that all atoms will by default be encoded using utf8 in
a future Erlang/OTP release. For more information see
the documentation of erlang:term_to_binary/2.
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
*** HIGHLIGHT ***
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.
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.
OTP-14407 Application(s): erts, otp
*** HIGHLIGHT ***
'./configure --enable-lock-counter' will enabling
building of an additional emulator that has support for
lock counting. (The option previously existed, but
would turn on lock counting in the default emulator
being built.) To start the lock-counting emulator, use
'erl -emu_type lcnt'.
On Windows, erl recognized the undocumented option
-debug for starting a debug-compiled emulator. That
option has been removed. Use 'erl -emu_type debug'
instead.
OTP-14425 Application(s): erts, kernel
Warnings have been added to the relevant documentation
about not using un-secure distributed nodes in exposed
environments.
OTP-14434 Application(s): erts
Improvement of the documentation of the environment
variable ERL_CRASH_DUMP_SECONDS as well as the default
behavior when it is not set.
OTP-14438 Application(s): erts
Enabled off-heap message queue for some system
processes that might receive large amounts of messages.
OTP-14442 Application(s): erts
Related Id(s): ERIERL-22
ETS lock indexes have been replaced with the table name
in LCNT results.
OTP-14453 Application(s): erts
Related Id(s): PR-1400
Introduced the new functions enif_whereis_pid() and
enif_whereis_port().
Full runtime dependencies of erts-9.0: kernel-5.0, sasl-3.0.1,
stdlib-3.0
---------------------------------------------------------------------
--- 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.
Full runtime dependencies of eunit-2.3.3: erts-6.0, kernel-3.0,
stdlib-2.5
---------------------------------------------------------------------
--- 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.
Full runtime dependencies of hipe-3.16: compiler-5.0, erts-9.0,
kernel-3.0, stdlib-2.5, syntax_tools-1.6.14
---------------------------------------------------------------------
--- inets-6.4 -------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14394 Application(s): inets
httpd_util:rfc1123_date/1 gracefully handle invalid DST
dates by returning the original time in the expected
rfc1123 format.
--- Improvements and New Features ---
OTP-14404 Application(s): inets
Add unicode binary support to http_uri functions
OTP-14429 Application(s): inets
httpc - Change timeout handling so the redirects cause
a new timer to be set. This means that a simple
redirected request could return after 2*timeout
milliseconds.
Full runtime dependencies of inets-6.4: erts-6.0, kernel-3.0,
mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-2.0
---------------------------------------------------------------------
--- jinterface-1.8 --------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14337 Application(s): erl_interface, erts, jinterface
Remove generation of atoms in old latin1 external
format in the distribution between erlang nodes,
erl_interface, and jinterface. The new utf8 format for
atoms was introduced in OTP R16. An OTP 20 node can
therefore not connect to nodes older than R16.
Atoms that can be encoded using latin1 are still
encoded by term_to_binary() using latin1 encoding. Note
that all atoms will by default be encoded using utf8 in
a future Erlang/OTP release. For more information see
the documentation of erlang:term_to_binary/2.
---------------------------------------------------------------------
--- kernel-5.3 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-13006 Application(s): kernel
Related Id(s): ERIERL-20, ERL-429
*** POTENTIAL INCOMPATIBILITY ***
Function inet:ntoa/1 has been fixed to return lowercase
letters according to RFC 5935 that has been approved
after this function was written. Previously uppercase
letters were returned so this may be a backwards
incompatible change depending on how the returned
address string is used.
Function inet:parse_address/1 has been fixed to accept
%-suffixes on scoped addresses. The addresses does not
work yet, but gives no parse errors.
OTP-14310 Application(s): erl_interface, kernel
Fix bug where gethostname would incorrectly fail with
enametoolong on Linux.
OTP-14390 Application(s): erts, kernel
Fix bug causing code:is_module_native to falsely return
true when local call trace is enabled for the module.
OTP-14426 Application(s): kernel
Add early reject of invalid node names from distributed
nodes.
--- 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.
OTP-14409 Application(s): kernel
Related Id(s): PR-1420
Added option to store shell_history on disk so that the
history can be reused between sessions.
OTP-14417 Application(s): kernel, stdlib
The size of crash reports created by gen_server,
gen_statem and proc_lib is limited with aid of the
Kernel application variable error_logger_format_depth.
The purpose is to limit the size of the messages sent
to the error_logger process when processes with huge
message queues or states crash.
The crash report generated by proc_lib includes the new
tag message_queue_len. The neighbour report also
includes the new tag current_stacktrace. Finally, the
neighbour report no longer includes the tags messages
and dictionary.
The new function error_logger:get_format_depth/0 can be
used to retrieve the value of the Kernel application
variable error_logger_format_depth.
OTP-14419 Application(s): kernel
One of the ETS tables used by the global module is
created with {read_concurrency, true} in order to
reduce contention.
OTP-14425 Application(s): erts, kernel
Warnings have been added to the relevant documentation
about not using un-secure distributed nodes in exposed
environments.
Full runtime dependencies of kernel-5.3: erts-9.0, sasl-3.0,
stdlib-3.0
---------------------------------------------------------------------
--- megaco-3.18.2 ---------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14387 Application(s): megaco
Typos have been fixed.
Full runtime dependencies of megaco-3.18.2: asn1-3.0, debugger-4.0,
erts-7.0, et-1.5, kernel-3.0, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- mnesia-4.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.
Full runtime dependencies of mnesia-4.15: erts-7.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- observer-2.4 ----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14393 Application(s): observer
etop had a hardcoded timeout value of 1 second when
waiting for data from a remote node. When this expired,
which could happen for instance if there were very many
processes on the remote node, etop would exit with
reason connection_lost. To overcome this problem, the
timeout is now changed to be the same as the update
interval, which is configurable.
--- 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-14285 Application(s): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
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.
Full runtime dependencies of observer-2.4: erts-7.0, et-1.5,
inets-5.10, kernel-3.0, runtime_tools-1.8.14, stdlib-2.0, wx-1.2
---------------------------------------------------------------------
--- orber-3.8.3 -----------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14006 Application(s): cosProperty, orber
Fix dialyzer warnings in Orber and CosProperty.
Full runtime dependencies of orber-3.8.3: erts-7.0, inets-5.10,
kernel-3.0, mnesia-4.12, ssl-5.3.4, stdlib-2.5
---------------------------------------------------------------------
--- 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): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Full runtime dependencies of parsetools-2.1.5: erts-6.0, kernel-3.0,
stdlib-2.5
---------------------------------------------------------------------
--- 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
Full runtime dependencies of public_key-1.4.1: asn1-3.0, crypto-3.8,
erts-6.0, kernel-3.0, stdlib-2.0
---------------------------------------------------------------------
--- reltool-0.7.4 ---------------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14422 Application(s): reltool
Related Id(s): OTP-13830
The User's Guide examples are updated after removal of
support for Dets files created with Erlang/OTP R7 and
earlier.
Full runtime dependencies of reltool-0.7.4: erts-7.0, kernel-3.0,
sasl-2.4, stdlib-2.0, tools-2.6.14, wx-1.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-14285 Application(s): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
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.
Full runtime dependencies of runtime_tools-1.12: erts-8.0,
kernel-5.0, mnesia-4.12, stdlib-3.0
---------------------------------------------------------------------
--- 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.
--- Improvements and New Features ---
OTP-14285 Application(s): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Full runtime dependencies of sasl-3.0.4: erts-8.1, kernel-5.0,
stdlib-3.0, tools-2.6.14
---------------------------------------------------------------------
--- snmp-5.2.6 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14400 Application(s): common_test, snmp, stdlib
Internal code change: Calls to catch followed by a call
to erlang:get_stacktrace/0 has been rewritten to use
try instead of catch to make the code future-proof.
Full runtime dependencies of snmp-5.2.6: crypto-3.3, erts-6.0,
kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5
---------------------------------------------------------------------
--- 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
*** HIGHLIGHT ***
*** POTENTIAL INCOMPATIBILITY ***
Modernization of key exchange algorithms. See
draft-ietf-curdle-ssh-kex-sha2 for a discussion.
Removed an outdated weak algorithm and added stronger
replacements to keep interoperability with other modern
ssh clients and servers. The default ordering of the
algorithms is also adjusted.
Retired: The nowadays unsecure key-exchange
diffie-hellman-group1-sha1 is not enabled by default,
but can be enabled with the option
preferred-algorithms.
Added: The new stronger key-exchange
diffie-hellman-group16-sha512,
diffie-hellman-group18-sha512 and
diffie-hellman-group14-sha256 are added and enabled by
default.
The questionable [RFC 6194] sha1-based algorithms
diffie-hellman-group-exchange-sha1 and
diffie-hellman-group14-sha1 are however still kept
enabled by default for compatibility with ancient
clients and servers that lack modern key-exchange
alternatives. When the draft-ietf-curdle-ssh-kex-sha2
becomes an rfc, those sha1-based algorithms and
diffie-hellman-group1-sha1 will be deprecated by IETF.
They might then be removed from the default list in
Erlang/OTP.
OTP-14117 Application(s): ssh
Modernized internal representation of sftp by use of
maps.
OTP-14193 Application(s): ssh
*** HIGHLIGHT ***
The Extension Negotiation Mechanism and the extension
server-sig-algs in draft-ietf-curdle-ssh-ext-info-05
are implemented.
The related draft-ietf-curdle-rsa-sha2-05 is
implemented and introduces the signature algorithms
rsa-sha2-256 and rsa-sha2-512.
OTP-14216 Application(s): ssh
The 'timeout' and 'connect_timeout' handling in
ssh_sftp:start_channel documentation is clarified.
OTP-14243 Application(s): ssh
The functions 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 in the property list.
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 triples 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.
OTP-14361 Application(s): ssh
Added test cases for IETF-CURDLE Extension Negotiation
(ext-info)
OTP-14362 Application(s): ssh
Related Id(s): OTP-14361
Testcases for IETF-CURDLE extension server-sig-algs
including rsa-sha2-*
OTP-14399 Application(s): ssh
The option auth_methods can now also be used in clients
to select which authentication options that are used
and in which order.
OTP-14410 Application(s): ssh
Checks that a ECDSA public key (ecdsa-sha2-nistp*)
stored in a file has the correct size.
Full runtime dependencies of ssh-4.5: crypto-3.7.3, erts-6.0,
kernel-3.0, public_key-1.4, stdlib-3.3
---------------------------------------------------------------------
--- ssl-8.2 ---------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14421 Application(s): ssl
ECDH-ECDSA key exchange supported, was accidently
dismissed in earlier versions.
OTP-14443 Application(s): ssl
Correct close semantics for active once connections.
This was a timing dependent bug the resulted in the
close message not always reaching the ssl user process.
--- 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, required by spec,
instead of using a hardcoded value.
OTP-14077 Application(s): ssl
Implement sliding window replay protection of DTLS
records.
OTP-14197 Application(s): ssl
*** HIGHLIGHT ***
TLS client processes will by default call
public_key:pkix_verify_hostname/2 to verify the
hostname of the connection with the server certificates
specified hostname during certificate path validation.
The user may explicitly disables it. Also if the
hostname can not be derived from the first argument to
connect or is not supplied by the server name
indication option, the check will not be performed.
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 preferred 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.
Full runtime dependencies of ssl-8.2: crypto-3.3, erts-7.0,
inets-5.10.7, kernel-3.0, public_key-1.2, stdlib-3.2
---------------------------------------------------------------------
--- 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-14400 Application(s): common_test, snmp, stdlib
Internal code change: Calls to catch followed by a call
to erlang:get_stacktrace/0 has been rewritten to use
try instead of catch to make the code future-proof.
OTP-14454 Application(s): stdlib
Related Id(s): ERIERL-29
The ms_transform module, used by ets:fun2ms/1 and
dbg:fun2ms/1, evaluates constant arithmetic
expressions. This is necessary since the Erlang
compiler, which normally evaluates constant
expressions, does not recognize the format generated by
ms_transform.
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.
The number of tables stored at one Erlang node *used*
to be limited. This is no longer the case (except by
memory usage). The previous default limit was about
1400 tables and could be increased by setting the
environment variable ERL_MAX_ETS_TABLES before starting
the Erlang runtime system. This hard limit has been
removed, but it is currently useful to set the
ERL_MAX_ETS_TABLES anyway. It should be set to an
approximate of the maximum amount of tables used. This
since an internal table for named tables is sized using
this value. If large amounts of named tables are used
and ERL_MAX_ETS_TABLES hasn't been increased, the
performance of named table lookup will degrade.
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 ***
gen_fsm is deprecated and is replaced by gen_statem,
however for backwards compatibility reasons gen_fsm may
continue to exist as an undocumented feature for quite
some time.
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
noticeably 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): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
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. It also checks for bad type variables in
type declarations.
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.
OTP-14405 Application(s): stdlib
Add option hibernate_after to gen_server, gen_statem
and gen_event. Also added to the deprecated gen_fsm
behaviour.
OTP-14417 Application(s): kernel, stdlib
The size of crash reports created by gen_server,
gen_statem and proc_lib is limited with aid of the
Kernel application variable error_logger_format_depth.
The purpose is to limit the size of the messages sent
to the error_logger process when processes with huge
message queues or states crash.
The crash report generated by proc_lib includes the new
tag message_queue_len. The neighbour report also
includes the new tag current_stacktrace. Finally, the
neighbour report no longer includes the tags messages
and dictionary.
The new function error_logger:get_format_depth/0 can be
used to retrieve the value of the Kernel application
variable error_logger_format_depth.
Full runtime dependencies of stdlib-3.4: compiler-5.0, crypto-3.3,
erts-9.0, kernel-5.0, sasl-3.0
---------------------------------------------------------------------
--- syntax_tools-2.1.2 ----------------------------------------------
---------------------------------------------------------------------
--- Improvements and New Features ---
OTP-14285 Application(s): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Full runtime dependencies of syntax_tools-2.1.2: compiler-7.0,
erts-8.0, kernel-5.0, stdlib-3.0
---------------------------------------------------------------------
--- 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.
OTP-14285 Application(s): common_test, debugger, edoc, observer,
parsetools, runtime_tools, sasl, stdlib, syntax_tools,
tools
Miscellaneous updates due to atoms containing arbitrary
Unicode characters.
Full runtime dependencies of tools-2.10: compiler-5.0, erts-7.0,
kernel-3.0, runtime_tools-1.8.14, stdlib-3.1
---------------------------------------------------------------------
--- wx-1.8.1 --------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-14289 Application(s): wx
Fix a livelock that could be caused by wx:batch/1.
Full runtime dependencies of wx-1.8.1: erts-6.0, kernel-3.0,
stdlib-2.0
---------------------------------------------------------------------
--- xmerl-1.3.15 ----------------------------------------------------
---------------------------------------------------------------------
--- 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)
Full runtime dependencies of xmerl-1.3.15: erts-6.0, kernel-3.0,
stdlib-2.5
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
|