aboutsummaryrefslogtreecommitdiffstats
path: root/release-notes/OTP-27.0-rc1.README.txt
blob: 017c55b1e528af9de729e90a15bd248dc4beb35f (plain) (blame)
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
Inital Release:          OTP 27.0
Git Tag:                 OTP-27.0
Date:                    2024-02-14
Trouble Report Id:       OTP-16607, OTP-18568, OTP-18577, OTP-18589,
                         OTP-18590, OTP-18594, OTP-18606, OTP-18608,
                         OTP-18609, OTP-18622, OTP-18639, OTP-18641,
                         OTP-18642, OTP-18648, OTP-18658, OTP-18667,
                         OTP-18668, OTP-18671, OTP-18673, OTP-18680,
                         OTP-18682, OTP-18684, OTP-18699, OTP-18703,
                         OTP-18709, OTP-18713, OTP-18714, OTP-18715,
                         OTP-18716, OTP-18717, OTP-18727, OTP-18741,
                         OTP-18742, OTP-18743, OTP-18744, OTP-18750,
                         OTP-18756, OTP-18761, OTP-18766, OTP-18774,
                         OTP-18778, OTP-18779, OTP-18781, OTP-18783,
                         OTP-18784, OTP-18785, OTP-18786, OTP-18787,
                         OTP-18788, OTP-18789, OTP-18793, OTP-18794,
                         OTP-18795, OTP-18796, OTP-18801, OTP-18804,
                         OTP-18805, OTP-18806, OTP-18807, OTP-18808,
                         OTP-18809, OTP-18813, OTP-18816, OTP-18819,
                         OTP-18820, OTP-18825, OTP-18831, OTP-18834,
                         OTP-18835, OTP-18846, OTP-18847, OTP-18848,
                         OTP-18849, OTP-18852, OTP-18856, OTP-18859,
                         OTP-18860, OTP-18865, OTP-18870, OTP-18874,
                         OTP-18875, OTP-18876, OTP-18878, OTP-18879,
                         OTP-18881, OTP-18887, OTP-18892, OTP-18894,
                         OTP-18898, OTP-18904, OTP-18908, OTP-18912,
                         OTP-18913, OTP-18914, OTP-18916, OTP-18918,
                         OTP-18920, OTP-18922, OTP-18923, OTP-18927,
                         OTP-18928, OTP-18929, OTP-18930, OTP-18934,
                         OTP-18941, OTP-18942, OTP-18944, OTP-18945,
                         OTP-18946, OTP-18947, OTP-18950, OTP-18951,
                         OTP-18954, OTP-18955, OTP-18959, OTP-18961,
                         OTP-18963, OTP-18967, OTP-18972, OTP-18973,
                         OTP-18976, OTP-18977, OTP-18978, OTP-18980
Seq num:                 #312, 7809, BL-322, ERIERL-43, ERIERL-964,
                         ERIERL-967, ERIERL-985, GH-4992, GH-6152,
                         GH-6692, GH-6985, GH-7183, GH-7232, GH-7266,
                         GH-7295, GH-7397, GH-7432, GH-7493, GH-7494,
                         GH-7706, GH-7718, GH-8061, OTP-16448,
                         OTP-16608, OTP-16875, OTP-17734, OTP-18746,
                         OTP-18750, PR-6510, PR-6639, PR-6791,
                         PR-6985, PR-7110, PR-7125, PR-7174, PR-7202,
                         PR-7220, PR-7236, PR-7243, PR-7267, PR-7274,
                         PR-7299, PR-7313, PR-7316, PR-7348, PR-7380,
                         PR-7383, PR-7388, PR-7398, PR-7419, PR-7428,
                         PR-7441, PR-7443, PR-7451, PR-7465, PR-7470,
                         PR-7474, PR-7475, PR-7481, PR-7491, PR-7496,
                         PR-7528, PR-7534, PR-7535, PR-7538, PR-7556,
                         PR-7585, PR-7590, PR-7592, PR-7607, PR-7628,
                         PR-7639, PR-7649, PR-7651, PR-7675, PR-7684,
                         PR-7697, PR-7699, PR-7700, PR-7701, PR-7702,
                         PR-7703, PR-7711, PR-7720, PR-7726, PR-7728,
                         PR-7732, PR-7738, PR-7739, PR-7740, PR-7745,
                         PR-7779, PR-7781, PR-7782, PR-7790, PR-7809,
                         PR-7816, PR-7824, PR-7844, PR-7845, PR-7846,
                         PR-7847, PR-7856, PR-7857, PR-7869, PR-7879,
                         PR-7891, PR-7898, PR-7917, PR-7918, PR-7936,
                         PR-7942, PR-7952, PR-7957, PR-7960, PR-7963,
                         PR-7973, PR-7981, PR-7993, PR-8003, PR-8004,
                         PR-8006, PR-8026, PR-8042, PR-8063, PR-8067,
                         PR-8069, PR-8076, PR-8086, PR-8090, PR-8092
System:                  OTP
Release:                 27
Application:             asn1-5.3, common_test-1.27, compiler-8.5,
                         crypto-5.5, debugger-5.4, dialyzer-5.2,
                         diameter-2.4, edoc-1.3, eldap-1.3,
                         erl_interface-5.6, erts-14.3, et-1.8,
                         eunit-2.10, ftp-1.3, inets-9.2,
                         jinterface-1.15, kernel-9.3, megaco-4.6,
                         mnesia-4.24, observer-2.16, odbc-2.15,
                         os_mon-2.10, parsetools-2.6, public_key-1.16,
                         reltool-1.1, runtime_tools-2.1, sasl-4.3,
                         snmp-5.16, ssh-5.2, ssl-11.2, stdlib-6.0,
                         syntax_tools-3.2, tftp-1.2, tools-4.0,
                         wx-2.5, xmerl-1.4
Predecessor:             OTP

Check out the git tag OTP-27.0, and build a full OTP system including
documentation.

# HIGHLIGHTS

- The functions `is_equal/2`, `map/2`, and `filtermap/2` have been added to the
  modules `sets`, `ordsets`, and `gb_sets`.

  Own Id: OTP-18622
  Related Id(s): GH-7183, GH-7232

- The compiler now emits nicer error message for function head mismatches. For
  example, given:

      a() -> ok;
      a(_) -> error.

  Erlang/OTP 26 and earlier would emit a diagnostic similar to:

      t.erl:6:1: head mismatch
      %    6| a(_) -> error.
      %     | ^

  while in Erlang/OTP 27 the diagnostic is similar to:

      t.erl:6:1: head mismatch: function a with arities 0 and 1 is regarded as two distinct functions. Is the number of arguments incorrect or is the semicolon in a/0 unwanted?
      %    6| a(_) -> error.
      %     | ^

  Own Id: OTP-18648
  Related Id(s): PR-7383

- The compiler will now merge consecutive updates of the same record.

  As an example, the body of the following function will be combined into a
  single tuple creation instruction:

      -record(r, {a,b,c,d}).

      update(Value) ->
          R0 = #r{},
          R1 = R0#r{a=Value},
          R2 = R1#r{b=2},
          R2#r{c=3}.

  Own Id: OTP-18680
  Related Id(s): ERIERL-967, PR-7491, PR-8086

- As announced in OTP 26.1, `0.0` is no longer considered equivalent to `-0.0`
  when using the term equivalence operators (`=:=` and `=/=`).

  The arithmetic equality operators (`==` and `/=`) and all relative
  comparison operations still consider `0.0` equal to `-0.0`.

  Own Id: OTP-18717
  Related Id(s): PR-7728

  *** POTENTIAL INCOMPATIBILITY ***

- The `erl` command now supports the `-S` flag, which is similar to the `-run`
  flag, except that it will pass all arguments up to end of the command line to
  the called function. (The `-run` flag will not pass arguments beginning with a
  hyphen.) Another difference is that `-S` will always call a function with one
  argument, passing an empty list if no arguments were given.

  Own Id: OTP-18744
  Related Id(s): PR-7470

- Triple-Quoted Strings has been implemented as per EEP 64. See String in the
  Reference Manual.

  Example:

      1> """
         a
         b
         c
         """.
      "a\nb\nc"

  Adjacent string literals without intervening white space is now a syntax
  error, to avoid possible confusion with triple-quoted strings. For example:

      1> "abc""xyz".
      "xyz".
      * 1:6: adjacent string literals without intervening white space

  Own Id: OTP-18750
  Related Id(s): PR-7313, PR-7451, OTP-18746

  *** POTENTIAL INCOMPATIBILITY ***

- Several new functions that accept funs have been added to module `timer`.

  Functions `apply_after/2`, `apply_interval/2`, and `apply_repeatedly/2` accept
  a 0-ary fun as the second argument, while functions `apply_after/3`,
  `apply_interval/3`, and `apply_repeatedly/3` accept an n-ary fun as the second
  and a list of n arguments for the fun as the third argument.

  Own Id: OTP-18808
  Related Id(s): PR-7649

- Sigils on string literals have been implemented as per EEP 66, that is:
  binary and string sigils in verbatim and escape characters variants, as well
  as a default (vanilla) Sigil. All for ordinary strings and for triple-quoted
  strings (EEP 64). See Sigils in the Reference Manual.

  Examples:

      1> ~"Björn".
      <<"Björn"/utf8>>
      2> ~b"Björn".
      <<"Björn"/utf8>>
      3> ~S"\s*(\w+)".
      "\\s*(\\w+)"
      4> ~B"\s*(\w+)".
      <<"\\s*(\\w+)">>

  Own Id: OTP-18825
  Related Id(s): PR-7684, OTP-18750

- Native coverage support has been implemented in the JIT. It will automatically
  be used by the `cover` tool to reduce the execution overhead when running
  cover-compiled code.

  There are also new APIs to support native coverage without using the `cover`
  tool.

  To instrument code for native coverage it must be compiled with the
  `line_coverage` option.

  To enable native coverage in the runtime system, start it like so:

      $ erl +JPcover true

  There are also the following new functions for supporting native coverage:

  - code:coverage_support/0
  - code:get_coverage/2
  - code:reset_coverage/1
  - code:get_coverage_mode/0
  - code:get_coverage_mode/1
  - code:set_coverage_mode/1

  Own Id: OTP-18856
  Related Id(s): PR-7856

- EEP-59 - Documentation Attributes has been implemented.

  Documentation attributes can be used to document functions, types, callbacks,
  and modules. The keyword `-moduledoc "Documentation here".` is used to
  document modules, while `-doc "Documentation here".` can be used on top of
  functions, types, and callbacks to document them, respectively.

  - Types, callbacks, and function documentation can be set to `hidden` either
    via `-doc false` or `-doc hidden`. When documentation attributes mark a type
    as hidden, they will not be part of the documentation.
  - The documentation from `moduledoc` and `doc` gets added by default to the
    binary beam file, following the format of EEP-48.
  - Using the compiler flag `warn_missing_doc` will raise a warning when doc.
    attributes are missing in exported functions, types, and callbacks.
  - `moduledoc`s and `doc`s may refer to external files to be embedded, such as
    `-doc {file, "README.md"}.`, which refers to the file `README.md` found in
    the current working directory.
  - The compiler warns about exported functions whose specs refer to hidden
    types. Thus, there will be warnings when a hidden type (meaning, the type is
    not part of the documentation) gets used in an exported function.

  Own Id: OTP-18916
  Related Id(s): PR-7936

- New `ets` functions ets:first_lookup/1, ets:next_lookup/2,
  ets:prev_lookup/2 and ets:last_lookup/1. Example: ets:next_lookup/1 is
  equivalent to ets:next/2 followed by ets:lookup/2 with the next key. The
  new combined functions are more efficient and with guaranteed atomicity.

  Own Id: OTP-18923
  Related Id(s): PR-6791

- The `maybe` expression is now enabled by default.

  To use `maybe` as an atom, it needs to be single-quoted. Alternatively, the
  `maybe` expression can be disabled by disabling the `maybe_expr` feature. That
  can be done by placing the following the line at the beginning of an Erlang
  source file:

      -feature(maybe_expr, disable).

  Another way to disable the `maybe_expr` feature is by passing the
  `-disable-feature` option to `erlc`:

      erlc -disable-feature maybe_expr some_file.erl

  Own Id: OTP-18944
  Related Id(s): PR-8067

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

- Safe destructive update of tuples has been implemented in the compiler and
  runtime system. This allows the VM to update tuples in-place when it is safe
  to do so, thus improving performance by doing less copying but also by
  producing less garbage.

  Example:

      -record(rec, {a,b,c}).

      update(#rec{a=needs_update,b=N}=R0) ->
          R = R0#rec{a=up_to_date},
          if
              N < 0 ->
                  R#rec{c=negative};
              N == 0 ->
                  R#rec{c=zero};
              N > 0 ->
                  R#rec{c=positive}
          end.

  The record updates in each of the three clauses of the `if` can safely be done
  in-place, because variable `R` is not used again.

  Own Id: OTP-18972
  Related Id(s): PR-8090

- Multiple trace sessions.

  Own Id: OTP-18980

# POTENTIAL INCOMPATIBILITIES

- The `pid` field has been removed from `erlang:fun_info/1,2`.

  Own Id: OTP-18594
  Related Id(s): PR-7274

- By default, escripts will now be compiled instead of interpreted. That means
  that the `compiler` application must be installed.

  Own Id: OTP-18639
  Related Id(s): PR-7348

- Introduce default value for httpd_server name configuration to improve ease of
  use.

  Own Id: OTP-18641
  Related Id(s): PR-7316

- As announced in OTP 26.1, `0.0` is no longer considered equivalent to `-0.0`
  when using the term equivalence operators (`=:=` and `=/=`).

  The arithmetic equality operators (`==` and <c>/=</c>) and all relative
  comparison operations still consider `0.0` equal to `-0.0`.

  Own Id: OTP-18717
  Related Id(s): PR-7728

  *** HIGHLIGHT ***

- Triple-Quoted Strings has been implemented as per EEP 64. See String in the
  Reference Manual.

  Example:

      1> """
         a
         b
         c
         """.
      "a\nb\nc"

  Adjacent string literals without intervening white space is now a syntax
  error, to avoid possible confusion with triple-quoted strings. For example:

      1> "abc""xyz".
      "xyz".
      * 1:6: adjacent string literals without intervening white space

  Own Id: OTP-18750
  Related Id(s): PR-7313, PR-7451, OTP-18746

  *** HIGHLIGHT ***

- The documentation for the preprocessor now mentions that `defined(Name)` can
  be called in the condition for an `-if` or `-elif` directive to test whether
  `Name` is the name of a defined macro. (This feature was implemented in OTP
  21.)

  If a function call in an `-if` or `-elif` with a name that is not the name of
  a guard BIF, there would not be a compilation error, but would instead cause
  the lines following the directive to be skipped. This has now been changed to
  be a compilation error.

  Own Id: OTP-18784
  Related Id(s): GH-7706, PR-7726

# OTP-27.0

## Fixed Bugs and Malfunctions

- As announced in OTP 26.1, `0.0` is no longer considered equivalent to `-0.0`
  when using the term equivalence operators (`=:=` and `=/=`).

  The arithmetic equality operators (`==` and <c>/=</c>) and all relative
  comparison operations still consider `0.0` equal to `-0.0`.

  Own Id: OTP-18717
  Related Id(s): PR-7728

  *** HIGHLIGHT ***

  *** POTENTIAL INCOMPATIBILITY ***

- The documentation for the preprocessor now mentions that `defined(Name)` can
  be called in the condition for an `-if` or `-elif` directive to test whether
  `Name` is the name of a defined macro. (This feature was implemented in OTP
  21.)

  If a function call in an `-if` or `-elif` with a name that is not the name of
  a guard BIF, there would not be a compilation error, but would instead cause
  the lines following the directive to be skipped. This has now been changed to
  be a compilation error.

  Own Id: OTP-18784
  Related Id(s): GH-7706, PR-7726

  *** POTENTIAL INCOMPATIBILITY ***

## Improvements and New Features

- The `maybe` expression is now enabled by default.

  To use `maybe` as an atom, it needs to be single-quoted. Alternatively, the
  `maybe` expression can be disabled by disabling the `maybe_expr` feature. That
  can be done by placing the following the line at the beginning of an Erlang
  source file:

      -feature(maybe_expr, disable).

  Another way to disable the `maybe_expr` feature is by passing the
  `-disable-feature` option to `erlc`:

      erlc -disable-feature maybe_expr some_file.erl

  Own Id: OTP-18944
  Related Id(s): PR-8067

  *** HIGHLIGHT ***

# asn1-5.3

## Fixed Bugs and Malfunctions

- Multiple bugs has been eliminated in the specialized decode feature.

  Own Id: OTP-18813
  Related Id(s): PR-7790

## Improvements and New Features

- Specs have been added to all `asn1ct` API functions.

  Own Id: OTP-18804
  Related Id(s): PR-7738

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of asn1-5.3
>
> erts-14.0, kernel-9.0, stdlib-5.0

# common_test-1.27

## Improvements and New Features

- Calls to ct:capture_start/0 and ct:capture_stop/0 are now synchronous to
  ensure that all output is captured.

  Own Id: OTP-18658
  Related Id(s): PR-7380

- The order in which multiple hooks are executed can now be reversed after each
  config function. See CTH Execution Order.

  Own Id: OTP-18682
  Related Id(s): ERIERL-43, GH-7397, PR-7496

- The default CSS will now include a basic dark mode handling if it is preferred
  by the browser.

  Own Id: OTP-18761
  Related Id(s): PR-7428

- `-callback` attributes have been added to `ct_suite` and `ct_hooks`.

  Own Id: OTP-18781
  Related Id(s): PR-7701

- The built-in cth_log_redirect hook can now be configured to replace default
  logger reports in terminal with HTML logs.

  Own Id: OTP-18875
  Related Id(s): PR-7891

- Error handling for the `ct_property_test` framework has been enhanced.

  Own Id: OTP-18881
  Related Id(s): PR-7824

- Enhance test case documentation, making it clear how a test case can be
  failed.

  Own Id: OTP-18892
  Related Id(s): PR-7869

- The failing line in the test source code is now colored to make it easier to
  find on the screen.

  Own Id: OTP-18898
  Related Id(s): PR-7917

- Function specifications and types have been added to all public API functions.

  Own Id: OTP-18913

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of common_test-1.27
>
> compiler-6.0, crypto-4.5, debugger-4.1, erts-7.0, ftp-1.0, inets-6.0,
> kernel-8.4, observer-2.1, runtime_tools-1.8.16, sasl-2.5, snmp-5.1.2, ssh-4.0,
> stdlib-4.0, syntax_tools-1.7, tools-3.2, xmerl-1.3.8

# compiler-8.5

## Fixed Bugs and Malfunctions

- Generators for binary comprehensions could be evaluated before it was known
  that they would be needed. That could result in a binary comprehensions
  failing if a generator that should not be evaluated until later failed.

  As an example, consider this module:

      -module(t).
      -export([f/0]).

      f() ->
          <<0 || _ <- [], _ <- ok, false>>.

  In Erlang/OTP 26 it would fail like so:

      > t:f().
      ** exception error: bad generator ok
           in function  t:f/0 (t.erl, line 6)

  In Erlang/OTP 27 it returns an empty binary:

      > t:f().
      <<>>

  Own Id: OTP-18703
  Related Id(s): GH-7494, PR-7538

- The documentation for the preprocessor now mentions that `defined(Name)` can
  be called in the condition for an `-if` or `-elif` directive to test whether
  `Name` is the name of a defined macro. (This feature was implemented in OTP
  21.)

  If a function call in an `-if` or `-elif` with a name that is not the name of
  a guard BIF, there would not be a compilation error, but would instead cause
  the lines following the directive to be skipped. This has now been changed to
  be a compilation error.

  Own Id: OTP-18784
  Related Id(s): GH-7706, PR-7726

  *** POTENTIAL INCOMPATIBILITY ***

## Improvements and New Features

- The compiler now emits nicer error message for function head mismatches. For
  example, given:

      a() -> ok;
      a(_) -> error.

  Erlang/OTP 26 and earlier would emit a diagnostic similar to:

      t.erl:6:1: head mismatch
      %    6| a(_) -> error.
      %     | ^

  while in Erlang/OTP 27 the diagnostic is similar to:

      t.erl:6:1: head mismatch: function a with arities 0 and 1 is regarded as two distinct functions. Is the number of arguments incorrect or is the semicolon in a/0 unwanted?
      %    6| a(_) -> error.
      %     | ^

  Own Id: OTP-18648
  Related Id(s): PR-7383

  *** HIGHLIGHT ***

- The compiler now optimizes creation of binaries that are known to be constant.

  Consider this example:

      bin() ->
          C = char(),
          <<C>>.

      char() -> $*.

  Essentially, the compiler rewrites the example to the slightly more efficient:

      bin() ->
          _ = char(),
          <<$*>>.

      char() -> $*.

  Own Id: OTP-18673
  Related Id(s): ERIERL-964, PR-7474

- The compiler will now merge consecutive updates of the same record.

  As an example, the body of the following function will be combined into a
  single tuple creation instruction:

      -record(r, {a,b,c,d}).

      update(Value) ->
          R0 = #r{},
          R1 = R0#r{a=Value},
          R2 = R1#r{b=2},
          R2#r{c=3}.

  Own Id: OTP-18680
  Related Id(s): ERIERL-967, PR-7491, PR-8086

  *** HIGHLIGHT ***

- Improved the performance of the alias analysis pass.

  Own Id: OTP-18714
  Related Id(s): GH-7432, PR-7528

- `-spec` attributes are now used for documentation.

  Own Id: OTP-18801
  Related Id(s): PR-7739

- Native coverage support has been implemented in the JIT. It will automatically
  be used by the `cover` tool to reduce the execution overhead when running
  cover-compiled code.

  There are also new APIs to support native coverage without using the `cover`
  tool.

  To instrument code for native coverage it must be compiled with the
  `line_coverage` option.

  To enable native coverage in the runtime system, start it like so:

      $ erl +JPcover true

  There are also the following new functions for supporting native coverage:

  - code:coverage_support/0
  - code:get_coverage/2
  - code:reset_coverage/1
  - code:get_coverage_mode/0
  - code:get_coverage_mode/1
  - code:set_coverage_mode/1

  Own Id: OTP-18856
  Related Id(s): PR-7856

  *** HIGHLIGHT ***

- EEP-59 - Documentation Attributes has been implemented.

  Documentation attributes can be used to document functions, types, callbacks,
  and modules. The keyword `-moduledoc "Documentation here".` is used to
  document modules, while `-doc "Documentation here".` can be used on top of
  functions, types, and callbacks to document them, respectively.

  - Types, callbacks, and function documentation can be set to `hidden` either
    via `-doc false` or `-doc hidden`. When documentation attributes mark a type
    as hidden, they will not be part of the documentation.
  - The documentation from `moduledoc` and `doc` gets added by default to the
    binary beam file, following the format of EEP-48.
  - Using the compiler flag `warn_missing_doc` will raise a warning when doc.
    attributes are missing in exported functions, types, and callbacks.
  - `moduledoc`s and `doc`s may refer to external files to be embedded, such as
    `-doc {file, "README.md"}.`, which refers to the file `README.md` found in
    the current working directory.
  - The compiler warns about exported functions whose specs refer to hidden
    types. Thus, there will be warnings when a hidden type (meaning, the type is
    not part of the documentation) gets used in an exported function.

  Own Id: OTP-18916
  Related Id(s): PR-7936

  *** HIGHLIGHT ***

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

- Safe destructive update of tuples has been implemented in the compiler and
  runtime system. This allows the VM to update tuples in-place when it is safe
  to do so, thus improving performance by doing less copying but also by
  producing less garbage.

  Example:

      -record(rec, {a,b,c}).

      update(#rec{a=needs_update,b=N}=R0) ->
          R = R0#rec{a=up_to_date},
          if
              N < 0 ->
                  R#rec{c=negative};
              N == 0 ->
                  R#rec{c=zero};
              N > 0 ->
                  R#rec{c=positive}
          end.

  The record updates in each of the three clauses of the `if` can safely be done
  in-place, because variable `R` is not used again.

  Own Id: OTP-18972
  Related Id(s): PR-8090

  *** HIGHLIGHT ***

> #### Full runtime dependencies of compiler-8.5
>
> crypto-5.1, erts-13.0, kernel-8.4, stdlib-6.0

# crypto-5.5

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

- Removed functions `crypto_dyn_iv_init/3` and `crypto_dyn_iv_update/3` which
  were marked as deprecated since OTP 25.

  Own Id: OTP-18973

- `OPENSSL_thread_stop` is called when `crypto` is purged to not leak thread
  specific data.

  Own Id: OTP-18978
  Related Id(s): 7809

> #### Full runtime dependencies of crypto-5.5
>
> erts-9.0, kernel-5.3, stdlib-3.9

# debugger-5.4

## Fixed Bugs and Malfunctions

- The dependencies for this application are now listed in the app file.

  Own Id: OTP-18831
  Related Id(s): PR-7441

## Improvements and New Features

- Type specs have been added to all API functions.

  Own Id: OTP-18819
  Related Id(s): PR-7781

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of debugger-5.4
>
> compiler-8.0, erts-14.3, kernel-8.0, stdlib-3.15, wx-2.0

# dialyzer-5.2

## Improvements and New Features

- The `--gui` option for Dialyzer has been removed.

  Own Id: OTP-18667
  Related Id(s): PR-7443

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of dialyzer-5.2
>
> compiler-8.0, erts-12.0, kernel-8.0, stdlib-5.0, syntax_tools-2.0

# diameter-2.4

## Improvements and New Features

- `-callback` attributes have been added to `diameter_app` and
  `diameter_transport`.

  Own Id: OTP-18783
  Related Id(s): PR-7699

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of diameter-2.4
>
> erts-10.0, kernel-3.2, ssl-9.0, stdlib-5.0

# edoc-1.3

## Fixed Bugs and Malfunctions

- EEP 48 doc chunks now properly include links within `{@type }` macros.

  Own Id: OTP-18945
  Related Id(s): PR-8063

- `@hidden` now means `hidden` in EEP 48 doc chunks instead of `none`.

  Own Id: OTP-18946
  Related Id(s): PR-8063

## Improvements and New Features

- There is a new `edoc_html_to_markdown` module that can be used to convert
  EEP-48 `application/html+erlang` to Markdown.

  Own Id: OTP-18947
  Related Id(s): PR-8063

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of edoc-1.3
>
> erts-11.0, inets-5.10, kernel-7.0, stdlib-4.0, syntax_tools-2.0, xmerl-1.3.7

# eldap-1.3

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of eldap-1.3
>
> asn1-3.0, erts-6.0, kernel-3.0, ssl-5.3.4, stdlib-3.4

# erl_interface-5.6

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

## Known Bugs and Problems

- The `ei` API for decoding/encoding terms is not fully 64-bit compatible since
  terms that have a representation on the external term format larger than 2 GB
  cannot be handled.

  Own Id: OTP-16607
  Related Id(s): OTP-16608

# erts-14.3

## Fixed Bugs and Malfunctions

- Fix bugs in how `erl -extra` interacts with passing flags via ERL\_\*FLAGS or
  `-args_file`.

  Own Id: OTP-18766
  Related Id(s): PR-7639

- Fixed a bug that prevented the emulator from building on recent versions of
  Yocto Linux.

  Own Id: OTP-18918
  Related Id(s): PR-7952

- Fix spectre mitigation configure test to work with GCC patches to always add
  `-fcf-protection=full`.

  Own Id: OTP-18928
  Related Id(s): PR-8006

## Improvements and New Features

- Refactored how the JIT handles POSIX signals and how they affect thread
  stacks, allowing us to use the native stack register for Erlang stacks on more
  platforms.

  Notably, containers built on 64-bit x86 Alpine Linux images will now perform
  much better in sequential code. As an example, running `dialyzer` over the OTP
  code base finishes about 15% quicker.

  Own Id: OTP-18568
  Related Id(s): PR-7174

- The `instrument` module can now track allocations on a per-process or
  per-port basis.

  Own Id: OTP-18577
  Related Id(s): PR-7236

- The `pid` field has been removed from `erlang:fun_info/1,2`.

  Own Id: OTP-18594
  Related Id(s): PR-7274

  *** POTENTIAL INCOMPATIBILITY ***

- By default, escripts will now be compiled instead of interpreted. That means
  that the `compiler` application must be installed.

  Own Id: OTP-18639
  Related Id(s): PR-7348

  *** POTENTIAL INCOMPATIBILITY ***

- A binary returned from the `socket` receive functions is no longer created
  as a sub binary of an often large receive buffer binary (socket option
  `{otp,rcvbuf}`). This avoids space waste, trusting the allocators to implement
  reallocation efficiently.

  Own Id: OTP-18642
  Related Id(s): GH-6152, PR-7465

- The default process limit has been raised to `1048576` processes.

  Own Id: OTP-18699
  Related Id(s): PR-7388

- The erlang:system_monitor/2 functionality is now able to monitor long
  message queues in the system.

  Own Id: OTP-18709
  Related Id(s): PR-7651

- The `erl` command now supports the `-S` flag, which is similar to the `-run`
  flag, except that it will pass all arguments up to end of the command line to
  the called function. (The `-run` flag will not pass arguments beginning with a
  hyphen.) Another difference is that `-S` will always call a function with one
  argument, passing an empty list if no arguments were given.

  Own Id: OTP-18744
  Related Id(s): PR-7470

  *** HIGHLIGHT ***

- When implementing an alternative carrier for the Erlang distribution, a
  separate input handler process may now be registered, using
  erlang:dist_ctrl_input_handler/2, also in the case when the distribution
  controller is a port.

  Own Id: OTP-18774
  Related Id(s): PR-7110

- Add call stack trace to the error reported by erlang:process_flag/2 when
  `max_heap_size` has been exceeded.

  Own Id: OTP-18779
  Related Id(s): PR-7592

- `-callback` attributes have been added to `erl_tracer`.

  Own Id: OTP-18794
  Related Id(s): PR-7703

- For `inet_backend = socket`, setting the `active` socket option alone, to
  `once`, `true` or `N`, has been optimized, as well as the corresponding data
  delivery.

  Own Id: OTP-18835

- Socket options that take string now also accept binaries.

  Own Id: OTP-18849
  Related Id(s): PR-6510

- Native coverage support has been implemented in the JIT. It will automatically
  be used by the `cover` tool to reduce the execution overhead when running
  cover-compiled code.

  There are also new APIs to support native coverage without using the `cover`
  tool.

  To instrument code for native coverage it must be compiled with the
  `line_coverage` option.

  To enable native coverage in the runtime system, start it like so:

      $ erl +JPcover true

  There are also the following new functions for supporting native coverage:

  - code:coverage_support/0
  - code:get_coverage/2
  - code:reset_coverage/1
  - code:get_coverage_mode/0
  - code:get_coverage_mode/1
  - code:set_coverage_mode/1

  Own Id: OTP-18856
  Related Id(s): PR-7856

  *** HIGHLIGHT ***

- Changed the default value of the command line flag `-code_path_choice Choice`
  to `strict`.

  Own Id: OTP-18894
  Related Id(s): PR-7243

- Added module loading to `erl -init_debug` printouts.

  Own Id: OTP-18929
  Related Id(s): PR-8004

- Optimized code loading by moving certain operations from the code server to
  the caller.

  Own Id: OTP-18941
  Related Id(s): PR-7981

- Updated asmjit to version a465fe71ab3d0e224b2b4bd0fac69ae68ab9239d

  Own Id: OTP-18942

- The deprecated functions in `zlib` have been removed. That includes
  `inflateChunk/{1,2}`, `getBufSize/1`, `setBufSize/2`, the CRC32 functions, and
  the Adler checksum functions.

  Own Id: OTP-18950

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

- Safe destructive update of tuples has been implemented in the compiler and
  runtime system. This allows the VM to update tuples in-place when it is safe
  to do so, thus improving performance by doing less copying but also by
  producing less garbage.

  Example:

      -record(rec, {a,b,c}).

      update(#rec{a=needs_update,b=N}=R0) ->
          R = R0#rec{a=up_to_date},
          if
              N < 0 ->
                  R#rec{c=negative};
              N == 0 ->
                  R#rec{c=zero};
              N > 0 ->
                  R#rec{c=positive}
          end.

  The record updates in each of the three clauses of the `if` can safely be done
  in-place, because variable `R` is not used again.

  Own Id: OTP-18972
  Related Id(s): PR-8090

  *** HIGHLIGHT ***

- The obsolete and undocumented support for opening a port to an external
  resource by passing an atom (or a string) as first argument to `open_port()`,
  implemented by the vanilla driver, has been removed. This feature has been
  scheduled for removal in OTP 27 since the release of OTP 26.

  Own Id: OTP-18976
  Related Id(s): PR-7125

- Add optional NIF callback `ERL_NIF_OPT_ON_UNLOAD_THREAD` to be called by all
  scheduler thread when a NIF library is unloaded. Used for releasing thread
  specific data. Can be set with function `enif_set_option`.

  Own Id: OTP-18977
  Related Id(s): PR-7809

- Multiple trace sessions.

  Own Id: OTP-18980
  *** HIGHLIGHT ***

> #### Full runtime dependencies of erts-14.3
>
> kernel-9.0, sasl-3.3, stdlib-4.1

# et-1.8

## Fixed Bugs and Malfunctions

- The dependencies for this application are now listed in the app file.

  Own Id: OTP-18831
  Related Id(s): PR-7441

- Dialyzer warnings due to type specs added in `dbg` have been eliminated.

  Own Id: OTP-18860

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of et-1.8
>
> erts-9.0, kernel-5.3, runtime_tools-1.10, stdlib-3.4, wx-1.2

# eunit-2.10

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of eunit-2.10
>
> erts-9.0, kernel-5.3, stdlib-3.4

# ftp-1.3

## Fixed Bugs and Malfunctions

- Dialyzer warnings due to type specs added in `dbg` have been eliminated.

  Own Id: OTP-18860

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of ftp-1.3
>
> erts-7.0, kernel-6.0, runtime_tools-1.15.1, ssl-10.2, stdlib-3.5

# inets-9.2

## Improvements and New Features

- Introduce default value for httpd_server name configuration to improve ease of
  use.

  Own Id: OTP-18641
  Related Id(s): PR-7316

  *** POTENTIAL INCOMPATIBILITY ***

- With this change, `erl -S httpd` command can be used for serving current
  directory content over HTTP.

  Own Id: OTP-18727
  Related Id(s): PR-7299

- Add `-callback` attributes to `httpd`, `mod_esi` and `mod_security`.

  Own Id: OTP-18786
  Related Id(s): PR-7700

- Use a relative redirect with an absolute path to prevent whoever is running
  inets from having to configure the ServerName to match the network-reachable
  hostname of the server.

  Own Id: OTP-18809

- Use proc_lib:set_label/1 to increase observability of inets processes.

  Own Id: OTP-18927

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of inets-9.2
>
> erts-14.0, kernel-9.0, mnesia-4.12, public_key-1.13, runtime_tools-1.8.14,
> ssl-9.0, stdlib-5.0, stdlib-6.0

# jinterface-1.15

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

# kernel-9.3

## Fixed Bugs and Malfunctions

- Fixed a crash when calling file:delete/2 with an empty option list.

  Own Id: OTP-18590
  Related Id(s): PR-7220

- New functions have been added to the undocumented module `inet_dns` that
  take a flag to specify if encode/decode is for mDNS. This affects how CLASS
  values in the private range, with the top bit set, are handled.

  Own Id: OTP-18878
  Related Id(s): GH-7718, OTP-17734

- The error information for erlang:phash/2 has been corrected.

  Own Id: OTP-18904
  Related Id(s): PR-7960

- `get_until` requests using the I/O protocol now correctly return a binary or
  list when `eof` is the last item returned by the callback.

  Own Id: OTP-18930
  Related Id(s): GH-4992, PR-7993

- Calling logger:add_handlers/1 with config option now works.

  Own Id: OTP-18954
  Related Id(s): GH-8061, PR-8076

- The code:del_path/1 function now also works on paths added through `-pa`,
  `-pz` , `-path` and the boot script.

  Own Id: OTP-18959
  Related Id(s): GH-6692, PR-7697

## Improvements and New Features

- Added file:read_file/2 with a `raw` option for reading files without going
  through the file server.

  Own Id: OTP-18589
  Related Id(s): PR-7220

- The undocumented Erlang DNS resolver library (`inet_dns` and `inet_res`) has
  been augmented to handle IXFR, NOTIFY, UPDATE and TSIG records. With this some
  bug fixes and code cleanup has been done, and the resolver used in the test
  suite has been changed to Knot DNS. See the source code.

  Kudos to Alexander Clouter that did almost all the work!

  Own Id: OTP-18713
  Related Id(s): GH-6985, PR-6985

- The `ebin` directories for escripts are now cached.

  Own Id: OTP-18778
  Related Id(s): PR-7556

- Add `-callback` attributes to `application`, `logger_handler` and
  `logger_formatter`.

  Own Id: OTP-18795
  Related Id(s): PR-7703

- Progress reports from before logger is started are now logged when log level
  is set to debug.

  Own Id: OTP-18807
  Related Id(s): ERIERL-985, PR-7732

- The code:where_is_file/2 and code:which/1 functions now check for
  existence of the file directly instead of listing the content of each
  directory in the code path.

  Own Id: OTP-18816
  Related Id(s): PR-7711

- Type specs has been added to the `logger:Level/1,2,3` functions.

  Own Id: OTP-18820
  Related Id(s): PR-7779

- For `inet_backend = socket`, setting the `active` socket option alone, to
  `once`, `true` or `N`, has been optimized, as well as the corresponding data
  delivery.

  Own Id: OTP-18835

- The shell now pages long output from the help command (`h(Module)`), auto
  completions and the search command.

  Own Id: OTP-18846
  Related Id(s): PR-7845

- Native coverage support has been implemented in the JIT. It will automatically
  be used by the `cover` tool to reduce the execution overhead when running
  cover-compiled code.

  There are also new APIs to support native coverage without using the `cover`
  tool.

  To instrument code for native coverage it must be compiled with the
  `line_coverage` option.

  To enable native coverage in the runtime system, start it like so:

      $ erl +JPcover true

  There are also the following new functions for supporting native coverage:

  - code:coverage_support/0
  - code:get_coverage/2
  - code:reset_coverage/1
  - code:get_coverage_mode/0
  - code:get_coverage_mode/1
  - code:set_coverage_mode/1

  Own Id: OTP-18856
  Related Id(s): PR-7856

  *** HIGHLIGHT ***

- Optimized code loading by moving certain operations from the code server to
  the caller.

  Own Id: OTP-18941
  Related Id(s): PR-7981

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

- Application startup has been optimized by removing an intermediary process.

  Own Id: OTP-18963
  Related Id(s): PR-8042

- The undocumented and deprecated `file:pid2name` function has been removed.

  Own Id: OTP-18967
  Related Id(s): PR-8092

> #### Full runtime dependencies of kernel-9.3
>
> crypto-5.0, erts-14.3, sasl-3.0, stdlib-6.0

# megaco-4.6

## Improvements and New Features

- `-callback` attributes have been added to `megaco_transport`.

  Own Id: OTP-18806
  Related Id(s): PR-7740

- Updated types and specs for all API modules.

  Own Id: OTP-18920
  Related Id(s): BL-322

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of megaco-4.6
>
> asn1-3.0, debugger-4.0, erts-12.0, et-1.5, kernel-8.0, runtime_tools-1.8.14,
> stdlib-2.5

# mnesia-4.24

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of mnesia-4.24
>
> erts-9.0, kernel-5.3, stdlib-5.0

# observer-2.16

## Fixed Bugs and Malfunctions

- The dependencies for this application are now listed in the app file.

  Own Id: OTP-18831
  Related Id(s): PR-7441

## Improvements and New Features

- The new function proc_lib:set_label/1 can be used to add a descriptive term
  to any process that does not have a registered name. The name will be shown by
  tools such as `\c:i/0`, `observer`, and it will be included in crash reports
  produced by processes using `gen_server`, `gen_statem`, `gen_event`, and
  `gen_fsm`.

  The label for a process can be retrieved by calling proc_lib:get_label/1.

  Note that those functions work on any process, not only processes that use
  `proc_lib`.

  Example:

      1> self().
      <0.90.0>
      2> proc_lib:set_label(my_label).
      ok
      3> i().
          .
          .
          .
      <0.90.0>              erlang:apply/2                        2586    75011    0
      my_label              c:pinfo/2                               51
      4> proc_lib:get_label(self()).
      my_label

  Own Id: OTP-18789
  Related Id(s): PR-7720, PR-8003

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of observer-2.16
>
> erts-14.0, et-1.5, kernel-9.0, runtime_tools-1.19, stdlib-5.0, wx-2.3

# odbc-2.15

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of odbc-2.15
>
> erts-6.0, kernel-3.0, stdlib-2.0

# os_mon-2.10

## Improvements and New Features

- Function specifications and types have been added to all public API functions.

  Own Id: OTP-18913

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of os_mon-2.10
>
> erts-14.0, kernel-9.0, sasl-4.2.1, stdlib-5.0

# parsetools-2.6

## Improvements and New Features

- The `leex` documentation has been updated to use specs for documenting the
  generated interface.

  Own Id: OTP-18796
  Related Id(s): PR-7703

- yecc now wraps the `-module` attribute with `-file` to indicate the `.yrl`
  source file.

  Own Id: OTP-18912
  Related Id(s): PR-7963

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of parsetools-2.6
>
> erts-6.0, kernel-3.0, stdlib-3.4

# public_key-1.16

## Improvements and New Features

- The `ssl` client can negotiate and handle certificate status request (OCSP
  stapling support on the client side).

  Own Id: OTP-18606
  Related Id(s): OTP-16448, OTP-16875

- Improved exception reason when public_key:cacerts_get/0 failed.

  Own Id: OTP-18609
  Related Id(s): GH-7295, PR-7202

- Key customization support has been extended to allow flexibility for
  implementers of for instance hardware security modules (HSM) or trusted
  platform modules (TPM).

  Own Id: OTP-18876
  Related Id(s): PR-7475, PR-7898

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of public_key-1.16
>
> asn1-3.0, crypto-4.6, erts-6.0, kernel-3.0, stdlib-3.5

# reltool-1.1

## Fixed Bugs and Malfunctions

- The dependencies for this application are now listed in the app file.

  Own Id: OTP-18831
  Related Id(s): PR-7441

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of reltool-1.1
>
> erts-14.3, kernel-9.0, sasl-4.2.1, stdlib-5.0, tools-2.6.14, wx-2.3

# runtime_tools-2.1

## Improvements and New Features

- The `instrument` module can now track allocations on a per-process or
  per-port basis.

  Own Id: OTP-18577
  Related Id(s): PR-7236

- The new function proc_lib:set_label/1 can be used to add a descriptive term
  to any process that does not have a registered name. The name will be shown by
  tools such as `\c:i/0`, `observer`, and it will be included in crash reports
  produced by processes using `gen_server`, `gen_statem`, `gen_event`, and
  `gen_fsm`.

  The label for a process can be retrieved by calling proc_lib:get_label/1.

  Note that those functions work on any process, not only processes that use
  `proc_lib`.

  Example:

      1> self().
      <0.90.0>
      2> proc_lib:set_label(my_label).
      ok
      3> i().
          .
          .
          .
      <0.90.0>              erlang:apply/2                        2586    75011    0
      my_label              c:pinfo/2                               51
      4> proc_lib:get_label(self()).
      my_label

  Own Id: OTP-18789
  Related Id(s): PR-7720, PR-8003

- Type specs had been added to all `dbg` functions.

  Own Id: OTP-18859
  Related Id(s): PR-7782

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of runtime_tools-2.1
>
> erts-14.2, kernel-8.1, mnesia-4.12, stdlib-6.0

# sasl-4.3

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of sasl-4.3
>
> erts-14.3, kernel-6.0, stdlib-4.0, tools-2.6.14

# snmp-5.16

## Improvements and New Features

- `-callback` attributes have been added to modules
  `snmpa_network_interface_filter`, `snmpa_notification_filter`,
  `snmpm_network_interface_filter`, `snmpm_user`, and
  `snmpa_notification_delivery_info_receiver`.

  New `-type` attributes have also been added to modules `snmp`, `snmpa`,
  `snmpm`, and `snmpa_conf` to support the previously mentioned callbacks.

  Own Id: OTP-18785
  Related Id(s): PR-7702

- Updated types and specs for all API modules.

  Own Id: OTP-18934
  Related Id(s): #312

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of snmp-5.16
>
> crypto-4.6, erts-12.0, kernel-8.0, mnesia-4.12, runtime_tools-1.8.14,
> stdlib-5.0

# ssh-5.2

## Improvements and New Features

- The shell now pages long output from the help command (`h(Module)`), auto
  completions and the search command.

  Own Id: OTP-18846
  Related Id(s): PR-7845

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

- Updated types and specs for all API modules.

  Own Id: OTP-18961

> #### Full runtime dependencies of ssh-5.2
>
> crypto-5.0, erts-14.0, kernel-9.0, public_key-1.6.1, runtime_tools-1.15.1,
> stdlib-5.0, stdlib-5.0

# ssl-11.2

## Fixed Bugs and Malfunctions

- Starting a TLS server without sufficient credentials (certificate or anonymous
  cipher) would work, but it was impossible to connect to it.

  This has been corrected to return an error instead of starting the server.

  Own Id: OTP-18887
  Related Id(s): GH-7493, PR-7918

## Improvements and New Features

- The `ssl` client can negotiate and handle certificate status request (OCSP
  stapling support on the client side).

  Own Id: OTP-18606
  Related Id(s): OTP-16448, OTP-16875

- Added ssl_crl_cache_api:lookup/2 as an optional `-callback` attribute.

  Own Id: OTP-18788
  Related Id(s): PR-7700

- Key customization support has been extended to allow flexibility for
  implementers of for instance hardware security modules (HSM) or trusted
  platform modules (TPM).

  Own Id: OTP-18876
  Related Id(s): PR-7475, PR-7898

- The proc_lib:set_label/1 function is now used to increase observability of
  `ssl` processes.

  Own Id: OTP-18879

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of ssl-11.2
>
> crypto-5.0, erts-14.3, inets-5.10.7, kernel-9.0, public_key-1.16,
> runtime_tools-1.15.1, stdlib-6.0

# stdlib-6.0

## Fixed Bugs and Malfunctions

- The specs in module `binary` has been updated to reflect what is allowed by
  the documentation.

  Own Id: OTP-18684
  Related Id(s): PR-7481

- Several functions in the `binary` module would accept arguments of the wrong
  type under certain circumstances. In this release, they now raise an exception
  when incorrect types are given.

  The following functions would accept an invalid pattern if the subject binary
  was empty or if the `{scope,{0,0}}` option was given: `binary:match/2,3`,
  `binary:matches/2,3`, `binary:replace/3,4`, and `binary:split/2,3`

  The call `binary:copy(<<1:1>>, 0)` would return an empty binary instead of
  raising an exception. Similarly, calls to `binary:part/2,3` attempting to
  extract 0 bytes at position 0 of a bitstring would return an empty binary
  instead of raising an exception.

  Own Id: OTP-18743
  Related Id(s): PR-7607, PR-7628

- The documentation for the preprocessor now mentions that `defined(Name)` can
  be called in the condition for an `-if` or `-elif` directive to test whether
  `Name` is the name of a defined macro. (This feature was implemented in OTP
  21.)

  If a function call in an `-if` or `-elif` with a name that is not the name of
  a guard BIF, there would not be a compilation error, but would instead cause
  the lines following the directive to be skipped. This has now been changed to
  be a compilation error.

  Own Id: OTP-18784
  Related Id(s): GH-7706, PR-7726

  *** POTENTIAL INCOMPATIBILITY ***

- `get_until` requests using the I/O protocol now correctly return a binary or
  list when `eof` is the last item returned by the callback.

  Own Id: OTP-18930
  Related Id(s): GH-4992, PR-7993

## Improvements and New Features

- The functions `is_equal/2`, `map/2`, and `filtermap/2` have been added to the
  modules `sets`, `ordsets`, and `gb_sets`.

  Own Id: OTP-18622
  Related Id(s): GH-7183, GH-7232

  *** HIGHLIGHT ***

- The compiler now emits nicer error message for function head mismatches. For
  example, given:

      a() -> ok;
      a(_) -> error.

  Erlang/OTP 26 and earlier would emit a diagnostic similar to:

      t.erl:6:1: head mismatch
      %    6| a(_) -> error.
      %     | ^

  while in Erlang/OTP 27 the diagnostic is similar to:

      t.erl:6:1: head mismatch: function a with arities 0 and 1 is regarded as two distinct functions. Is the number of arguments incorrect or is the semicolon in a/0 unwanted?
      %    6| a(_) -> error.
      %     | ^

  Own Id: OTP-18648
  Related Id(s): PR-7383

  *** HIGHLIGHT ***

- `zip:create/2,3` will now tolerate POSIX timestamps in the provided
  `file_info` records.

  Own Id: OTP-18668

- The callback function gen_statem:handle_event/4 has been cached in the
  `gen_statem` engine to optimize callback call speed.

  Own Id: OTP-18671
  Related Id(s): PR-7419

- The type beam_lib:beam/0 is now exported.

  Own Id: OTP-18716
  Related Id(s): PR-7534

- The documentation for the `binary` module has been improved.

  Own Id: OTP-18741
  Related Id(s): PR-7585

- `binary:replace/3,4` now supports using a fun for supplying the replacement
  binary.

  Own Id: OTP-18742
  Related Id(s): PR-7590

- Triple-Quoted Strings has been implemented as per EEP 64. See String in the
  Reference Manual.

  Example:

      1> """
         a
         b
         c
         """.
      "a\nb\nc"

  Adjacent string literals without intervening white space is now a syntax
  error, to avoid possible confusion with triple-quoted strings. For example:

      1> "abc""xyz".
      "xyz".
      * 1:6: adjacent string literals without intervening white space

  Own Id: OTP-18750
  Related Id(s): PR-7313, PR-7451, OTP-18746

  *** HIGHLIGHT ***

  *** POTENTIAL INCOMPATIBILITY ***

- The new function proc_lib:set_label/1 can be used to add a descriptive term
  to any process that does not have a registered name. The name will be shown by
  tools such as `\c:i/0`, `observer`, and it will be included in crash reports
  produced by processes using `gen_server`, `gen_statem`, `gen_event`, and
  `gen_fsm`.

  The label for a process can be retrieved by calling proc_lib:get_label/1.

  Note that those functions work on any process, not only processes that use
  `proc_lib`.

  Example:

      1> self().
      <0.90.0>
      2> proc_lib:set_label(my_label).
      ok
      3> i().
          .
          .
          .
      <0.90.0>              erlang:apply/2                        2586    75011    0
      my_label              c:pinfo/2                               51
      4> proc_lib:get_label(self()).
      my_label

  Own Id: OTP-18789
  Related Id(s): PR-7720, PR-8003

- `-callback` attributes has been added to modules `sys` and `erl_error`.

  Own Id: OTP-18793
  Related Id(s): PR-7703

- Several new functions that accept funs have been added to module `timer`.

  Functions `apply_after/2`, `apply_interval/2`, and `apply_repeatedly/2` accept
  a 0-ary fun as the second argument, while functions `apply_after/3`,
  `apply_interval/3`, and `apply_repeatedly/3` accept an n-ary fun as the second
  and a list of n arguments for the fun as the third argument.

  Own Id: OTP-18808
  Related Id(s): PR-7649

  *** HIGHLIGHT ***

- Sigils on string literals have been implemented as per EEP 66, that is:
  binary and string sigils in verbatim and escape characters variants, as well
  as a default (vanilla) Sigil. All for ordinary strings and for triple-quoted
  strings (EEP 64). See Sigils in the Reference Manual.

  Examples:

      1> ~"Björn".
      <<"Björn"/utf8>>
      2> ~b"Björn".
      <<"Björn"/utf8>>
      3> ~S"\s*(\w+)".
      "\\s*(\\w+)"
      4> ~B"\s*(\w+)".
      <<"\\s*(\\w+)">>

  Own Id: OTP-18825
  Related Id(s): PR-7684, OTP-18750

  *** HIGHLIGHT ***

- Functions shell:default_multiline_prompt/1, shell:inverted_space_prompt/1,
  and shell:prompt_width/1 have been exported to help with custom prompt
  implementations.

  Own Id: OTP-18834
  Related Id(s): PR-7675, PR-7816

- The shell now pages long output from the help command (`h(Module)`), auto
  completions and the search command.

  Own Id: OTP-18846
  Related Id(s): PR-7845

- The `M-h` hotkey (Alt/Option-h) now outputs help for the module or function
  directly before the cursor.

  Own Id: OTP-18847
  Related Id(s): PR-7846

- Added support for adding a custom code formatter that formats your multi-line
  shell commands in your preferred formatting on submission. See
  `shell:format_shell_func/` and shell:erl_pp_format_func/1.

  Own Id: OTP-18848
  Related Id(s): PR-7847

- Added shell functions for viewing, forgetting and saving locally defined
  functions, types and records.

  Own Id: OTP-18852
  Related Id(s): PR-7844

- Added string:jaro_similarity/2, which can be used to calculate the
  similarity between two strings.

  Own Id: OTP-18865
  Related Id(s): PR-7879

- The new function ets:update_element/4 is similar to ets:update_element/3,
  but takes a default tuple as the fourth argument, which will be inserted if no
  previous record with that key exists.

  Own Id: OTP-18870
  Related Id(s): PR-7857

- Added functions to retrieve the next higher or lower key/element from
  `gb_trees` and `gb_sets`, as well as returning iterators that start at
  given keys/elements.

  Own Id: OTP-18874
  Related Id(s): PR-7745

- When he shell built-in function `c/1,2` is used to re-compile a module,
  the current working directory of the original compilation is now added to the
  include path.

  
  Own Id: OTP-18908
  Related Id(s): PR-7957

- The `timer` module now uses a private table for its internal state, slightly
  improving its performance.

  Own Id: OTP-18914
  Related Id(s): PR-7973

- EEP-59 - Documentation Attributes has been implemented.

  Documentation attributes can be used to document functions, types, callbacks,
  and modules. The keyword `-moduledoc "Documentation here".` is used to
  document modules, while `-doc "Documentation here".` can be used on top of
  functions, types, and callbacks to document them, respectively.

  - Types, callbacks, and function documentation can be set to `hidden` either
    via `-doc false` or `-doc hidden`. When documentation attributes mark a type
    as hidden, they will not be part of the documentation.
  - The documentation from `moduledoc` and `doc` gets added by default to the
    binary beam file, following the format of EEP-48.
  - Using the compiler flag `warn_missing_doc` will raise a warning when doc.
    attributes are missing in exported functions, types, and callbacks.
  - `moduledoc`s and `doc`s may refer to external files to be embedded, such as
    `-doc {file, "README.md"}.`, which refers to the file `README.md` found in
    the current working directory.
  - The compiler warns about exported functions whose specs refer to hidden
    types. Thus, there will be warnings when a hidden type (meaning, the type is
    not part of the documentation) gets used in an exported function.

  Own Id: OTP-18916
  Related Id(s): PR-7936

  *** HIGHLIGHT ***

- New `ets` functions ets:first_lookup/1, ets:next_lookup/2,
  ets:prev_lookup/2 and ets:last_lookup/1. Example: ets:next_lookup/1 is
  equivalent to ets:next/2 followed by ets:lookup/2 with the next key. The
  new combined functions are more efficient and with guaranteed atomicity.

  Own Id: OTP-18923
  Related Id(s): PR-6791

  *** HIGHLIGHT ***

- The `maybe` expression is now enabled by default.

  To use `maybe` as an atom, it needs to be single-quoted. Alternatively, the
  `maybe` expression can be disabled by disabling the `maybe_expr` feature. That
  can be done by placing the following the line at the beginning of an Erlang
  source file:

      -feature(maybe_expr, disable).

  Another way to disable the `maybe_expr` feature is by passing the
  `-disable-feature` option to `erlc`:

      erlc -disable-feature maybe_expr some_file.erl

  Own Id: OTP-18944
  Related Id(s): PR-8067

  *** HIGHLIGHT ***

- The compiler will now raise a warning when updating record/map literals. As an
  example, consider this module:

      -module(t).
      -export([f/0]).
      -record(r, {a,b,c}).

      f() ->
          #r{a=1}#r{b=2}.

  The compiler raises the following warning:

      1> c(t).
      t.erl:6:12: Warning: expression updates a literal
      %    6|     #r{a=1}#r{b=2}.
      %     |            ^

  Own Id: OTP-18951
  Related Id(s): PR-8069

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of stdlib-6.0
>
> compiler-5.0, crypto-4.5, erts-14.3, kernel-9.3, sasl-3.0

# syntax_tools-3.2

## Fixed Bugs and Malfunctions

- The `epp_dodger` module can now handle the `maybe` and `else` keywords.

  Own Id: OTP-18608
  Related Id(s): GH-7266, PR-7267

- Reverting a `#wrapper` will no longer throw away changes made to
  positions/annotations.

  Own Id: OTP-18805
  Related Id(s): PR-7398

## Improvements and New Features

- The type erl_syntax:annotation_or_location/0 is now exported.

  Own Id: OTP-18715
  Related Id(s): PR-7535

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of syntax_tools-3.2
>
> compiler-7.0, erts-9.0, kernel-5.0, stdlib-4.0

# tftp-1.2

## Improvements and New Features

- There is now a new `tftp_logger` callback behavior module.

  Own Id: OTP-18787
  Related Id(s): PR-7700

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of tftp-1.2
>
> erts-6.0, kernel-6.0, stdlib-5.0

# tools-4.0

## Fixed Bugs and Malfunctions

- Dialyzer warnings due to type specs added in `dbg` have been eliminated.

  Own Id: OTP-18860

## Improvements and New Features

- Triple-Quoted Strings has been implemented as per EEP 64. See String in the
  Reference Manual.

  Example:

      1> """
         a
         b
         c
         """.
      "a\nb\nc"

  Adjacent string literals without intervening white space is now a syntax
  error, to avoid possible confusion with triple-quoted strings. For example:

      1> "abc""xyz".
      "xyz".
      * 1:6: adjacent string literals without intervening white space

  Own Id: OTP-18750
  Related Id(s): PR-7313, PR-7451, OTP-18746

  *** HIGHLIGHT ***

  *** POTENTIAL INCOMPATIBILITY ***

- There is a new tool `tprof`, which combines the functionality of `eprof`
  and `cprof` under one interface. It also adds heap profiling.

  Own Id: OTP-18756
  Related Id(s): PR-6639

- Native coverage support has been implemented in the JIT. It will automatically
  be used by the `cover` tool to reduce the execution overhead when running
  cover-compiled code.

  There are also new APIs to support native coverage without using the `cover`
  tool.

  To instrument code for native coverage it must be compiled with the
  `line_coverage` option.

  To enable native coverage in the runtime system, start it like so:

      $ erl +JPcover true

  There are also the following new functions for supporting native coverage:

  - code:coverage_support/0
  - code:get_coverage/2
  - code:reset_coverage/1
  - code:get_coverage_mode/0
  - code:get_coverage_mode/1
  - code:set_coverage_mode/1

  Own Id: OTP-18856
  Related Id(s): PR-7856

  *** HIGHLIGHT ***

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of tools-4.0
>
> compiler-8.5, erts-14.3, erts-14.3, kernel-9.3, runtime_tools-2.1, stdlib-6.0

# wx-2.5

## Improvements and New Features

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of wx-2.5
>
> erts-12.0, kernel-8.0, stdlib-5.0

# xmerl-1.4

## Improvements and New Features

- Function specifications and types have been added to all public API functions.

  Own Id: OTP-18913

- As an alternative to `xmerl_xml`, a new export module `xmerl_xml_indent` that
  provides out-of-the box indented output has been added.

  Own Id: OTP-18922
  Related Id(s): PR-7942

- The documentation has been migrated to use Markdown and ExDoc.

  Own Id: OTP-18955
  Related Id(s): PR-8026

  *** HIGHLIGHT ***

> #### Full runtime dependencies of xmerl-1.4
>
> erts-6.0, kernel-3.0, stdlib-2.5