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 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765
|
## Release 4.2.3 (2022-10-18)
```
Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Cherry picks:
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
Use getRunfilesPath for run_under executable path generation.
getRootRelativePath doesn't return a valid runfiles path for
external source files anymore after the recent external source
root change. Also, it won't work for external labels either once
the --nolegacy_external_runfiles becomes default. This fixes
issue #12545.
+ d90ec67fdab9710f649a3c1d374fb6b938b9271a:
Fix NPE when coveragerunner is not set on the toolchain.
+ 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
Fix the classic query package-loading cutoff optimization with
external workspaces.
+ 3f2e8c8220a1cf07fda0a08fb21734df79364248:
Update turbine
+ 0577fa5623732e9d182d273597b9be6c66574d05:
Update turbine
+ 268bedd5b8f4fc0aa4158248a8cf2d0d8ad79e52:
Update turbine
+ 613c9fe7d6ad265d80be569485e599394fff310e:
Update turbine
+ f28f6978b118868a7faec5ad3818ea0582ffb8f5:
Update turbine
+ 69b43621a16d7ede62a3b876772e8b297d4ea09e:
Update turbine
+ 4d4ab50501d5f493cea35885bd89b2a56b0027f7:
Revert "Update turbine"
+ 89b9a048eec8f108795bebdada5b6c9d33dacff2:
Update turbine
+ d31f6dfc85b73750139d287acdcd29a596e1884a:
Update turbine version
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
Support Scala3 .tasty files
+ 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
Update to java_tools javac11 release 10.5 (#12647)
+ a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
Fix common prefix for instrumentation filter
+ 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
Fix builds for filegroup targets with incompatible dependencies
+ e43825d0bef359f645e1cabf2164fd2db6ee4a35:
Revert "Remove
--incompatible_blacklisted_protos_requires_proto_info"
+ 082d58de852ebaa640bcf13cf419cbb94eec2b26:
Transform roots along with paths during output deletion.
+ e8835c1c221d76a2d5532d18083eaa04401619b3:
AttributeContainer.Large now handles more than 127 attributes.
+ e1e87349335ac59f9b3df47cee8b999faeaa6d11:
Add an env attribute to all test and binary rule classes
+ a87d7ed2411d5382bac58a20b79e09c464ad13b9:
Take no action to prefetch empty artifacts.
+ 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
Fix a couple of bugs with Incompatible Target Skipping
+ e6670825b1e183f81f5c864aafd425d512fa9ff5:
Pass --host_action_env to host options hostActionEnvironment
attribute
+ 07400c0392e7be163f8a3396fa5cf89ce6705412:
Add --{no,}autodetect_server_javabase.
+ c83366064621d5a265eba14d93a03deff58fe6d8:
Only treat "env" and "env_inherit" attrs specially for native
rules
+ 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
Fix coverage support when using default_java_toolchain. (#12801)
+ 4158a6f512e52516437e00f8d9609a91be7fc195:
Revert JacocoCoverage target to remote_java_tools_java_import
and add a new target for remore_java_tools_filegroup. (#12813)
+ f6d30cf5ef9a8a39fea7072317f89a872387b790:
Add windows_msvc back to conditions in bazel_tools.
+ 6b33bdb1e22514304c0e35ce8e067f2175685245:
Release 4.0.0 (2021-01-21)
+ 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
Fix error message from getPrerequisites to not print internal
details.
+ 27e15ad11410eb1014f5247fd0eeb31a46733c07:
Clean up ConfiguredTargetValueAccessor and
ConfiguredTargetAccessor
+ e87feb8ac9573cef993824f82370d0389570521d:
Move getConfigConditions into ConfiguredTarget.
+ 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
value.
+ 079bb7d69931705bb2b092c9017090e224ef3043:
Clean up old dependencies that are unused since
https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
5ef5702880d5ac7c5c.
+ e03cb63e059420847d6578d7cbfe93f05615c95e:
Update bazelbuild/platforms to a current release. - Roll forward
https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
7f925cf88e0cd5b76a with kythe fix.
+ 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
Update docs and tests to use the @platforms//:incompatible
constraint
+ c71697cf33b0fbbb42fc2910bac83960edc7e855:
Clarify test_suite behaviour in the Platforms docs
+ dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
Enable toolchain resolution for filegroup targets.
+ 24d086446f74606819dc53c3a436caa056ff05b7:
PlatformProviderUtils should ignore targets that don't have the
needed
+ ba60c0b3f9bbd00975c984244839b155e84b4c5d:
ijar: fix manifest sections handling
+ 58bb42ad7ca263a75c6eeef51482f805726663a5:
Revert "Switch to -fdebug-compilation-dir"
+ 3f2e8c8220a1cf07fda0a08fb21734df79364248:
Update turbine
+ 0577fa5623732e9d182d273597b9be6c66574d05:
Update turbine
+ 268bedd5b8f4fc0aa4158248a8cf2d0d8ad79e52:
Update turbine
+ 613c9fe7d6ad265d80be569485e599394fff310e:
Update turbine
+ f28f6978b118868a7faec5ad3818ea0582ffb8f5:
Update turbine
+ 69b43621a16d7ede62a3b876772e8b297d4ea09e:
Update turbine
+ 4d4ab50501d5f493cea35885bd89b2a56b0027f7:
Revert "Update turbine"
+ 89b9a048eec8f108795bebdada5b6c9d33dacff2:
Update turbine
+ d31f6dfc85b73750139d287acdcd29a596e1884a:
Update turbine version
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ ad241fbebd90a9f0ad65ccd0658838f57030db68:
Allow cquery to filter out incompatible targets
+ 1782f0ae751569607ef88930c822ac460a1f8bb3:
Patch grpc to fix cares selecting the wrong source when building
for darwin_arm64 cpu.
+ 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
[1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 848a51747a460ab4c5185e4c61ab522a9981cbea:
[2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 9b30172547f2093acb56aedf159a77d5dceffda2:
[3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
Prevent --repo_env from triggering unnecessary fetches
+ 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
Prevent a crash when using --repo_env=VAR without a value
+ 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
Report digest of failed uploads
+ 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
Status error presentation with details
+ 9a70805db543e2fb910e1c55ef3b3567362adf30:
Fix double shutdown of BuildEventArtifactUploader when BES+File
output enabled.
+ 325eb956c92530bdfda54a36a186cae4245a4f7b:
Add rxjava3 to third_party
+ ceaac966a7b977461b69ce9501df6a467f4a93b2:
remote: set executable bit of an input file based on its real
value
+ 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
Remote: correctly implement equals and hashCode.
+ 48648503729d53fdee1322fde2c8e6c05e99cff9:
Fixed an error that bazel binary is not executable when testing
with remote execution.
+ bc54c648aa1f99509c7c36d5e6b570d066689209:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata.
+ 92955e617b5c41713a5163dc0437c2a024b31815:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 2)
+ 75bd1ff8ab56d241916bde36291301fa026b2bab:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 3)
+ 37ee252f3744abc4511f55b5089cc52abd3ba09d:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 4)
+ 71e35b165f924e2649a078fcf6007645d58039af:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 5)
+ 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
Write/QueryWriteStatus logging refinement/addition
+ 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
Remote: gRPC load balancing. (Part 1)
+ e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
Remote: gRPC load balancing. (Part 2)
+ 6667ad7dd77f8d97952133052c17e7779c1430ec:
Remote: gRPC load balancing. (Part 3)
+ 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
Remote: gRPC load balancing. (Part 4)
+ 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
Implement getMessage for BulkTransferException
+ a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
Remote: gRPC load balancing. (Part 5)
+ 7a62c2d4e27e398f440910c81eacc384f38ca8be:
Remote: Add interoperability between Rx and ListenableFuture.
+ 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
Update to latest remote-execution proto
+ dad96301d12aa77eb67399e08265a5f30f5ffd6a:
Set Platform on Action not just Command
+ 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
Remote: Add AsyncTaskCache which is used to deduplicate task
executions and cache the results.
+ 9d0c7325ac810febe565a62fdd875ae0c240b274:
Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
+ f54fe07209acc25340df8d2e02993b1add2deafa:
Add --experimental_repository_disable_download to allow users
disable download for external repos
+ b243584a479eb4481a9bf4f69acc899610a3b630:
Report errors parsing rewriter config file
+ 63bc1c7d0853dc187e4b96a490d733fb29f79664:
Downloader rewriter config has all_blocked_message
+ 495ac923f398443be45c20ab29d183fe47e08911:
Allow UrlRewriter to change protocol, i.e. https->http, and
http->https
+ 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
Allow overriding the hostname and instance name in bytestream://
URIs
+ 0881c80d29acecdfbb58c49156f805e8c50db117:
Don't set requestId on non-multiplex requests.
+ e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
When generating a symlink in _virtual_includes, add the original
header to the 'allowed to use' set too
+ f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
Make SimpleLogHandler not swallow interrupts.
+ f8606e5e76579442a1c6563e718ea54c673f1a04:
linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
+ dac0d40d0eb903f5cb70341398d1a333c19adf3a:
Improve "Common Attributes" section
+ a607d9dc70ac67f1aa2c32ca954177f9c77860be:
Never create more than one process per WorkerMultiplexer.
+ 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
Move sending requests and reading responses for multiplex
workers into separate subthreads.
+ 003cfcde3fd3901c1279ba1db3db3a14536248b4:
Allow use of JSON protocol in multiplex workers.
+ 308bce36cba46095fe41866e703710035ddddada:
Actively kill off still-active workers when stopping work on
interrupt.
+ 8959dff512fe4505af786bcf2ef981ec7082a913:
Add sanitizer support to Apple platforms
+ 32f16e9360f3e1856db1775eb5014b930da2a303:
Fix a Google-internal broken link.
+ c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
Add SHA-1 to subresource integrity format for download()
checksums
+ 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
Remove fallback strategy support for workers, add flag for it in
sandbox.
+ 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
Update to java_tools javac11 10.6 (#13245)
+ 4928295b236ec8f590a7e9d863502bc2f50a77d9:
Allow .S files in C++ Starlark cc_common.compile.
+ 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
Automatic code cleanup.
+ b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
Change short output of worker type to have the same logic as the
worker creation for sandboxing vs. multiplex.
+ e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
More properly destroy workers on interrupt.
+ 7056711eb11b672133274eb29fc93b01dcf088d5:
Make WorkRequestHandler do a GC after some amount of CPU time
has been used on requests. For Bazel and Blaze, defaults to 10s
based on benchmarking.
+ 596653d3cf76e7b208da343e1fde5fe20273a5ff:
Allow tree artifacts to be source or header inputs to
cc_common.compile()
+ 055c93d11ab20cc4479539b24bbdfa5cab78a342:
Switch to path autocompletion after -- for bazel run commands.
+ 807f2a1929e23b60b237c63fadb25af81de2e3c3:
Fix Incompatible Target Skipping for test args
+ 9a5cd854e0613f91d52075973e2454b1e009e1ef:
Fix order of build request id and command id
+ 706f5acd02363e48076dc97e37613fd968932d03:
Fix bazel crash when passing config_setting to
target_compatible_with
+ 61da1d2bf10eabba4c75de959b0374f302d89d70:
Support multiple --bazelrc on command line
+ 5593358a58b66f06c4e421bb48856de94c3fd625:
Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
to
+ 662cf54de7a103db30e04ebae2d2b919437c4846:
Remote: Fix an issue that a failed action could lead to
RuntimeException caused by InterruptedException thrown when
acquiring gRPC connections.
https://github.com/bazelbuild/bazel/issues/13239
+ a3a1763212f29932618b9b9b2f929976ae0e3b6e:
Pass more `--add-exports=` flags
+ d2b942879471786e82f1c96eea8722bbe7919fc1:
Remote: Fixed a bug that remote cache is missed due to
executable bit is changed
+ 616dc264f02907d7b7887285d22307dfe6d097b6:
Fix Bazel Coverage with C++ to work with Remote Execution
+ 5f40d12e741aa30d506eaa15673fb2ae76d29468:
Fix external_path_test with newer Xcode versions.
+ b416193075642017e13c774422b49cb07fb65c23:
Allow using embedded tools in sandboxed spawn runners.
+ eb762d4e7431637e607146b1c191485795047ef9:
Fix racy write of temporary files while staging virtual inputs
for the sandbox.
+ f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
Update platforms_test to not rely on filegroup not using
toolchain
+ 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
Update SkyframeTests to not rely on filegroup not using toolchain
+ 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
Update ConfigurableAttributesTest to not rely on filegroup not
using …
+ 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
Make WorkerExecRoot not be a subclass of SandboxedSpawn.
+ 31db460a45767de0bcd664a6efbe9d163b85b802:
Make WorkerExecRoot not be re-created on each createFileSystem()
call. Preparation for holding a map of existing links, but also
just nicer.
+ a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
Start the file existence check traversal from the execroot base
instead of execroot so that external repo files at
"<execroot>/../<path>" are correctly handled when the sibling
repository layout is enabled.
+ b048282c7893231d3a7191b251804973917b07a4:
Use readdir for cleanExisting in WorkerExecRoot.
+ 270f00dd01fa06cf3e813da5a406be3446de7377:
Add native support for Apple Silicon
+ 8e56b9423e8ad2f7323fb90b19b73858def81e39:
Explicitly state that embedding macOS OpenJDK is for x86_64
+ 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
Remote: Fix a race that AsyncTaskCache#Execution could be reused
after disposed which results in
CancellationException("disposed") propagated to downstream.
+ 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
Remove wrapped_clang params files after use
+ 47edc57806056f3c8764241ed41b8acc72bd2ebf:
Silence swiftmodule timestamp warnings
+ f6e1074b09ebefba185c0531e9cea26b9596c8a9:
Remote: Use shutdownNow() instead of shutdown() in
ChannelConnection#close() as a workaround to a gRPC bug.
+ 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
And mnemonic and label to remote metadata
+ 615e1b16a81b0defc15699ec8027d6ddd70366d1:
Change `set -x` in coverage to be set by var
+ fe4daea99c8cd163793eca84bfb12c8fc437616b:
Bump minimal JDK install base maximum size from 290 to 295 MB.
+ 4840a68cd273a429e46d4114a3973fd11d0e3583:
Remote: Check the return value of ActionOwner.getLabel() since
it could be `null`.
+ 14abe4fd7c3967686a3536939fdc3882e691bca2:
Allow `DiffAwareness` to share precomputed information about the
workspace and propagate it to the `WorkspaceStatusAction`.
+ 082d98772690946ed29c157e60640c97a6e1195b:
Implement available() method for Windows subprocesses.
+ c2bdd034014f66ce14529cc353cda18a32320f6c:
Move --repo_env to common options
+ e09f2743738044095b9d784ea62df16b7f5750e6:
Revert "Documentation for #13110"
+ a165baa250652fdc865ae0df39160be1f7f74c47:
Revert "Clean up RuleContext to use a Table instead of a Map of
Maps."
+ 51fb9e13a864f4f704ae378ea632433bae7ddc31:
Revert "Support execution constraints per exec group"
+ cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
Revert "Allow exec groups to inherit from the rule or other exec
groups."
+ 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
Release 4.1.0 (2021-05-21)
+ 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
Change gceMachineType of highcpu platform from n1-highcpu-32 to
e2-highcpu-32
+ 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
Fix #10127: Remove Python 2 dependency from tools/android.
+ 80c59dea59d4dce39d4b5d21665c3d7313197358:
fix main repo starlark options parsing - now flags passed on the
command line as --@main_workspace//flag and --//flag will both
parse to --//flag. Before this CL, the former maintained its
workspace prefix and we would get different entries for these
two formats.
+ 451b296c3aceb127ebb4a313b6e9608854fa68fa:
Update threshold for long path shortening to be MAX_PATH - 4
+ 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
Force source files to be readable before copying them from
sandbox.
+ 6080c1e07f4229ea72eacd04faa9302e44955a84:
Let workers finish lost races without delaying dynamic execution.
+ ee738dacb5d0089d3f57b15305057cb9ba675e74:
Fix label_flag and label_setting to not have a dependency on the
default
+ 74de0ba4e79341c77b8b85ff4485f92287b6854c:
Java coverage: fix handling of external files
+ 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
[Bazel] Fix mobile-install for python2
+ 763dd0ce6e1644bf895231432f616427a11d385a:
Add `stub_shebang` to `py_runtime`
+ b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
Move use of legacy sandbox -> local fallback to only be used
after all strategies have been tried, and improve messages
around it.
+ 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
Remove restriction on generate_pdb_file to be only used in dbg
and fastbuild mode
+ 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
Check the result of Future.cancel() when cancelling the other
branch of dynamic execution.
+ aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
Update DEFAULT_MACOS_CPU to match host
+ 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
Fix symlink creation on older Windows versions
+ fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
Suppress interrupted status during pool closure
+ 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
Fix Windows developer mode symlinks
+ 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
Respect Starlark options with values in `removeStarlarkOptions()`
+ 7920ffef472b25db3f4e564e5a3a28a4664c666e:
cquery inherits from `test` not `build`
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
Split ExecGroup into a new target.
+ 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
Create a new interface to allow Starlark objects to get a thread
when getIndex is called.
+ d2e21cec31f09b27ef3589f47b0779f34077ca7e:
Renamed ExecGroupCollection to clarify that it is only for
Starlark usage.
+ b9519f92f8ce096107164ca5075feced0e989de7:
Make StarlarkExecGroupContext use AutoValue.
+ 52b1b748b2368820bac2ca94323fb82c39c00e51:
Use a dummy toolchain context for rules that don't have one.
+ 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
Extract a separate StarlarkToolchainContext for starlark-only
operations.
+ b120d4febc571f17e12501ad87fbff32ef94e9bb:
Fix toolchains to support type lookup.
+ dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
ExecGroup.
+ 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
Rename ToolchainCollection.getExecGroups to getExecGroupNames.
+ 10d4473bf476a587e3d9f9b2214581ec420c1919:
BuildViewForTesting should directly call into
ConfiguredTargetFunction.
+ 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
Move exec group tests out of platforms_test and into integration.
+ 7d5493d922761c3ce0037f0025912cc532c55ad7:
Update creating exec groups that explicitly copy from defaults.
+ 8c6382a81237e72dbec24b3850df9481461e0015:
Create a new ExecGroupCollection container to manage exec group
inheritance and exec property parsing.
+ b4b0c321910bc968736ef48e8140528ea7d323cd:
Fix unix toolchain for macos arm64 platform
+ f64f071f44394a33a1be40cb7642e2c881d1e9bb:
Add `required_providers` attribute to Starlark defined aspects.
+ f2cbdcf67ac1990f05a8241ba8dae65795edac82:
Don't ever claim /dev/null is an execpath.
+ ceec93c35ead1bd487e96a5fee46e8d080f88858:
Don't ever claim /dev/null is an execpath.
+ 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
Use the parent directory of the exec root as the input root on
RBE.
+ 4efeac9cb5f85325ed73f64e133a078c483cac01:
Make the Merkle tree computation work in the wake of
https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
9830a6986749b34df5 .
+ b56a2aa709dcb681cfc3faa148a702015ec631d5:
Remote: Use execRoot as input root and do NOT set working
directory by default.
+ ae53991f2e207edacd1352ba94261e2473b79f14:
Remote: Add RemoteExecutionService as a layer between spawn
execution and remote execution.
+ 0c07c2e6571dd4806552213b2237ecb7a908afa4:
Remote: Add remoteCacheable key to execution log
+ 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
Remote: Register "remote" strategy even if remote execution is
not available.
+ 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
Remote: Add --experimental_capture_corrupted_outputs flag.
+ 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
Remote: Report checking cache status before the action is
scheduled to run remotely.
+ ba5b2a7c9448a3681a0d86d80670447e338a06dc:
when writing to local disk cache, open files later in order to
avoid "too many open files"
+ 3551898849a93306ad9b4dfdd7d4667913098efe:
Propagate test envs to xml generation action
+ 9f8c678d7054548865f56f3464f778c751657074:
Remote: Fix a bug that the XML generation is executed even if
test.xml is generated when build with --remote_download_minimal.
+ af42653e6f6bd229142f4678bb256a8c397b4d8d:
Automatic code cleanup.
+ 07a84ce31d9b09853c63c7e373418696dd285dc5:
Remote: Another attempt to fix the CancellationException error
in AsyncTaskCache caused by a race condition.
+ 0f812eb5e561cc5415d0c9931675e58dc37a5850:
Remote: Display download progress when actions are downloading
outputs from remote cache.
+ 18c82168433719b400a705a4a0222969a7a026ba:
Remote: Do not upload empty output to remote cache.
+ 6a138a60e562beeef36003c4814a6b8ce9f253f6:
Fix compiling errors
+ bcce6dd026e90336e80616a8c1004a79a2f8640c:
Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
+ c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
Export proguard specs from aar_import
+ 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
Fix stripping of macOS loadable bundles
+ 0d3c231f5a08861d28e987703e9196890e6164bf:
Roll forward config_setting visibility enforcement behind a flag.
+ bb7a01027242390da1c18fbf87c274cc34c11b79:
Fix merge conflicts.
+ 8b8e77ea226aaa12e79580422bc5984e80ce048b:
Remove redundant declaration.
+ 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
Ignore empty virtual artifacts when spawn-logging inputs.
+ 4158b61211e099db780565d064a1c1a80c91bd2a:
Use correct exit code on invalid aquery --output
+ b51b31dbe75a5bc73227fccb4484f3454df81b42:
Remote: Fix a race when reporting action progresses.
+ 0e652737988e3c115e98e1552f6fada52bc2b9a2:
Change MIN_BUILD_TOOLS_REVISION to 30.0.0
+ 6f9909c04b1e00faa510b38ccabac78821046cf9:
Update Android remote tools to ensure Bazel uses the latest
Android tooling that has been updated to support AndroidX
databinding generation.
+ 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Automated rollback of commit
9a1d428e33bfae1ec5b68250d4732b72346b8b39.
+ 951a3023fbcdbe025e350590e6fa86097da3fe05:
Increase allowed size of the install_base.
+ a7845f65befbeb65a28ec53e62458211a7bc3f8e:
Increase allowed size for install base again.
+ affc27f9d18f9781437e91a3f36c73962a56f261:
Bump version of java allocation instrumenter.
+ 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
Reference the correct version of the java allocation
instrumenter.
+ 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
Support extracting aar files.
+ 861c3caa85e47da35a8a4f1512e57d43b9263c37:
Revert "Remote: Fix a race when reporting action progresses."
+ 92ec798ddc1f38fb4868af08c1d818639283f501:
Revert "Remote: Display download progress when actions are
downloading outputs from remote cache."
+ ce091abb290d1d753f480cdee0e69748eb20db52:
Revert "Fix compiling errors"
+ 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
Revert "Remote: Fix a bug that the XML generation is executed
even if test.xml is generated when build with
--remote_download_minimal."
+ 988b56f5916e024d10695797a7f963b30fc998c7:
Revert "Remote: Report checking cache status before the action
is scheduled to run remotely."
+ 35c98d07b21785efae57a7c4230cc1e452f74fd2:
Revert "Let workers finish lost races without delaying dynamic
execution."
+ c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
Migrate ExampleWorker to use WorkRequestHandler.
+ 230be161176bd6f1251077af7674f80d38ff1e25:
Do not interleave readdir() calls with deletion of directory
entries.
+ 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
Propagate OOME if NewByteArray allocation failed
+ 19fc15ebbf6c63fcce90a038e91c5ec726852848:
Create helper method for sandbox tests, transform existing tests
into using it.
+ deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
Cleanup: Replace NULL with nullptr
+ f4b5e0233341977aaa76593ca032d9ac4eba7444:
Let workers finish lost races without delaying dynamic execution.
+ 186decab01ee247c7453baf19dac778545ec4937:
Interface and flag specification for worker cancellation.
+ 5894a8544d51c99f1356130b8b487bc93299fedd:
Create BUILD file in worker tests directory instead of running
tests from the parent directory.
+ e9e6978809b0214e336fee05047d5befe4f4e0c3:
Server-side implementation of worker cancellation.
+ 5103662238f2df2038c7dff079e9c655e08ba654:
Add builder for WorkRequestHandler.
+ 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
Makes singleplex requests be handled in separate threads in
WorkRequestHandler.
+ 779d66019210f54e10a1343ee004df72a8dec812:
Only allow worker async finishing when sandboxed.
+ a698bef6146a807fd82ee4402d89c23c83802e33:
Support for cancellation in WorkRequestHandler.
+ 9dc95af4c7ef10979f21173260f5433006116096:
Make workers restart on flags that affect their
creation/behaviour.
+ 7e5cd529e9f8c9cb67900af36182f00ef7316654:
Remote: Report checking cache status before the action is
scheduled to run remotely.
+ 6e134a1b68418fba9992692901efa77a80c346f7:
Remote: Fix a bug that the XML generation is executed even if
test.xml is generated when build with --remote_download_minimal.
+ d4d071401acadb0d8977850a9439474e60fd7bb9:
Fix compiling errors
+ 2579c9a18360955699d028426b45d381ff53783c:
Eagerly initialize JNI copies of Java classes: doing lazy
initialization on a per-method basis doesn't save anything and
adds a tiny bit of overhead to every one of these calls.
+ 0f812eb5e561cc5415d0c9931675e58dc37a5850:
Remote: Display download progress when actions are downloading
outputs from remote cache.
+ 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
Update the WorkRequestHandler to use callbacks of type:
BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
constructors that use BiFunction<List<String>, PrintWriter,
Integer> callback as deprecated. - Use a wrapper class for the
BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
to avoid having two constructors that takes a BiFunction, as it
creates a confusion between the deprecated and new constructor
when given a lambda expressions.
+ 5e352afe2b35487ea2ced85ca79bd9f79858e648:
Fix bug in WorkRequestHandler's handling of singleplex requests
that would cause occasional hangs.
+ b51b31dbe75a5bc73227fccb4484f3454df81b42:
Remote: Fix a race when reporting action progresses.
+ c9d823e42796962eed039b8122528c2a1541190f:
Disable flaky test.
+ e6809c90ecc0ef5783faa39e63188fc33a79b80e:
Revert "Check the result of Future.cancel() when cancelling the
other branch of dynamic execution."
+ be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
Revert "Move use of legacy sandbox -> local fallback to only be
used after all strategies have been tried, and improve messages
around it."
+ b32349f50ff3d958613aef9275751ad9d50d344c:
Set a fallback dynamic local strategy even when the
dynamic_local_strategy flag is passed.
+ f395157c95692565bc220c7ccf788974fe0885fd:
Allow running an extra spawn for local branch of dynamic
execution.
+ 039461c76113ab3f165132dd26d0c58eb3e45cae:
Adding debugging information for case when two branches
apparently cancel each other.
+ b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
Move use of legacy sandbox -> local fallback to only be used
after all strategies have been tried, and improve messages
around it.
+ 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
Check the result of Future.cancel() when cancelling the other
branch of dynamic execution.
+ 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
Fix the case where if all strategies for one branch of `dynamic`
execution fail to accept (that is, refuse to even take) the
action given, the whole action fails. Instead of seeing whether
the other branch can run and the action that that it succeeded.
+ b7c1ad2aff91105659299723a712b72eea943040:
Fix rare crash in dynamic execution where both branches got
cancelled.
+ 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
Check if `treeDeleter` is actually async before casting it.
Fixes #13240.
+ 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
Make worker JSON protocol properly ignore unknown fields.
+ 4b12fc80abf4152815f09e473a972e52a1fe8b51:
Fix test_source_file_does_not_override_standard_library to work
with Python 3.9.
+ f4e10367df2d881f05e3ddd5bd0531b390a845fe:
Removing line ending matches in tests to be compatible on Windows
+ ba74df07ced96226d78851e11d1df03147f1cc1f:
Refactors CompilationSupport for objc to use existing API
+ a04cb1bfad4734f801c48bae3070a799067bda4e:
Release 4.2.0 (2021-08-18)
+ ba8678077024e1b4e5d7419c758a97e8dc9fceea:
Revert "fix main repo starlark options parsing.
+ 9f67cdf3d51c05bc2209786aa24b72658b61362c:
cquery: disable `--build_tests_only`.
+ 02ad3e3bc6970db11fe80f966da5707a6c389fdd:
Release 4.2.1 (2021-08-30)
+ ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
Enable user_link_flags_feature for macosx cc_toolchain_config
+ af74287f125b93119415ba35429b8638d7a986ea:
Remote: Limit max number of gRPC connections by
--remote_max_connections. (#14318)
+ 639f89d7682cadff723ac210fa37101f37762a9d:
Fix [Prepa] actions stuck in active state
+ 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
Delete marker file before fetching an external repository
+ e6c8e8d1ba89df5cf624e7147cee6b8246a9a490:
CI configs: switch centos to centos7_java11_devtoolset10
+ 15371720ae0c40ffc97b74c871d1b38851ef6410:
Release 4.2.2 (2021-12-02)
+ f64b7553607e1d3572611cc5011c498e3cd4505c:
[4.2.3] Update GrpcRemoteDownloader to only include relevant
headers. (#16450) (#16459)
```
Incompatible changes:
- GrpcRemoteDownloader only includes relevant headers instead of
sending all credentials.
Closes #16439.
Important changes:
- Multiplex persistent workers can now use the JSON protocol.
- enforce config_setting visibility. See
https://github.com/bazelbuild/bazel/issues/12932 for details.
- The minimum Android build tools version for the Android rules is
now 30.0.0
- Updates worker protocol with cancellation fields, and adds
experimental_worker_cancellation flag to control cancellation.
- If all strategies of one branch (the local or remote execution
branch) of the `dynamic` strategy fail to even accept (via the
response they give from `canExec`) the action, `dynamic` will now
try to see if the other branch can accept it. (Trying to run it
and it failing will still cause a failure if it was the first
result, this is about strategies claiming they can't even try the
action)
This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bjacklyn, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Fabian Meumertzheim, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Noa Resare, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
## Release 6.0.0-pre.20220922.1 (2022-09-30)
```
Baseline: 4e7d2a24715130ea5aec098e44f43fa603fad6b7
```
Incompatible changes:
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since the path would refer to a
netrc file inside the external repository by absolute path.
Migration should be straightforward.
- genrule switched to use exec transition instead of host. This can
break targets with hardcoded output paths. To avoid using
hardcoded paths use make variables, see
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
defined_label_variables
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since...
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- The --incompatible_existing_rules_immutable_view flag has been
flipped to true. See
https://github.com/bazelbuild/bazel/issues/13907 for
migration notes.
- Split up the C++ archive from the C++ link action and set
`CppArchive` as mnemonic.
- workspace(managed_directories=) is not available anymore.
- --legacy_important_outputs now has a default of false.
- --legacy_important_outputs default reverted to true.
- objc_library now requires CcInfo in its deps. If this breaks
you, add empty CcInfo() to your rule.
- Flag --experimental_local_memory_estimate removed.
- Added a new flag
--incompatible_unambiguous_label_stringification, which causes
labels in the main repo to stringify into unambiguous forms
starting with an @. See
https://github.com/bazelbuild/bazel/issues/15916 for more
information.
- analysis_test moved into testing.analysis_test
Important changes:
- Deprecate --incompatible_applicable_licenses flag, in preparation
for removal in Bazel 6.x.
- Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
- The Build Event Protocol now contains file digests and sizes
along with the file name and URI.
- Refactor system suspend event handling.
- alias() can now select() directly on constraint_value()
- Allow \a \b \f \v escape sequences in Starlark.
- Match remote and local xcode version by most granular version.
- Adds `--experimental_worker_multiplex_sandboxing` flag that
controls whether to sandbox multiplex workers that support it.
- provider() has a new parameter: init, a callback for performing
pre-processing and validation of field values. Iff this parameter
is set,
provider() returns a tuple of 2 elements: the usual provider
symbol (which,
when called, invokes init) and a raw constructor (which bypasses
init).
- Tests that fail to create or complete their
`TestAttemptContinuation` by
throwing an `ExecException` will report an `INCOMPLETE` status.
Previously, Bazel
would fail to report any status for the test attempt.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Include more information about configurations in cquery proto
formatted output. This deprecates the configuration field of
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
configuration_id, to
be used instead.
- experimental cc_library.implementation_deps inverted to
interface_deps
- In aquery and cquery proto output, indicate if a configuration is
a
tool or non-tool configuration.
- Include complete configurations in cquery proto output.
- experimental cc_library.implementation_deps inverted to
interface_deps
- Make protocOpts() publicly accessible.
- Add some documentation about how configuration information is
conveyed in cquery proto output.
- Introduces experimental static library linking API under
apple_common.link_multi_arch_static_library
- Further deprecation and removal of pkg_tar. Stop supporting
legacy use of 'files' attribute, where it could be a list of
labels instead of a map of paths to labels.
- Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
its purpose because --all_incompatible_changes would never set
it. The last rule it gated (pkg_tar) is scheduled to be removed
in Bazel 6.x.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- The default dexer is now d8. dx can be optionally enabled using:
--define=android_dexmerger_tool=dx_dexmerger \
--define=android_incremental_dexing_tool=dx_dexbuilder \
--define=android_standalone_dexing_tool=dx_compat_dx \
--use_workers_with_dexbuilder
- Packaging support for deploy JAR embedded JDK files (hermetic
Java).
- Don't stamp cc_common.link actions for tool dependencies.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
- Allow specialization to work with constraint_values.
- Bazel uses the D8 jar from Maven instead of the SDK.
- Make ijar / java_import preserve classes with `@kotlin.Metadata`
annotations
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Add devtools/build/lib/worker:work_request_handlers to the remote
android tools release package. This will be transitively packaged
into all_android_tools.
- Bazel uses the D8 jar from Maven instead of the SDK.
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- Advance android_tools_pkg version to 0.24.0.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Bazel uses the D8 jar from Maven instead of the SDK.
- "blaze config" now only reports info from the last build. To
compare configurations across multiple builds, redirect "blaze
config" output to a file and run your favorite diff tool.
- The --incompatible_override_toolchain_transition flag is now
always set, and will be removed in the future. Thus,
--noincompatible_override_toolchain_transition has no effect, and
the value of the incompatible_use_toolchain_transition parameter
in aspect() and rule() builtins is ignored.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Toolchain types may now be optional, in addition to mandatory.
See https://bazel.build/docs/toolchains#optional-toolchains for
further details.
- Add six to deps of has_services=1 py_proto_librarys.
- pkg_tar(symlinks) has been removed. Users needing that feature
should
migrate to @rules_pkg.
- Aspects can now define and use exec groups using the same API as
rules.
- Removed the obsolete --incompatible_applicable_licenses flag. The
feature is permanently enabled.
- embedded_tools packages R8 desugarer again
- Bazel now selects sh path based on execution platform instead of
host platform, making it possible to execute sh actions in
multiplatform builds. --shell_executable now only applies to
actions configured for host.
- labels in genquery.scope are no longer configured.
- When Bzlmod is enabled, all Bzlmod-generated repos will have an
extra '@' prepended to their names. This effectively enables the
canonical label literal syntax for Bzlmod-generated repos
(`@@canonicalRepoName//pkg:target`; see
https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
t7bdUsjz6JFC4/edit?usp=sharing).
- Exposed `CcSharedLibraryInfo` to Starlark builtins.
- Enable --use_top_level_targets_for_symlinks by default.
- Singlejar accepts runtime Created-By field
- --noincompatible_disable_managed_directories, and with that,
workspace(managed_directories=) is not supported anymore.
- Bazel supports D8 desugaring, albeit without persistent workers
- Remove mtime options from pkg_tar. Users should migrate to
@rules_pkg.
- Test for experimental multiplexed persistent resource processor.
- Added new register_{execution_platforms,toolchains} directives to
the MODULE.bazel file, to replace the
{execution_platforms,toolchains}_to_register attributes on the
module() directive.
- The legacy pkg_tar no longer supports the ability to untar and
repackage an input tar file (`deps` attribute). Users needed that
capability must switch to github.com/bazelbuild/rules_pkg.
- `cquery`'s new output mode
[`--output=files`](https://bazel.build/docs/cquery#files-output)
lists the output files of the targets matching the query. It
takes the current value of `--output_groups` into account.
- Change singlejar metadata to report Created-By Bazel
- Add support for fetching RPC credentials from credential helper.
- Revert interface_deps back to implementation_deps after problem
reported in. Use `buildozer 'rename deps implementation_deps'
//...:%cc_library; buildozer 'rename interface_deps deps'
//...:%cc_library`
- Fix for desugaring failure on Bazel+Android+Windows build
scenario.
- D8 is the default desugarer
- Migrate main_dex_list_creator to D8 (DX deprecation)
- --experimental_enable_bzlmod has been renamed --enable_bzlmod,
and still defaults to false.
- selects() no longer produce irrelevant duplicate label checks
- Adds a dexer output cache to CompatDexBuilder to improve build
speed.
- Improved error messages when analyzing inline bzl code
- Improved error messages when analyzing inline bzl code
- The `@bazel_tools//tools/cpp:compiler` flag now has the value
`gcc` if the configured compiler is detected to be gcc rather
than the generic value `compiler`. A branch for `gcc` may have to
be added to `select` statements that do not have a default case
that handles gcc appropriately.
- The `get_child` method of `path` now accepts an arbitrary
number of relative path strings as positional arguments.
- SourceManifestAction supports `Action.content`
- Add --incompatible_build_transitive_python_runfiles alias. See
#16303
- The @bazel_tools//tools/cpp:compiler flag now has the value
`clang` for the auto-configured Xcode toolchain rather than the
generic value compiler. A branch for `clang` may have to be added
to select statements that do not have a default case that handles
this toolchain appropriately.
- added additional debug message to warn of skipped toolchains
during resolution
This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, Ara Nguyen, arunkumar9t2, arun.sampathkumar, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Charles-Francois Natali, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, David Sanderson, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Eric Song, Fabian Brandstetter, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Gregory Fong, Greg Roodt, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Igor Nazarenko, James Broadhead, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, Jonathan Gerrish, Jon Shea, juanchoviedo, Kaiqin Chen, Keith Smiley, Ken Micklas, Kevin Lin, Kiron, Krishna Ersson, kshyanashree, lihu, Luc Bertrand, Luis Fernando Pino Duque, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Roman Salvador, rustberry, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Shuai Zhang, Simon Bjorklen, Son Luong Ngoc, Stephan Wolski, Steve Vermeulen, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas, Thomas Zayouna, Timothe Peignier, Tomas Volf, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
## Release 5.3.1 (2022-09-19)
```
Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Cherry picks:
+ becd1494481b96d2bc08055d3d9d4d7968d9702e:
Remote: Cache merkle trees
+ d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
Update DEFAULT_IOS_CPU for M1 arm64 simulator support
+ 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
Compile Apple tools as fat binaries if possible
+ 3c09f3438a966b49a7c1726022c898b390b3a6e5:
Add protobuf as a well known module
+ 3a5b3606a6f5433467a5b49f0188c41411684bf5:
Remote: Merge target-level exec_properties with
--remote_default_exec_properties
+ 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
Add -no_uuid for hermetic macOS toolchain setup
+ f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
Remote: Fixes an issue when --experimental_remote_cache_async
encounter flaky tests.
+ 77a002cce050e861fcc87c89acf7768aa5c97124:
Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
has …
+ 557a7e71eeb5396f2c87c909ddc025fde2678780:
Fixes for the Starlark transition hash computation (#14251)
+ 34c71465f84fa780217926db2e8e5ca3d6d4568c:
Do location expansion in copts of objc_library
+ 50274a9f714616d4735a560db7f617e53fb8d01b:
[5.x] Remote: Add support for compression on gRPC cache (#14277)
+ 61bf2e5b5181cbe34a2f0d584053570943881804:
Automated rollback of commit
34c71465f84fa780217926db2e8e5ca3d6d4568c.
+ 79888fe7369479c398bafe064daa19a7ae30f710:
Silence a zstd-jni GCC warning.
+ 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
Remote: Limit max number of gRPC connections by
--remote_max_connections.
+ fd727ec96d861573dcbad3249d727a94eff84789:
Do location expansion in copts of objc_library
+ 23d096931be9b7247eafa750999dd7feadde14c1:
Fix _is_shared_library_extension_valid
+ 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
Remove merging of java_outputs in JavaPluginInfo.
+ cea5f4f499aa832cf90c68898671869ce79d63f2:
Cherrypick Bzlmod documentation (#14301)
+ 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
Format work requests according to ndjson spec
+ ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
Enable user_link_flags_feature for macosx cc_toolchain_config
+ 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
Remote: Use Action's salt field to differentiate cache across
workspaces.
+ f94898915268be5670fb1e93a16c03e9b14d2a58:
[5.x] Remote: Fix "file not found" error when remote cache is
changed from enabled to disabled. (#14321)
+ 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
Delete marker file before fetching an external repository
+ c05c6261cdb2cacb7c9881c255c0ada435ab5182:
Remote: Fix file counting in merkletree.DirectoryTreeBuilder
+ d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
Fix remote spawn tests for remote_merkle_tree_cache=true
+ 59e16e944200555da377799aa0d9e8d0674d2e27:
Show skipped tests as a warning
+ 76b3c242831f8e88835e3002a831a185a41fcc52:
Build xcode-locator as a universal binary
+ aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
Exit collect_coverage.sh early if LCOV_MERGER is not set.
+ 4256d46327bad8638df91be1a5d4ef83b12b74c7:
Automated rollback of commit
d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
+ dce24350befd08216b3910ae343670015444ff81:
[apple] fix issues compiling C in objc_library for watchos/armv7k
+ bfc24139d93f8643686d91596ba347df2e01966a:
5.x: Remote: Ignore blobs referenced in BEP if the generating
action cannot be cached remotely. (#14389)
+ 5aef53a8884038f3c9f06e6dddb9372196253378:
Remote: Don't blocking-get when acquiring gRPC connections.
(#14420)
+ 005361c895da334beb873901e93aff06d180256e:
Disable IncludeValidation for ObjC in bazel
+ d703b7b4f09fb3c389f99e52bac1f23930280b56:
Update java_tools v11.6
+ 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
Stop remote blob upload if upload is complete. (#14467)
+ dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
[5.x] Make remote BES uploader better (#14472)
+ 2edab739e1f61fe8813230b03396ca46f0790089:
Avoid too verbose warnings in terminal when cache issues
+ 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
Rename --project_id to --bes_instance_name
+ c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
Automated rollback of commit
bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
+ b341802700484d11c775bf02d80f43ba3f33b218:
[apple] support watchos_arm64 in toolchain
+ 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
Disable implicitly collecting baseline coverage for toolchain
targets.
+ 302971e1b3d803069ac949c0085c0d2a3916c8ab:
Automated rollback of commit
7d09b4a15985052670244c277e4357557b4d0039.
+ 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
Bzlmod: Starlarkify default attr values for TypeCheckedTags
+ 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
Fix build after rc4 cherrypicks (#14581)
+ 41feb616ae18e21fdba3868e4c298b0b83012f10:
Release 5.0.0 (2022-01-19)
+ 486d153d1981c3f47129f675de20189667667fa7:
Find runfiles in directories that are themselves runfiles
+ 0de7bb95022057e8b89334f44759cf6f950e131f:
Don't resolve symlinks for --sandbox_base
+ 8b60c90f3641591b65c4e153113aea562f1fab94:
Remove uses of -lstdc++ on darwin
+ 60f757c0831f9fbb2415fb0105f964201faa9fa0:
Allow Label instances as keys in select (#14755)
+ 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
Remote: Only waits for background tasks from remote execution.
+ 8734ccf9847eafb7193388cd9c6fa78faa78283f:
Add the default solib dir to the rpath for cc_imports with
transitions
+ 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
Flip --experimental_worker_allow_json_protocol
+ fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
cpu for tools when host cpu and exec cpu are different
+ 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
Propagate --experimental_cc_implementation_deps to host config
+ 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
Support select() on constraint_value for aliases.
+ 67a133b431ccece22b7dd9a72f0837cff77d4360:
Improve documentation for select()
+ 5356fedd4b6079851b51db27077bf84c7bab16a4:
Cherrypicks for experimental cc_shared_library (#14773)
+ ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
[apple] support tvos_sim_arm64 in toolchain (#14779)
+ a58ddea50b2fd476d183e2e0c077ad6173039b89:
Cherry pick win arm64 (#14794)
+ dc41a20bb045d221a43223a5db6b8b44cd8f1676:
[5.1.0] cherrypick subpackages support (#14780)
+ 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
Add a helper method for rules to depend on the cpp toolchain
type.
+ 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
UrlRewriter should be able to load credentials from .netrc
(#14834)
+ 32d1606dac2fea730abe174c41870b7ee70ae041:
Add "arch" struct field to repository_os
+ 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
[5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
+ c2ddbd1954af5baab63b93f2b055a410a27832c8:
Ignore missing include directory in JDK distribution.
+ 16de03595e21f7bf31818e717505b23c953b3b7d:
Fix bazel coverage false negative
+ 0c74741742301abcf67452a7f591daec1c3a7635:
Remote: Postpone the block waiting in `afterCommand` to
`BlockWaitingModule` (#14833)
+ 3297d9234e15515aa91cc887b3b12db7e1040b02:
Switch to `ProcessHandle` for getting the PID (#14842)
+ a987b98ea0d6da2656c4115568ef9cbe8a164550:
Fix uses of std++ on bsd
+ d184e4883bb7fc21de2f7aeea4304994de27e9ea:
Remote: handle early return of compressed blobs uploads
+ 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
Add removeprefix/removesuffix to Starlark strings
+ d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
Fix default CPU for macOS and iOS (#14923)
+ cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
Add paramfile support for def_parser, since in rare cases on
Windows command line character limit was reached.
+ 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
Normalize rpath entries to guard against missing default solib
dir
+ 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
Fix aggressive params file assumption
+ c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
Fix precompiled libs not in runfiles of cc_shared_library
(#14943)
+ 764614e0f0287125269e7a92e909a44624bcb360:
Bzlmod: Allow multiple `use_extension`s on the same extension
(#14945)
+ fa761f84994f18db383fbe9aaea524e4385da13a:
Fix typo in `apple_common.platform` docs
+ f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
Yield a Proxy for addresses without protocol
+ 8cefb8bed4ac82df8640682517372a9249732352:
Avoid merging URLs in HttpUtils
+ b4804807fc2c184cc36df9e69e472942c01941b8:
Make protocOpts() public. (#14952)
+ 113eaca5862c48797654ae2a3acbb6e15d761485:
Do not hide BulkTransferException messages when there were more
than one exception
+ b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
merkle_tree_cache: change default size to 1000
+ f15e0c7224ecc5473d4972afc436e28df35c4e5a:
Add --experimental_repository_cache_urls_as_default_canonical_id
to help detect broken repository URLs (#14989)
+ f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
Expose the logic to read user netrc file
+ b858ec39aebd7e586af5438aa2035db2adebf9a4:
Correct cpu and os values of `local_config_cc_toolchains` targets
+ 5e79972c05d89280f0cf1fa620f807366847bac6:
Expose CoverageOutputGenerator on a Fragment (#14997)
+ 78f03110e0dab42f37e427fd524e72706e036d74:
Correct error runfiles cc_shared_library (#14998)
+ 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
[5.1] Adding Starlark dependencies to the package //external
(#14991)
+ a73aa12be65454ac8cfb5a8f3e056c420402f997:
Remote: Fix crashes with InterruptedException when using http
cache.
+ f8707c07f153ac4ac2ec4b210321f1a16343006d:
Account for interface libraries in cc_shared_library
+ a570f5fdb1618a6c272d18bebaa712d3b2af3975:
Fix coverage runfiles directory issue
+ 95de355e4524a6339c0e807b60d333c36c40bdc7:
Do not validate input-only settings in transitions (#15048)
+ 71747ccc9d0032a865854613329362563c0574df:
Filter out system headers on macOS.
+ cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
Update Bazel bootstrap documentation and remove obsolete flags.
(#15065)
+ 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
[5.1] Undocument --bes_best_effort (#15066)
+ 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
Fix conflicting actions error when specifying
--host_macos_minimum_os (#15068)
+ f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
[5.1] Remote: Action should not be successful and cached if
outputs were not created (#15071)
+ 00d74ff737cccd60305ee58d85313556a077152a:
Support decompressing zstd tar archives for repository rules.
+ f5857830bb68bd05ffc257506575ed37a8128933:
Remote: Don't check TreeArtifact output
+ efb2b80953983dce499d453a9f55a74ffaf8c42d:
osx_cc_wrapper: Only expand existing response files
+ c771c43b870fb8618db7bdab6725ab40cac4976d:
Remote: Fix crashes by InterruptedException when dynamic
execution is enabled. (#15091)
+ 3785677cc84fc4024fda85575c05efbde5d512fc:
Use python3 on macOS
+ 815d9e499a32fd4d87525ac0c698c293cf26433d:
Release 5.1.0 (2022-03-24)
+ 1fbb69e366034484887e00c6006c7b79508765ed:
Prepare 5.1.1 release
+ df153df9656e0e197f67622bb11f7d77e19238a0:
Fix CODEOWNERS syntax
+ 2b92a3111e83a4d14934059afd0f51161a41276f:
Remote: Don't check declared outputs for failed action
+ b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
Upgrade abseil version to the latest
+ c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
Revert default export all symbols on Windows
+ 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
Support ZIP files with total number of disks = 0
+ 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
Release 5.1.1 (2022-04-08)
+ 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
Update CODEOWNERS
+ bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
[5.2.0] Update java_tools 11.7.1 (#15231)
+ 9c98120f33579b72561e02826d9fccf222eccb3c:
Add support for .ar archives (and .deb files)
+ d3435b09d89f25bf5008ef3b9c870c835d51a8da:
Seperate GetSelfPath implementation for Blaze and Bazel
+ c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
Include jdk.crypto.mscapi in minimized Windows embedded JDK
+ 299022ca2dc49b6cb27b2674f933755306ae8b9b:
remote: Proactively close the ZstdInputStream in
ZstdDecompressingOutputStream.
+ 27707995cc6576ed1f51fbdb199ff8512e8418c9:
Collect coverage from cc_binary data deps of java_test
+ 3442179d240e01ef13b0fa7814db7366bad5ffac:
Configure Apple crosstool to return a complete target triple
that includes minimum OS version and target environment
+ bb6f1a7ce79168055ccd62629da07d46a52b930d:
Collect C++ lcov coverage if runtime object not in runfiles
+ dbb6e9954b6e4423f727feb2719ffc75a93b514b:
Fixing dependencies of //external package
+ f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
[5.2] Upgrade Google Auth Version (#15383)
+ a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
Fix chocolatey package - docsUrl must not 404 (#15395)
+ fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
Fix cache leak when applying transitions when only a rule's
attributes change.
+ ad74d5243917bb27a37e38d151a4a3c8a49947eb:
Fix checking remote cache for omitted files in buildevent file
(#15405)
+ ac219103d8798965b775db548d7b9214ecd78f73:
fix(bzlmod): throw on json parse exception
+ 3d85b88609a362857d8ee3c0432a37d30268a8a2:
Add a flag to expose undeclared test outputs in unzipped form.
(#15431)
+ abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
+ 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
Catch NumberFormatException while trying to parse thread id.
+ 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
Improve the --sandbox_debug error message
+ 0a2a43f9aab1e3875f03f643f6414eb67834c883:
Set keywords on appropriate lifecycle events.
+ 394ddb82b311ea7edbe2522736b0b0202903ddb6:
Record additional profiling information for remotely executed
actions.
+ 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
Fix downloading remote execution output files inside output
dirs. (#15444)
+ 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
Fix android emulator darwin_arm64 select
+ 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
Fix --use_top_level_targets_for_symlinks with aliases (#15446)
+ fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
Filter libtool warning about table of contents
+ 26f878325e915e0905626a0e4c8bbacffd72f875:
Unify sandbox/remote handling of empty TreeArtifact inputs
(#15449)
+ 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
Revert "Fixes incorrect install names on darwin platforms"
+ e133e66f715bac17bf5848e4440c089a8c8d3fd9:
config doesn't error on duplicate `--define` values (#15473)
+ 84d59176622b76223828e61709179dbd5f0c9f8d:
Collect coverage from cc_binary data deps of py_test (#15298)
+ 519d2daacfff3de6ffabfc5827621fa835e1c815:
SolibSymlinkAction does not need exec platform or properties
+ 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
Let Starlark tests inherit env variables (#15217)
+ 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
Update PythonZipper action to use CommandLineItem.CapturingMapFn
+ 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
Make `coverage --combined_report=lcov` skip incompatible tests
+ 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
Disable ReturnValueIgnored checks to unblock java_tools release
+ 0120118893261968bdf116ef215655c428428fa8:
Bump the limit of Bazel install base size (#15585)
+ 668805aace9bf96f78595fc2a122027a3000ceac:
Upgrade zlib to 1.2.12
+ 4d900ceea12919ad62012830a95e51f9ec1a48bb:
[5.2] Remote: Fix a bug that outputs of actions tagged with
no-remote are u... (#15453)
+ b703cb9b999e243d776b7620468e48f450c0ce3a:
Add feature to produce serialized diagnostics files (#15600)
+ 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
Release 5.2.0 (2022-06-07)
+ 536f8d97991d891fc7db333af1a5262497d85173:
Fix fail message construction in cc_shared_library
+ 2d42925ae80c0fb007aa39f4e210122611897255:
Define cc-compiler-darwin in Xcode toolchain
+ a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
Fix alwayslink in objc_import
+ d273cb62f43ef8169415cf60fc96e503ea2ad823:
Unify URL/URLs parameter code across http_archive, http_file,
http_jar
+ fea32be42928c84463aa1f335b5722a1f6b8c93a:
Preserve --experimental_allow_unresolved_symlinks in exec cfg
+ e4bc370b226eb0cc536b55641640266345a214ec:
Ck/cherry pick cc shared library (#15754)
+ dbdfa07e92f99497be9c14265611ad2920161483:
Let Starlark executable rules specify their environment (#15766)
+ e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
Fix string formatting when java_home path is missing.
+ d54a288e6c79c740b9c93dfc31ee345d6a5332af:
Optionally enable LLVM profile continuous mode
+ ad17b44cdc192277fafb0d0e204962b2b924dba8:
Print remote execution message when the action times out (#15772)
+ 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
Add missing line to cherrypick
e4bc370b226eb0cc536b55641640266345a214ec (#15784)
+ 804b4747152a59bc2965be2db85839b8b2764fc7:
Replace strdupa with strdup
+ 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
Bzlmod: Better canonical repo names for modules with overrides
(#15793)
+ d4663a1c950d618c5b15a3e00fb733987cbf45cc:
Add repo env test (#15768)
+ 594962cb283dcd71b736e0450453903911a8c85a:
Add is_root struct field to bazel_module (#15815)
+ 3dd2b932d42fe86112899550d21452409cb3c4b0:
Fix null pointer crash with `bazel coverage` on only
incompatible tests
+ 4175018b47800db28c390d39fefbd266b5d674bd:
Add util for finding credential helper to use
+ 3ea9eb2e363860c9305a987fa22a059afd35598d:
Merge ManifestMergerAction-related commits into release-5.3.0
(#15824)
+ 64571a428ffe2bf09f1a5eea13e770a7d0381620:
Ck/cherrypick 15669 (#15788)
+ 1404651cafe5c26c5dae469e9126de53c2f4f024:
Create output directories for remote execution (#15818)
+ ae523f82d39daf01cf31e40733de0c6345f0935c:
Use tree artifacts in bootclasspath rule
+ 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
[credentialhelper] Add types to communicate with the subprocess
+ 06ca634e10f17023022ab591a55aabdd9fb57b12:
Add a flag to force Bazel to download certain artifacts when
using --remote_download_minimal (#15870)
+ d35f923b098e4dc9c90b1ab66b413c216bdee638:
RemoteExecutionService: fix outputs not being uploaded
+ 78af34f9f25b0c8fbf597a794a5162f0014629c5:
Cherry-pick proto_lang_toolchain Starlarkfication and
proto_common module (#15854)
+ afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
Fix behavior of `print()` in module extensions
+ 6714c30507edc70ec84f8c97d47cffc497356c0b:
[credentialhelper] Implement invoking credential helper as
subprocess
+ 0f05904171d187e6abacb431b3d7494423b027ab:
Add register_{execution_platforms,toolchains} directives to
MODULE.bazel files (#15852)
+ 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
[remote] Improve .netrc test in RemoteModuleTest
+ aa2a1f3afe2f10baab5befcafb39df14cbffc743:
Fix ZipDecompressor windows 0x80 (file attribute normal)
+ 30f16e53cb36a5d506665be7553e785d52772e2d:
Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
+ 2a8d0ad7103511a94382aef41821a315bf8144b7:
target pattern file: allow comments
+ 6f732052654ec37192450c795bb28dd0aad559cd:
Add factory for creating paths relative to well-known roots
(#15931)
+ 32cc8e638b91816f427b74266f6a8da6fb605419:
Update CODEOWNERS (#15910)
+ 63bc14b095f1ea4043024e7fe1f9c476968897c5:
Implement native analysis_test call. (#15940)
+ 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
Increase osx_cc_configure timeouts
+ cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
Allow string_list flags to be set via repeated flag uses
+ 05e758d4bc18fc9d9e189526381a06e4399056a2:
[credentialhelper] Add parser for flag syntax (#15929)
+ e4ee34416ef18094496ab54446e70cb62cd509e6:
Docs should mention the new no-remote-cache-upload tag (#15965)
+ 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
Add netrc support to --bes_backend (#15970)
+ c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
Add CommandLinePathFactory to CommandEnvironment (#15971)
+ 508f18576ab5327bd623db6b476511ac2089d0fa:
Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
+ 14c944a5386eccbcfbe8389afb6c518582b11270:
Wire up credential helper to command-line flag(s) (#15976)
+ 04c373b708390341be4ceb8eb5b2f8561385cb11:
Add `--output=files` mode to cquery (#15979)
+ edfe2a17e3434cce660757f59b14f2e9d6ab944e:
Make cpp assembly file extensions case sensitive again
+ 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
Prevent aspects from executing on incompatible targets (#15984)
+ f440f8ec3f63e5d663e1f9d9614f05a39422102a:
Remote: Fix performance regression in "upload missing inputs".
(#15998)
+ 0109031a2818b217b78026055b972da5901656f5:
Updated Codeowners file (#16032)
+ 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
Propagate the error message when a credential helper fails.
(#16030)
+ a8dacc7832b04fe1756cd7adce72f2572f357eee:
Migrate legacy desugar wrapper to new rlocation() (#16025)
+ 11368be4ac24108f18b1965162ad27f207c074f9:
Correctly report errors thrown by CommandLinePathFactory#create.
+ 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
Fix an issue that
`incompatible_remote_build_event_upload_respect_no_… (#16045)
+ e745468461f93839491a4f80d0c1883d9007f9c0:
Fix rpath for binaries in external repositories (#16079)
+ 83041b145d3966eb353aacb22b7e33ad01d9a239:
Refactor combined cache. (#16110)
+ c62496f7b76da473cb1102798373f552ba2f434d:
C++: Add compound error linked statically but not exported
(#16113)
+ 0f18786b09e9729d79c0f14f7843b4d8402b6115:
Do not crash on URIs without a host component.
+ 9c0940df3c5962b2291e812600dd71731775d45b:
Add profiler task for calling a credential helper.
+ 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
Make bazel_cc_code_coverage_test more robust against GCC version
differences (#16254)
+ 1e25152906b668bbe56aa4c1773186af85335315:
Fix local execution of external dynamically linked cc_* targets
(#16253)
+ f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
* add change to allow blaze info to skip Starlark build settings
that start with --no prefix * add unit tests for both info and
clean commands
```
Important changes:
- alias() can now select() directly on constraint_value()
Fixes https://github.com/bazelbuild/bazel/issues/13047.
Closes #14310.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Make protocOpts() publicly accessible.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
Closes #14971.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
Closes #14849.
- none
RELNOTES:none
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
- Added new register_{execution_platforms,toolchains} directives to
the MODULE.bazel file, to replace the
{execution_platforms,toolchains}_to_register attributes on the
module() directive.
- Add support for fetching RPC credentials from credential helper.
Progress on https://github.com/bazelbuild/bazel/issues/15856
Closes #15947.
- `cquery`'s new output mode
[`--output=files`](https://bazel.build/docs/cquery#files-output)
lists the output files of the targets matching the query. It
takes the current value of `--output_groups` into account.
Closes #15552.
- Fix for desugaring failure on Bazel+Android+Windows build
scenario.
This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
## Release 5.3.1 (2022-09-19)
```
Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Cherry picks:
+ becd1494481b96d2bc08055d3d9d4d7968d9702e:
Remote: Cache merkle trees
+ d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
Update DEFAULT_IOS_CPU for M1 arm64 simulator support
+ 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
Compile Apple tools as fat binaries if possible
+ 3c09f3438a966b49a7c1726022c898b390b3a6e5:
Add protobuf as a well known module
+ 3a5b3606a6f5433467a5b49f0188c41411684bf5:
Remote: Merge target-level exec_properties with
--remote_default_exec_properties
+ 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
Add -no_uuid for hermetic macOS toolchain setup
+ f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
Remote: Fixes an issue when --experimental_remote_cache_async
encounter flaky tests.
+ 77a002cce050e861fcc87c89acf7768aa5c97124:
Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
has …
+ 557a7e71eeb5396f2c87c909ddc025fde2678780:
Fixes for the Starlark transition hash computation (#14251)
+ 34c71465f84fa780217926db2e8e5ca3d6d4568c:
Do location expansion in copts of objc_library
+ 50274a9f714616d4735a560db7f617e53fb8d01b:
[5.x] Remote: Add support for compression on gRPC cache (#14277)
+ 61bf2e5b5181cbe34a2f0d584053570943881804:
Automated rollback of commit
34c71465f84fa780217926db2e8e5ca3d6d4568c.
+ 79888fe7369479c398bafe064daa19a7ae30f710:
Silence a zstd-jni GCC warning.
+ 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
Remote: Limit max number of gRPC connections by
--remote_max_connections.
+ fd727ec96d861573dcbad3249d727a94eff84789:
Do location expansion in copts of objc_library
+ 23d096931be9b7247eafa750999dd7feadde14c1:
Fix _is_shared_library_extension_valid
+ 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
Remove merging of java_outputs in JavaPluginInfo.
+ cea5f4f499aa832cf90c68898671869ce79d63f2:
Cherrypick Bzlmod documentation (#14301)
+ 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
Format work requests according to ndjson spec
+ ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
Enable user_link_flags_feature for macosx cc_toolchain_config
+ 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
Remote: Use Action's salt field to differentiate cache across
workspaces.
+ f94898915268be5670fb1e93a16c03e9b14d2a58:
[5.x] Remote: Fix "file not found" error when remote cache is
changed from enabled to disabled. (#14321)
+ 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
Delete marker file before fetching an external repository
+ c05c6261cdb2cacb7c9881c255c0ada435ab5182:
Remote: Fix file counting in merkletree.DirectoryTreeBuilder
+ d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
Fix remote spawn tests for remote_merkle_tree_cache=true
+ 59e16e944200555da377799aa0d9e8d0674d2e27:
Show skipped tests as a warning
+ 76b3c242831f8e88835e3002a831a185a41fcc52:
Build xcode-locator as a universal binary
+ aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
Exit collect_coverage.sh early if LCOV_MERGER is not set.
+ 4256d46327bad8638df91be1a5d4ef83b12b74c7:
Automated rollback of commit
d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
+ dce24350befd08216b3910ae343670015444ff81:
[apple] fix issues compiling C in objc_library for watchos/armv7k
+ bfc24139d93f8643686d91596ba347df2e01966a:
5.x: Remote: Ignore blobs referenced in BEP if the generating
action cannot be cached remotely. (#14389)
+ 5aef53a8884038f3c9f06e6dddb9372196253378:
Remote: Don't blocking-get when acquiring gRPC connections.
(#14420)
+ 005361c895da334beb873901e93aff06d180256e:
Disable IncludeValidation for ObjC in bazel
+ d703b7b4f09fb3c389f99e52bac1f23930280b56:
Update java_tools v11.6
+ 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
Stop remote blob upload if upload is complete. (#14467)
+ dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
[5.x] Make remote BES uploader better (#14472)
+ 2edab739e1f61fe8813230b03396ca46f0790089:
Avoid too verbose warnings in terminal when cache issues
+ 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
Rename --project_id to --bes_instance_name
+ c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
Automated rollback of commit
bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
+ b341802700484d11c775bf02d80f43ba3f33b218:
[apple] support watchos_arm64 in toolchain
+ 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
Disable implicitly collecting baseline coverage for toolchain
targets.
+ 302971e1b3d803069ac949c0085c0d2a3916c8ab:
Automated rollback of commit
7d09b4a15985052670244c277e4357557b4d0039.
+ 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
Bzlmod: Starlarkify default attr values for TypeCheckedTags
+ 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
Fix build after rc4 cherrypicks (#14581)
+ 41feb616ae18e21fdba3868e4c298b0b83012f10:
Release 5.0.0 (2022-01-19)
+ 486d153d1981c3f47129f675de20189667667fa7:
Find runfiles in directories that are themselves runfiles
+ 0de7bb95022057e8b89334f44759cf6f950e131f:
Don't resolve symlinks for --sandbox_base
+ 8b60c90f3641591b65c4e153113aea562f1fab94:
Remove uses of -lstdc++ on darwin
+ 60f757c0831f9fbb2415fb0105f964201faa9fa0:
Allow Label instances as keys in select (#14755)
+ 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
Remote: Only waits for background tasks from remote execution.
+ 8734ccf9847eafb7193388cd9c6fa78faa78283f:
Add the default solib dir to the rpath for cc_imports with
transitions
+ 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
Flip --experimental_worker_allow_json_protocol
+ fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
cpu for tools when host cpu and exec cpu are different
+ 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
Propagate --experimental_cc_implementation_deps to host config
+ 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
Support select() on constraint_value for aliases.
+ 67a133b431ccece22b7dd9a72f0837cff77d4360:
Improve documentation for select()
+ 5356fedd4b6079851b51db27077bf84c7bab16a4:
Cherrypicks for experimental cc_shared_library (#14773)
+ ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
[apple] support tvos_sim_arm64 in toolchain (#14779)
+ a58ddea50b2fd476d183e2e0c077ad6173039b89:
Cherry pick win arm64 (#14794)
+ dc41a20bb045d221a43223a5db6b8b44cd8f1676:
[5.1.0] cherrypick subpackages support (#14780)
+ 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
Add a helper method for rules to depend on the cpp toolchain
type.
+ 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
UrlRewriter should be able to load credentials from .netrc
(#14834)
+ 32d1606dac2fea730abe174c41870b7ee70ae041:
Add "arch" struct field to repository_os
+ 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
[5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
+ c2ddbd1954af5baab63b93f2b055a410a27832c8:
Ignore missing include directory in JDK distribution.
+ 16de03595e21f7bf31818e717505b23c953b3b7d:
Fix bazel coverage false negative
+ 0c74741742301abcf67452a7f591daec1c3a7635:
Remote: Postpone the block waiting in `afterCommand` to
`BlockWaitingModule` (#14833)
+ 3297d9234e15515aa91cc887b3b12db7e1040b02:
Switch to `ProcessHandle` for getting the PID (#14842)
+ a987b98ea0d6da2656c4115568ef9cbe8a164550:
Fix uses of std++ on bsd
+ d184e4883bb7fc21de2f7aeea4304994de27e9ea:
Remote: handle early return of compressed blobs uploads
+ 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
Add removeprefix/removesuffix to Starlark strings
+ d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
Fix default CPU for macOS and iOS (#14923)
+ cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
Add paramfile support for def_parser, since in rare cases on
Windows command line character limit was reached.
+ 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
Normalize rpath entries to guard against missing default solib
dir
+ 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
Fix aggressive params file assumption
+ c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
Fix precompiled libs not in runfiles of cc_shared_library
(#14943)
+ 764614e0f0287125269e7a92e909a44624bcb360:
Bzlmod: Allow multiple `use_extension`s on the same extension
(#14945)
+ fa761f84994f18db383fbe9aaea524e4385da13a:
Fix typo in `apple_common.platform` docs
+ f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
Yield a Proxy for addresses without protocol
+ 8cefb8bed4ac82df8640682517372a9249732352:
Avoid merging URLs in HttpUtils
+ b4804807fc2c184cc36df9e69e472942c01941b8:
Make protocOpts() public. (#14952)
+ 113eaca5862c48797654ae2a3acbb6e15d761485:
Do not hide BulkTransferException messages when there were more
than one exception
+ b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
merkle_tree_cache: change default size to 1000
+ f15e0c7224ecc5473d4972afc436e28df35c4e5a:
Add --experimental_repository_cache_urls_as_default_canonical_id
to help detect broken repository URLs (#14989)
+ f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
Expose the logic to read user netrc file
+ b858ec39aebd7e586af5438aa2035db2adebf9a4:
Correct cpu and os values of `local_config_cc_toolchains` targets
+ 5e79972c05d89280f0cf1fa620f807366847bac6:
Expose CoverageOutputGenerator on a Fragment (#14997)
+ 78f03110e0dab42f37e427fd524e72706e036d74:
Correct error runfiles cc_shared_library (#14998)
+ 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
[5.1] Adding Starlark dependencies to the package //external
(#14991)
+ a73aa12be65454ac8cfb5a8f3e056c420402f997:
Remote: Fix crashes with InterruptedException when using http
cache.
+ f8707c07f153ac4ac2ec4b210321f1a16343006d:
Account for interface libraries in cc_shared_library
+ a570f5fdb1618a6c272d18bebaa712d3b2af3975:
Fix coverage runfiles directory issue
+ 95de355e4524a6339c0e807b60d333c36c40bdc7:
Do not validate input-only settings in transitions (#15048)
+ 71747ccc9d0032a865854613329362563c0574df:
Filter out system headers on macOS.
+ cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
Update Bazel bootstrap documentation and remove obsolete flags.
(#15065)
+ 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
[5.1] Undocument --bes_best_effort (#15066)
+ 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
Fix conflicting actions error when specifying
--host_macos_minimum_os (#15068)
+ f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
[5.1] Remote: Action should not be successful and cached if
outputs were not created (#15071)
+ 00d74ff737cccd60305ee58d85313556a077152a:
Support decompressing zstd tar archives for repository rules.
+ f5857830bb68bd05ffc257506575ed37a8128933:
Remote: Don't check TreeArtifact output
+ efb2b80953983dce499d453a9f55a74ffaf8c42d:
osx_cc_wrapper: Only expand existing response files
+ c771c43b870fb8618db7bdab6725ab40cac4976d:
Remote: Fix crashes by InterruptedException when dynamic
execution is enabled. (#15091)
+ 3785677cc84fc4024fda85575c05efbde5d512fc:
Use python3 on macOS
+ 815d9e499a32fd4d87525ac0c698c293cf26433d:
Release 5.1.0 (2022-03-24)
+ 1fbb69e366034484887e00c6006c7b79508765ed:
Prepare 5.1.1 release
+ df153df9656e0e197f67622bb11f7d77e19238a0:
Fix CODEOWNERS syntax
+ 2b92a3111e83a4d14934059afd0f51161a41276f:
Remote: Don't check declared outputs for failed action
+ b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
Upgrade abseil version to the latest
+ c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
Revert default export all symbols on Windows
+ 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
Support ZIP files with total number of disks = 0
+ 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
Release 5.1.1 (2022-04-08)
+ 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
Update CODEOWNERS
+ bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
[5.2.0] Update java_tools 11.7.1 (#15231)
+ 9c98120f33579b72561e02826d9fccf222eccb3c:
Add support for .ar archives (and .deb files)
+ d3435b09d89f25bf5008ef3b9c870c835d51a8da:
Seperate GetSelfPath implementation for Blaze and Bazel
+ c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
Include jdk.crypto.mscapi in minimized Windows embedded JDK
+ 299022ca2dc49b6cb27b2674f933755306ae8b9b:
remote: Proactively close the ZstdInputStream in
ZstdDecompressingOutputStream.
+ 27707995cc6576ed1f51fbdb199ff8512e8418c9:
Collect coverage from cc_binary data deps of java_test
+ 3442179d240e01ef13b0fa7814db7366bad5ffac:
Configure Apple crosstool to return a complete target triple
that includes minimum OS version and target environment
+ bb6f1a7ce79168055ccd62629da07d46a52b930d:
Collect C++ lcov coverage if runtime object not in runfiles
+ dbb6e9954b6e4423f727feb2719ffc75a93b514b:
Fixing dependencies of //external package
+ f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
[5.2] Upgrade Google Auth Version (#15383)
+ a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
Fix chocolatey package - docsUrl must not 404 (#15395)
+ fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
Fix cache leak when applying transitions when only a rule's
attributes change.
+ ad74d5243917bb27a37e38d151a4a3c8a49947eb:
Fix checking remote cache for omitted files in buildevent file
(#15405)
+ ac219103d8798965b775db548d7b9214ecd78f73:
fix(bzlmod): throw on json parse exception
+ 3d85b88609a362857d8ee3c0432a37d30268a8a2:
Add a flag to expose undeclared test outputs in unzipped form.
(#15431)
+ abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
+ 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
Catch NumberFormatException while trying to parse thread id.
+ 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
Improve the --sandbox_debug error message
+ 0a2a43f9aab1e3875f03f643f6414eb67834c883:
Set keywords on appropriate lifecycle events.
+ 394ddb82b311ea7edbe2522736b0b0202903ddb6:
Record additional profiling information for remotely executed
actions.
+ 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
Fix downloading remote execution output files inside output
dirs. (#15444)
+ 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
Fix android emulator darwin_arm64 select
+ 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
Fix --use_top_level_targets_for_symlinks with aliases (#15446)
+ fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
Filter libtool warning about table of contents
+ 26f878325e915e0905626a0e4c8bbacffd72f875:
Unify sandbox/remote handling of empty TreeArtifact inputs
(#15449)
+ 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
Revert "Fixes incorrect install names on darwin platforms"
+ e133e66f715bac17bf5848e4440c089a8c8d3fd9:
config doesn't error on duplicate `--define` values (#15473)
+ 84d59176622b76223828e61709179dbd5f0c9f8d:
Collect coverage from cc_binary data deps of py_test (#15298)
+ 519d2daacfff3de6ffabfc5827621fa835e1c815:
SolibSymlinkAction does not need exec platform or properties
+ 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
Let Starlark tests inherit env variables (#15217)
+ 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
Update PythonZipper action to use CommandLineItem.CapturingMapFn
+ 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
Make `coverage --combined_report=lcov` skip incompatible tests
+ 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
Disable ReturnValueIgnored checks to unblock java_tools release
+ 0120118893261968bdf116ef215655c428428fa8:
Bump the limit of Bazel install base size (#15585)
+ 668805aace9bf96f78595fc2a122027a3000ceac:
Upgrade zlib to 1.2.12
+ 4d900ceea12919ad62012830a95e51f9ec1a48bb:
[5.2] Remote: Fix a bug that outputs of actions tagged with
no-remote are u... (#15453)
+ b703cb9b999e243d776b7620468e48f450c0ce3a:
Add feature to produce serialized diagnostics files (#15600)
+ 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
Release 5.2.0 (2022-06-07)
+ 536f8d97991d891fc7db333af1a5262497d85173:
Fix fail message construction in cc_shared_library
+ 2d42925ae80c0fb007aa39f4e210122611897255:
Define cc-compiler-darwin in Xcode toolchain
+ a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
Fix alwayslink in objc_import
+ d273cb62f43ef8169415cf60fc96e503ea2ad823:
Unify URL/URLs parameter code across http_archive, http_file,
http_jar
+ fea32be42928c84463aa1f335b5722a1f6b8c93a:
Preserve --experimental_allow_unresolved_symlinks in exec cfg
+ e4bc370b226eb0cc536b55641640266345a214ec:
Ck/cherry pick cc shared library (#15754)
+ dbdfa07e92f99497be9c14265611ad2920161483:
Let Starlark executable rules specify their environment (#15766)
+ e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
Fix string formatting when java_home path is missing.
+ d54a288e6c79c740b9c93dfc31ee345d6a5332af:
Optionally enable LLVM profile continuous mode
+ ad17b44cdc192277fafb0d0e204962b2b924dba8:
Print remote execution message when the action times out (#15772)
+ 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
Add missing line to cherrypick
e4bc370b226eb0cc536b55641640266345a214ec (#15784)
+ 804b4747152a59bc2965be2db85839b8b2764fc7:
Replace strdupa with strdup
+ 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
Bzlmod: Better canonical repo names for modules with overrides
(#15793)
+ d4663a1c950d618c5b15a3e00fb733987cbf45cc:
Add repo env test (#15768)
+ 594962cb283dcd71b736e0450453903911a8c85a:
Add is_root struct field to bazel_module (#15815)
+ 3dd2b932d42fe86112899550d21452409cb3c4b0:
Fix null pointer crash with `bazel coverage` on only
incompatible tests
+ 4175018b47800db28c390d39fefbd266b5d674bd:
Add util for finding credential helper to use
+ 3ea9eb2e363860c9305a987fa22a059afd35598d:
Merge ManifestMergerAction-related commits into release-5.3.0
(#15824)
+ 64571a428ffe2bf09f1a5eea13e770a7d0381620:
Ck/cherrypick 15669 (#15788)
+ 1404651cafe5c26c5dae469e9126de53c2f4f024:
Create output directories for remote execution (#15818)
+ ae523f82d39daf01cf31e40733de0c6345f0935c:
Use tree artifacts in bootclasspath rule
+ 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
[credentialhelper] Add types to communicate with the subprocess
+ 06ca634e10f17023022ab591a55aabdd9fb57b12:
Add a flag to force Bazel to download certain artifacts when
using --remote_download_minimal (#15870)
+ d35f923b098e4dc9c90b1ab66b413c216bdee638:
RemoteExecutionService: fix outputs not being uploaded
+ 78af34f9f25b0c8fbf597a794a5162f0014629c5:
Cherry-pick proto_lang_toolchain Starlarkfication and
proto_common module (#15854)
+ afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
Fix behavior of `print()` in module extensions
+ 6714c30507edc70ec84f8c97d47cffc497356c0b:
[credentialhelper] Implement invoking credential helper as
subprocess
+ 0f05904171d187e6abacb431b3d7494423b027ab:
Add register_{execution_platforms,toolchains} directives to
MODULE.bazel files (#15852)
+ 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
[remote] Improve .netrc test in RemoteModuleTest
+ aa2a1f3afe2f10baab5befcafb39df14cbffc743:
Fix ZipDecompressor windows 0x80 (file attribute normal)
+ 30f16e53cb36a5d506665be7553e785d52772e2d:
Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
+ 2a8d0ad7103511a94382aef41821a315bf8144b7:
target pattern file: allow comments
+ 6f732052654ec37192450c795bb28dd0aad559cd:
Add factory for creating paths relative to well-known roots
(#15931)
+ 32cc8e638b91816f427b74266f6a8da6fb605419:
Update CODEOWNERS (#15910)
+ 63bc14b095f1ea4043024e7fe1f9c476968897c5:
Implement native analysis_test call. (#15940)
+ 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
Increase osx_cc_configure timeouts
+ cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
Allow string_list flags to be set via repeated flag uses
+ 05e758d4bc18fc9d9e189526381a06e4399056a2:
[credentialhelper] Add parser for flag syntax (#15929)
+ e4ee34416ef18094496ab54446e70cb62cd509e6:
Docs should mention the new no-remote-cache-upload tag (#15965)
+ 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
Add netrc support to --bes_backend (#15970)
+ c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
Add CommandLinePathFactory to CommandEnvironment (#15971)
+ 508f18576ab5327bd623db6b476511ac2089d0fa:
Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
+ 14c944a5386eccbcfbe8389afb6c518582b11270:
Wire up credential helper to command-line flag(s) (#15976)
+ 04c373b708390341be4ceb8eb5b2f8561385cb11:
Add `--output=files` mode to cquery (#15979)
+ edfe2a17e3434cce660757f59b14f2e9d6ab944e:
Make cpp assembly file extensions case sensitive again
+ 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
Prevent aspects from executing on incompatible targets (#15984)
+ f440f8ec3f63e5d663e1f9d9614f05a39422102a:
Remote: Fix performance regression in "upload missing inputs".
(#15998)
+ 0109031a2818b217b78026055b972da5901656f5:
Updated Codeowners file (#16032)
+ 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
Propagate the error message when a credential helper fails.
(#16030)
+ a8dacc7832b04fe1756cd7adce72f2572f357eee:
Migrate legacy desugar wrapper to new rlocation() (#16025)
+ 11368be4ac24108f18b1965162ad27f207c074f9:
Correctly report errors thrown by CommandLinePathFactory#create.
+ 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
Fix an issue that
`incompatible_remote_build_event_upload_respect_no_… (#16045)
+ e745468461f93839491a4f80d0c1883d9007f9c0:
Fix rpath for binaries in external repositories (#16079)
+ 83041b145d3966eb353aacb22b7e33ad01d9a239:
Refactor combined cache. (#16110)
+ c62496f7b76da473cb1102798373f552ba2f434d:
C++: Add compound error linked statically but not exported
(#16113)
+ 0f18786b09e9729d79c0f14f7843b4d8402b6115:
Do not crash on URIs without a host component.
+ 9c0940df3c5962b2291e812600dd71731775d45b:
Add profiler task for calling a credential helper.
+ 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
Make bazel_cc_code_coverage_test more robust against GCC version
differences (#16254)
+ 1e25152906b668bbe56aa4c1773186af85335315:
Fix local execution of external dynamically linked cc_* targets
(#16253)
+ f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
* add change to allow blaze info to skip Starlark build settings
that start with --no prefix * add unit tests for both info and
clean commands
```
Important changes:
- alias() can now select() directly on constraint_value()
Fixes https://github.com/bazelbuild/bazel/issues/13047.
Closes #14310.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Make protocOpts() publicly accessible.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
Closes #14971.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
Closes #14849.
- none
RELNOTES:none
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
- Added new register_{execution_platforms,toolchains} directives to
the MODULE.bazel file, to replace the
{execution_platforms,toolchains}_to_register attributes on the
module() directive.
- Add support for fetching RPC credentials from credential helper.
Progress on https://github.com/bazelbuild/bazel/issues/15856
Closes #15947.
- `cquery`'s new output mode
[`--output=files`](https://bazel.build/docs/cquery#files-output)
lists the output files of the targets matching the query. It
takes the current value of `--output_groups` into account.
Closes #15552.
- Fix for desugaring failure on Bazel+Android+Windows build
scenario.
This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
## Release 6.0.0-pre.20220909.2 (2022-09-15)
```
Baseline: d3bef49f9182f6bcb6f609530970a7945ce51cbf
```
Incompatible changes:
- analysis_test moved into testing.analysis_test
Important changes:
- selects() no longer produce irrelevant duplicate label checks
- Adds a dexer output cache to CompatDexBuilder to improve build
speed.
- Improved error messages when analyzing inline bzl code
- Improved error messages when analyzing inline bzl code
This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Charles-Francois Natali, Emil Kattainen, Fabian Meumertzheim, James Broadhead, jheaff1, kshyanashree, Noa Resare, Philipp Schrader, Shuai Zhang, Xavier Bonaventura.
## Release 6.0.0-pre.20220825.4 (2022-09-15)
```
Baseline: c92d0e1c0bfbc2573104ff09d8dec282e85cafa1
Cherry picks:
+ e898060863fa0579d45f67c2c998b6ef5289199b:
Automated rollback of commit
14a0d830b95ca1a3f15baa3f76d8aa55afa2fe20.
```
Important changes:
- --experimental_enable_bzlmod has been renamed --enable_bzlmod,
and still defaults to false.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Ed Schouten, Igor Nazarenko, John Millikin, Ken Micklas, Yannic.
## Release 6.0.0-pre.20220823.1 (2022-09-01)
```
Baseline: ca95fecde07a28736ea815ec64bcd639a234d79c
```
This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Thomas.
## Release 6.0.0-pre.20220818.1 (2022-08-24)
```
Baseline: 62d1b0b2b6c9646855698b5d7f9515521bc37a45
```
Incompatible changes:
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since the path would refer to a
netrc file inside the external repository by absolute path.
Migration should be straightforward.
- genrule switched to use exec transition instead of host. This can
break targets with hardcoded output paths. To avoid using
hardcoded paths use make variables, see
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
defined_label_variables
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since...
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- The --incompatible_existing_rules_immutable_view flag has been
flipped to true. See
https://github.com/bazelbuild/bazel/issues/13907 for
migration notes.
- Split up the C++ archive from the C++ link action and set
`CppArchive` as mnemonic.
- workspace(managed_directories=) is not available anymore.
- --legacy_important_outputs now has a default of false.
- --legacy_important_outputs default reverted to true.
- objc_library now requires CcInfo in its deps. If this breaks
you, add empty CcInfo() to your rule.
- Flag --experimental_local_memory_estimate removed.
- Added a new flag
--incompatible_unambiguous_label_stringification, which causes
labels in the main repo to stringify into unambiguous forms
starting with an @. See
https://github.com/bazelbuild/bazel/issues/15916 for more
information.
Important changes:
- Deprecate --incompatible_applicable_licenses flag, in preparation
for removal in Bazel 6.x.
- Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
- The Build Event Protocol now contains file digests and sizes
along with the file name and URI.
- Refactor system suspend event handling.
- alias() can now select() directly on constraint_value()
- Allow \a \b \f \v escape sequences in Starlark.
- Match remote and local xcode version by most granular version.
- Adds `--experimental_worker_multiplex_sandboxing` flag that
controls whether to sandbox multiplex workers that support it.
- provider() has a new parameter: init, a callback for performing
pre-processing and validation of field values. Iff this parameter
is set,
provider() returns a tuple of 2 elements: the usual provider
symbol (which,
when called, invokes init) and a raw constructor (which bypasses
init).
- Tests that fail to create or complete their
`TestAttemptContinuation` by
throwing an `ExecException` will report an `INCOMPLETE` status.
Previously, Bazel
would fail to report any status for the test attempt.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Include more information about configurations in cquery proto
formatted output. This deprecates the configuration field of
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
configuration_id, to
be used instead.
- experimental cc_library.implementation_deps inverted to
interface_deps
- In aquery and cquery proto output, indicate if a configuration is
a
tool or non-tool configuration.
- Include complete configurations in cquery proto output.
- experimental cc_library.implementation_deps inverted to
interface_deps
- Make protocOpts() publicly accessible.
- Add some documentation about how configuration information is
conveyed in cquery proto output.
- Introduces experimental static library linking API under
apple_common.link_multi_arch_static_library
- Further deprecation and removal of pkg_tar. Stop supporting
legacy use of 'files' attribute, where it could be a list of
labels instead of a map of paths to labels.
- Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
its purpose because --all_incompatible_changes would never set
it. The last rule it gated (pkg_tar) is scheduled to be removed
in Bazel 6.x.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- The default dexer is now d8. dx can be optionally enabled using:
--define=android_dexmerger_tool=dx_dexmerger \
--define=android_incremental_dexing_tool=dx_dexbuilder \
--define=android_standalone_dexing_tool=dx_compat_dx \
--use_workers_with_dexbuilder
- Packaging support for deploy JAR embedded JDK files (hermetic
Java).
- Don't stamp cc_common.link actions for tool dependencies.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
- Allow specialization to work with constraint_values.
- Bazel uses the D8 jar from Maven instead of the SDK.
- Make ijar / java_import preserve classes with `@kotlin.Metadata`
annotations
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Add devtools/build/lib/worker:work_request_handlers to the remote
android tools release package. This will be transitively packaged
into all_android_tools.
- Bazel uses the D8 jar from Maven instead of the SDK.
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- Advance android_tools_pkg version to 0.24.0.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Bazel uses the D8 jar from Maven instead of the SDK.
- "blaze config" now only reports info from the last build. To
compare configurations across multiple builds, redirect "blaze
config" output to a file and run your favorite diff tool.
- The --incompatible_override_toolchain_transition flag is now
always set, and will be removed in the future. Thus,
--noincompatible_override_toolchain_transition has no effect, and
the value of the incompatible_use_toolchain_transition parameter
in aspect() and rule() builtins is ignored.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Toolchain types may now be optional, in addition to mandatory.
See https://bazel.build/docs/toolchains#optional-toolchains for
further details.
- Add six to deps of has_services=1 py_proto_librarys.
- pkg_tar(symlinks) has been removed. Users needing that feature
should
migrate to @rules_pkg.
- Aspects can now define and use exec groups using the same API as
rules.
- Removed the obsolete --incompatible_applicable_licenses flag. The
feature is permanently enabled.
- embedded_tools packages R8 desugarer again
- Bazel now selects sh path based on execution platform instead of
host platform, making it possible to execute sh actions in
multiplatform builds. --shell_executable now only applies to
actions configured for host.
- labels in genquery.scope are no longer configured.
- When Bzlmod is enabled, all Bzlmod-generated repos will have an
extra '@' prepended to their names. This effectively enables the
canonical label literal syntax for Bzlmod-generated repos
(`@@canonicalRepoName//pkg:target`; see
https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
t7bdUsjz6JFC4/edit?usp=sharing).
- Exposed `CcSharedLibraryInfo` to Starlark builtins.
- Enable --use_top_level_targets_for_symlinks by default.
- Singlejar accepts runtime Created-By field
- --noincompatible_disable_managed_directories, and with that,
workspace(managed_directories=) is not supported anymore.
- Bazel supports D8 desugaring, albeit without persistent workers
- Remove mtime options from pkg_tar. Users should migrate to
@rules_pkg.
- Test for experimental multiplexed persistent resource processor.
- Added new register_{execution_platforms,toolchains} directives to
the MODULE.bazel file, to replace the
{execution_platforms,toolchains}_to_register attributes on the
module() directive.
- The legacy pkg_tar no longer supports the ability to untar and
repackage an input tar file (`deps` attribute). Users needed that
capability must switch to github.com/bazelbuild/rules_pkg.
- `cquery`'s new output mode
[`--output=files`](https://bazel.build/docs/cquery#files-output)
lists the output files of the targets matching the query. It
takes the current value of `--output_groups` into account.
- Change singlejar metadata to report Created-By Bazel
- Add support for fetching RPC credentials from credential helper.
- Revert interface_deps back to implementation_deps after problem
reported in. Use `buildozer 'rename deps implementation_deps'
//...:%cc_library; buildozer 'rename interface_deps deps'
//...:%cc_library`
- Fix for desugaring failure on Bazel+Android+Windows build
scenario.
- D8 is the default desugarer
- Migrate main_dex_list_creator to D8 (DX deprecation)
This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, Ara Nguyen, arunkumar9t2, arun.sampathkumar, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, David Sanderson, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Eric Song, Fabian Brandstetter, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Greg Roodt, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, Jonathan Gerrish, Jon Shea, juanchoviedo, Kaiqin Chen, Keith Smiley, Ken Micklas, Kevin Lin, Krishna Ersson, lihu, Luc Bertrand, Luis Fernando Pino Duque, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Roman Salvador, rustberry, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Simon Bjorklen, Son Luong Ngoc, Stephan Wolski, Steve Vermeulen, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas Zayouna, Timothe Peignier, Tomas Volf, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
## Release 5.3.0 (2022-08-22)
```
Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Cherry picks:
+ becd1494481b96d2bc08055d3d9d4d7968d9702e:
Remote: Cache merkle trees
+ d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
Update DEFAULT_IOS_CPU for M1 arm64 simulator support
+ 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
Compile Apple tools as fat binaries if possible
+ 3c09f3438a966b49a7c1726022c898b390b3a6e5:
Add protobuf as a well known module
+ 3a5b3606a6f5433467a5b49f0188c41411684bf5:
Remote: Merge target-level exec_properties with
--remote_default_exec_properties
+ 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
Add -no_uuid for hermetic macOS toolchain setup
+ f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
Remote: Fixes an issue when --experimental_remote_cache_async
encounter flaky tests.
+ 77a002cce050e861fcc87c89acf7768aa5c97124:
Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
has …
+ 557a7e71eeb5396f2c87c909ddc025fde2678780:
Fixes for the Starlark transition hash computation (#14251)
+ 34c71465f84fa780217926db2e8e5ca3d6d4568c:
Do location expansion in copts of objc_library
+ 50274a9f714616d4735a560db7f617e53fb8d01b:
[5.x] Remote: Add support for compression on gRPC cache (#14277)
+ 61bf2e5b5181cbe34a2f0d584053570943881804:
Automated rollback of commit
34c71465f84fa780217926db2e8e5ca3d6d4568c.
+ 79888fe7369479c398bafe064daa19a7ae30f710:
Silence a zstd-jni GCC warning.
+ 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
Remote: Limit max number of gRPC connections by
--remote_max_connections.
+ fd727ec96d861573dcbad3249d727a94eff84789:
Do location expansion in copts of objc_library
+ 23d096931be9b7247eafa750999dd7feadde14c1:
Fix _is_shared_library_extension_valid
+ 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
Remove merging of java_outputs in JavaPluginInfo.
+ cea5f4f499aa832cf90c68898671869ce79d63f2:
Cherrypick Bzlmod documentation (#14301)
+ 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
Format work requests according to ndjson spec
+ ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
Enable user_link_flags_feature for macosx cc_toolchain_config
+ 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
Remote: Use Action's salt field to differentiate cache across
workspaces.
+ f94898915268be5670fb1e93a16c03e9b14d2a58:
[5.x] Remote: Fix "file not found" error when remote cache is
changed from enabled to disabled. (#14321)
+ 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
Delete marker file before fetching an external repository
+ c05c6261cdb2cacb7c9881c255c0ada435ab5182:
Remote: Fix file counting in merkletree.DirectoryTreeBuilder
+ d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
Fix remote spawn tests for remote_merkle_tree_cache=true
+ 59e16e944200555da377799aa0d9e8d0674d2e27:
Show skipped tests as a warning
+ 76b3c242831f8e88835e3002a831a185a41fcc52:
Build xcode-locator as a universal binary
+ aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
Exit collect_coverage.sh early if LCOV_MERGER is not set.
+ 4256d46327bad8638df91be1a5d4ef83b12b74c7:
Automated rollback of commit
d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
+ dce24350befd08216b3910ae343670015444ff81:
[apple] fix issues compiling C in objc_library for watchos/armv7k
+ bfc24139d93f8643686d91596ba347df2e01966a:
5.x: Remote: Ignore blobs referenced in BEP if the generating
action cannot be cached remotely. (#14389)
+ 5aef53a8884038f3c9f06e6dddb9372196253378:
Remote: Don't blocking-get when acquiring gRPC connections.
(#14420)
+ 005361c895da334beb873901e93aff06d180256e:
Disable IncludeValidation for ObjC in bazel
+ d703b7b4f09fb3c389f99e52bac1f23930280b56:
Update java_tools v11.6
+ 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
Stop remote blob upload if upload is complete. (#14467)
+ dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
[5.x] Make remote BES uploader better (#14472)
+ 2edab739e1f61fe8813230b03396ca46f0790089:
Avoid too verbose warnings in terminal when cache issues
+ 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
Rename --project_id to --bes_instance_name
+ c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
Automated rollback of commit
bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
+ b341802700484d11c775bf02d80f43ba3f33b218:
[apple] support watchos_arm64 in toolchain
+ 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
Disable implicitly collecting baseline coverage for toolchain
targets.
+ 302971e1b3d803069ac949c0085c0d2a3916c8ab:
Automated rollback of commit
7d09b4a15985052670244c277e4357557b4d0039.
+ 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
Bzlmod: Starlarkify default attr values for TypeCheckedTags
+ 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
Fix build after rc4 cherrypicks (#14581)
+ 41feb616ae18e21fdba3868e4c298b0b83012f10:
Release 5.0.0 (2022-01-19)
+ 486d153d1981c3f47129f675de20189667667fa7:
Find runfiles in directories that are themselves runfiles
+ 0de7bb95022057e8b89334f44759cf6f950e131f:
Don't resolve symlinks for --sandbox_base
+ 8b60c90f3641591b65c4e153113aea562f1fab94:
Remove uses of -lstdc++ on darwin
+ 60f757c0831f9fbb2415fb0105f964201faa9fa0:
Allow Label instances as keys in select (#14755)
+ 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
Remote: Only waits for background tasks from remote execution.
+ 8734ccf9847eafb7193388cd9c6fa78faa78283f:
Add the default solib dir to the rpath for cc_imports with
transitions
+ 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
Flip --experimental_worker_allow_json_protocol
+ fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
cpu for tools when host cpu and exec cpu are different
+ 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
Propagate --experimental_cc_implementation_deps to host config
+ 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
Support select() on constraint_value for aliases.
+ 67a133b431ccece22b7dd9a72f0837cff77d4360:
Improve documentation for select()
+ 5356fedd4b6079851b51db27077bf84c7bab16a4:
Cherrypicks for experimental cc_shared_library (#14773)
+ ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
[apple] support tvos_sim_arm64 in toolchain (#14779)
+ a58ddea50b2fd476d183e2e0c077ad6173039b89:
Cherry pick win arm64 (#14794)
+ dc41a20bb045d221a43223a5db6b8b44cd8f1676:
[5.1.0] cherrypick subpackages support (#14780)
+ 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
Add a helper method for rules to depend on the cpp toolchain
type.
+ 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
UrlRewriter should be able to load credentials from .netrc
(#14834)
+ 32d1606dac2fea730abe174c41870b7ee70ae041:
Add "arch" struct field to repository_os
+ 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
[5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
+ c2ddbd1954af5baab63b93f2b055a410a27832c8:
Ignore missing include directory in JDK distribution.
+ 16de03595e21f7bf31818e717505b23c953b3b7d:
Fix bazel coverage false negative
+ 0c74741742301abcf67452a7f591daec1c3a7635:
Remote: Postpone the block waiting in `afterCommand` to
`BlockWaitingModule` (#14833)
+ 3297d9234e15515aa91cc887b3b12db7e1040b02:
Switch to `ProcessHandle` for getting the PID (#14842)
+ a987b98ea0d6da2656c4115568ef9cbe8a164550:
Fix uses of std++ on bsd
+ d184e4883bb7fc21de2f7aeea4304994de27e9ea:
Remote: handle early return of compressed blobs uploads
+ 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
Add removeprefix/removesuffix to Starlark strings
+ d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
Fix default CPU for macOS and iOS (#14923)
+ cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
Add paramfile support for def_parser, since in rare cases on
Windows command line character limit was reached.
+ 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
Normalize rpath entries to guard against missing default solib
dir
+ 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
Fix aggressive params file assumption
+ c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
Fix precompiled libs not in runfiles of cc_shared_library
(#14943)
+ 764614e0f0287125269e7a92e909a44624bcb360:
Bzlmod: Allow multiple `use_extension`s on the same extension
(#14945)
+ fa761f84994f18db383fbe9aaea524e4385da13a:
Fix typo in `apple_common.platform` docs
+ f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
Yield a Proxy for addresses without protocol
+ 8cefb8bed4ac82df8640682517372a9249732352:
Avoid merging URLs in HttpUtils
+ b4804807fc2c184cc36df9e69e472942c01941b8:
Make protocOpts() public. (#14952)
+ 113eaca5862c48797654ae2a3acbb6e15d761485:
Do not hide BulkTransferException messages when there were more
than one exception
+ b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
merkle_tree_cache: change default size to 1000
+ f15e0c7224ecc5473d4972afc436e28df35c4e5a:
Add --experimental_repository_cache_urls_as_default_canonical_id
to help detect broken repository URLs (#14989)
+ f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
Expose the logic to read user netrc file
+ b858ec39aebd7e586af5438aa2035db2adebf9a4:
Correct cpu and os values of `local_config_cc_toolchains` targets
+ 5e79972c05d89280f0cf1fa620f807366847bac6:
Expose CoverageOutputGenerator on a Fragment (#14997)
+ 78f03110e0dab42f37e427fd524e72706e036d74:
Correct error runfiles cc_shared_library (#14998)
+ 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
[5.1] Adding Starlark dependencies to the package //external
(#14991)
+ a73aa12be65454ac8cfb5a8f3e056c420402f997:
Remote: Fix crashes with InterruptedException when using http
cache.
+ f8707c07f153ac4ac2ec4b210321f1a16343006d:
Account for interface libraries in cc_shared_library
+ a570f5fdb1618a6c272d18bebaa712d3b2af3975:
Fix coverage runfiles directory issue
+ 95de355e4524a6339c0e807b60d333c36c40bdc7:
Do not validate input-only settings in transitions (#15048)
+ 71747ccc9d0032a865854613329362563c0574df:
Filter out system headers on macOS.
+ cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
Update Bazel bootstrap documentation and remove obsolete flags.
(#15065)
+ 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
[5.1] Undocument --bes_best_effort (#15066)
+ 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
Fix conflicting actions error when specifying
--host_macos_minimum_os (#15068)
+ f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
[5.1] Remote: Action should not be successful and cached if
outputs were not created (#15071)
+ 00d74ff737cccd60305ee58d85313556a077152a:
Support decompressing zstd tar archives for repository rules.
+ f5857830bb68bd05ffc257506575ed37a8128933:
Remote: Don't check TreeArtifact output
+ efb2b80953983dce499d453a9f55a74ffaf8c42d:
osx_cc_wrapper: Only expand existing response files
+ c771c43b870fb8618db7bdab6725ab40cac4976d:
Remote: Fix crashes by InterruptedException when dynamic
execution is enabled. (#15091)
+ 3785677cc84fc4024fda85575c05efbde5d512fc:
Use python3 on macOS
+ 815d9e499a32fd4d87525ac0c698c293cf26433d:
Release 5.1.0 (2022-03-24)
+ 1fbb69e366034484887e00c6006c7b79508765ed:
Prepare 5.1.1 release
+ df153df9656e0e197f67622bb11f7d77e19238a0:
Fix CODEOWNERS syntax
+ 2b92a3111e83a4d14934059afd0f51161a41276f:
Remote: Don't check declared outputs for failed action
+ b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
Upgrade abseil version to the latest
+ c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
Revert default export all symbols on Windows
+ 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
Support ZIP files with total number of disks = 0
+ 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
Release 5.1.1 (2022-04-08)
+ 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
Update CODEOWNERS
+ bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
[5.2.0] Update java_tools 11.7.1 (#15231)
+ 9c98120f33579b72561e02826d9fccf222eccb3c:
Add support for .ar archives (and .deb files)
+ d3435b09d89f25bf5008ef3b9c870c835d51a8da:
Seperate GetSelfPath implementation for Blaze and Bazel
+ c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
Include jdk.crypto.mscapi in minimized Windows embedded JDK
+ 299022ca2dc49b6cb27b2674f933755306ae8b9b:
remote: Proactively close the ZstdInputStream in
ZstdDecompressingOutputStream.
+ 27707995cc6576ed1f51fbdb199ff8512e8418c9:
Collect coverage from cc_binary data deps of java_test
+ 3442179d240e01ef13b0fa7814db7366bad5ffac:
Configure Apple crosstool to return a complete target triple
that includes minimum OS version and target environment
+ bb6f1a7ce79168055ccd62629da07d46a52b930d:
Collect C++ lcov coverage if runtime object not in runfiles
+ dbb6e9954b6e4423f727feb2719ffc75a93b514b:
Fixing dependencies of //external package
+ f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
[5.2] Upgrade Google Auth Version (#15383)
+ a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
Fix chocolatey package - docsUrl must not 404 (#15395)
+ fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
Fix cache leak when applying transitions when only a rule's
attributes change.
+ ad74d5243917bb27a37e38d151a4a3c8a49947eb:
Fix checking remote cache for omitted files in buildevent file
(#15405)
+ ac219103d8798965b775db548d7b9214ecd78f73:
fix(bzlmod): throw on json parse exception
+ 3d85b88609a362857d8ee3c0432a37d30268a8a2:
Add a flag to expose undeclared test outputs in unzipped form.
(#15431)
+ abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
+ 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
Catch NumberFormatException while trying to parse thread id.
+ 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
Improve the --sandbox_debug error message
+ 0a2a43f9aab1e3875f03f643f6414eb67834c883:
Set keywords on appropriate lifecycle events.
+ 394ddb82b311ea7edbe2522736b0b0202903ddb6:
Record additional profiling information for remotely executed
actions.
+ 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
Fix downloading remote execution output files inside output
dirs. (#15444)
+ 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
Fix android emulator darwin_arm64 select
+ 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
Fix --use_top_level_targets_for_symlinks with aliases (#15446)
+ fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
Filter libtool warning about table of contents
+ 26f878325e915e0905626a0e4c8bbacffd72f875:
Unify sandbox/remote handling of empty TreeArtifact inputs
(#15449)
+ 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
Revert "Fixes incorrect install names on darwin platforms"
+ e133e66f715bac17bf5848e4440c089a8c8d3fd9:
config doesn't error on duplicate `--define` values (#15473)
+ 84d59176622b76223828e61709179dbd5f0c9f8d:
Collect coverage from cc_binary data deps of py_test (#15298)
+ 519d2daacfff3de6ffabfc5827621fa835e1c815:
SolibSymlinkAction does not need exec platform or properties
+ 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
Let Starlark tests inherit env variables (#15217)
+ 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
Update PythonZipper action to use CommandLineItem.CapturingMapFn
+ 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
Make `coverage --combined_report=lcov` skip incompatible tests
+ 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
Disable ReturnValueIgnored checks to unblock java_tools release
+ 0120118893261968bdf116ef215655c428428fa8:
Bump the limit of Bazel install base size (#15585)
+ 668805aace9bf96f78595fc2a122027a3000ceac:
Upgrade zlib to 1.2.12
+ 4d900ceea12919ad62012830a95e51f9ec1a48bb:
[5.2] Remote: Fix a bug that outputs of actions tagged with
no-remote are u... (#15453)
+ b703cb9b999e243d776b7620468e48f450c0ce3a:
Add feature to produce serialized diagnostics files (#15600)
+ 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
Release 5.2.0 (2022-06-07)
+ 536f8d97991d891fc7db333af1a5262497d85173:
Fix fail message construction in cc_shared_library
+ 2d42925ae80c0fb007aa39f4e210122611897255:
Define cc-compiler-darwin in Xcode toolchain
+ a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
Fix alwayslink in objc_import
+ d273cb62f43ef8169415cf60fc96e503ea2ad823:
Unify URL/URLs parameter code across http_archive, http_file,
http_jar
+ fea32be42928c84463aa1f335b5722a1f6b8c93a:
Preserve --experimental_allow_unresolved_symlinks in exec cfg
+ e4bc370b226eb0cc536b55641640266345a214ec:
Ck/cherry pick cc shared library (#15754)
+ dbdfa07e92f99497be9c14265611ad2920161483:
Let Starlark executable rules specify their environment (#15766)
+ e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
Fix string formatting when java_home path is missing.
+ d54a288e6c79c740b9c93dfc31ee345d6a5332af:
Optionally enable LLVM profile continuous mode
+ ad17b44cdc192277fafb0d0e204962b2b924dba8:
Print remote execution message when the action times out (#15772)
+ 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
Add missing line to cherrypick
e4bc370b226eb0cc536b55641640266345a214ec (#15784)
+ 804b4747152a59bc2965be2db85839b8b2764fc7:
Replace strdupa with strdup
+ 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
Bzlmod: Better canonical repo names for modules with overrides
(#15793)
+ d4663a1c950d618c5b15a3e00fb733987cbf45cc:
Add repo env test (#15768)
+ 594962cb283dcd71b736e0450453903911a8c85a:
Add is_root struct field to bazel_module (#15815)
+ 3dd2b932d42fe86112899550d21452409cb3c4b0:
Fix null pointer crash with `bazel coverage` on only
incompatible tests
+ 4175018b47800db28c390d39fefbd266b5d674bd:
Add util for finding credential helper to use
+ 3ea9eb2e363860c9305a987fa22a059afd35598d:
Merge ManifestMergerAction-related commits into release-5.3.0
(#15824)
+ 64571a428ffe2bf09f1a5eea13e770a7d0381620:
Ck/cherrypick 15669 (#15788)
+ 1404651cafe5c26c5dae469e9126de53c2f4f024:
Create output directories for remote execution (#15818)
+ ae523f82d39daf01cf31e40733de0c6345f0935c:
Use tree artifacts in bootclasspath rule
+ 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
[credentialhelper] Add types to communicate with the subprocess
+ 06ca634e10f17023022ab591a55aabdd9fb57b12:
Add a flag to force Bazel to download certain artifacts when
using --remote_download_minimal (#15870)
+ d35f923b098e4dc9c90b1ab66b413c216bdee638:
RemoteExecutionService: fix outputs not being uploaded
+ 78af34f9f25b0c8fbf597a794a5162f0014629c5:
Cherry-pick proto_lang_toolchain Starlarkfication and
proto_common module (#15854)
+ afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
Fix behavior of `print()` in module extensions
+ 6714c30507edc70ec84f8c97d47cffc497356c0b:
[credentialhelper] Implement invoking credential helper as
subprocess
+ 0f05904171d187e6abacb431b3d7494423b027ab:
Add register_{execution_platforms,toolchains} directives to
MODULE.bazel files (#15852)
+ 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
[remote] Improve .netrc test in RemoteModuleTest
+ aa2a1f3afe2f10baab5befcafb39df14cbffc743:
Fix ZipDecompressor windows 0x80 (file attribute normal)
+ 30f16e53cb36a5d506665be7553e785d52772e2d:
Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
+ 2a8d0ad7103511a94382aef41821a315bf8144b7:
target pattern file: allow comments
+ 6f732052654ec37192450c795bb28dd0aad559cd:
Add factory for creating paths relative to well-known roots
(#15931)
+ 32cc8e638b91816f427b74266f6a8da6fb605419:
Update CODEOWNERS (#15910)
+ 63bc14b095f1ea4043024e7fe1f9c476968897c5:
Implement native analysis_test call. (#15940)
+ 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
Increase osx_cc_configure timeouts
+ cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
Allow string_list flags to be set via repeated flag uses
+ 05e758d4bc18fc9d9e189526381a06e4399056a2:
[credentialhelper] Add parser for flag syntax (#15929)
+ e4ee34416ef18094496ab54446e70cb62cd509e6:
Docs should mention the new no-remote-cache-upload tag (#15965)
+ 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
Add netrc support to --bes_backend (#15970)
+ c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
Add CommandLinePathFactory to CommandEnvironment (#15971)
+ 508f18576ab5327bd623db6b476511ac2089d0fa:
Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
+ 14c944a5386eccbcfbe8389afb6c518582b11270:
Wire up credential helper to command-line flag(s) (#15976)
+ 04c373b708390341be4ceb8eb5b2f8561385cb11:
Add `--output=files` mode to cquery (#15979)
+ edfe2a17e3434cce660757f59b14f2e9d6ab944e:
Make cpp assembly file extensions case sensitive again
+ 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
Prevent aspects from executing on incompatible targets (#15984)
+ f440f8ec3f63e5d663e1f9d9614f05a39422102a:
Remote: Fix performance regression in "upload missing inputs".
(#15998)
+ 0109031a2818b217b78026055b972da5901656f5:
Updated Codeowners file (#16032)
+ 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
Propagate the error message when a credential helper fails.
(#16030)
+ a8dacc7832b04fe1756cd7adce72f2572f357eee:
Migrate legacy desugar wrapper to new rlocation() (#16025)
+ 11368be4ac24108f18b1965162ad27f207c074f9:
Correctly report errors thrown by CommandLinePathFactory#create.
+ 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
Fix an issue that
`incompatible_remote_build_event_upload_respect_no_… (#16045)
+ e745468461f93839491a4f80d0c1883d9007f9c0:
Fix rpath for binaries in external repositories (#16079)
+ 83041b145d3966eb353aacb22b7e33ad01d9a239:
Refactor combined cache. (#16110)
+ c62496f7b76da473cb1102798373f552ba2f434d:
C++: Add compound error linked statically but not exported
(#16113)
```
Important changes:
- alias() can now select() directly on constraint_value()
Fixes https://github.com/bazelbuild/bazel/issues/13047.
Closes #14310.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Make protocOpts() publicly accessible.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
Closes #14971.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
Closes #14849.
- none
RELNOTES:none
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
- Added new register_{execution_platforms,toolchains} directives to
the MODULE.bazel file, to replace the
{execution_platforms,toolchains}_to_register attributes on the
module() directive.
- Add support for fetching RPC credentials from credential helper.
Progress on https://github.com/bazelbuild/bazel/issues/15856
Closes #15947.
- `cquery`'s new output mode
[`--output=files`](https://bazel.build/docs/cquery#files-output)
lists the output files of the targets matching the query. It
takes the current value of `--output_groups` into account.
Closes #15552.
- Fix for desugaring failure on Bazel+Android+Windows build
scenario.
This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
## Release 6.0.0-pre.20220816.1 (2022-08-19)
```
Baseline: 70ccf591f21e0c0148554244b34f02869abb7d7b
```
Important changes:
- Migrate main_dex_list_creator to D8 (DX deprecation)
This release contains contributions from many people at Google, as well as Fabian Meumertzheim.
## Release 6.0.0-pre.20220810.1 (2022-08-18)
```
Baseline: 5767cba4044c2bfd8a4c9596c44d2363630b489d
```
Incompatible changes:
- Added a new flag
--incompatible_unambiguous_label_stringification, which causes
labels in the main repo to stringify into unambiguous forms
starting with an @. See
https://github.com/bazelbuild/bazel/issues/15916 for more
information.
This release contains contributions from many people at Google, as well as Philipp Schrader.
## Release 6.0.0-pre.20220804.3 (2022-08-11)
```
Baseline: 8152657c82b542a3da2ed39333941beefdeeeece
```
Important changes:
- `cquery`'s new output mode
[`--output=files`](https://bazel.build/docs/cquery#files-output)
lists the output files of the targets matching the query. It
takes the current value of `--output_groups` into account.
- Change singlejar metadata to report Created-By Bazel
- Add support for fetching RPC credentials from credential helper.
- Revert interface_deps back to implementation_deps after problem
reported in. Use `buildozer 'rename deps implementation_deps'
//...:%cc_library; buildozer 'rename interface_deps deps'
//...:%cc_library`
- Fix for desugaring failure on Bazel+Android+Windows build
scenario.
- D8 is the default desugarer
This release contains contributions from many people at Google, as well as Adam Azarchs, Ara Nguyen, Benjamin Peterson, David Sanderson, dhmemi, Eric Song, Fabian Meumertzheim, Greg Roodt, Jeremy Volkman, jheaff1, Jonathan Gerrish, Jon Shea, Keith Smiley, Patrick Balestra, Philipp Schrader, Pras Velagapudi, Roman Salvador, Yannic Bonenberger.
## Release 6.0.0-pre.20220720.3 (2022-08-02)
```
Baseline: 4cd266aa1dfa53d8c8de44f7895edcfd46f74725
Cherry picks:
+ f706da832996ab30ddd8784f2af697a3bb62852b:
Requires delayed release
```
Important changes:
- Added new register_{execution_platforms,toolchains} directives to
the MODULE.bazel file, to replace the
{execution_platforms,toolchains}_to_register attributes on the
module() directive.
- The legacy pkg_tar no longer supports the ability to untar and
repackage an input tar file (`deps` attribute). Users needed that
capability must switch to github.com/bazelbuild/rules_pkg.
This release contains contributions from many people at Google, as well as Emil Kattainen, Jason Tan, Keith Smiley, Luis Fernando Pino Duque, rustberry, Son Luong Ngoc, Yannic Bonenberger, Yannic.
## Release 6.0.0-pre.20220706.4 (2022-07-21)
```
Baseline: ea8b99cf2a5914c67e4bd7651d83df98912bb1ed
Cherry picks:
+ 107a54edcf75dc026cf643df82c13fe32a1eb043:
Fix flag file regexp broken by
https://github.com/bazelbuild/bazel/commit/cb2cd9fd2b65311da92777
7c35939701add5b879.
+ 1e7127dec96b69b8cd5d332551f8798433d6057e:
Reinstate legacy worker flag file behaviour when not using
--experimental_worker_strict_flagfiles.
```
Incompatible changes:
- Flag --experimental_local_memory_estimate removed.
This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Tomas Volf, Yannic Bonenberger.
## Release 6.0.0-pre.20220630.1 (2022-07-11)
```
Baseline: fbf9277975ceb7be5255fd5cf449e22706d25d3f
```
Important changes:
- Removed the obsolete --incompatible_applicable_licenses flag. The
feature is permanently enabled.
- embedded_tools packages R8 desugarer again
- Bazel now selects sh path based on execution platform instead of
host platform, making it possible to execute sh actions in
multiplatform builds. --shell_executable now only applies to
actions configured for host.
- labels in genquery.scope are no longer configured.
- When Bzlmod is enabled, all Bzlmod-generated repos will have an
extra '@' prepended to their names. This effectively enables the
canonical label literal syntax for Bzlmod-generated repos
(`@@canonicalRepoName//pkg:target`; see
https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
t7bdUsjz6JFC4/edit?usp=sharing).
- Exposed `CcSharedLibraryInfo` to Starlark builtins.
- Enable --use_top_level_targets_for_symlinks by default.
- Singlejar accepts runtime Created-By field
- --noincompatible_disable_managed_directories, and with that,
workspace(managed_directories=) is not supported anymore.
- Bazel supports D8 desugaring, albeit without persistent workers
- Remove mtime options from pkg_tar. Users should migrate to
@rules_pkg.
- Test for experimental multiplexed persistent resource processor.
This release contains contributions from many people at Google, as well as arun.sampathkumar, Benjamin Lee, Benjamin Peterson, Ed Schouten, Emil Kattainen, Fabian Brandstetter, Fabian Meumertzheim, hvadehra, Krishna Ersson, Philipp Schrader, Stephan Wolski, Steve Vermeulen, Xdng Yng.
## Release 6.0.0-pre.20220608.2 (2022-06-15)
```
Baseline: 4f5e325e337957ebea139dc52a00027acbbb572f
Cherry picks:
+ 442155f19f2c2764839327c8be3d3ab70edf1910:
Automated rollback of commit
a0a0d09debd090fbe74bba59b5d6d3107aaf97e9.
```
Important changes:
- Aspects can now define and use exec groups using the same API as
rules.
This release contains contributions from many people at Google, as well as Kaiqin Chen.
## Release 6.0.0-pre.20220601.1 (2022-06-10)
```
Baseline: 93f6e51a8756021f6e6a027d4520415385fe9293
```
Incompatible changes:
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since the path would refer to a
netrc file inside the external repository by absolute path.
Migration should be straightforward.
- genrule switched to use exec transition instead of host. This can
break targets with hardcoded output paths. To avoid using
hardcoded paths use make variables, see
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
defined_label_variables
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since...
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- The --incompatible_existing_rules_immutable_view flag has been
flipped to true. See
https://github.com/bazelbuild/bazel/issues/13907 for
migration notes.
- Split up the C++ archive from the C++ link action and set
`CppArchive` as mnemonic.
- workspace(managed_directories=) is not available anymore.
- --legacy_important_outputs now has a default of false.
- --legacy_important_outputs default reverted to true.
- objc_library now requires CcInfo in its deps. If this breaks
you, add empty CcInfo() to your rule.
Important changes:
- Deprecate --incompatible_applicable_licenses flag, in preparation
for removal in Bazel 6.x.
- Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
- The Build Event Protocol now contains file digests and sizes
along with the file name and URI.
- Refactor system suspend event handling.
- alias() can now select() directly on constraint_value()
- Allow \a \b \f \v escape sequences in Starlark.
- Match remote and local xcode version by most granular version.
- Adds `--experimental_worker_multiplex_sandboxing` flag that
controls whether to sandbox multiplex workers that support it.
- provider() has a new parameter: init, a callback for performing
pre-processing and validation of field values. Iff this parameter
is set,
provider() returns a tuple of 2 elements: the usual provider
symbol (which,
when called, invokes init) and a raw constructor (which bypasses
init).
- Tests that fail to create or complete their
`TestAttemptContinuation` by
throwing an `ExecException` will report an `INCOMPLETE` status.
Previously, Bazel
would fail to report any status for the test attempt.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Include more information about configurations in cquery proto
formatted output. This deprecates the configuration field of
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
configuration_id, to
be used instead.
- experimental cc_library.implementation_deps inverted to
interface_deps
- In aquery and cquery proto output, indicate if a configuration is
a
tool or non-tool configuration.
- Include complete configurations in cquery proto output.
- experimental cc_library.implementation_deps inverted to
interface_deps
- Make protocOpts() publicly accessible.
- Add some documentation about how configuration information is
conveyed in cquery proto output.
- Introduces experimental static library linking API under
apple_common.link_multi_arch_static_library
- Further deprecation and removal of pkg_tar. Stop supporting
legacy use of 'files' attribute, where it could be a list of
labels instead of a map of paths to labels.
- Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
its purpose because --all_incompatible_changes would never set
it. The last rule it gated (pkg_tar) is scheduled to be removed
in Bazel 6.x.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- The default dexer is now d8. dx can be optionally enabled using:
--define=android_dexmerger_tool=dx_dexmerger \
--define=android_incremental_dexing_tool=dx_dexbuilder \
--define=android_standalone_dexing_tool=dx_compat_dx \
--use_workers_with_dexbuilder
- Packaging support for deploy JAR embedded JDK files (hermetic
Java).
- Don't stamp cc_common.link actions for tool dependencies.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
- Allow specialization to work with constraint_values.
- Bazel uses the D8 jar from Maven instead of the SDK.
- Make ijar / java_import preserve classes with `@kotlin.Metadata`
annotations
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Add devtools/build/lib/worker:work_request_handlers to the remote
android tools release package. This will be transitively packaged
into all_android_tools.
- Bazel uses the D8 jar from Maven instead of the SDK.
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- Advance android_tools_pkg version to 0.24.0.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Bazel uses the D8 jar from Maven instead of the SDK.
- "blaze config" now only reports info from the last build. To
compare configurations across multiple builds, redirect "blaze
config" output to a file and run your favorite diff tool.
- The --incompatible_override_toolchain_transition flag is now
always set, and will be removed in the future. Thus,
--noincompatible_override_toolchain_transition has no effect, and
the value of the incompatible_use_toolchain_transition parameter
in aspect() and rule() builtins is ignored.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Toolchain types may now be optional, in addition to mandatory.
See https://bazel.build/docs/toolchains#optional-toolchains for
further details.
- Add six to deps of has_services=1 py_proto_librarys.
- pkg_tar(symlinks) has been removed. Users needing that feature
should
migrate to @rules_pkg.
This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, arunkumar9t2, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Jan, Jay Bazuzi, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Luc Bertrand, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas Zayouna, Timothe Peignier, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
## Release 5.2.0 (2022-06-07)
```
Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Cherry picks:
+ becd1494481b96d2bc08055d3d9d4d7968d9702e:
Remote: Cache merkle trees
+ d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
Update DEFAULT_IOS_CPU for M1 arm64 simulator support
+ 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
Compile Apple tools as fat binaries if possible
+ 3c09f3438a966b49a7c1726022c898b390b3a6e5:
Add protobuf as a well known module
+ 3a5b3606a6f5433467a5b49f0188c41411684bf5:
Remote: Merge target-level exec_properties with
--remote_default_exec_properties
+ 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
Add -no_uuid for hermetic macOS toolchain setup
+ f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
Remote: Fixes an issue when --experimental_remote_cache_async
encounter flaky tests.
+ 77a002cce050e861fcc87c89acf7768aa5c97124:
Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
has …
+ 557a7e71eeb5396f2c87c909ddc025fde2678780:
Fixes for the Starlark transition hash computation (#14251)
+ 34c71465f84fa780217926db2e8e5ca3d6d4568c:
Do location expansion in copts of objc_library
+ 50274a9f714616d4735a560db7f617e53fb8d01b:
[5.x] Remote: Add support for compression on gRPC cache (#14277)
+ 61bf2e5b5181cbe34a2f0d584053570943881804:
Automated rollback of commit
34c71465f84fa780217926db2e8e5ca3d6d4568c.
+ 79888fe7369479c398bafe064daa19a7ae30f710:
Silence a zstd-jni GCC warning.
+ 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
Remote: Limit max number of gRPC connections by
--remote_max_connections.
+ fd727ec96d861573dcbad3249d727a94eff84789:
Do location expansion in copts of objc_library
+ 23d096931be9b7247eafa750999dd7feadde14c1:
Fix _is_shared_library_extension_valid
+ 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
Remove merging of java_outputs in JavaPluginInfo.
+ cea5f4f499aa832cf90c68898671869ce79d63f2:
Cherrypick Bzlmod documentation (#14301)
+ 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
Format work requests according to ndjson spec
+ ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
Enable user_link_flags_feature for macosx cc_toolchain_config
+ 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
Remote: Use Action's salt field to differentiate cache across
workspaces.
+ f94898915268be5670fb1e93a16c03e9b14d2a58:
[5.x] Remote: Fix "file not found" error when remote cache is
changed from enabled to disabled. (#14321)
+ 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
Delete marker file before fetching an external repository
+ c05c6261cdb2cacb7c9881c255c0ada435ab5182:
Remote: Fix file counting in merkletree.DirectoryTreeBuilder
+ d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
Fix remote spawn tests for remote_merkle_tree_cache=true
+ 59e16e944200555da377799aa0d9e8d0674d2e27:
Show skipped tests as a warning
+ 76b3c242831f8e88835e3002a831a185a41fcc52:
Build xcode-locator as a universal binary
+ aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
Exit collect_coverage.sh early if LCOV_MERGER is not set.
+ 4256d46327bad8638df91be1a5d4ef83b12b74c7:
Automated rollback of commit
d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
+ dce24350befd08216b3910ae343670015444ff81:
[apple] fix issues compiling C in objc_library for watchos/armv7k
+ bfc24139d93f8643686d91596ba347df2e01966a:
5.x: Remote: Ignore blobs referenced in BEP if the generating
action cannot be cached remotely. (#14389)
+ 5aef53a8884038f3c9f06e6dddb9372196253378:
Remote: Don't blocking-get when acquiring gRPC connections.
(#14420)
+ 005361c895da334beb873901e93aff06d180256e:
Disable IncludeValidation for ObjC in bazel
+ d703b7b4f09fb3c389f99e52bac1f23930280b56:
Update java_tools v11.6
+ 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
Stop remote blob upload if upload is complete. (#14467)
+ dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
[5.x] Make remote BES uploader better (#14472)
+ 2edab739e1f61fe8813230b03396ca46f0790089:
Avoid too verbose warnings in terminal when cache issues
+ 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
Rename --project_id to --bes_instance_name
+ c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
Automated rollback of commit
bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
+ b341802700484d11c775bf02d80f43ba3f33b218:
[apple] support watchos_arm64 in toolchain
+ 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
Disable implicitly collecting baseline coverage for toolchain
targets.
+ 302971e1b3d803069ac949c0085c0d2a3916c8ab:
Automated rollback of commit
7d09b4a15985052670244c277e4357557b4d0039.
+ 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
Bzlmod: Starlarkify default attr values for TypeCheckedTags
+ 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
Fix build after rc4 cherrypicks (#14581)
+ 41feb616ae18e21fdba3868e4c298b0b83012f10:
Release 5.0.0 (2022-01-19)
+ 486d153d1981c3f47129f675de20189667667fa7:
Find runfiles in directories that are themselves runfiles
+ 0de7bb95022057e8b89334f44759cf6f950e131f:
Don't resolve symlinks for --sandbox_base
+ 8b60c90f3641591b65c4e153113aea562f1fab94:
Remove uses of -lstdc++ on darwin
+ 60f757c0831f9fbb2415fb0105f964201faa9fa0:
Allow Label instances as keys in select (#14755)
+ 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
Remote: Only waits for background tasks from remote execution.
+ 8734ccf9847eafb7193388cd9c6fa78faa78283f:
Add the default solib dir to the rpath for cc_imports with
transitions
+ 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
Flip --experimental_worker_allow_json_protocol
+ fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
cpu for tools when host cpu and exec cpu are different
+ 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
Propagate --experimental_cc_implementation_deps to host config
+ 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
Support select() on constraint_value for aliases.
+ 67a133b431ccece22b7dd9a72f0837cff77d4360:
Improve documentation for select()
+ 5356fedd4b6079851b51db27077bf84c7bab16a4:
Cherrypicks for experimental cc_shared_library (#14773)
+ ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
[apple] support tvos_sim_arm64 in toolchain (#14779)
+ a58ddea50b2fd476d183e2e0c077ad6173039b89:
Cherry pick win arm64 (#14794)
+ dc41a20bb045d221a43223a5db6b8b44cd8f1676:
[5.1.0] cherrypick subpackages support (#14780)
+ 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
Add a helper method for rules to depend on the cpp toolchain
type.
+ 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
UrlRewriter should be able to load credentials from .netrc
(#14834)
+ 32d1606dac2fea730abe174c41870b7ee70ae041:
Add "arch" struct field to repository_os
+ 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
[5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
+ c2ddbd1954af5baab63b93f2b055a410a27832c8:
Ignore missing include directory in JDK distribution.
+ 16de03595e21f7bf31818e717505b23c953b3b7d:
Fix bazel coverage false negative
+ 0c74741742301abcf67452a7f591daec1c3a7635:
Remote: Postpone the block waiting in `afterCommand` to
`BlockWaitingModule` (#14833)
+ 3297d9234e15515aa91cc887b3b12db7e1040b02:
Switch to `ProcessHandle` for getting the PID (#14842)
+ a987b98ea0d6da2656c4115568ef9cbe8a164550:
Fix uses of std++ on bsd
+ d184e4883bb7fc21de2f7aeea4304994de27e9ea:
Remote: handle early return of compressed blobs uploads
+ 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
Add removeprefix/removesuffix to Starlark strings
+ d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
Fix default CPU for macOS and iOS (#14923)
+ cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
Add paramfile support for def_parser, since in rare cases on
Windows command line character limit was reached.
+ 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
Normalize rpath entries to guard against missing default solib
dir
+ 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
Fix aggressive params file assumption
+ c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
Fix precompiled libs not in runfiles of cc_shared_library
(#14943)
+ 764614e0f0287125269e7a92e909a44624bcb360:
Bzlmod: Allow multiple `use_extension`s on the same extension
(#14945)
+ fa761f84994f18db383fbe9aaea524e4385da13a:
Fix typo in `apple_common.platform` docs
+ f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
Yield a Proxy for addresses without protocol
+ 8cefb8bed4ac82df8640682517372a9249732352:
Avoid merging URLs in HttpUtils
+ b4804807fc2c184cc36df9e69e472942c01941b8:
Make protocOpts() public. (#14952)
+ 113eaca5862c48797654ae2a3acbb6e15d761485:
Do not hide BulkTransferException messages when there were more
than one exception
+ b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
merkle_tree_cache: change default size to 1000
+ f15e0c7224ecc5473d4972afc436e28df35c4e5a:
Add --experimental_repository_cache_urls_as_default_canonical_id
to help detect broken repository URLs (#14989)
+ f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
Expose the logic to read user netrc file
+ b858ec39aebd7e586af5438aa2035db2adebf9a4:
Correct cpu and os values of `local_config_cc_toolchains` targets
+ 5e79972c05d89280f0cf1fa620f807366847bac6:
Expose CoverageOutputGenerator on a Fragment (#14997)
+ 78f03110e0dab42f37e427fd524e72706e036d74:
Correct error runfiles cc_shared_library (#14998)
+ 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
[5.1] Adding Starlark dependencies to the package //external
(#14991)
+ a73aa12be65454ac8cfb5a8f3e056c420402f997:
Remote: Fix crashes with InterruptedException when using http
cache.
+ f8707c07f153ac4ac2ec4b210321f1a16343006d:
Account for interface libraries in cc_shared_library
+ a570f5fdb1618a6c272d18bebaa712d3b2af3975:
Fix coverage runfiles directory issue
+ 95de355e4524a6339c0e807b60d333c36c40bdc7:
Do not validate input-only settings in transitions (#15048)
+ 71747ccc9d0032a865854613329362563c0574df:
Filter out system headers on macOS.
+ cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
Update Bazel bootstrap documentation and remove obsolete flags.
(#15065)
+ 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
[5.1] Undocument --bes_best_effort (#15066)
+ 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
Fix conflicting actions error when specifying
--host_macos_minimum_os (#15068)
+ f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
[5.1] Remote: Action should not be successful and cached if
outputs were not created (#15071)
+ 00d74ff737cccd60305ee58d85313556a077152a:
Support decompressing zstd tar archives for repository rules.
+ f5857830bb68bd05ffc257506575ed37a8128933:
Remote: Don't check TreeArtifact output
+ efb2b80953983dce499d453a9f55a74ffaf8c42d:
osx_cc_wrapper: Only expand existing response files
+ c771c43b870fb8618db7bdab6725ab40cac4976d:
Remote: Fix crashes by InterruptedException when dynamic
execution is enabled. (#15091)
+ 3785677cc84fc4024fda85575c05efbde5d512fc:
Use python3 on macOS
+ 815d9e499a32fd4d87525ac0c698c293cf26433d:
Release 5.1.0 (2022-03-24)
+ 1fbb69e366034484887e00c6006c7b79508765ed:
Prepare 5.1.1 release
+ df153df9656e0e197f67622bb11f7d77e19238a0:
Fix CODEOWNERS syntax
+ 2b92a3111e83a4d14934059afd0f51161a41276f:
Remote: Don't check declared outputs for failed action
+ b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
Upgrade abseil version to the latest
+ c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
Revert default export all symbols on Windows
+ 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
Support ZIP files with total number of disks = 0
+ 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
Release 5.1.1 (2022-04-08)
+ 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
Update CODEOWNERS
+ bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
[5.2.0] Update java_tools 11.7.1 (#15231)
+ 9c98120f33579b72561e02826d9fccf222eccb3c:
Add support for .ar archives (and .deb files)
+ d3435b09d89f25bf5008ef3b9c870c835d51a8da:
Seperate GetSelfPath implementation for Blaze and Bazel
+ c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
Include jdk.crypto.mscapi in minimized Windows embedded JDK
+ 299022ca2dc49b6cb27b2674f933755306ae8b9b:
remote: Proactively close the ZstdInputStream in
ZstdDecompressingOutputStream.
+ 27707995cc6576ed1f51fbdb199ff8512e8418c9:
Collect coverage from cc_binary data deps of java_test
+ 3442179d240e01ef13b0fa7814db7366bad5ffac:
Configure Apple crosstool to return a complete target triple
that includes minimum OS version and target environment
+ bb6f1a7ce79168055ccd62629da07d46a52b930d:
Collect C++ lcov coverage if runtime object not in runfiles
+ dbb6e9954b6e4423f727feb2719ffc75a93b514b:
Fixing dependencies of //external package
+ f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
[5.2] Upgrade Google Auth Version (#15383)
+ a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
Fix chocolatey package - docsUrl must not 404 (#15395)
+ fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
Fix cache leak when applying transitions when only a rule's
attributes change.
+ ad74d5243917bb27a37e38d151a4a3c8a49947eb:
Fix checking remote cache for omitted files in buildevent file
(#15405)
+ ac219103d8798965b775db548d7b9214ecd78f73:
fix(bzlmod): throw on json parse exception
+ 3d85b88609a362857d8ee3c0432a37d30268a8a2:
Add a flag to expose undeclared test outputs in unzipped form.
(#15431)
+ abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
+ 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
Catch NumberFormatException while trying to parse thread id.
+ 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
Improve the --sandbox_debug error message
+ 0a2a43f9aab1e3875f03f643f6414eb67834c883:
Set keywords on appropriate lifecycle events.
+ 394ddb82b311ea7edbe2522736b0b0202903ddb6:
Record additional profiling information for remotely executed
actions.
+ 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
Fix downloading remote execution output files inside output
dirs. (#15444)
+ 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
Fix android emulator darwin_arm64 select
+ 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
Fix --use_top_level_targets_for_symlinks with aliases (#15446)
+ fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
Filter libtool warning about table of contents
+ 26f878325e915e0905626a0e4c8bbacffd72f875:
Unify sandbox/remote handling of empty TreeArtifact inputs
(#15449)
+ 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
Revert "Fixes incorrect install names on darwin platforms"
+ e133e66f715bac17bf5848e4440c089a8c8d3fd9:
config doesn't error on duplicate `--define` values (#15473)
+ 84d59176622b76223828e61709179dbd5f0c9f8d:
Collect coverage from cc_binary data deps of py_test (#15298)
+ 519d2daacfff3de6ffabfc5827621fa835e1c815:
SolibSymlinkAction does not need exec platform or properties
+ 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
Let Starlark tests inherit env variables (#15217)
+ 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
Update PythonZipper action to use CommandLineItem.CapturingMapFn
+ 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
Make `coverage --combined_report=lcov` skip incompatible tests
+ 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
Disable ReturnValueIgnored checks to unblock java_tools release
+ 0120118893261968bdf116ef215655c428428fa8:
Bump the limit of Bazel install base size (#15585)
+ 668805aace9bf96f78595fc2a122027a3000ceac:
Upgrade zlib to 1.2.12
+ 4d900ceea12919ad62012830a95e51f9ec1a48bb:
[5.2] Remote: Fix a bug that outputs of actions tagged with
no-remote are u... (#15453)
+ b703cb9b999e243d776b7620468e48f450c0ce3a:
Add feature to produce serialized diagnostics files (#15600)
```
Important changes:
- alias() can now select() directly on constraint_value()
Fixes https://github.com/bazelbuild/bazel/issues/13047.
Closes #14310.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Make protocOpts() publicly accessible.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
Closes #14971.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
Closes #14849.
This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Fabian Meumertzheim, hvadehra, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
## Release 6.0.0-pre.20220526.1 (2022-06-02)
```
Baseline: e6bb6fcfcc9b571ef0bbdf039b5ae67954ade222
```
Incompatible changes:
- --legacy_important_outputs now has a default of false.
- --legacy_important_outputs default reverted to true.
Important changes:
- pkg_tar(symlinks) has been removed. Users needing that feature
should
migrate to @rules_pkg.
This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Lee, Benjamin Peterson.
## Release 6.0.0-pre.20220520.1 (2022-05-30)
```
Baseline: 4879106fabdf4af9395743941987d4297d232296
```
Incompatible changes:
- workspace(managed_directories=) is not available anymore.
Important changes:
- Add six to deps of has_services=1 py_proto_librarys.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Christopher Peterson Sauer.
## Release 6.0.0-pre.20220517.1 (2022-05-23)
```
Baseline: 61fd06d92706d64fbcef64f0f54cded91c88afff
```
Incompatible changes:
- Split up the C++ archive from the C++ link action and set
`CppArchive` as mnemonic.
Important changes:
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Bazel uses the D8 jar from Maven instead of the SDK.
- "blaze config" now only reports info from the last build. To
compare configurations across multiple builds, redirect "blaze
config" output to a file and run your favorite diff tool.
- The --incompatible_override_toolchain_transition flag is now
always set, and will be removed in the future. Thus,
--noincompatible_override_toolchain_transition has no effect, and
the value of the incompatible_use_toolchain_transition parameter
in aspect() and rule() builtins is ignored.
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather
than always linking statically when Windows is the _host_).
- Toolchain types may now be optional, in addition to mandatory.
See https://bazel.build/docs/toolchains#optional-toolchains for
further details.
This release contains contributions from many people at Google, as well as Andreas Fuchs, Andrew Klotz, Benjamin Lee, Benjamin Peterson, Chris Clearwater, Christopher Peterson Sauer, Christopher Sauer, Daniel Wagner-Hall, Fabian Meumertzheim, Fredrik Medley, George Prekas, Grzegorz Lukasik, Halil Sener, homuler, John Laxson, John Millikin, Keith Smiley, Matt Clarkson, Peter Mounce, Philipp Schrader, Ryan Beasley, Saleem Abdulrasool, Takeo Sawada, ThomasCJY, Vladimir Tagakov, Xdng Yng.
## Release 6.0.0-pre.20220421.3 (2022-05-03)
```
Baseline: 092884b0118f1b8b14ba2277851baa6dcce5cac2
Cherry picks:
+ 82861c3a6e9761af883b1f6c99eef27da28b3d00:
remove debug statement
+ a5a4198b4bae3e10e30bf48083d037acce39aac3:
Automated rollback of commit
92d760b37722feffd5b1121e4f9a1152d8120946.
```
Important changes:
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host
platform (rather than always linking statically when Windows is
the _host_).
- Add devtools/build/lib/worker:work_request_handlers to the remote
android tools release package. This will be transitively packaged
into all_android_tools.
- Bazel uses the D8 jar from Maven instead of the SDK.
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- Advance android_tools_pkg version to 0.24.0.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Duffany, Daniel Wagner-Hall, Emil Kattainen, Fabian Meumertzheim, hvd, Keith Smiley, Tao Wang, Thomas Chen, ThomasCJY, Tom de Goede.
## Release 6.0.0-pre.20220414.2 (2022-04-26)
```
Baseline: 6872fd230b7fe4a15fa900d16f6f9ddd5726cdc3
Cherry picks:
+ a603c2382ffcc49f344eee73dfcd65aa2332f64f:
Automated rollback of commit
b93f828133e74cb3589ba7ffcfe74d2fe72430cd.
+ 6142eac9153b539661c43dada5e11b552a6f58f6:
Automated rollback of commit
314b0900cec69a9d017ab84e94ee1cc0b6782470.
```
Important changes:
- Bazel uses the D8 jar from Maven instead of the SDK.
- Make ijar / java_import preserve classes with `@kotlin.Metadata`
annotations
- Bazel uses the D8 jar from Maven instead of the SDK.
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
This release contains contributions from many people at Google, as well as Alex Torok, gkorlam, hvadehra, Vasilios Pantazopoulos, Yannic.
## Release 6.0.0-pre.20220411.2 (2022-04-19)
```
Baseline: 8f0034ce1e7854521e259a5eaf71859b1e6f95bc
Cherry picks:
+ a9465dfa4b124e331b8bb3e8d0219ea3dff7cdb1:
Automated rollback of commit
240af807c935225d98b630666000cc03934f2ce7.
```
Important changes:
- Allow specialization to work with constraint_values.
This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Keith Smiley, Noa Resare, Sahin Yort, Thomas Zayouna, Vasilios Pantazopoulos.
## Release 6.0.0-pre.20220407.1 (2022-04-14)
```
Baseline: 9db58e0656d7456e8180e90400c2c94a76bf5c8b
```
Incompatible changes:
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since the path would refer to a
netrc file inside the external repository by absolute path.
Migration should be straightforward.
- genrule switched to use exec transition instead of host. This can
break targets with hardcoded output paths. To avoid using
hardcoded paths use make variables, see
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
defined_label_variables
- this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since...
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- Error Prone now checks for unused return values of additional
methods on `java.lang.Object`, which can be disabled using
`--javacopts=-Xep:ReturnValueIgnored:OFF`
- The --incompatible_existing_rules_immutable_view flag has been
flipped to true. See
https://github.com/bazelbuild/bazel/issues/13907 for
migration notes.
Important changes:
- Deprecate --incompatible_applicable_licenses flag, in preparation
for removal in Bazel 6.x.
- Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
- The Build Event Protocol now contains file digests and sizes
along with the file name and URI.
- Refactor system suspend event handling.
- alias() can now select() directly on constraint_value()
- Allow \a \b \f \v escape sequences in Starlark.
- Match remote and local xcode version by most granular version.
- Adds `--experimental_worker_multiplex_sandboxing` flag that
controls whether to sandbox multiplex workers that support it.
- provider() has a new parameter: init, a callback for performing
pre-processing and validation of field values. Iff this parameter
is set,
provider() returns a tuple of 2 elements: the usual provider
symbol (which,
when called, invokes init) and a raw constructor (which bypasses
init).
- Tests that fail to create or complete their
`TestAttemptContinuation` by
throwing an `ExecException` will report an `INCOMPLETE` status.
Previously, Bazel
would fail to report any status for the test attempt.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Include more information about configurations in cquery proto
formatted output. This deprecates the configuration field of
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
configuration_id, to
be used instead.
- experimental cc_library.implementation_deps inverted to
interface_deps
- In aquery and cquery proto output, indicate if a configuration is
a
tool or non-tool configuration.
- Include complete configurations in cquery proto output.
- experimental cc_library.implementation_deps inverted to
interface_deps
- Make protocOpts() publicly accessible.
- Add some documentation about how configuration information is
conveyed in cquery proto output.
- Introduces experimental static library linking API under
apple_common.link_multi_arch_static_library
- Further deprecation and removal of pkg_tar. Stop supporting
legacy use of 'files' attribute, where it could be a list of
labels instead of a map of paths to labels.
- Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
its purpose because --all_incompatible_changes would never set
it. The last rule it gated (pkg_tar) is scheduled to be removed
in Bazel 6.x.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
$ANDROID_HOME.
- The default dexer is now d8. dx can be optionally enabled using:
--define=android_dexmerger_tool=dx_dexmerger \
--define=android_incremental_dexing_tool=dx_dexbuilder \
--define=android_standalone_dexing_tool=dx_compat_dx \
--use_workers_with_dexbuilder
- Packaging support for deploy JAR embedded JDK files (hermetic
Java).
- Don't stamp cc_common.link actions for tool dependencies.
- Starlark test rules can use the new inherited_environment
parameter of testing.TestEnvironment to specify environment
variables
whose values should be inherited from the shell environment.
- Enable merging permissions during Android manifest merging with
the --merge_android_manifest_permissions flag.
This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Andreas Herrmann, Andrew Katson, arunkumar9t2, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Fredrickson, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Fabian Meumertzheim, floriographygoth, Fredrik Medley, gkgoat1, Greg Estren, Greg, Hannes Kufler, hvadehra, Jan, Jay Bazuzi, jheaff1, Jiawen Chen, Joel Williamson, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Luc Bertrand, Marek uppa, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Ryan Schmidt, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Zayouna, Timothe Peignier, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
## Release 5.1.1 (2022-04-08)
```
Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Cherry picks:
+ becd1494481b96d2bc08055d3d9d4d7968d9702e:
Remote: Cache merkle trees
+ d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
Update DEFAULT_IOS_CPU for M1 arm64 simulator support
+ 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
Compile Apple tools as fat binaries if possible
+ 3c09f3438a966b49a7c1726022c898b390b3a6e5:
Add protobuf as a well known module
+ 3a5b3606a6f5433467a5b49f0188c41411684bf5:
Remote: Merge target-level exec_properties with
--remote_default_exec_properties
+ 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
Add -no_uuid for hermetic macOS toolchain setup
+ f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
Remote: Fixes an issue when --experimental_remote_cache_async
encounter flaky tests.
+ 77a002cce050e861fcc87c89acf7768aa5c97124:
Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
has …
+ 557a7e71eeb5396f2c87c909ddc025fde2678780:
Fixes for the Starlark transition hash computation (#14251)
+ 34c71465f84fa780217926db2e8e5ca3d6d4568c:
Do location expansion in copts of objc_library
+ 50274a9f714616d4735a560db7f617e53fb8d01b:
[5.x] Remote: Add support for compression on gRPC cache (#14277)
+ 61bf2e5b5181cbe34a2f0d584053570943881804:
Automated rollback of commit
34c71465f84fa780217926db2e8e5ca3d6d4568c.
+ 79888fe7369479c398bafe064daa19a7ae30f710:
Silence a zstd-jni GCC warning.
+ 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
Remote: Limit max number of gRPC connections by
--remote_max_connections.
+ fd727ec96d861573dcbad3249d727a94eff84789:
Do location expansion in copts of objc_library
+ 23d096931be9b7247eafa750999dd7feadde14c1:
Fix _is_shared_library_extension_valid
+ 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
Remove merging of java_outputs in JavaPluginInfo.
+ cea5f4f499aa832cf90c68898671869ce79d63f2:
Cherrypick Bzlmod documentation (#14301)
+ 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
Format work requests according to ndjson spec
+ ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
Enable user_link_flags_feature for macosx cc_toolchain_config
+ 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
Remote: Use Action's salt field to differentiate cache across
workspaces.
+ f94898915268be5670fb1e93a16c03e9b14d2a58:
[5.x] Remote: Fix "file not found" error when remote cache is
changed from enabled to disabled. (#14321)
+ 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
Delete marker file before fetching an external repository
+ c05c6261cdb2cacb7c9881c255c0ada435ab5182:
Remote: Fix file counting in merkletree.DirectoryTreeBuilder
+ d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
Fix remote spawn tests for remote_merkle_tree_cache=true
+ 59e16e944200555da377799aa0d9e8d0674d2e27:
Show skipped tests as a warning
+ 76b3c242831f8e88835e3002a831a185a41fcc52:
Build xcode-locator as a universal binary
+ aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
Exit collect_coverage.sh early if LCOV_MERGER is not set.
+ 4256d46327bad8638df91be1a5d4ef83b12b74c7:
Automated rollback of commit
d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
+ dce24350befd08216b3910ae343670015444ff81:
[apple] fix issues compiling C in objc_library for watchos/armv7k
+ bfc24139d93f8643686d91596ba347df2e01966a:
5.x: Remote: Ignore blobs referenced in BEP if the generating
action cannot be cached remotely. (#14389)
+ 5aef53a8884038f3c9f06e6dddb9372196253378:
Remote: Don't blocking-get when acquiring gRPC connections.
(#14420)
+ 005361c895da334beb873901e93aff06d180256e:
Disable IncludeValidation for ObjC in bazel
+ d703b7b4f09fb3c389f99e52bac1f23930280b56:
Update java_tools v11.6
+ 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
Stop remote blob upload if upload is complete. (#14467)
+ dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
[5.x] Make remote BES uploader better (#14472)
+ 2edab739e1f61fe8813230b03396ca46f0790089:
Avoid too verbose warnings in terminal when cache issues
+ 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
Rename --project_id to --bes_instance_name
+ c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
Automated rollback of commit
bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
+ b341802700484d11c775bf02d80f43ba3f33b218:
[apple] support watchos_arm64 in toolchain
+ 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
Disable implicitly collecting baseline coverage for toolchain
targets.
+ 302971e1b3d803069ac949c0085c0d2a3916c8ab:
Automated rollback of commit
7d09b4a15985052670244c277e4357557b4d0039.
+ 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
Bzlmod: Starlarkify default attr values for TypeCheckedTags
+ 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
Fix build after rc4 cherrypicks (#14581)
+ 41feb616ae18e21fdba3868e4c298b0b83012f10:
Release 5.0.0 (2022-01-19)
+ 486d153d1981c3f47129f675de20189667667fa7:
Find runfiles in directories that are themselves runfiles
+ 0de7bb95022057e8b89334f44759cf6f950e131f:
Don't resolve symlinks for --sandbox_base
+ 8b60c90f3641591b65c4e153113aea562f1fab94:
Remove uses of -lstdc++ on darwin
+ 60f757c0831f9fbb2415fb0105f964201faa9fa0:
Allow Label instances as keys in select (#14755)
+ 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
Remote: Only waits for background tasks from remote execution.
+ 8734ccf9847eafb7193388cd9c6fa78faa78283f:
Add the default solib dir to the rpath for cc_imports with
transitions
+ 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
Flip --experimental_worker_allow_json_protocol
+ fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
cpu for tools when host cpu and exec cpu are different
+ 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
Propagate --experimental_cc_implementation_deps to host config
+ 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
Support select() on constraint_value for aliases.
+ 67a133b431ccece22b7dd9a72f0837cff77d4360:
Improve documentation for select()
+ 5356fedd4b6079851b51db27077bf84c7bab16a4:
Cherrypicks for experimental cc_shared_library (#14773)
+ ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
[apple] support tvos_sim_arm64 in toolchain (#14779)
+ a58ddea50b2fd476d183e2e0c077ad6173039b89:
Cherry pick win arm64 (#14794)
+ dc41a20bb045d221a43223a5db6b8b44cd8f1676:
[5.1.0] cherrypick subpackages support (#14780)
+ 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
Add a helper method for rules to depend on the cpp toolchain
type.
+ 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
UrlRewriter should be able to load credentials from .netrc
(#14834)
+ 32d1606dac2fea730abe174c41870b7ee70ae041:
Add "arch" struct field to repository_os
+ 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
[5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
+ c2ddbd1954af5baab63b93f2b055a410a27832c8:
Ignore missing include directory in JDK distribution.
+ 16de03595e21f7bf31818e717505b23c953b3b7d:
Fix bazel coverage false negative
+ 0c74741742301abcf67452a7f591daec1c3a7635:
Remote: Postpone the block waiting in `afterCommand` to
`BlockWaitingModule` (#14833)
+ 3297d9234e15515aa91cc887b3b12db7e1040b02:
Switch to `ProcessHandle` for getting the PID (#14842)
+ a987b98ea0d6da2656c4115568ef9cbe8a164550:
Fix uses of std++ on bsd
+ d184e4883bb7fc21de2f7aeea4304994de27e9ea:
Remote: handle early return of compressed blobs uploads
+ 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
Add removeprefix/removesuffix to Starlark strings
+ d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
Fix default CPU for macOS and iOS (#14923)
+ cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
Add paramfile support for def_parser, since in rare cases on
Windows command line character limit was reached.
+ 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
Normalize rpath entries to guard against missing default solib
dir
+ 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
Fix aggressive params file assumption
+ c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
Fix precompiled libs not in runfiles of cc_shared_library
(#14943)
+ 764614e0f0287125269e7a92e909a44624bcb360:
Bzlmod: Allow multiple `use_extension`s on the same extension
(#14945)
+ fa761f84994f18db383fbe9aaea524e4385da13a:
Fix typo in `apple_common.platform` docs
+ f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
Yield a Proxy for addresses without protocol
+ 8cefb8bed4ac82df8640682517372a9249732352:
Avoid merging URLs in HttpUtils
+ b4804807fc2c184cc36df9e69e472942c01941b8:
Make protocOpts() public. (#14952)
+ 113eaca5862c48797654ae2a3acbb6e15d761485:
Do not hide BulkTransferException messages when there were more
than one exception
+ b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
merkle_tree_cache: change default size to 1000
+ f15e0c7224ecc5473d4972afc436e28df35c4e5a:
Add --experimental_repository_cache_urls_as_default_canonical_id
to help detect broken repository URLs (#14989)
+ f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
Expose the logic to read user netrc file
+ b858ec39aebd7e586af5438aa2035db2adebf9a4:
Correct cpu and os values of `local_config_cc_toolchains` targets
+ 5e79972c05d89280f0cf1fa620f807366847bac6:
Expose CoverageOutputGenerator on a Fragment (#14997)
+ 78f03110e0dab42f37e427fd524e72706e036d74:
Correct error runfiles cc_shared_library (#14998)
+ 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
[5.1] Adding Starlark dependencies to the package //external
(#14991)
+ a73aa12be65454ac8cfb5a8f3e056c420402f997:
Remote: Fix crashes with InterruptedException when using http
cache.
+ f8707c07f153ac4ac2ec4b210321f1a16343006d:
Account for interface libraries in cc_shared_library
+ a570f5fdb1618a6c272d18bebaa712d3b2af3975:
Fix coverage runfiles directory issue
+ 95de355e4524a6339c0e807b60d333c36c40bdc7:
Do not validate input-only settings in transitions (#15048)
+ 71747ccc9d0032a865854613329362563c0574df:
Filter out system headers on macOS.
+ cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
Update Bazel bootstrap documentation and remove obsolete flags.
(#15065)
+ 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
[5.1] Undocument --bes_best_effort (#15066)
+ 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
Fix conflicting actions error when specifying
--host_macos_minimum_os (#15068)
+ f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
[5.1] Remote: Action should not be successful and cached if
outputs were not created (#15071)
+ 00d74ff737cccd60305ee58d85313556a077152a:
Support decompressing zstd tar archives for repository rules.
+ f5857830bb68bd05ffc257506575ed37a8128933:
Remote: Don't check TreeArtifact output
+ efb2b80953983dce499d453a9f55a74ffaf8c42d:
osx_cc_wrapper: Only expand existing response files
+ c771c43b870fb8618db7bdab6725ab40cac4976d:
Remote: Fix crashes by InterruptedException when dynamic
execution is enabled. (#15091)
+ 3785677cc84fc4024fda85575c05efbde5d512fc:
Use python3 on macOS
+ 815d9e499a32fd4d87525ac0c698c293cf26433d:
Release 5.1.0 (2022-03-24)
+ 1fbb69e366034484887e00c6006c7b79508765ed:
Prepare 5.1.1 release
+ df153df9656e0e197f67622bb11f7d77e19238a0:
Fix CODEOWNERS syntax
+ d418245e8cdd6eef9c6ba326f96fd4aabd046fe2:
Remote: Don't check declared outputs for failed action (#15181)
+ ffa2a0b197d1f4ffe2031fd0b1b40da9d126793b:
Upgrade abseil version to the latest (#15183)
+ 8ae15207ecf0be3f45b8cd249077a2c1896e2b09:
Fix windows_export_all_symbols in cc_shared_library (#15190)
+ 94cc0985ea07a2d69ef07ac9d3a9943e094794f2:
Support ZIP files with total number of disks = 0 (#15200)
```
Important changes:
- alias() can now select() directly on constraint_value()
Fixes https://github.com/bazelbuild/bazel/issues/13047.
Closes #14310.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Make protocOpts() publicly accessible.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
Closes #14971.
This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
## Release 5.1.0 (2022-03-24)
```
Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Cherry picks:
+ becd1494481b96d2bc08055d3d9d4d7968d9702e:
Remote: Cache merkle trees
+ d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
Update DEFAULT_IOS_CPU for M1 arm64 simulator support
+ 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
Compile Apple tools as fat binaries if possible
+ 3c09f3438a966b49a7c1726022c898b390b3a6e5:
Add protobuf as a well known module
+ 3a5b3606a6f5433467a5b49f0188c41411684bf5:
Remote: Merge target-level exec_properties with
--remote_default_exec_properties
+ 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
Add -no_uuid for hermetic macOS toolchain setup
+ f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
Remote: Fixes an issue when --experimental_remote_cache_async
encounter flaky tests.
+ 77a002cce050e861fcc87c89acf7768aa5c97124:
Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
has …
+ 557a7e71eeb5396f2c87c909ddc025fde2678780:
Fixes for the Starlark transition hash computation (#14251)
+ 34c71465f84fa780217926db2e8e5ca3d6d4568c:
Do location expansion in copts of objc_library
+ 50274a9f714616d4735a560db7f617e53fb8d01b:
[5.x] Remote: Add support for compression on gRPC cache (#14277)
+ 61bf2e5b5181cbe34a2f0d584053570943881804:
Automated rollback of commit
34c71465f84fa780217926db2e8e5ca3d6d4568c.
+ 79888fe7369479c398bafe064daa19a7ae30f710:
Silence a zstd-jni GCC warning.
+ 8d5973d29d60c0c615838c534ee27f93377cf5af:
Remote: Limit max number of gRPC connections by
--remote_max_connections.
+ fd727ec96d861573dcbad3249d727a94eff84789:
Do location expansion in copts of objc_library
+ 23d096931be9b7247eafa750999dd7feadde14c1:
Fix _is_shared_library_extension_valid
+ 7632928a116efc4e28a02ec9206870663bcaacf7:
Remove merging of java_outputs in JavaPluginInfo.
+ cea5f4f499aa832cf90c68898671869ce79d63f2:
Cherrypick Bzlmod documentation (#14301)
+ 299e50aae9d8c0b7f0d47aa2ce3d2658a3a80a94:
Format work requests according to ndjson spec (#14314)
+ e53ae63c04a7158b78da19bc76ede57a8cc31673:
Enable user_link_flags_feature for macosx cc_toolchain_config
(#14313)
+ b587be37b3b817879d700d7ee55c44cd884b0905:
Remote: Use Action's salt field to differentiate cache across
workspaces. (#14320)
+ f94898915268be5670fb1e93a16c03e9b14d2a58:
[5.x] Remote: Fix "file not found" error when remote cache is
changed from enabled to disabled. (#14321)
+ dc76f74d3a6f77de03c49234386bf0ca7d15bdcc:
Delete marker file before fetching an external repository
(#14323)
+ fabdff40070acf415282543b72cf114e2b5723f6:
Remote: Fix file counting in merkletree.DirectoryTreeBuilder
(#14331)
+ 541ed05702751a5b061b22f1ff98f0cef17af1a5:
Fix remote spawn tests for remote_merkle_tree_cache=true (#14334)
+ aa884df6b09ed19fccd83aad67f39653fde5fbed:
Show skipped tests as a warning (#14345)
+ 6916fc1c4c49134ee76b9a725deddd1e6bcab24a:
Build xcode-locator as a universal binary (#14351)
+ ffa12adb44e86772ae48eeb5a387f172130407fa:
Exit collect_coverage.sh early if LCOV_MERGER is not set.
(#14359)
+ b46de754aba0f24d67cd9c882f8a82428915fae5:
Automated rollback of commit
d84f7998ef8f15e27376a0c8f25b320145c4ba9e. (#14358)
+ 24a340a50a11e255dff656d2ee9b3dcfb093b729:
[apple] fix issues compiling C in objc_library for watchos/armv7k
+ bfc24139d93f8643686d91596ba347df2e01966a:
5.x: Remote: Ignore blobs referenced in BEP if the generating
action cannot be cached remotely. (#14389)
+ 5aef53a8884038f3c9f06e6dddb9372196253378:
Remote: Don't blocking-get when acquiring gRPC connections.
(#14420)
+ 2fb7dfe7b35b5997cc5fbcd1d98612b99419f097:
Disable IncludeValidation for ObjC in bazel (#14440)
+ 7deb940f3840e6ac3233963a9b68227e7f0f4a9e:
Update java_tools v11.6 (#14423)
+ 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
Stop remote blob upload if upload is complete. (#14467)
+ dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
[5.x] Make remote BES uploader better (#14472)
+ d7f134110631641ea8c3f9b19b37165bb177ef2e:
Avoid too verbose warnings in terminal when cache issues (#14504)
+ 2b48c6b9a447756fcb3295b8a75899b96efa7fd4:
Rename --project_id to --bes_instance_name (#14507)
+ 7c7f102576c917acf6c9d6013a5c7c4783bf396d:
Automated rollback of commit
bfdfa6ebfd21b388f1c91f512291c848e1a92a96. (#14515)
+ 9c1c622fed219cb6b9c0656ebe4a4f3c117029b9:
[apple] support watchos_arm64 in toolchain (#14527)
+ 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
Disable implicitly collecting baseline coverage for toolchain
targets.
+ 48a0fc51ccf6a3a263b9f8d96921d84d4243e0e6:
Automated rollback of commit
7d09b4a15985052670244c277e4357557b4d0039.
+ a233aaa649572b7173ea27aceed31cb705d7ba9b:
Bzlmod: Starlarkify default attr values for TypeCheckedTags
+ 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
Fix build after rc4 cherrypicks (#14581)
+ 41feb616ae18e21fdba3868e4c298b0b83012f10:
Release 5.0.0 (2022-01-19)
+ d53f53cf5cc05c738a9857ca95059ce8903107cd:
Find runfiles in directories that are themselves runfiles
(#14737)
+ 167e79f08a95ae14edfb44d85452c9c74e0f1a3c:
Don't resolve symlinks for --sandbox_base (#14748)
+ 22bede95a5a74c61571d3b50c14488b0e922ff63:
Remove uses of -lstdc++ on darwin (#14750)
+ 60f757c0831f9fbb2415fb0105f964201faa9fa0:
Allow Label instances as keys in select (#14755)
+ a5f2813acf3e31aeb3037d80a6f9d7fddf76a1c8:
Remote: Only waits for background tasks from remote execution.
(#14752)
+ d17a769965f12363f339c7b93524f49dbcdd1b1e:
Add the default solib dir to the rpath for cc_imports with
transitions (#14757)
+ 53ee76e96365bdea88847f77706d55f2c39b9273:
Flip --experimental_worker_allow_json_protocol (#14749)
+ 21ff46a639a83084975251ca7c21cfc8d74763eb:
Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
cpu for tools when host cpu and exec cpu are different (#14751)
+ 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
Propagate --experimental_cc_implementation_deps to host config
+ 0df1851f0759279d84c79ea6731552437c95ce65:
Support select() on constraint_value for aliases. (#14754)
+ 58ecec37747636b3483bbcba29a7f3e0e2372697:
Improve documentation for select() (#14769)
+ 5356fedd4b6079851b51db27077bf84c7bab16a4:
Cherrypicks for experimental cc_shared_library (#14773)
+ ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
[apple] support tvos_sim_arm64 in toolchain (#14779)
+ a58ddea50b2fd476d183e2e0c077ad6173039b89:
Cherry pick win arm64 (#14794)
+ dc41a20bb045d221a43223a5db6b8b44cd8f1676:
[5.1.0] cherrypick subpackages support (#14780)
+ af34c452c12dae8758340dc5c284cf30f3c80302:
Add a helper method for rules to depend on the cpp toolchain
type. (#14795)
+ 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
UrlRewriter should be able to load credentials from .netrc
(#14834)
+ 65904046031325c418734dfda994bdeff4134160:
Add "arch" struct field to repository_os (#14835)
+ 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
[5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
+ 59384ddee429ca363022c2a03b62a5a9a43c31c4:
Ignore missing include directory in JDK distribution. (#14832)
+ 344e8f8e97db2e2aa9b2fce7d68083a7549e4bc6:
Fix bazel coverage false negative (#14836)
+ 0c74741742301abcf67452a7f591daec1c3a7635:
Remote: Postpone the block waiting in `afterCommand` to
`BlockWaitingModule` (#14833)
+ 3297d9234e15515aa91cc887b3b12db7e1040b02:
Switch to `ProcessHandle` for getting the PID (#14842)
+ 031a772acfd304fb5678e6a53e6c4ac3b99103ff:
Fix uses of std++ on bsd (#14860)
+ 8ebd70b0c97c8bd584647f219be8dd52217cb5cf:
Remote: handle early return of compressed blobs uploads (#14885)
+ 50bb742fc35c04ab422a7ce723160b27d6900e6c:
Add removeprefix/removesuffix to Starlark strings (#14899)
+ d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
Fix default CPU for macOS and iOS (#14923)
+ ed7a10d6170049877a07cf27edaf8db65d17f77b:
Add param file for def parser action (#14925)
+ e624aff6d63dd6264d7ff56ec9650b7a1aeb3a36:
Normalize rpath entries to guard against missing default solib
dir (#14929)
+ c1ecca22d2cb761bd094fcd40eb8b13e826e777e:
Fix aggressive params file assumption (#14930)
+ c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
Fix precompiled libs not in runfiles of cc_shared_library
(#14943)
+ 764614e0f0287125269e7a92e909a44624bcb360:
Bzlmod: Allow multiple `use_extension`s on the same extension
(#14945)
+ 85d7ed68fa7bd84a5a23baf0431cbb04d64d7fa6:
Fix typo in `apple_common.platform` docs (#14958)
+ a6a430540879bd866dfbef5cd048b2a4ab6bd883:
Yield a Proxy for addresses without protocol (#14956)
+ 698da7e563b76633c973ea3029b7e313b69545fd:
Avoid merging URLs in HttpUtils (#14954)
+ b4804807fc2c184cc36df9e69e472942c01941b8:
Make protocOpts() public. (#14952)
+ 61cfa1d01eefb0923e8e3029ab9e92fdfe77ff50:
Do not hide BulkTransferException messages when there were more
than one exception (#14986)
+ 0764821a8c1175fbcbca630d3681901244b33095:
merkle_tree_cache: change default size to 1000 (#14984)
+ f15e0c7224ecc5473d4972afc436e28df35c4e5a:
Add --experimental_repository_cache_urls_as_default_canonical_id
to help detect broken repository URLs (#14989)
+ 87ef5ce4103be75e8d9935e071fa215a481536e1:
Expose the logic to read user netrc file (#14990)
+ 785c7ecafa9b93e700e846397c3a13c320c1dbdd:
Correct cpu and os values of `local_config_cc_toolchains`
targets (#14995)
+ 5e79972c05d89280f0cf1fa620f807366847bac6:
Expose CoverageOutputGenerator on a Fragment (#14997)
+ 78f03110e0dab42f37e427fd524e72706e036d74:
Correct error runfiles cc_shared_library (#14998)
+ 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
[5.1] Adding Starlark dependencies to the package //external
(#14991)
+ 6cd6a27d4480eff91258ef8258b5af1901acde65:
Remote: Fix crashes with InterruptedException when using http
cache. (#14999)
+ 91a580ad198a9d7f179c1822d55f75ba5318e2ce:
Fix interface_library-only libraries_to_link for
cc_shared_library (#15046)
+ 1345938867e5c0c381f46cccf889c7b2b20a867a:
Fix coverage runfiles directory issue (#15047)
+ 95de355e4524a6339c0e807b60d333c36c40bdc7:
Do not validate input-only settings in transitions (#15048)
+ f19d6107bca9aea7742bd66eb3080f29fcf3bd81:
Filter out system headers on macOS. (#15020)
+ cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
Update Bazel bootstrap documentation and remove obsolete flags.
(#15065)
+ 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
[5.1] Undocument --bes_best_effort (#15066)
+ 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
Fix conflicting actions error when specifying
--host_macos_minimum_os (#15068)
+ f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
[5.1] Remote: Action should not be successful and cached if
outputs were not created (#15071)
+ 6d26dc74da2602817d56b0507ec79394c35a3781:
Support decompressing zstd tar archives for repository rules.
(#15087)
+ 376cd472bbf7d81c7feb79563e7894cc3d74151a:
Remote: Don't check TreeArtifact output (#15085)
+ 48b60d22bca0158d194b78481ff86b0ac251243f:
osx_cc_wrapper: Only expand existing response files (#15090)
+ c771c43b870fb8618db7bdab6725ab40cac4976d:
Remote: Fix crashes by InterruptedException when dynamic
execution is enabled. (#15091)
+ 3b2d686f2976e66ca4f93b568f2262a88621855a:
Use python3 on macOS (#15102)
```
Important changes:
- alias() can now select() directly on constraint_value()
Fixes https://github.com/bazelbuild/bazel/issues/13047.
Closes #14310.
- Fixed an issue where Bazel could erroneously report a test passes
in coverage mode without actually running the test.
- Make protocOpts() publicly accessible.
- Add coverage configuration fragment, used to expose
output_generator label.
- Bazel now no longer includes system headers on macOS in coverage
reports (#14969).
Closes #14971.
This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
## Release 6.0.0-pre.20211101.2 (2021-11-11)
```
Baseline: 9c65356cedcf4e68077219c10f5a7bb39d38054b
Cherry picks:
+ 2c9721f9ba11979eee1fd95fe793b52369df99ac:
Automated rollback of commit
9c65356cedcf4e68077219c10f5a7bb39d38054b.
```
Important changes:
- Deprecate --incompatible_applicable_licenses flag, in preparation
for removal in Bazel 6.x.
This release contains contributions from many people at Google, as well as Alex Eagle, Benjamin Peterson, Ben Lee, Fabian Meumertzheim, Fredrik Medley, Keith Smiley, Rahul Butani, Ulf Adams, William Muir.
## Release 6.0.0-pre.20211025.1 (2021-11-03)
```
Baseline: 5c04973b000b6e1819d6b51d238498a0b507c7af
```
Important changes:
- Bazel no longer supports Java 8. From this version on, the
minimum required JDK is OpenJDK 11.
This release contains contributions from many people at Google, as well as Benjamin Peterson, John Laxson, Keith Smiley, Thi Don.
## Release 6.0.0-pre.20211019.1 (2021-10-26)
```
Baseline: 406fc1ba5fae98843c99f89a43dcbdbca0d90274
```
Incompatible changes:
- Remove `--experimental_profile_cpu_usage`.
- flipped --incompatible_java_common_parameters (see #12373)
This release contains contributions from many people at Google, as well as ecngtng, Fabian Meumertzheim, Keith Smiley, Mauricio Galindo, Thaler Benedek.
## Release 5.0.0-pre.20211011.2 (2021-10-20)
```
Baseline: 3b3bad9e774891856c198738c46d547de954b84a
Cherry picks:
+ d8c23189c9118f99cfc3eaac98976b7c6fdacae0:
Automated rollback of commit
2571ce2d9e72ee60326ef524fee1702cb2dd07e7.
```
Incompatible changes:
- Removed --action_graph from the dump command.
- Remove `--{experimental_,}json_trace_compression` option.
Important changes:
- The --experimental_existing_rules_immutable_view flag has been
renamed to --incompatible_existing_rules_immutable_view
This release contains contributions from many people at Google, as well as Alex Eagle, hvadehra, Keith Smiley, Torgil Svensson, Yuval.
## Release 5.0.0-pre.20211006.1 (2021-10-19)
```
Baseline: 681886de2901a2f7920288253674927cf13f1585
```
Important changes:
- incompatible_disable_depset_items is flipped
This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Thomas Carmet, Timothe Peignier.
## Release 5.0.0-pre.20210929.1 (2021-10-07)
```
Baseline: 61a5fae1b49ed067350d93578da268715031df06
```
Important changes:
- The deprecated "relative_to_caller_repository" parameter has been
removed from the Label constructor.
- The toolchain transition is now enabled for all toolchains.
This release contains contributions from many people at Google, as well as Artem V. Navrotskiy, hvadehra, Ikko Ashimine, Paul Gschwendtner, ron-stripe, Yuval K.
## Release 5.0.0-pre.20210923.7 (2021-09-30)
```
Baseline: 9a765c8b498a72e20af6c391bef01e794913c317
Cherry picks:
+ f959a22bc59229b723cfca8c987da210b03b8a8d:
Rollback.
```
Important changes:
- Add support to length-delimited protos as undeclared output
annotations []
This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Jacklyn, Rabi Shanker Guha.
## Release 5.0.0-pre.20210921.1 (2021-09-27)
```
Baseline: 11f1a6d3ce529a63d4b7111c62ae504ceac2a019
```
Incompatible changes:
- Remove --bep_publish_used_heap_size_post_build
- JSON trace profile: rename counter names.
Important changes:
- Adds --experimental_existing_rules_immutable_view flag to make the
native.existing_rule and native.existing_rules functions more
efficient by
returning immutable, lightweight dict-like view objects instead
of mutable
dicts.
This release contains contributions from many people at Google, as well as Wren Turkal.
## Release 5.0.0-pre.20210916.1 (2021-09-23)
```
Baseline: e4a26b6391fd2d3112a29bf81b4397055c854184
```
This release contains contributions from many people at Google, as well as Peter Kasting, Ulrik Falklof.
## Release 5.0.0-pre.20210913.1 (2021-09-17)
```
Baseline: 0017fd23e1ff9aea7241c92a503024e3f2a3425b
```
This release contains contributions from many people at Google, as well as Keith Smiley, Mathieu Olivari, Yannic Bonenberger.
## Release 5.0.0-pre.20210907.1 (2021-09-14)
```
Baseline: 9cb59369a84d9328c2929eefcb58c1b972ab15f2
```
Important changes:
- The `--toolchain_resolution_debug` flag now accepts regexes
matching targets, as well as toolchain types, when choosing what
debug messages to print.
This release contains contributions from many people at Google, as well as Benjamin Peterson, frazze-jobb, Tetsuo Kiso.
## Release 5.0.0-pre.20210831.2 (2021-09-10)
```
Baseline: 14fe5dff967cf91f130746f646d1bb1cfc1053f2
Cherry picks:
+ 6f5c4bb4d17abd6b9654f255c12775eb35638000:
Automated rollback of commit
8181f0abe6591bc14957e6a941a6556fb040ca9f.
```
Important changes:
- The --all_incompatible_changes flag is now a no-op
This release contains contributions from many people at Google, as well as Keith Smiley, kekxv, ron-stripe, Sergey Tyurin.
## Release 5.0.0-pre.20210826.1 (2021-09-03)
```
Baseline: f53c389dbd4b0ae66307e9bd4a72b36b3d284ec3
```
Incompatible changes:
- Removing java_common.javac_jar Starlark call.
- native.existing_rule now returns select values in a form that is
accepted by rule instantiation. This is a breaking API change
because there is some code that relies on the precise type
returned, including brittle workarounds for this bug specifically
and insufficiently flexible workarounds for other issues with the
intersection of select and native.existing_rule.
- flipped incompatible_use_toolchain_resolution_for_java_rules, see
#7849
- Query output=xml/proto/location for source files will now show
the location of line 1 of the source file (as the new default)
instead of its location in the BUILD file.
- Specifying a target pattern underneath a directory specified by
.bazelignore will now emit a warning, not an error.
- Query `--order_output=auto` will now sort lexicographically.
However, when `somepath` is used as a top level function (e.g.
`query 'somepath(a, b)'`), it will continue to output in
dependency order. If you do not want the lexicographical output
ordering, specify another `--order_output` value (`no`, `deps` or
`full`) based on what ordering you require.
- In the build event stream,
BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
Its value was always mostly meaningless.
BuildMetrics.TargetMetrics.targets_configured and
BuildMetrics.ActionSummary.actions_created now include configured
aspect data.
- //visibility:legacy_public has been removed.
- Flip and remove incompatible_dont_collect_so_artifacts
(https://github.com/bazelbuild/bazel/issues/13043).
- Remove flag --experimental_no_product_name_out_symlink: it is
always true.
- The Starlark method generate_dsym in objc fragment has
been deleted. Please use the equivalent apple_generate_dsym in
cpp
fragment instead.
- Native libraries in data attribute are not collected. See
https://github.com/bazelbuild/bazel/issues/13550 for details
- Enforce the `--profile` path to be absolute.
- Enforce the --memory_profile path to be absolute.
- JavaToolchainInfo.jvm_opt returns Depset instead of a list.
- --apple_sdk has been deleted. It is a no-op.
- --bep_publish_used_heap_size_post_build is now a no-op and will
be deleted in a future release. Use --memory_profile=/dev/null
instead.
- Flipped --incompatible_disallow_resource_jars (see
https://github.com/bazelbuild/bazel/issues/13221).
New features:
- Args.add_all and Args.add_joined can now accept closures in
map_each if explicitly enabled via allow_closure.
- Add `--bes_header` flag to pass extra headers to the BES server.
Important changes:
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- none
PAIR=cmita
- The --incompatible_load_python_rules_from_bzl flag is now a no-op.
- Filter all (instead of just C++) source files for coverage output
according to --instrumentation_filter and
--instrument_test_targets.
- The `--incompatible_disable_native_apple_binary_rule` flag has
been added which disables the native `apple_binary` rule. Users
who need to use `apple_binary` directly (if they cannot use one
of the more specific Apple rules) should load it from
https://github.com/bazelbuild/rules_apple.
- The Android rules' --use_singlejar_apkbuilder is now a no-op.
SingleJar will always be used to build APKs.
- dict.setdefault(key, ...) now fails if dict is frozen, even if it
already contains key. This is an incompatible API change.
- Flag --incompatible_objc_provider_remove_compile_info is removed.
See #11359.
- Starlark now permits def statements to be nested (closures).
- native.existing_rule now returns select values in a form that is
accepted by rule instantiation. This is a breaking API change,
though the fallout is expected to be small.
- Starlark now supports lambda (anonymous function) expressions.
- The "test" and "coverage" commands no longer return 3 when a
test action fails because of a system error. Instead, the exit
code
reflects the type of system error.
- The undocumented ctx.expand feature no longer exists.
- Make --legacy_dynamic_scheduler a no-op flag.
- Multiplex persistent workers can now use the JSON protocol.
- native.existing_rule now returns a mutable list, not a tuple, for
a list-valued attributes. This is an incompatible API change.
- Roll back change to have native.existing_rules use list instead
of tuple.
- BEP includes test suite expansions.
- config_setting now honors `visibility` attribute (and defaults to
`//visibility:public`)
- Change the MultiArchSplitTransitionProvider to be based on
platform type + CPU instead of fixed "ios_" + cpu.
- enforce config_setting visibility. See
https://github.com/bazelbuild/bazel/issues/12932 for details.
- add a flag to build v4 signature file
- Added _direct_source_jars output group to Java related targets.
END_PUBLIC
- pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
- Allowing the lipo operations to be conditional in the
linkMultiArchBinary API for Apple binaries. Single architecture
slices are now returned through AppleBinaryOutput and the
Starlark API.
- Release restriction for "-" in the package name for Python
sources. Now `py_binary` and `py_test` targets can have main
source file with "-" in the path.
- Users consuming BEP may assume that a `named_set_of_files` event
will
appear before any event referencing that `named_set` by ID. This
allows consumers
to process the files for such events (eg. `TargetCompleted`)
immediately.
- BEP includes all files from successful actions in requested
output groups.
Previously, an output group's files were excluded if any file in
the output group
was not produced due to a failing action. Users can expect BEP
output to be larger
for failed builds.
- In BEP, TargetComplete.output_group has a new field `incomplete`
indicating that the file_sets field is missing one or more
declared artifacts
whose generating actions failed.
- The flag `--toolchain_resolution_debug` now takes a regex
argument, which is used to check which toolchain types should
have debug info printed. You may use `.*` as an argument to keep
the current behavior of debugging every toolchain type.
- Add runfiles.merge_all() for merging a sequence of runfiles
objects.
- runfiles.merge() and merge_all() now respect
--nested_set_depth_limit.
If you hit the depth limit because you were calling merge() in a
loop, use
merge_all() on a sequence of runfiles objects instead.
- Bazel will no longer create a bazel-out symlink if
--symlink_prefix is specified: the directory pointed to via the
bazel-out symlink is accessible via ${symlink_prefix}-out. If
this causes problems for you, set
--experimental_no_product_name_out_symlink=false in your builds
and file an issue.
- Updates worker protocol with cancellation fields, and adds
experimental_worker_cancellation flag to control cancellation.
- Simplify build failure output by always using `NNN arguments`.
- trim_test_configuration now defaults to on
- Mark genrule.srcs as a source attribute for coverage.
- When using --allow_analysis_failures (for example, via
bazel-skylib's
analysistest with `expect_failure = True`), analysis-time
failures in aspect
implementation functions will now be propagated and saved in
AnalysisFailureInfo, just like analysis-time failures in rules.
- cquery --noimplicit_deps now correctly filters out resolved
cc_toolchains
- Sign apks deterministically.
- Make gcov optional in cc_toolchain tools.
- If --experimental_prefer_mutual_xcode is passed, Bazel will
choose the local default (instead of the newest mutually
available version) if it's available both locally and remotely.
- Remove java_lite_proto_library.strict_deps attribute.
- Generate proguard configurations deterministically.
- Adds a new flag, `--incompatible_enable_cc_test_feature` which
switches from the use of build variables to the feature of the
same name.
- Dropped fragile xz support from built in pkg_tar. Users requiring
xz
compression should switch to bazlebuild/rules_pkg.
- If all strategies of one branch (the local or remote execution
branch) of the `dynamic` strategy fail to even accept (via the
response they give from `canExec`) the action, `dynamic` will now
try to see if the other branch can accept it. (Trying to run it
and it failing will still cause a failure if it was the first
result, this is about strategies claiming they can't even try the
action)
- Add `disable_annotation_processing` option to
`java_common.compile`, which disables any annotation processors
passed to `plugins` or in `exported_plugins` of `deps`
- Remove obsolete --incompatible_prohibit_aapt1
- The minimum Android build tools version for the Android rules is
now 30.0.0
- Adds --experimental_reuse_sandbox_directories flag to reuse
already-created non-worker sandboxes with cleanup.
- --experimental_force_gc_after_build is deprecated and will be
removed soon. Use --bep_publish_used_heap_size_post_build instead
- Forward coverage-instrumented files from non-tool dependencies by
default.
- The used_heap_size_post_build field in BEP is populated when the
--memory_profile flag is set
- --run_validations defaults to true.
- Consider label_keyed_string_dict attributes when gathering
instrumented files for coverage.
- Remove flag
--experimental_forward_instrumented_files_info_by_default, now
that this behavior is the default.
- When using MemoryProfiler with multiple GCs via the
--memory_profile_stable_heap_parameters flag, we do a more
precise calculation of heap used at the end of the build. This
will generally result in lower values.
- --bep_publish_used_heap_size_post_build is deprecated. Use
--memory_profile=/dev/null instead.
- Disable --all_incompatible_changes flag.
This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Andrew Katson, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, bromano, Cameron Mulhern, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, Fabian Meumertzheim, FaBrand, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, Grzegorz Lukasik, Ikko Ashimine, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Omar Zuniga, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rai, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
## Release 4.2.1 (2021-08-30)
```
Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Cherry picks:
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
Use getRunfilesPath for run_under executable path generation.
getRootRelativePath doesn't return a valid runfiles path for
external source files anymore after the recent external source
root change. Also, it won't work for external labels either once
the --nolegacy_external_runfiles becomes default. This fixes
issue #12545.
+ d90ec67fdab9710f649a3c1d374fb6b938b9271a:
Fix NPE when coveragerunner is not set on the toolchain.
+ 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
Fix the classic query package-loading cutoff optimization with
external workspaces.
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
Support Scala3 .tasty files
+ 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
Update to java_tools javac11 release 10.5 (#12647)
+ a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
Fix common prefix for instrumentation filter
+ 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
Fix builds for filegroup targets with incompatible dependencies
+ e43825d0bef359f645e1cabf2164fd2db6ee4a35:
Revert "Remove
--incompatible_blacklisted_protos_requires_proto_info"
+ 082d58de852ebaa640bcf13cf419cbb94eec2b26:
Transform roots along with paths during output deletion.
+ e8835c1c221d76a2d5532d18083eaa04401619b3:
AttributeContainer.Large now handles more than 127 attributes.
+ e1e87349335ac59f9b3df47cee8b999faeaa6d11:
Add an env attribute to all test and binary rule classes
+ a87d7ed2411d5382bac58a20b79e09c464ad13b9:
Take no action to prefetch empty artifacts.
+ 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
Fix a couple of bugs with Incompatible Target Skipping
+ e6670825b1e183f81f5c864aafd425d512fa9ff5:
Pass --host_action_env to host options hostActionEnvironment
attribute
+ 07400c0392e7be163f8a3396fa5cf89ce6705412:
Add --{no,}autodetect_server_javabase.
+ c83366064621d5a265eba14d93a03deff58fe6d8:
Only treat "env" and "env_inherit" attrs specially for native
rules
+ 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
Fix coverage support when using default_java_toolchain. (#12801)
+ 4158a6f512e52516437e00f8d9609a91be7fc195:
Revert JacocoCoverage target to remote_java_tools_java_import
and add a new target for remore_java_tools_filegroup. (#12813)
+ f6d30cf5ef9a8a39fea7072317f89a872387b790:
Add windows_msvc back to conditions in bazel_tools.
+ 6b33bdb1e22514304c0e35ce8e067f2175685245:
Release 4.0.0 (2021-01-21)
+ 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
Fix error message from getPrerequisites to not print internal
details.
+ 27e15ad11410eb1014f5247fd0eeb31a46733c07:
Clean up ConfiguredTargetValueAccessor and
ConfiguredTargetAccessor
+ e87feb8ac9573cef993824f82370d0389570521d:
Move getConfigConditions into ConfiguredTarget.
+ 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
value.
+ 079bb7d69931705bb2b092c9017090e224ef3043:
Clean up old dependencies that are unused since
https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
5ef5702880d5ac7c5c.
+ e03cb63e059420847d6578d7cbfe93f05615c95e:
Update bazelbuild/platforms to a current release. - Roll forward
https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
7f925cf88e0cd5b76a with kythe fix.
+ 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
Update docs and tests to use the @platforms//:incompatible
constraint
+ c71697cf33b0fbbb42fc2910bac83960edc7e855:
Clarify test_suite behaviour in the Platforms docs
+ dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
Enable toolchain resolution for filegroup targets.
+ 24d086446f74606819dc53c3a436caa056ff05b7:
PlatformProviderUtils should ignore targets that don't have the
needed
+ ba60c0b3f9bbd00975c984244839b155e84b4c5d:
ijar: fix manifest sections handling
+ 58bb42ad7ca263a75c6eeef51482f805726663a5:
Revert "Switch to -fdebug-compilation-dir"
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ ad241fbebd90a9f0ad65ccd0658838f57030db68:
Allow cquery to filter out incompatible targets
+ 1782f0ae751569607ef88930c822ac460a1f8bb3:
Patch grpc to fix cares selecting the wrong source when building
for darwin_arm64 cpu.
+ 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
[1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 848a51747a460ab4c5185e4c61ab522a9981cbea:
[2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 9b30172547f2093acb56aedf159a77d5dceffda2:
[3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
Prevent --repo_env from triggering unnecessary fetches
+ 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
Prevent a crash when using --repo_env=VAR without a value
+ 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
Report digest of failed uploads
+ 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
Status error presentation with details
+ 9a70805db543e2fb910e1c55ef3b3567362adf30:
Fix double shutdown of BuildEventArtifactUploader when BES+File
output enabled.
+ 325eb956c92530bdfda54a36a186cae4245a4f7b:
Add rxjava3 to third_party
+ ceaac966a7b977461b69ce9501df6a467f4a93b2:
remote: set executable bit of an input file based on its real
value
+ 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
Remote: correctly implement equals and hashCode.
+ 48648503729d53fdee1322fde2c8e6c05e99cff9:
Fixed an error that bazel binary is not executable when testing
with remote execution.
+ bc54c648aa1f99509c7c36d5e6b570d066689209:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata.
+ 92955e617b5c41713a5163dc0437c2a024b31815:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 2)
+ 75bd1ff8ab56d241916bde36291301fa026b2bab:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 3)
+ 37ee252f3744abc4511f55b5089cc52abd3ba09d:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 4)
+ 71e35b165f924e2649a078fcf6007645d58039af:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 5)
+ 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
Write/QueryWriteStatus logging refinement/addition
+ 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
Remote: gRPC load balancing. (Part 1)
+ e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
Remote: gRPC load balancing. (Part 2)
+ 6667ad7dd77f8d97952133052c17e7779c1430ec:
Remote: gRPC load balancing. (Part 3)
+ 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
Remote: gRPC load balancing. (Part 4)
+ 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
Implement getMessage for BulkTransferException
+ a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
Remote: gRPC load balancing. (Part 5)
+ 7a62c2d4e27e398f440910c81eacc384f38ca8be:
Remote: Add interoperability between Rx and ListenableFuture.
+ 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
Update to latest remote-execution proto
+ dad96301d12aa77eb67399e08265a5f30f5ffd6a:
Set Platform on Action not just Command
+ 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
Remote: Add AsyncTaskCache which is used to deduplicate task
executions and cache the results.
+ 9d0c7325ac810febe565a62fdd875ae0c240b274:
Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
+ f54fe07209acc25340df8d2e02993b1add2deafa:
Add --experimental_repository_disable_download to allow users
disable download for external repos
+ b243584a479eb4481a9bf4f69acc899610a3b630:
Report errors parsing rewriter config file
+ 63bc1c7d0853dc187e4b96a490d733fb29f79664:
Downloader rewriter config has all_blocked_message
+ 495ac923f398443be45c20ab29d183fe47e08911:
Allow UrlRewriter to change protocol, i.e. https->http, and
http->https
+ 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
Allow overriding the hostname and instance name in bytestream://
URIs
+ 0881c80d29acecdfbb58c49156f805e8c50db117:
Don't set requestId on non-multiplex requests.
+ e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
When generating a symlink in _virtual_includes, add the original
header to the 'allowed to use' set too
+ f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
Make SimpleLogHandler not swallow interrupts.
+ f8606e5e76579442a1c6563e718ea54c673f1a04:
linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
+ dac0d40d0eb903f5cb70341398d1a333c19adf3a:
Improve "Common Attributes" section
+ a607d9dc70ac67f1aa2c32ca954177f9c77860be:
Never create more than one process per WorkerMultiplexer.
+ 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
Move sending requests and reading responses for multiplex
workers into separate subthreads.
+ 003cfcde3fd3901c1279ba1db3db3a14536248b4:
Allow use of JSON protocol in multiplex workers.
+ 308bce36cba46095fe41866e703710035ddddada:
Actively kill off still-active workers when stopping work on
interrupt.
+ 8959dff512fe4505af786bcf2ef981ec7082a913:
Add sanitizer support to Apple platforms
+ 32f16e9360f3e1856db1775eb5014b930da2a303:
Fix a Google-internal broken link.
+ c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
Add SHA-1 to subresource integrity format for download()
checksums
+ 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
Remove fallback strategy support for workers, add flag for it in
sandbox.
+ 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
Update to java_tools javac11 10.6 (#13245)
+ 4928295b236ec8f590a7e9d863502bc2f50a77d9:
Allow .S files in C++ Starlark cc_common.compile.
+ 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
Automatic code cleanup.
+ b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
Change short output of worker type to have the same logic as the
worker creation for sandboxing vs. multiplex.
+ e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
More properly destroy workers on interrupt.
+ 7056711eb11b672133274eb29fc93b01dcf088d5:
Make WorkRequestHandler do a GC after some amount of CPU time
has been used on requests. For Bazel and Blaze, defaults to 10s
based on benchmarking.
+ 596653d3cf76e7b208da343e1fde5fe20273a5ff:
Allow tree artifacts to be source or header inputs to
cc_common.compile()
+ 055c93d11ab20cc4479539b24bbdfa5cab78a342:
Switch to path autocompletion after -- for bazel run commands.
+ 807f2a1929e23b60b237c63fadb25af81de2e3c3:
Fix Incompatible Target Skipping for test args
+ 9a5cd854e0613f91d52075973e2454b1e009e1ef:
Fix order of build request id and command id
+ 706f5acd02363e48076dc97e37613fd968932d03:
Fix bazel crash when passing config_setting to
target_compatible_with
+ 61da1d2bf10eabba4c75de959b0374f302d89d70:
Support multiple --bazelrc on command line
+ 5593358a58b66f06c4e421bb48856de94c3fd625:
Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
to
+ 662cf54de7a103db30e04ebae2d2b919437c4846:
Remote: Fix an issue that a failed action could lead to
RuntimeException caused by InterruptedException thrown when
acquiring gRPC connections.
https://github.com/bazelbuild/bazel/issues/13239
+ a3a1763212f29932618b9b9b2f929976ae0e3b6e:
Pass more `--add-exports=` flags
+ d2b942879471786e82f1c96eea8722bbe7919fc1:
Remote: Fixed a bug that remote cache is missed due to
executable bit is changed
+ 616dc264f02907d7b7887285d22307dfe6d097b6:
Fix Bazel Coverage with C++ to work with Remote Execution
+ 5f40d12e741aa30d506eaa15673fb2ae76d29468:
Fix external_path_test with newer Xcode versions.
+ b416193075642017e13c774422b49cb07fb65c23:
Allow using embedded tools in sandboxed spawn runners.
+ eb762d4e7431637e607146b1c191485795047ef9:
Fix racy write of temporary files while staging virtual inputs
for the sandbox.
+ f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
Update platforms_test to not rely on filegroup not using
toolchain
+ 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
Update SkyframeTests to not rely on filegroup not using toolchain
+ 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
Update ConfigurableAttributesTest to not rely on filegroup not
using …
+ 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
Make WorkerExecRoot not be a subclass of SandboxedSpawn.
+ 31db460a45767de0bcd664a6efbe9d163b85b802:
Make WorkerExecRoot not be re-created on each createFileSystem()
call. Preparation for holding a map of existing links, but also
just nicer.
+ a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
Start the file existence check traversal from the execroot base
instead of execroot so that external repo files at
"<execroot>/../<path>" are correctly handled when the sibling
repository layout is enabled.
+ b048282c7893231d3a7191b251804973917b07a4:
Use readdir for cleanExisting in WorkerExecRoot.
+ 270f00dd01fa06cf3e813da5a406be3446de7377:
Add native support for Apple Silicon
+ 8e56b9423e8ad2f7323fb90b19b73858def81e39:
Explicitly state that embedding macOS OpenJDK is for x86_64
+ 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
Remote: Fix a race that AsyncTaskCache#Execution could be reused
after disposed which results in
CancellationException("disposed") propagated to downstream.
+ 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
Remove wrapped_clang params files after use
+ 47edc57806056f3c8764241ed41b8acc72bd2ebf:
Silence swiftmodule timestamp warnings
+ f6e1074b09ebefba185c0531e9cea26b9596c8a9:
Remote: Use shutdownNow() instead of shutdown() in
ChannelConnection#close() as a workaround to a gRPC bug.
+ 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
And mnemonic and label to remote metadata
+ 615e1b16a81b0defc15699ec8027d6ddd70366d1:
Change `set -x` in coverage to be set by var
+ fe4daea99c8cd163793eca84bfb12c8fc437616b:
Bump minimal JDK install base maximum size from 290 to 295 MB.
+ 4840a68cd273a429e46d4114a3973fd11d0e3583:
Remote: Check the return value of ActionOwner.getLabel() since
it could be `null`.
+ 14abe4fd7c3967686a3536939fdc3882e691bca2:
Allow `DiffAwareness` to share precomputed information about the
workspace and propagate it to the `WorkspaceStatusAction`.
+ 082d98772690946ed29c157e60640c97a6e1195b:
Implement available() method for Windows subprocesses.
+ c2bdd034014f66ce14529cc353cda18a32320f6c:
Move --repo_env to common options
+ e09f2743738044095b9d784ea62df16b7f5750e6:
Revert "Documentation for #13110"
+ a165baa250652fdc865ae0df39160be1f7f74c47:
Revert "Clean up RuleContext to use a Table instead of a Map of
Maps."
+ 51fb9e13a864f4f704ae378ea632433bae7ddc31:
Revert "Support execution constraints per exec group"
+ cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
Revert "Allow exec groups to inherit from the rule or other exec
groups."
+ 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
Release 4.1.0 (2021-05-21)
+ 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
Change gceMachineType of highcpu platform from n1-highcpu-32 to
e2-highcpu-32
+ 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
Fix #10127: Remove Python 2 dependency from tools/android.
+ 80c59dea59d4dce39d4b5d21665c3d7313197358:
fix main repo starlark options parsing - now flags passed on the
command line as --@main_workspace//flag and --//flag will both
parse to --//flag. Before this CL, the former maintained its
workspace prefix and we would get different entries for these
two formats.
+ 451b296c3aceb127ebb4a313b6e9608854fa68fa:
Update threshold for long path shortening to be MAX_PATH - 4
+ 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
Force source files to be readable before copying them from
sandbox.
+ 6080c1e07f4229ea72eacd04faa9302e44955a84:
Let workers finish lost races without delaying dynamic execution.
+ ee738dacb5d0089d3f57b15305057cb9ba675e74:
Fix label_flag and label_setting to not have a dependency on the
default
+ 74de0ba4e79341c77b8b85ff4485f92287b6854c:
Java coverage: fix handling of external files
+ 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
[Bazel] Fix mobile-install for python2
+ 763dd0ce6e1644bf895231432f616427a11d385a:
Add `stub_shebang` to `py_runtime`
+ b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
Move use of legacy sandbox -> local fallback to only be used
after all strategies have been tried, and improve messages
around it.
+ 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
Remove restriction on generate_pdb_file to be only used in dbg
and fastbuild mode
+ 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
Check the result of Future.cancel() when cancelling the other
branch of dynamic execution.
+ aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
Update DEFAULT_MACOS_CPU to match host
+ 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
Fix symlink creation on older Windows versions
+ fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
Suppress interrupted status during pool closure
+ 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
Fix Windows developer mode symlinks
+ 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
Respect Starlark options with values in `removeStarlarkOptions()`
+ 7920ffef472b25db3f4e564e5a3a28a4664c666e:
cquery inherits from `test` not `build`
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
Split ExecGroup into a new target.
+ 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
Create a new interface to allow Starlark objects to get a thread
when getIndex is called.
+ d2e21cec31f09b27ef3589f47b0779f34077ca7e:
Renamed ExecGroupCollection to clarify that it is only for
Starlark usage.
+ b9519f92f8ce096107164ca5075feced0e989de7:
Make StarlarkExecGroupContext use AutoValue.
+ 52b1b748b2368820bac2ca94323fb82c39c00e51:
Use a dummy toolchain context for rules that don't have one.
+ 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
Extract a separate StarlarkToolchainContext for starlark-only
operations.
+ b120d4febc571f17e12501ad87fbff32ef94e9bb:
Fix toolchains to support type lookup.
+ dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
ExecGroup.
+ 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
Rename ToolchainCollection.getExecGroups to getExecGroupNames.
+ 10d4473bf476a587e3d9f9b2214581ec420c1919:
BuildViewForTesting should directly call into
ConfiguredTargetFunction.
+ 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
Move exec group tests out of platforms_test and into integration.
+ 7d5493d922761c3ce0037f0025912cc532c55ad7:
Update creating exec groups that explicitly copy from defaults.
+ 8c6382a81237e72dbec24b3850df9481461e0015:
Create a new ExecGroupCollection container to manage exec group
inheritance and exec property parsing.
+ b4b0c321910bc968736ef48e8140528ea7d323cd:
Fix unix toolchain for macos arm64 platform
+ f64f071f44394a33a1be40cb7642e2c881d1e9bb:
Add `required_providers` attribute to Starlark defined aspects.
+ f2cbdcf67ac1990f05a8241ba8dae65795edac82:
Don't ever claim /dev/null is an execpath.
+ ceec93c35ead1bd487e96a5fee46e8d080f88858:
Don't ever claim /dev/null is an execpath.
+ 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
Use the parent directory of the exec root as the input root on
RBE.
+ 4efeac9cb5f85325ed73f64e133a078c483cac01:
Make the Merkle tree computation work in the wake of
https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
9830a6986749b34df5 .
+ b56a2aa709dcb681cfc3faa148a702015ec631d5:
Remote: Use execRoot as input root and do NOT set working
directory by default.
+ ae53991f2e207edacd1352ba94261e2473b79f14:
Remote: Add RemoteExecutionService as a layer between spawn
execution and remote execution.
+ 0c07c2e6571dd4806552213b2237ecb7a908afa4:
Remote: Add remoteCacheable key to execution log
+ 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
Remote: Register "remote" strategy even if remote execution is
not available.
+ 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
Remote: Add --experimental_capture_corrupted_outputs flag.
+ 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
Remote: Report checking cache status before the action is
scheduled to run remotely.
+ ba5b2a7c9448a3681a0d86d80670447e338a06dc:
when writing to local disk cache, open files later in order to
avoid "too many open files"
+ 3551898849a93306ad9b4dfdd7d4667913098efe:
Propagate test envs to xml generation action
+ 9f8c678d7054548865f56f3464f778c751657074:
Remote: Fix a bug that the XML generation is executed even if
test.xml is generated when build with --remote_download_minimal.
+ af42653e6f6bd229142f4678bb256a8c397b4d8d:
Automatic code cleanup.
+ 07a84ce31d9b09853c63c7e373418696dd285dc5:
Remote: Another attempt to fix the CancellationException error
in AsyncTaskCache caused by a race condition.
+ 0f812eb5e561cc5415d0c9931675e58dc37a5850:
Remote: Display download progress when actions are downloading
outputs from remote cache.
+ 18c82168433719b400a705a4a0222969a7a026ba:
Remote: Do not upload empty output to remote cache.
+ 6a138a60e562beeef36003c4814a6b8ce9f253f6:
Fix compiling errors
+ bcce6dd026e90336e80616a8c1004a79a2f8640c:
Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
+ c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
Export proguard specs from aar_import
+ 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
Fix stripping of macOS loadable bundles
+ 0d3c231f5a08861d28e987703e9196890e6164bf:
Roll forward config_setting visibility enforcement behind a flag.
+ bb7a01027242390da1c18fbf87c274cc34c11b79:
Fix merge conflicts.
+ 8b8e77ea226aaa12e79580422bc5984e80ce048b:
Remove redundant declaration.
+ 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
Ignore empty virtual artifacts when spawn-logging inputs.
+ 4158b61211e099db780565d064a1c1a80c91bd2a:
Use correct exit code on invalid aquery --output
+ b51b31dbe75a5bc73227fccb4484f3454df81b42:
Remote: Fix a race when reporting action progresses.
+ 0e652737988e3c115e98e1552f6fada52bc2b9a2:
Change MIN_BUILD_TOOLS_REVISION to 30.0.0
+ 6f9909c04b1e00faa510b38ccabac78821046cf9:
Update Android remote tools to ensure Bazel uses the latest
Android tooling that has been updated to support AndroidX
databinding generation.
+ 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Automated rollback of commit
9a1d428e33bfae1ec5b68250d4732b72346b8b39.
+ 951a3023fbcdbe025e350590e6fa86097da3fe05:
Increase allowed size of the install_base.
+ a7845f65befbeb65a28ec53e62458211a7bc3f8e:
Increase allowed size for install base again.
+ affc27f9d18f9781437e91a3f36c73962a56f261:
Bump version of java allocation instrumenter.
+ 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
Reference the correct version of the java allocation
instrumenter.
+ 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
Support extracting aar files.
+ 861c3caa85e47da35a8a4f1512e57d43b9263c37:
Revert "Remote: Fix a race when reporting action progresses."
+ 92ec798ddc1f38fb4868af08c1d818639283f501:
Revert "Remote: Display download progress when actions are
downloading outputs from remote cache."
+ ce091abb290d1d753f480cdee0e69748eb20db52:
Revert "Fix compiling errors"
+ 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
Revert "Remote: Fix a bug that the XML generation is executed
even if test.xml is generated when build with
--remote_download_minimal."
+ 988b56f5916e024d10695797a7f963b30fc998c7:
Revert "Remote: Report checking cache status before the action
is scheduled to run remotely."
+ 35c98d07b21785efae57a7c4230cc1e452f74fd2:
Revert "Let workers finish lost races without delaying dynamic
execution."
+ c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
Migrate ExampleWorker to use WorkRequestHandler.
+ 230be161176bd6f1251077af7674f80d38ff1e25:
Do not interleave readdir() calls with deletion of directory
entries.
+ 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
Propagate OOME if NewByteArray allocation failed
+ 19fc15ebbf6c63fcce90a038e91c5ec726852848:
Create helper method for sandbox tests, transform existing tests
into using it.
+ deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
Cleanup: Replace NULL with nullptr
+ f4b5e0233341977aaa76593ca032d9ac4eba7444:
Let workers finish lost races without delaying dynamic execution.
+ 186decab01ee247c7453baf19dac778545ec4937:
Interface and flag specification for worker cancellation.
+ 5894a8544d51c99f1356130b8b487bc93299fedd:
Create BUILD file in worker tests directory instead of running
tests from the parent directory.
+ e9e6978809b0214e336fee05047d5befe4f4e0c3:
Server-side implementation of worker cancellation.
+ 5103662238f2df2038c7dff079e9c655e08ba654:
Add builder for WorkRequestHandler.
+ 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
Makes singleplex requests be handled in separate threads in
WorkRequestHandler.
+ 779d66019210f54e10a1343ee004df72a8dec812:
Only allow worker async finishing when sandboxed.
+ a698bef6146a807fd82ee4402d89c23c83802e33:
Support for cancellation in WorkRequestHandler.
+ 9dc95af4c7ef10979f21173260f5433006116096:
Make workers restart on flags that affect their
creation/behaviour.
+ 7e5cd529e9f8c9cb67900af36182f00ef7316654:
Remote: Report checking cache status before the action is
scheduled to run remotely.
+ 6e134a1b68418fba9992692901efa77a80c346f7:
Remote: Fix a bug that the XML generation is executed even if
test.xml is generated when build with --remote_download_minimal.
+ d4d071401acadb0d8977850a9439474e60fd7bb9:
Fix compiling errors
+ 2579c9a18360955699d028426b45d381ff53783c:
Eagerly initialize JNI copies of Java classes: doing lazy
initialization on a per-method basis doesn't save anything and
adds a tiny bit of overhead to every one of these calls.
+ 0f812eb5e561cc5415d0c9931675e58dc37a5850:
Remote: Display download progress when actions are downloading
outputs from remote cache.
+ 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
Update the WorkRequestHandler to use callbacks of type:
BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
constructors that use BiFunction<List<String>, PrintWriter,
Integer> callback as deprecated. - Use a wrapper class for the
BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
to avoid having two constructors that takes a BiFunction, as it
creates a confusion between the deprecated and new constructor
when given a lambda expressions.
+ 5e352afe2b35487ea2ced85ca79bd9f79858e648:
Fix bug in WorkRequestHandler's handling of singleplex requests
that would cause occasional hangs.
+ b51b31dbe75a5bc73227fccb4484f3454df81b42:
Remote: Fix a race when reporting action progresses.
+ c9d823e42796962eed039b8122528c2a1541190f:
Disable flaky test.
+ e6809c90ecc0ef5783faa39e63188fc33a79b80e:
Revert "Check the result of Future.cancel() when cancelling the
other branch of dynamic execution."
+ be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
Revert "Move use of legacy sandbox -> local fallback to only be
used after all strategies have been tried, and improve messages
around it."
+ b32349f50ff3d958613aef9275751ad9d50d344c:
Set a fallback dynamic local strategy even when the
dynamic_local_strategy flag is passed.
+ f395157c95692565bc220c7ccf788974fe0885fd:
Allow running an extra spawn for local branch of dynamic
execution.
+ 039461c76113ab3f165132dd26d0c58eb3e45cae:
Adding debugging information for case when two branches
apparently cancel each other.
+ b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
Move use of legacy sandbox -> local fallback to only be used
after all strategies have been tried, and improve messages
around it.
+ 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
Check the result of Future.cancel() when cancelling the other
branch of dynamic execution.
+ 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
Fix the case where if all strategies for one branch of `dynamic`
execution fail to accept (that is, refuse to even take) the
action given, the whole action fails. Instead of seeing whether
the other branch can run and the action that that it succeeded.
+ b7c1ad2aff91105659299723a712b72eea943040:
Fix rare crash in dynamic execution where both branches got
cancelled.
+ 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
Check if `treeDeleter` is actually async before casting it.
Fixes #13240.
+ 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
Make worker JSON protocol properly ignore unknown fields.
+ 4b12fc80abf4152815f09e473a972e52a1fe8b51:
Fix test_source_file_does_not_override_standard_library to work
with Python 3.9.
+ f4e10367df2d881f05e3ddd5bd0531b390a845fe:
Removing line ending matches in tests to be compatible on Windows
+ ba74df07ced96226d78851e11d1df03147f1cc1f:
Refactors CompilationSupport for objc to use existing API
+ a04cb1bfad4734f801c48bae3070a799067bda4e:
Release 4.2.0 (2021-08-18)
+ ba8678077024e1b4e5d7419c758a97e8dc9fceea:
Revert "fix main repo starlark options parsing.
+ 9f67cdf3d51c05bc2209786aa24b72658b61362c:
cquery: disable `--build_tests_only`.
```
Important changes:
- Multiplex persistent workers can now use the JSON protocol.
- enforce config_setting visibility. See
https://github.com/bazelbuild/bazel/issues/12932 for details.
- The minimum Android build tools version for the Android rules is
now 30.0.0
- Updates worker protocol with cancellation fields, and adds
experimental_worker_cancellation flag to control cancellation.
- If all strategies of one branch (the local or remote execution
branch) of the `dynamic` strategy fail to even accept (via the
response they give from `canExec`) the action, `dynamic` will now
try to see if the other branch can accept it. (Trying to run it
and it failing will still cause a failure if it was the first
result, this is about strategies claiming they can't even try the
action)
This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
## Release 5.0.0-pre.20210810.4 (2021-08-19)
```
Baseline: ead44955c5cf02d94152f2cf3462c40ee6659594
Cherry picks:
+ 99a85e79a11cef98d0e08db21ab94833398381af:
Automated rollback of commit
92f7b58672baffe5a230f675d7197c2a10892284.
+ 16523615ba04c2697f436ca02d957809e6fe8dbf:
Fix a race condition in scheduling code in
`FileSystemValueCheckerInferringAncestors`.
+ ed251187b078c4262bbbc1da72015ce12f9964f4:
Add incompatible flag to guard top-level aspects dependencies
```
Incompatible changes:
- Removing java_common.javac_jar Starlark call.
- native.existing_rule now returns select values in a form that is
accepted by rule instantiation. This is a breaking API change
because there is some code that relies on the precise type
returned, including brittle workarounds for this bug specifically
and insufficiently flexible workarounds for other issues with the
intersection of select and native.existing_rule.
- flipped incompatible_use_toolchain_resolution_for_java_rules, see
#7849
- Query output=xml/proto/location for source files will now show
the location of line 1 of the source file (as the new default)
instead of its location in the BUILD file.
- Specifying a target pattern underneath a directory specified by
.bazelignore will now emit a warning, not an error.
- Query `--order_output=auto` will now sort lexicographically.
However, when `somepath` is used as a top level function (e.g.
`query 'somepath(a, b)'`), it will continue to output in
dependency order. If you do not want the lexicographical output
ordering, specify another `--order_output` value (`no`, `deps` or
`full`) based on what ordering you require.
- In the build event stream,
BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
Its value was always mostly meaningless.
BuildMetrics.TargetMetrics.targets_configured and
BuildMetrics.ActionSummary.actions_created now include configured
aspect data.
- //visibility:legacy_public has been removed.
- Flip and remove incompatible_dont_collect_so_artifacts
(https://github.com/bazelbuild/bazel/issues/13043).
- Remove flag --experimental_no_product_name_out_symlink: it is
always true.
- The Starlark method generate_dsym in objc fragment has
been deleted. Please use the equivalent apple_generate_dsym in
cpp
fragment instead.
- Native libraries in data attribute are not collected. See
https://github.com/bazelbuild/bazel/issues/13550 for details
- Enforce the `--profile` path to be absolute.
- Enforce the --memory_profile path to be absolute.
- JavaToolchainInfo.jvm_opt returns Depset instead of a list.
- --apple_sdk has been deleted. It is a no-op.
Important changes:
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- none
PAIR=cmita
- The --incompatible_load_python_rules_from_bzl flag is now a no-op.
- Filter all (instead of just C++) source files for coverage output
according to --instrumentation_filter and
--instrument_test_targets.
- The `--incompatible_disable_native_apple_binary_rule` flag has
been added which disables the native `apple_binary` rule. Users
who need to use `apple_binary` directly (if they cannot use one
of the more specific Apple rules) should load it from
https://github.com/bazelbuild/rules_apple.
- The Android rules' --use_singlejar_apkbuilder is now a no-op.
SingleJar will always be used to build APKs.
- dict.setdefault(key, ...) now fails if dict is frozen, even if it
already contains key. This is an incompatible API change.
- Flag --incompatible_objc_provider_remove_compile_info is removed.
See #11359.
- Starlark now permits def statements to be nested (closures).
- native.existing_rule now returns select values in a form that is
accepted by rule instantiation. This is a breaking API change,
though the fallout is expected to be small.
- Starlark now supports lambda (anonymous function) expressions.
- The "test" and "coverage" commands no longer return 3 when a
test action fails because of a system error. Instead, the exit
code
reflects the type of system error.
- The undocumented ctx.expand feature no longer exists.
- Make --legacy_dynamic_scheduler a no-op flag.
- Multiplex persistent workers can now use the JSON protocol.
- native.existing_rule now returns a mutable list, not a tuple, for
a list-valued attributes. This is an incompatible API change.
- Roll back change to have native.existing_rules use list instead
of tuple.
- BEP includes test suite expansions.
- config_setting now honors `visibility` attribute (and defaults to
`//visibility:public`)
- Change the MultiArchSplitTransitionProvider to be based on
platform type + CPU instead of fixed "ios_" + cpu.
- enforce config_setting visibility. See
https://github.com/bazelbuild/bazel/issues/12932 for details.
- add a flag to build v4 signature file
- Added _direct_source_jars output group to Java related targets.
END_PUBLIC
- pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
- Allowing the lipo operations to be conditional in the
linkMultiArchBinary API for Apple binaries. Single architecture
slices are now returned through AppleBinaryOutput and the
Starlark API.
- Release restriction for "-" in the package name for Python
sources. Now `py_binary` and `py_test` targets can have main
source file with "-" in the path.
- Users consuming BEP may assume that a `named_set_of_files` event
will
appear before any event referencing that `named_set` by ID. This
allows consumers
to process the files for such events (eg. `TargetCompleted`)
immediately.
- BEP includes all files from successful actions in requested
output groups.
Previously, an output group's files were excluded if any file in
the output group
was not produced due to a failing action. Users can expect BEP
output to be larger
for failed builds.
- In BEP, TargetComplete.output_group has a new field `incomplete`
indicating that the file_sets field is missing one or more
declared artifacts
whose generating actions failed.
- The flag `--toolchain_resolution_debug` now takes a regex
argument, which is used to check which toolchain types should
have debug info printed. You may use `.*` as an argument to keep
the current behavior of debugging every toolchain type.
- Add runfiles.merge_all() for merging a sequence of runfiles
objects.
- runfiles.merge() and merge_all() now respect
--nested_set_depth_limit.
If you hit the depth limit because you were calling merge() in a
loop, use
merge_all() on a sequence of runfiles objects instead.
- Bazel will no longer create a bazel-out symlink if
--symlink_prefix is specified: the directory pointed to via the
bazel-out symlink is accessible via ${symlink_prefix}-out. If
this causes problems for you, set
--experimental_no_product_name_out_symlink=false in your builds
and file an issue.
- Updates worker protocol with cancellation fields, and adds
experimental_worker_cancellation flag to control cancellation.
- Simplify build failure output by always using `NNN arguments`.
- trim_test_configuration now defaults to on
- Mark genrule.srcs as a source attribute for coverage.
- When using --allow_analysis_failures (for example, via
bazel-skylib's
analysistest with `expect_failure = True`), analysis-time
failures in aspect
implementation functions will now be propagated and saved in
AnalysisFailureInfo, just like analysis-time failures in rules.
- cquery --noimplicit_deps now correctly filters out resolved
cc_toolchains
- Sign apks deterministically.
- Make gcov optional in cc_toolchain tools.
- If --experimental_prefer_mutual_xcode is passed, Bazel will
choose the local default (instead of the newest mutually
available version) if it's available both locally and remotely.
- Remove java_lite_proto_library.strict_deps attribute.
- Generate proguard configurations deterministically.
- Adds a new flag, `--incompatible_enable_cc_test_feature` which
switches from the use of build variables to the feature of the
same name.
- Dropped fragile xz support from built in pkg_tar. Users requiring
xz
compression should switch to bazlebuild/rules_pkg.
- If all strategies of one branch (the local or remote execution
branch) of the `dynamic` strategy fail to even accept (via the
response they give from `canExec`) the action, `dynamic` will now
try to see if the other branch can accept it. (Trying to run it
and it failing will still cause a failure if it was the first
result, this is about strategies claiming they can't even try the
action)
- Add `disable_annotation_processing` option to
`java_common.compile`, which disables any annotation processors
passed to `plugins` or in `exported_plugins` of `deps`
- Remove obsolete --incompatible_prohibit_aapt1
- The minimum Android build tools version for the Android rules is
now 30.0.0
- Adds --experimental_reuse_sandbox_directories flag to reuse
already-created non-worker sandboxes with cleanup.
- --experimental_force_gc_after_build is deprecated and will be
removed soon. Use --bep_publish_used_heap_size_post_build instead
- Forward coverage-instrumented files from non-tool dependencies by
default.
- The used_heap_size_post_build field in BEP is populated when the
--memory_profile flag is set
- --run_validations defaults to true.
- Consider label_keyed_string_dict attributes when gathering
instrumented files for coverage.
- Remove flag
--experimental_forward_instrumented_files_info_by_default, now
that this behavior is the default.
- When using MemoryProfiler with multiple GCs via the
--memory_profile_stable_heap_parameters flag, we do a more
precise calculation of heap used at the end of the build. This
will generally result in lower values.
- --bep_publish_used_heap_size_post_build is deprecated. Use
--memory_profile=/dev/null instead.
This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Andrew Katson, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, bromano, Cameron Mulhern, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, FaBrand, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rai, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
## Release 4.2.0 (2021-08-18)
```
Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Cherry picks:
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
Use getRunfilesPath for run_under executable path generation.
getRootRelativePath doesn't return a valid runfiles path for
external source files anymore after the recent external source
root change. Also, it won't work for external labels either once
the --nolegacy_external_runfiles becomes default. This fixes
issue #12545.
+ d90ec67fdab9710f649a3c1d374fb6b938b9271a:
Fix NPE when coveragerunner is not set on the toolchain.
+ 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
Fix the classic query package-loading cutoff optimization with
external workspaces.
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
Support Scala3 .tasty files
+ 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
Update to java_tools javac11 release 10.5 (#12647)
+ a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
Fix common prefix for instrumentation filter
+ 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
Fix builds for filegroup targets with incompatible dependencies
+ e43825d0bef359f645e1cabf2164fd2db6ee4a35:
Revert "Remove
--incompatible_blacklisted_protos_requires_proto_info"
+ 082d58de852ebaa640bcf13cf419cbb94eec2b26:
Transform roots along with paths during output deletion.
+ e8835c1c221d76a2d5532d18083eaa04401619b3:
AttributeContainer.Large now handles more than 127 attributes.
+ e1e87349335ac59f9b3df47cee8b999faeaa6d11:
Add an env attribute to all test and binary rule classes
+ a87d7ed2411d5382bac58a20b79e09c464ad13b9:
Take no action to prefetch empty artifacts.
+ 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
Fix a couple of bugs with Incompatible Target Skipping
+ e6670825b1e183f81f5c864aafd425d512fa9ff5:
Pass --host_action_env to host options hostActionEnvironment
attribute
+ 07400c0392e7be163f8a3396fa5cf89ce6705412:
Add --{no,}autodetect_server_javabase.
+ c83366064621d5a265eba14d93a03deff58fe6d8:
Only treat "env" and "env_inherit" attrs specially for native
rules
+ 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
Fix coverage support when using default_java_toolchain. (#12801)
+ 4158a6f512e52516437e00f8d9609a91be7fc195:
Revert JacocoCoverage target to remote_java_tools_java_import
and add a new target for remore_java_tools_filegroup. (#12813)
+ f6d30cf5ef9a8a39fea7072317f89a872387b790:
Add windows_msvc back to conditions in bazel_tools.
+ 6b33bdb1e22514304c0e35ce8e067f2175685245:
Release 4.0.0 (2021-01-21)
+ 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
Fix error message from getPrerequisites to not print internal
details.
+ 27e15ad11410eb1014f5247fd0eeb31a46733c07:
Clean up ConfiguredTargetValueAccessor and
ConfiguredTargetAccessor
+ e87feb8ac9573cef993824f82370d0389570521d:
Move getConfigConditions into ConfiguredTarget.
+ 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
value.
+ 079bb7d69931705bb2b092c9017090e224ef3043:
Clean up old dependencies that are unused since
https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
5ef5702880d5ac7c5c.
+ e03cb63e059420847d6578d7cbfe93f05615c95e:
Update bazelbuild/platforms to a current release. - Roll forward
https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
7f925cf88e0cd5b76a with kythe fix.
+ 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
Update docs and tests to use the @platforms//:incompatible
constraint
+ c71697cf33b0fbbb42fc2910bac83960edc7e855:
Clarify test_suite behaviour in the Platforms docs
+ dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
Enable toolchain resolution for filegroup targets.
+ 24d086446f74606819dc53c3a436caa056ff05b7:
PlatformProviderUtils should ignore targets that don't have the
needed
+ ba60c0b3f9bbd00975c984244839b155e84b4c5d:
ijar: fix manifest sections handling
+ 58bb42ad7ca263a75c6eeef51482f805726663a5:
Revert "Switch to -fdebug-compilation-dir"
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ ad241fbebd90a9f0ad65ccd0658838f57030db68:
Allow cquery to filter out incompatible targets
+ 1782f0ae751569607ef88930c822ac460a1f8bb3:
Patch grpc to fix cares selecting the wrong source when building
for darwin_arm64 cpu.
+ 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
[1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 848a51747a460ab4c5185e4c61ab522a9981cbea:
[2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 9b30172547f2093acb56aedf159a77d5dceffda2:
[3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
Prevent --repo_env from triggering unnecessary fetches
+ 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
Prevent a crash when using --repo_env=VAR without a value
+ 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
Report digest of failed uploads
+ 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
Status error presentation with details
+ 9a70805db543e2fb910e1c55ef3b3567362adf30:
Fix double shutdown of BuildEventArtifactUploader when BES+File
output enabled.
+ 325eb956c92530bdfda54a36a186cae4245a4f7b:
Add rxjava3 to third_party
+ ceaac966a7b977461b69ce9501df6a467f4a93b2:
remote: set executable bit of an input file based on its real
value
+ 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
Remote: correctly implement equals and hashCode.
+ 48648503729d53fdee1322fde2c8e6c05e99cff9:
Fixed an error that bazel binary is not executable when testing
with remote execution.
+ bc54c648aa1f99509c7c36d5e6b570d066689209:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata.
+ 92955e617b5c41713a5163dc0437c2a024b31815:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 2)
+ 75bd1ff8ab56d241916bde36291301fa026b2bab:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 3)
+ 37ee252f3744abc4511f55b5089cc52abd3ba09d:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 4)
+ 71e35b165f924e2649a078fcf6007645d58039af:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 5)
+ 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
Write/QueryWriteStatus logging refinement/addition
+ 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
Remote: gRPC load balancing. (Part 1)
+ e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
Remote: gRPC load balancing. (Part 2)
+ 6667ad7dd77f8d97952133052c17e7779c1430ec:
Remote: gRPC load balancing. (Part 3)
+ 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
Remote: gRPC load balancing. (Part 4)
+ 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
Implement getMessage for BulkTransferException
+ a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
Remote: gRPC load balancing. (Part 5)
+ 7a62c2d4e27e398f440910c81eacc384f38ca8be:
Remote: Add interoperability between Rx and ListenableFuture.
+ 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
Update to latest remote-execution proto
+ dad96301d12aa77eb67399e08265a5f30f5ffd6a:
Set Platform on Action not just Command
+ 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
Remote: Add AsyncTaskCache which is used to deduplicate task
executions and cache the results.
+ 9d0c7325ac810febe565a62fdd875ae0c240b274:
Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
+ f54fe07209acc25340df8d2e02993b1add2deafa:
Add --experimental_repository_disable_download to allow users
disable download for external repos
+ b243584a479eb4481a9bf4f69acc899610a3b630:
Report errors parsing rewriter config file
+ 63bc1c7d0853dc187e4b96a490d733fb29f79664:
Downloader rewriter config has all_blocked_message
+ 495ac923f398443be45c20ab29d183fe47e08911:
Allow UrlRewriter to change protocol, i.e. https->http, and
http->https
+ 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
Allow overriding the hostname and instance name in bytestream://
URIs
+ 0881c80d29acecdfbb58c49156f805e8c50db117:
Don't set requestId on non-multiplex requests.
+ e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
When generating a symlink in _virtual_includes, add the original
header to the 'allowed to use' set too
+ f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
Make SimpleLogHandler not swallow interrupts.
+ f8606e5e76579442a1c6563e718ea54c673f1a04:
linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
+ dac0d40d0eb903f5cb70341398d1a333c19adf3a:
Improve "Common Attributes" section
+ a607d9dc70ac67f1aa2c32ca954177f9c77860be:
Never create more than one process per WorkerMultiplexer.
+ 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
Move sending requests and reading responses for multiplex
workers into separate subthreads.
+ 003cfcde3fd3901c1279ba1db3db3a14536248b4:
Allow use of JSON protocol in multiplex workers.
+ 308bce36cba46095fe41866e703710035ddddada:
Actively kill off still-active workers when stopping work on
interrupt.
+ 8959dff512fe4505af786bcf2ef981ec7082a913:
Add sanitizer support to Apple platforms
+ 32f16e9360f3e1856db1775eb5014b930da2a303:
Fix a Google-internal broken link.
+ c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
Add SHA-1 to subresource integrity format for download()
checksums
+ 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
Remove fallback strategy support for workers, add flag for it in
sandbox.
+ 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
Update to java_tools javac11 10.6 (#13245)
+ 4928295b236ec8f590a7e9d863502bc2f50a77d9:
Allow .S files in C++ Starlark cc_common.compile.
+ 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
Automatic code cleanup.
+ b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
Change short output of worker type to have the same logic as the
worker creation for sandboxing vs. multiplex.
+ e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
More properly destroy workers on interrupt.
+ 7056711eb11b672133274eb29fc93b01dcf088d5:
Make WorkRequestHandler do a GC after some amount of CPU time
has been used on requests. For Bazel and Blaze, defaults to 10s
based on benchmarking.
+ 596653d3cf76e7b208da343e1fde5fe20273a5ff:
Allow tree artifacts to be source or header inputs to
cc_common.compile()
+ 055c93d11ab20cc4479539b24bbdfa5cab78a342:
Switch to path autocompletion after -- for bazel run commands.
+ 807f2a1929e23b60b237c63fadb25af81de2e3c3:
Fix Incompatible Target Skipping for test args
+ 9a5cd854e0613f91d52075973e2454b1e009e1ef:
Fix order of build request id and command id
+ 706f5acd02363e48076dc97e37613fd968932d03:
Fix bazel crash when passing config_setting to
target_compatible_with
+ 61da1d2bf10eabba4c75de959b0374f302d89d70:
Support multiple --bazelrc on command line
+ 5593358a58b66f06c4e421bb48856de94c3fd625:
Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
to
+ 662cf54de7a103db30e04ebae2d2b919437c4846:
Remote: Fix an issue that a failed action could lead to
RuntimeException caused by InterruptedException thrown when
acquiring gRPC connections.
https://github.com/bazelbuild/bazel/issues/13239
+ a3a1763212f29932618b9b9b2f929976ae0e3b6e:
Pass more `--add-exports=` flags
+ d2b942879471786e82f1c96eea8722bbe7919fc1:
Remote: Fixed a bug that remote cache is missed due to
executable bit is changed
+ 616dc264f02907d7b7887285d22307dfe6d097b6:
Fix Bazel Coverage with C++ to work with Remote Execution
+ 5f40d12e741aa30d506eaa15673fb2ae76d29468:
Fix external_path_test with newer Xcode versions.
+ b416193075642017e13c774422b49cb07fb65c23:
Allow using embedded tools in sandboxed spawn runners.
+ eb762d4e7431637e607146b1c191485795047ef9:
Fix racy write of temporary files while staging virtual inputs
for the sandbox.
+ f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
Update platforms_test to not rely on filegroup not using
toolchain
+ 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
Update SkyframeTests to not rely on filegroup not using toolchain
+ 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
Update ConfigurableAttributesTest to not rely on filegroup not
using …
+ 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
Make WorkerExecRoot not be a subclass of SandboxedSpawn.
+ 31db460a45767de0bcd664a6efbe9d163b85b802:
Make WorkerExecRoot not be re-created on each createFileSystem()
call. Preparation for holding a map of existing links, but also
just nicer.
+ a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
Start the file existence check traversal from the execroot base
instead of execroot so that external repo files at
"<execroot>/../<path>" are correctly handled when the sibling
repository layout is enabled.
+ b048282c7893231d3a7191b251804973917b07a4:
Use readdir for cleanExisting in WorkerExecRoot.
+ 270f00dd01fa06cf3e813da5a406be3446de7377:
Add native support for Apple Silicon
+ 8e56b9423e8ad2f7323fb90b19b73858def81e39:
Explicitly state that embedding macOS OpenJDK is for x86_64
+ 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
Remote: Fix a race that AsyncTaskCache#Execution could be reused
after disposed which results in
CancellationException("disposed") propagated to downstream.
+ 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
Remove wrapped_clang params files after use
+ 47edc57806056f3c8764241ed41b8acc72bd2ebf:
Silence swiftmodule timestamp warnings
+ f6e1074b09ebefba185c0531e9cea26b9596c8a9:
Remote: Use shutdownNow() instead of shutdown() in
ChannelConnection#close() as a workaround to a gRPC bug.
+ 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
And mnemonic and label to remote metadata
+ 615e1b16a81b0defc15699ec8027d6ddd70366d1:
Change `set -x` in coverage to be set by var
+ fe4daea99c8cd163793eca84bfb12c8fc437616b:
Bump minimal JDK install base maximum size from 290 to 295 MB.
+ 4840a68cd273a429e46d4114a3973fd11d0e3583:
Remote: Check the return value of ActionOwner.getLabel() since
it could be `null`.
+ 14abe4fd7c3967686a3536939fdc3882e691bca2:
Allow `DiffAwareness` to share precomputed information about the
workspace and propagate it to the `WorkspaceStatusAction`.
+ 082d98772690946ed29c157e60640c97a6e1195b:
Implement available() method for Windows subprocesses.
+ c2bdd034014f66ce14529cc353cda18a32320f6c:
Move --repo_env to common options
+ e09f2743738044095b9d784ea62df16b7f5750e6:
Revert "Documentation for #13110"
+ a165baa250652fdc865ae0df39160be1f7f74c47:
Revert "Clean up RuleContext to use a Table instead of a Map of
Maps."
+ 51fb9e13a864f4f704ae378ea632433bae7ddc31:
Revert "Support execution constraints per exec group"
+ cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
Revert "Allow exec groups to inherit from the rule or other exec
groups."
+ 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
Release 4.1.0 (2021-05-21)
+ 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
Change gceMachineType of highcpu platform from n1-highcpu-32 to
e2-highcpu-32
+ 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
Fix #10127: Remove Python 2 dependency from tools/android.
+ 80c59dea59d4dce39d4b5d21665c3d7313197358:
fix main repo starlark options parsing - now flags passed on the
command line as --@main_workspace//flag and --//flag will both
parse to --//flag. Before this CL, the former maintained its
workspace prefix and we would get different entries for these
two formats.
+ 451b296c3aceb127ebb4a313b6e9608854fa68fa:
Update threshold for long path shortening to be MAX_PATH - 4
+ 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
Force source files to be readable before copying them from
sandbox.
+ 6080c1e07f4229ea72eacd04faa9302e44955a84:
Let workers finish lost races without delaying dynamic execution.
+ ee738dacb5d0089d3f57b15305057cb9ba675e74:
Fix label_flag and label_setting to not have a dependency on the
default
+ 74de0ba4e79341c77b8b85ff4485f92287b6854c:
Java coverage: fix handling of external files
+ 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
[Bazel] Fix mobile-install for python2
+ 763dd0ce6e1644bf895231432f616427a11d385a:
Add `stub_shebang` to `py_runtime`
+ b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
Move use of legacy sandbox -> local fallback to only be used
after all strategies have been tried, and improve messages
around it.
+ 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
Remove restriction on generate_pdb_file to be only used in dbg
and fastbuild mode
+ 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
Check the result of Future.cancel() when cancelling the other
branch of dynamic execution.
+ aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
Update DEFAULT_MACOS_CPU to match host
+ 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
Fix symlink creation on older Windows versions
+ fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
Suppress interrupted status during pool closure
+ 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
Fix Windows developer mode symlinks
+ 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
Respect Starlark options with values in `removeStarlarkOptions()`
+ 7920ffef472b25db3f4e564e5a3a28a4664c666e:
cquery inherits from `test` not `build`
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
Split ExecGroup into a new target.
+ 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
Create a new interface to allow Starlark objects to get a thread
when getIndex is called.
+ d2e21cec31f09b27ef3589f47b0779f34077ca7e:
Renamed ExecGroupCollection to clarify that it is only for
Starlark usage.
+ b9519f92f8ce096107164ca5075feced0e989de7:
Make StarlarkExecGroupContext use AutoValue.
+ 52b1b748b2368820bac2ca94323fb82c39c00e51:
Use a dummy toolchain context for rules that don't have one.
+ 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
Extract a separate StarlarkToolchainContext for starlark-only
operations.
+ b120d4febc571f17e12501ad87fbff32ef94e9bb:
Fix toolchains to support type lookup.
+ dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
ExecGroup.
+ 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
Rename ToolchainCollection.getExecGroups to getExecGroupNames.
+ 10d4473bf476a587e3d9f9b2214581ec420c1919:
BuildViewForTesting should directly call into
ConfiguredTargetFunction.
+ 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
Move exec group tests out of platforms_test and into integration.
+ 7d5493d922761c3ce0037f0025912cc532c55ad7:
Update creating exec groups that explicitly copy from defaults.
+ 8c6382a81237e72dbec24b3850df9481461e0015:
Create a new ExecGroupCollection container to manage exec group
inheritance and exec property parsing.
+ b4b0c321910bc968736ef48e8140528ea7d323cd:
Fix unix toolchain for macos arm64 platform
+ f64f071f44394a33a1be40cb7642e2c881d1e9bb:
Add `required_providers` attribute to Starlark defined aspects.
+ f2cbdcf67ac1990f05a8241ba8dae65795edac82:
Don't ever claim /dev/null is an execpath.
+ ceec93c35ead1bd487e96a5fee46e8d080f88858:
Don't ever claim /dev/null is an execpath.
+ 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
Use the parent directory of the exec root as the input root on
RBE.
+ 4efeac9cb5f85325ed73f64e133a078c483cac01:
Make the Merkle tree computation work in the wake of
https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
9830a6986749b34df5 .
+ b56a2aa709dcb681cfc3faa148a702015ec631d5:
Remote: Use execRoot as input root and do NOT set working
directory by default.
+ ae53991f2e207edacd1352ba94261e2473b79f14:
Remote: Add RemoteExecutionService as a layer between spawn
execution and remote execution.
+ 0c07c2e6571dd4806552213b2237ecb7a908afa4:
Remote: Add remoteCacheable key to execution log
+ 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
Remote: Register "remote" strategy even if remote execution is
not available.
+ 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
Remote: Add --experimental_capture_corrupted_outputs flag.
+ 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
Remote: Report checking cache status before the action is
scheduled to run remotely.
+ ba5b2a7c9448a3681a0d86d80670447e338a06dc:
when writing to local disk cache, open files later in order to
avoid "too many open files"
+ 3551898849a93306ad9b4dfdd7d4667913098efe:
Propagate test envs to xml generation action
+ 9f8c678d7054548865f56f3464f778c751657074:
Remote: Fix a bug that the XML generation is executed even if
test.xml is generated when build with --remote_download_minimal.
+ af42653e6f6bd229142f4678bb256a8c397b4d8d:
Automatic code cleanup.
+ 07a84ce31d9b09853c63c7e373418696dd285dc5:
Remote: Another attempt to fix the CancellationException error
in AsyncTaskCache caused by a race condition.
+ 0f812eb5e561cc5415d0c9931675e58dc37a5850:
Remote: Display download progress when actions are downloading
outputs from remote cache.
+ 18c82168433719b400a705a4a0222969a7a026ba:
Remote: Do not upload empty output to remote cache.
+ 6a138a60e562beeef36003c4814a6b8ce9f253f6:
Fix compiling errors
+ bcce6dd026e90336e80616a8c1004a79a2f8640c:
Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
+ c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
Export proguard specs from aar_import
+ 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
Fix stripping of macOS loadable bundles
+ 0d3c231f5a08861d28e987703e9196890e6164bf:
Roll forward config_setting visibility enforcement behind a flag.
+ bb7a01027242390da1c18fbf87c274cc34c11b79:
Fix merge conflicts.
+ 8b8e77ea226aaa12e79580422bc5984e80ce048b:
Remove redundant declaration.
+ 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
Ignore empty virtual artifacts when spawn-logging inputs.
+ 4158b61211e099db780565d064a1c1a80c91bd2a:
Use correct exit code on invalid aquery --output
+ b51b31dbe75a5bc73227fccb4484f3454df81b42:
Remote: Fix a race when reporting action progresses.
+ 0e652737988e3c115e98e1552f6fada52bc2b9a2:
Change MIN_BUILD_TOOLS_REVISION to 30.0.0
+ 6f9909c04b1e00faa510b38ccabac78821046cf9:
Update Android remote tools to ensure Bazel uses the latest
Android tooling that has been updated to support AndroidX
databinding generation.
+ 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Automated rollback of commit
9a1d428e33bfae1ec5b68250d4732b72346b8b39.
+ 951a3023fbcdbe025e350590e6fa86097da3fe05:
Increase allowed size of the install_base.
+ a7845f65befbeb65a28ec53e62458211a7bc3f8e:
Increase allowed size for install base again.
+ affc27f9d18f9781437e91a3f36c73962a56f261:
Bump version of java allocation instrumenter.
+ 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
Reference the correct version of the java allocation
instrumenter.
+ afb819697a6c3daca71a0105d723f54d42fe129f:
Support extracting aar files.
+ 861c3caa85e47da35a8a4f1512e57d43b9263c37:
Revert "Remote: Fix a race when reporting action progresses."
+ 92ec798ddc1f38fb4868af08c1d818639283f501:
Revert "Remote: Display download progress when actions are
downloading outputs from remote cache."
+ ce091abb290d1d753f480cdee0e69748eb20db52:
Revert "Fix compiling errors"
+ 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
Revert "Remote: Fix a bug that the XML generation is executed
even if test.xml is generated when build with
--remote_download_minimal."
+ 988b56f5916e024d10695797a7f963b30fc998c7:
Revert "Remote: Report checking cache status before the action
is scheduled to run remotely."
+ 35c98d07b21785efae57a7c4230cc1e452f74fd2:
Revert "Let workers finish lost races without delaying dynamic
execution."
+ c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
Migrate ExampleWorker to use WorkRequestHandler.
+ 230be161176bd6f1251077af7674f80d38ff1e25:
Do not interleave readdir() calls with deletion of directory
entries.
+ 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
Propagate OOME if NewByteArray allocation failed
+ 19fc15ebbf6c63fcce90a038e91c5ec726852848:
Create helper method for sandbox tests, transform existing tests
into using it.
+ deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
Cleanup: Replace NULL with nullptr
+ f4b5e0233341977aaa76593ca032d9ac4eba7444:
Let workers finish lost races without delaying dynamic execution.
+ 186decab01ee247c7453baf19dac778545ec4937:
Interface and flag specification for worker cancellation.
+ 5894a8544d51c99f1356130b8b487bc93299fedd:
Create BUILD file in worker tests directory instead of running
tests from the parent directory.
+ e9e6978809b0214e336fee05047d5befe4f4e0c3:
Server-side implementation of worker cancellation.
+ 5103662238f2df2038c7dff079e9c655e08ba654:
Add builder for WorkRequestHandler.
+ 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
Makes singleplex requests be handled in separate threads in
WorkRequestHandler.
+ 779d66019210f54e10a1343ee004df72a8dec812:
Only allow worker async finishing when sandboxed.
+ a698bef6146a807fd82ee4402d89c23c83802e33:
Support for cancellation in WorkRequestHandler.
+ 9dc95af4c7ef10979f21173260f5433006116096:
Make workers restart on flags that affect their
creation/behaviour.
+ 7e5cd529e9f8c9cb67900af36182f00ef7316654:
Remote: Report checking cache status before the action is
scheduled to run remotely.
+ 6e134a1b68418fba9992692901efa77a80c346f7:
Remote: Fix a bug that the XML generation is executed even if
test.xml is generated when build with --remote_download_minimal.
+ d4d071401acadb0d8977850a9439474e60fd7bb9:
Fix compiling errors
+ 2579c9a18360955699d028426b45d381ff53783c:
Eagerly initialize JNI copies of Java classes: doing lazy
initialization on a per-method basis doesn't save anything and
adds a tiny bit of overhead to every one of these calls.
+ 0f812eb5e561cc5415d0c9931675e58dc37a5850:
Remote: Display download progress when actions are downloading
outputs from remote cache.
+ 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
Update the WorkRequestHandler to use callbacks of type:
BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
constructors that use BiFunction<List<String>, PrintWriter,
Integer> callback as deprecated. - Use a wrapper class for the
BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
to avoid having two constructors that takes a BiFunction, as it
creates a confusion between the deprecated and new constructor
when given a lambda expressions.
+ 5e352afe2b35487ea2ced85ca79bd9f79858e648:
Fix bug in WorkRequestHandler's handling of singleplex requests
that would cause occasional hangs.
+ b51b31dbe75a5bc73227fccb4484f3454df81b42:
Remote: Fix a race when reporting action progresses.
+ c9d823e42796962eed039b8122528c2a1541190f:
Disable flaky test.
+ e6809c90ecc0ef5783faa39e63188fc33a79b80e:
Revert "Check the result of Future.cancel() when cancelling the
other branch of dynamic execution."
+ be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
Revert "Move use of legacy sandbox -> local fallback to only be
used after all strategies have been tried, and improve messages
around it."
+ b32349f50ff3d958613aef9275751ad9d50d344c:
Set a fallback dynamic local strategy even when the
dynamic_local_strategy flag is passed.
+ f395157c95692565bc220c7ccf788974fe0885fd:
Allow running an extra spawn for local branch of dynamic
execution.
+ 039461c76113ab3f165132dd26d0c58eb3e45cae:
Adding debugging information for case when two branches
apparently cancel each other.
+ b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
Move use of legacy sandbox -> local fallback to only be used
after all strategies have been tried, and improve messages
around it.
+ 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
Check the result of Future.cancel() when cancelling the other
branch of dynamic execution.
+ 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
Fix the case where if all strategies for one branch of `dynamic`
execution fail to accept (that is, refuse to even take) the
action given, the whole action fails. Instead of seeing whether
the other branch can run and the action that that it succeeded.
+ b7c1ad2aff91105659299723a712b72eea943040:
Fix rare crash in dynamic execution where both branches got
cancelled.
+ 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
Check if `treeDeleter` is actually async before casting it.
Fixes #13240.
+ 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
Make worker JSON protocol properly ignore unknown fields.
+ 7bbff61d9486eeb6b7cd0b6cfb619a9b6e08967b:
Fix test_source_file_does_not_override_standard_library to work
with Python 3.9.
+ f4e10367df2d881f05e3ddd5bd0531b390a845fe:
Removing line ending matches in tests to be compatible on Windows
+ ba74df07ced96226d78851e11d1df03147f1cc1f:
Refactors CompilationSupport for objc to use existing API
```
Important changes:
- Multiplex persistent workers can now use the JSON protocol.
- enforce config_setting visibility. See
https://github.com/bazelbuild/bazel/issues/12932 for details.
- The minimum Android build tools version for the Android rules is
now 30.0.0
- Updates worker protocol with cancellation fields, and adds
experimental_worker_cancellation flag to control cancellation.
- If all strategies of one branch (the local or remote execution
branch) of the `dynamic` strategy fail to even accept (via the
response they give from `canExec`) the action, `dynamic` will now
try to see if the other branch can accept it. (Trying to run it
and it failing will still cause a failure if it was the first
result, this is about strategies claiming they can't even try the
action)
This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
## Release 5.0.0-pre.20210708.4 (2021-07-16)
```
Baseline: ca1d20fdfa95dad533c64aba08ba9d7d98be41b7
Cherry picks:
+ 802901e697015ee6a56ac36cd0000c1079207d12:
Add flags parameter to attr.label for use in builtins only.
+ aa768ada9ef6bcd8de878a5ca2dbd9932f0868fc:
Automated rollback of commit
ca1d20fdfa95dad533c64aba08ba9d7d98be41b7.
+ 4bcf2e83c5cb4f459aae815b38f1edd823286a29:
Automated rollback of commit
ff38dbfc65b8ffe92833e67f12ce616739a3d213.
+ 706483fd6398f00fd4faba73812de9bf15728086:
Resolve merge conflict
+ 3821db8725b9ea3267cddfd0bbad55f50e96527e:
Fix merge conflict properly
```
Important changes:
- The used_heap_size_post_build field in BEP is populated when the
--memory_profile flag is set
This release contains contributions from many people at Google, as well as Daniel Wagner-Hall, Grzegorz Lukasik, Keith Smiley, Kevin Hogeland, Yannic Bonenberger.
## Release 5.0.0-pre.20210623.2 (2021-07-02)
```
Baseline: 8b453331163378071f1cfe0ae7c74d551c21b834
Cherry picks:
+ 223113c9202e8f338b183d1736d97327d28241ea:
Automated rollback of commit
ae2a6a2dc909e468a284913c410fde995cf51095.
```
Important changes:
- Adds --experimental_reuse_sandbox_directories flag to reuse
already-created non-worker sandboxes with cleanup.
- --experimental_force_gc_after_build is deprecated and will be
removed soon. Use --bep_publish_used_heap_size_post_build instead
- Forward coverage-instrumented files from non-tool dependencies by
default.
This release contains contributions from many people at Google, as well as David Ostrovsky, Johannes Abt, Masoud Koleini, Pras Velagapudi.
## Release 5.0.0-pre.20210615.3 (2021-06-25)
```
Baseline: e7bd0947ab552a26ec032d0f1a50ee15c8810f6c
Cherry picks:
+ 04bed291c9f56163ae4da3a358d71cf8399b47a4:
Disable shadowed_action part of action_aspect_test
+ 367b19eb8821b4de738c6c994ba275c695f4726b:
Fix starlark action with shadowed_action inputs cache test
+ 4acb9ae67a7135b2365b92e91601d4797adc2ad5:
Automated rollback of commit
03f6af623ae3de4a9b756b5235ebd31cc2faf762.
```
Incompatible changes:
- Native libraries in data attribute are not collected. See
https://github.com/bazelbuild/bazel/issues/13550 for details
Important changes:
- Remove obsolete --incompatible_prohibit_aapt1
- The minimum Android build tools version for the Android rules is
now 30.0.0
This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
## Release 5.0.0-pre.20210604.6 (2021-06-11)
```
Baseline: d571c8976f279e4d485498d0875c85ae73aecc42
Cherry picks:
+ c367a7e027f351e8ffefabf919563abbb8c7d0e1:
Fix places where nodes were still being enqueued at
`Integer.MAX_VALUE` and add checks for overflow conditions.
+ 260015df1524543d56b0dbff00958320cd58d166:
Automated rollback of commit
f1b37b5d610728634d92ef4ebd4d1435c0c8605d.
```
Important changes:
- Add `disable_annotation_processing` option to
`java_common.compile`, which disables any annotation processors
passed to `plugins` or in `exported_plugins` of `deps`
This release contains contributions from many people at Google, as well as Dave MacLachlan, FaBrand, George Gensure, Jesse Chan, Keith Smiley, Kevin Hogeland, Uri Baghin, Xavier Bonaventura.
## Release 5.0.0-pre.20210520.7 (2021-06-09)
```
Baseline: e2ae73fe16cbedf095b9e6d5687b06ecf765d794
Cherry picks:
+ 0fdb485421f9d134f11103a36c48182769fb40d3:
Automated rollback of commit
f2230d8494e70f02b1e4fb082fcf8550aa684a40.
+ 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
Support rolling releases in Bazel release scripts.
+ 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
Fix syntax error in Bazel release scripts
+ 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
Fix location of -prerelease option
+ a6dfd927c58c63275159858ac661a9b669594a0c:
Add --experimental_shadowed_action to graveyard options for all
commands.
```
Important changes:
- If all strategies of one branch (the local or remote execution
branch) of the `dynamic` strategy fail to even accept (via the
response they give from `canExec`) the action, `dynamic` will now
try to see if the other branch can accept it. (Trying to run it
and it failing will still cause a failure if it was the first
result, this is about strategies claiming they can't even try the
action)
This release contains contributions from many people at Google, as well as Benedek Thaler.
## Release 5.0.0-pre.20210516.1 (2021-06-09)
```
Baseline: 275c54c982468b97611dc764c68daed8d7c45004
Cherry picks:
+ 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
Support rolling releases in Bazel release scripts.
+ 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
Fix syntax error in Bazel release scripts
+ 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
Fix location of -prerelease option
```
This release contains contributions from many people at Google, as well as Keith Smiley, Niek Peeters.
## Release 5.0.0-pre.20210510.2.2 (2021-06-01)
```
Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
Cherry picks:
+ e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
Ensure that test status artifacts are reported as top-level
artifacts.
+ 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
Support rolling releases in Bazel release scripts.
+ 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
Fix syntax error in Bazel release scripts
+ 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
Fix location of -prerelease option
```
This release contains contributions from many people at Google, as well as .
## Release 5.0.0-pre.20210510.2.1 (2021-05-31)
```
Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
Cherry picks:
+ e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
Ensure that test status artifacts are reported as top-level
artifacts.
+ 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
Support rolling releases in Bazel release scripts.
+ 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
Fix syntax error in Bazel release scripts
```
This release contains contributions from many people at Google, as well as .
## Release 5.0.0-pre.20210510.2 (2021-05-31)
```
Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
Cherry picks:
+ e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
Ensure that test status artifacts are reported as top-level
artifacts.
+ 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
Support rolling releases in Bazel release scripts.
```
Incompatible changes:
- Removing java_common.javac_jar Starlark call.
- native.existing_rule now returns select values in a form that is
accepted by rule instantiation. This is a breaking API change
because there is some code that relies on the precise type
returned, including brittle workarounds for this bug specifically
and insufficiently flexible workarounds for other issues with the
intersection of select and native.existing_rule.
- flipped incompatible_use_toolchain_resolution_for_java_rules, see
#7849
- Query output=xml/proto/location for source files will now show
the location of line 1 of the source file (as the new default)
instead of its location in the BUILD file.
- Specifying a target pattern underneath a directory specified by
.bazelignore will now emit a warning, not an error.
- Query `--order_output=auto` will now sort lexicographically.
However, when `somepath` is used as a top level function (e.g.
`query 'somepath(a, b)'`), it will continue to output in
dependency order. If you do not want the lexicographical output
ordering, specify another `--order_output` value (`no`, `deps` or
`full`) based on what ordering you require.
- In the build event stream,
BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
Its value was always mostly meaningless.
BuildMetrics.TargetMetrics.targets_configured and
BuildMetrics.ActionSummary.actions_created now include configured
aspect data.
- //visibility:legacy_public has been removed.
- Flip and remove incompatible_dont_collect_so_artifacts
(https://github.com/bazelbuild/bazel/issues/13043).
- Remove flag --experimental_no_product_name_out_symlink: it is
always true.
- The Starlark method generate_dsym in objc fragment has
been deleted. Please use the equivalent apple_generate_dsym in
cpp
fragment instead.
Important changes:
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- Flag --incompatible_objc_compile_info_migration is removed. See
#10854.
- none
PAIR=cmita
- The --incompatible_load_python_rules_from_bzl flag is now a no-op.
- Filter all (instead of just C++) source files for coverage output
according to --instrumentation_filter and
--instrument_test_targets.
- The `--incompatible_disable_native_apple_binary_rule` flag has
been added which disables the native `apple_binary` rule. Users
who need to use `apple_binary` directly (if they cannot use one
of the more specific Apple rules) should load it from
https://github.com/bazelbuild/rules_apple.
- The Android rules' --use_singlejar_apkbuilder is now a no-op.
SingleJar will always be used to build APKs.
- dict.setdefault(key, ...) now fails if dict is frozen, even if it
already contains key. This is an incompatible API change.
- Flag --incompatible_objc_provider_remove_compile_info is removed.
See #11359.
- Starlark now permits def statements to be nested (closures).
- native.existing_rule now returns select values in a form that is
accepted by rule instantiation. This is a breaking API change,
though the fallout is expected to be small.
- Starlark now supports lambda (anonymous function) expressions.
- The "test" and "coverage" commands no longer return 3 when a
test action fails because of a system error. Instead, the exit
code
reflects the type of system error.
- The undocumented ctx.expand feature no longer exists.
- Make --legacy_dynamic_scheduler a no-op flag.
- Multiplex persistent workers can now use the JSON protocol.
- native.existing_rule now returns a mutable list, not a tuple, for
a list-valued attributes. This is an incompatible API change.
- Roll back change to have native.existing_rules use list instead
of tuple.
- BEP includes test suite expansions.
- config_setting now honors `visibility` attribute (and defaults to
`//visibility:public`)
- Change the MultiArchSplitTransitionProvider to be based on
platform type + CPU instead of fixed "ios_" + cpu.
- enforce config_setting visibility. See
https://github.com/bazelbuild/bazel/issues/12932 for details.
- add a flag to build v4 signature file
- Added _direct_source_jars output group to Java related targets.
END_PUBLIC
- pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
- Allowing the lipo operations to be conditional in the
linkMultiArchBinary API for Apple binaries. Single architecture
slices are now returned through AppleBinaryOutput and the
Starlark API.
- Release restriction for "-" in the package name for Python
sources. Now `py_binary` and `py_test` targets can have main
source file with "-" in the path.
- Users consuming BEP may assume that a `named_set_of_files` event
will
appear before any event referencing that `named_set` by ID. This
allows consumers
to process the files for such events (eg. `TargetCompleted`)
immediately.
- BEP includes all files from successful actions in requested
output groups.
Previously, an output group's files were excluded if any file in
the output group
was not produced due to a failing action. Users can expect BEP
output to be larger
for failed builds.
- In BEP, TargetComplete.output_group has a new field `incomplete`
indicating that the file_sets field is missing one or more
declared artifacts
whose generating actions failed.
- The flag `--toolchain_resolution_debug` now takes a regex
argument, which is used to check which toolchain types should
have debug info printed. You may use `.*` as an argument to keep
the current behavior of debugging every toolchain type.
- Add runfiles.merge_all() for merging a sequence of runfiles
objects.
- runfiles.merge() and merge_all() now respect
--nested_set_depth_limit.
If you hit the depth limit because you were calling merge() in a
loop, use
merge_all() on a sequence of runfiles objects instead.
- Bazel will no longer create a bazel-out symlink if
--symlink_prefix is specified: the directory pointed to via the
bazel-out symlink is accessible via ${symlink_prefix}-out. If
this causes problems for you, set
--experimental_no_product_name_out_symlink=false in your builds
and file an issue.
- Updates worker protocol with cancellation fields, and adds
experimental_worker_cancellation flag to control cancellation.
- Simplify build failure output by always using `NNN arguments`.
- trim_test_configuration now defaults to on
- Mark genrule.srcs as a source attribute for coverage.
- When using --allow_analysis_failures (for example, via
bazel-skylib's
analysistest with `expect_failure = True`), analysis-time
failures in aspect
implementation functions will now be propagated and saved in
AnalysisFailureInfo, just like analysis-time failures in rules.
- cquery --noimplicit_deps now correctly filters out resolved
cc_toolchains
- Sign apks deterministically.
- Make gcov optional in cc_toolchain tools.
- If --experimental_prefer_mutual_xcode is passed, Bazel will
choose the local default (instead of the newest mutually
available version) if it's available both locally and remotely.
- Remove java_lite_proto_library.strict_deps attribute.
- Generate proguard configurations deterministically.
- Adds a new flag, `--incompatible_enable_cc_test_feature` which
switches from the use of build variables to the feature of the
same name.
- Dropped fragile xz support from built in pkg_tar. Users requiring
xz
compression should switch to bazlebuild/rules_pkg.
This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, bromano, Christopher Sauer, Cristian Hancila, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave Nicponski, David Cummings, David, David Ostrovsky, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Philipp Schrader, Qais Patankar, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
## Release 4.1.0 (2021-05-21)
```
Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Cherry picks:
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
Use getRunfilesPath for run_under executable path generation.
getRootRelativePath doesn't return a valid runfiles path for
external source files anymore after the recent external source
root change. Also, it won't work for external labels either once
the --nolegacy_external_runfiles becomes default. This fixes
issue #12545.
+ d90ec67fdab9710f649a3c1d374fb6b938b9271a:
Fix NPE when coveragerunner is not set on the toolchain.
+ 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
Fix the classic query package-loading cutoff optimization with
external workspaces.
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
Support Scala3 .tasty files
+ 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
Update to java_tools javac11 release 10.5 (#12647)
+ a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
Fix common prefix for instrumentation filter
+ 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
Fix builds for filegroup targets with incompatible dependencies
+ e43825d0bef359f645e1cabf2164fd2db6ee4a35:
Revert "Remove
--incompatible_blacklisted_protos_requires_proto_info"
+ 082d58de852ebaa640bcf13cf419cbb94eec2b26:
Transform roots along with paths during output deletion.
+ e8835c1c221d76a2d5532d18083eaa04401619b3:
AttributeContainer.Large now handles more than 127 attributes.
+ e1e87349335ac59f9b3df47cee8b999faeaa6d11:
Add an env attribute to all test and binary rule classes
+ a87d7ed2411d5382bac58a20b79e09c464ad13b9:
Take no action to prefetch empty artifacts.
+ 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
Fix a couple of bugs with Incompatible Target Skipping
+ e6670825b1e183f81f5c864aafd425d512fa9ff5:
Pass --host_action_env to host options hostActionEnvironment
attribute
+ 07400c0392e7be163f8a3396fa5cf89ce6705412:
Add --{no,}autodetect_server_javabase.
+ c83366064621d5a265eba14d93a03deff58fe6d8:
Only treat "env" and "env_inherit" attrs specially for native
rules
+ 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
Fix coverage support when using default_java_toolchain. (#12801)
+ 4158a6f512e52516437e00f8d9609a91be7fc195:
Revert JacocoCoverage target to remote_java_tools_java_import
and add a new target for remore_java_tools_filegroup. (#12813)
+ f6d30cf5ef9a8a39fea7072317f89a872387b790:
Add windows_msvc back to conditions in bazel_tools.
+ 6b33bdb1e22514304c0e35ce8e067f2175685245:
Release 4.0.0 (2021-01-21)
+ 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
Fix error message from getPrerequisites to not print internal
details.
+ 27e15ad11410eb1014f5247fd0eeb31a46733c07:
Clean up ConfiguredTargetValueAccessor and
ConfiguredTargetAccessor
+ e87feb8ac9573cef993824f82370d0389570521d:
Move getConfigConditions into ConfiguredTarget.
+ 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
value.
+ 079bb7d69931705bb2b092c9017090e224ef3043:
Clean up old dependencies that are unused since
https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
5ef5702880d5ac7c5c.
+ e03cb63e059420847d6578d7cbfe93f05615c95e:
Update bazelbuild/platforms to a current release. - Roll forward
https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
7f925cf88e0cd5b76a with kythe fix.
+ 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
Update docs and tests to use the @platforms//:incompatible
constraint
+ c71697cf33b0fbbb42fc2910bac83960edc7e855:
Clarify test_suite behaviour in the Platforms docs
+ dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
Enable toolchain resolution for filegroup targets.
+ 24d086446f74606819dc53c3a436caa056ff05b7:
PlatformProviderUtils should ignore targets that don't have the
needed
+ ba60c0b3f9bbd00975c984244839b155e84b4c5d:
ijar: fix manifest sections handling
+ 58bb42ad7ca263a75c6eeef51482f805726663a5:
Revert "Switch to -fdebug-compilation-dir"
+ 57672aca01b3be895382c952b550c9f8edf6c9f2:
Update turbine
+ bef4bbbb47d47befe3711d06f358782ee12554f9:
Update turbine
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ ad241fbebd90a9f0ad65ccd0658838f57030db68:
Allow cquery to filter out incompatible targets
+ 1782f0ae751569607ef88930c822ac460a1f8bb3:
Patch grpc to fix cares selecting the wrong source when building
for darwin_arm64 cpu.
+ 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
[1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 848a51747a460ab4c5185e4c61ab522a9981cbea:
[2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 9b30172547f2093acb56aedf159a77d5dceffda2:
[3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
blobs
+ 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
Allow exec groups to inherit from the rule or other exec groups.
+ d0676693310215407224c1b8e8aea9e3eddc183d:
Support execution constraints per exec group
+ f1e0d346c8235c855e61afc2adb870e4b895e002:
Clean up RuleContext to use a Table instead of a Map of Maps.
+ 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
Documentation for #13110
+ 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
Prevent --repo_env from triggering unnecessary fetches
+ 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
Prevent a crash when using --repo_env=VAR without a value
+ 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
Report digest of failed uploads
+ 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
Status error presentation with details
+ 9a70805db543e2fb910e1c55ef3b3567362adf30:
Fix double shutdown of BuildEventArtifactUploader when BES+File
output enabled.
+ 325eb956c92530bdfda54a36a186cae4245a4f7b:
Add rxjava3 to third_party
+ ceaac966a7b977461b69ce9501df6a467f4a93b2:
remote: set executable bit of an input file based on its real
value
+ 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
Remote: correctly implement equals and hashCode.
+ 48648503729d53fdee1322fde2c8e6c05e99cff9:
Fixed an error that bazel binary is not executable when testing
with remote execution.
+ bc54c648aa1f99509c7c36d5e6b570d066689209:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata.
+ 92955e617b5c41713a5163dc0437c2a024b31815:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 2)
+ 75bd1ff8ab56d241916bde36291301fa026b2bab:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 3)
+ 37ee252f3744abc4511f55b5089cc52abd3ba09d:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 4)
+ 71e35b165f924e2649a078fcf6007645d58039af:
Remote: Use parameters instead of thread-local storage to
provide tracing metadata. (Part 5)
+ 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
Write/QueryWriteStatus logging refinement/addition
+ 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
Remote: gRPC load balancing. (Part 1)
+ e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
Remote: gRPC load balancing. (Part 2)
+ 6667ad7dd77f8d97952133052c17e7779c1430ec:
Remote: gRPC load balancing. (Part 3)
+ 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
Remote: gRPC load balancing. (Part 4)
+ 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
Implement getMessage for BulkTransferException
+ a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
Remote: gRPC load balancing. (Part 5)
+ 7a62c2d4e27e398f440910c81eacc384f38ca8be:
Remote: Add interoperability between Rx and ListenableFuture.
+ 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
Update to latest remote-execution proto
+ dad96301d12aa77eb67399e08265a5f30f5ffd6a:
Set Platform on Action not just Command
+ 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
Remote: Add AsyncTaskCache which is used to deduplicate task
executions and cache the results.
+ 9d0c7325ac810febe565a62fdd875ae0c240b274:
Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
+ f54fe07209acc25340df8d2e02993b1add2deafa:
Add --experimental_repository_disable_download to allow users
disable download for external repos
+ b243584a479eb4481a9bf4f69acc899610a3b630:
Report errors parsing rewriter config file
+ 63bc1c7d0853dc187e4b96a490d733fb29f79664:
Downloader rewriter config has all_blocked_message
+ 495ac923f398443be45c20ab29d183fe47e08911:
Allow UrlRewriter to change protocol, i.e. https->http, and
http->https
+ 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
Allow overriding the hostname and instance name in bytestream://
URIs
+ 0881c80d29acecdfbb58c49156f805e8c50db117:
Don't set requestId on non-multiplex requests.
+ e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
When generating a symlink in _virtual_includes, add the original
header to the 'allowed to use' set too
+ f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
Make SimpleLogHandler not swallow interrupts.
+ f8606e5e76579442a1c6563e718ea54c673f1a04:
linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
+ dac0d40d0eb903f5cb70341398d1a333c19adf3a:
Improve "Common Attributes" section
+ a607d9dc70ac67f1aa2c32ca954177f9c77860be:
Never create more than one process per WorkerMultiplexer.
+ 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
Move sending requests and reading responses for multiplex
workers into separate subthreads.
+ 003cfcde3fd3901c1279ba1db3db3a14536248b4:
Allow use of JSON protocol in multiplex workers.
+ 308bce36cba46095fe41866e703710035ddddada:
Actively kill off still-active workers when stopping work on
interrupt.
+ 8959dff512fe4505af786bcf2ef981ec7082a913:
Add sanitizer support to Apple platforms
+ 32f16e9360f3e1856db1775eb5014b930da2a303:
Fix a Google-internal broken link.
+ c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
Add SHA-1 to subresource integrity format for download()
checksums
+ 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
Remove fallback strategy support for workers, add flag for it in
sandbox.
+ 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
Update to java_tools javac11 10.6 (#13245)
+ 4928295b236ec8f590a7e9d863502bc2f50a77d9:
Allow .S files in C++ Starlark cc_common.compile.
+ 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
Automatic code cleanup.
+ b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
Change short output of worker type to have the same logic as the
worker creation for sandboxing vs. multiplex.
+ e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
More properly destroy workers on interrupt.
+ 7056711eb11b672133274eb29fc93b01dcf088d5:
Make WorkRequestHandler do a GC after some amount of CPU time
has been used on requests. For Bazel and Blaze, defaults to 10s
based on benchmarking.
+ 596653d3cf76e7b208da343e1fde5fe20273a5ff:
Allow tree artifacts to be source or header inputs to
cc_common.compile()
+ 055c93d11ab20cc4479539b24bbdfa5cab78a342:
Switch to path autocompletion after -- for bazel run commands.
+ 807f2a1929e23b60b237c63fadb25af81de2e3c3:
Fix Incompatible Target Skipping for test args
+ 9a5cd854e0613f91d52075973e2454b1e009e1ef:
Fix order of build request id and command id
+ 706f5acd02363e48076dc97e37613fd968932d03:
Fix bazel crash when passing config_setting to
target_compatible_with
+ 61da1d2bf10eabba4c75de959b0374f302d89d70:
Support multiple --bazelrc on command line
+ 5593358a58b66f06c4e421bb48856de94c3fd625:
Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
to
+ 662cf54de7a103db30e04ebae2d2b919437c4846:
Remote: Fix an issue that a failed action could lead to
RuntimeException caused by InterruptedException thrown when
acquiring gRPC connections.
https://github.com/bazelbuild/bazel/issues/13239
+ a3a1763212f29932618b9b9b2f929976ae0e3b6e:
Pass more `--add-exports=` flags
+ d2b942879471786e82f1c96eea8722bbe7919fc1:
Remote: Fixed a bug that remote cache is missed due to
executable bit is changed
+ 616dc264f02907d7b7887285d22307dfe6d097b6:
Fix Bazel Coverage with C++ to work with Remote Execution
+ 5f40d12e741aa30d506eaa15673fb2ae76d29468:
Fix external_path_test with newer Xcode versions.
+ b416193075642017e13c774422b49cb07fb65c23:
Allow using embedded tools in sandboxed spawn runners.
+ eb762d4e7431637e607146b1c191485795047ef9:
Fix racy write of temporary files while staging virtual inputs
for the sandbox.
+ f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
Update platforms_test to not rely on filegroup not using
toolchain
+ 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
Update SkyframeTests to not rely on filegroup not using toolchain
+ 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
Update ConfigurableAttributesTest to not rely on filegroup not
using …
+ 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
Make WorkerExecRoot not be a subclass of SandboxedSpawn.
+ 31db460a45767de0bcd664a6efbe9d163b85b802:
Make WorkerExecRoot not be re-created on each createFileSystem()
call. Preparation for holding a map of existing links, but also
just nicer.
+ a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
Start the file existence check traversal from the execroot base
instead of execroot so that external repo files at
"<execroot>/../<path>" are correctly handled when the sibling
repository layout is enabled.
+ b048282c7893231d3a7191b251804973917b07a4:
Use readdir for cleanExisting in WorkerExecRoot.
+ 270f00dd01fa06cf3e813da5a406be3446de7377:
Add native support for Apple Silicon
+ 8e56b9423e8ad2f7323fb90b19b73858def81e39:
Explicitly state that embedding macOS OpenJDK is for x86_64
+ 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
Remote: Fix a race that AsyncTaskCache#Execution could be reused
after disposed which results in
CancellationException("disposed") propagated to downstream.
+ 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
Remove wrapped_clang params files after use
+ 47edc57806056f3c8764241ed41b8acc72bd2ebf:
Silence swiftmodule timestamp warnings
+ f6e1074b09ebefba185c0531e9cea26b9596c8a9:
Remote: Use shutdownNow() instead of shutdown() in
ChannelConnection#close() as a workaround to a gRPC bug.
+ 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
And mnemonic and label to remote metadata
+ 6d28486e8eca70f76d13922944cb567b8aa09380:
Change `set -x` in coverage to be set by var
+ 9b9de653355864e9700889ee36a3a49a450a2607:
Bump minimal JDK install base maximum size from 290 to 295 MB.
+ 9e7e592ca51eba1a3f120320c41c845312894d74:
Remote: Check the return value of ActionOwner.getLabel() since
it could be `null`.
+ 14abe4fd7c3967686a3536939fdc3882e691bca2:
Allow `DiffAwareness` to share precomputed information about the
workspace and propagate it to the `WorkspaceStatusAction`.
+ 082d98772690946ed29c157e60640c97a6e1195b:
Implement available() method for Windows subprocesses.
+ c2bdd034014f66ce14529cc353cda18a32320f6c:
Move --repo_env to common options
+ e09f2743738044095b9d784ea62df16b7f5750e6:
Revert "Documentation for #13110"
+ a165baa250652fdc865ae0df39160be1f7f74c47:
Revert "Clean up RuleContext to use a Table instead of a Map of
Maps."
+ 51fb9e13a864f4f704ae378ea632433bae7ddc31:
Revert "Support execution constraints per exec group"
+ cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
Revert "Allow exec groups to inherit from the rule or other exec
groups."
```
Important changes:
- Multiplex persistent workers can now use the JSON protocol.
This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Keith Smiley, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, Timothy Klim, Ulf Adams, Vaidas Pilkauskas, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
## Release 4.0.0 (2021-01-21)
```
Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Cherry picks:
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
Use getRunfilesPath for run_under executable path generation.
getRootRelativePath doesn't return a valid runfiles path for
external source files anymore after the recent external source
root change. Also, it won't work for external labels either once
the --nolegacy_external_runfiles becomes default. This fixes
issue #12545.
+ d90ec67fdab9710f649a3c1d374fb6b938b9271a:
Fix NPE when coveragerunner is not set on the toolchain.
+ 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
Fix the classic query package-loading cutoff optimization with
external workspaces.
+ d113d7454127bba78aa618dac81e5d164920b662:
Update turbine
+ 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
Support Scala3 .tasty files
+ 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
Update to java_tools javac11 release 10.5 (#12647)
+ a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
Fix common prefix for instrumentation filter
+ 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
Fix builds for filegroup targets with incompatible dependencies
+ e43825d0bef359f645e1cabf2164fd2db6ee4a35:
Revert "Remove
--incompatible_blacklisted_protos_requires_proto_info"
+ 082d58de852ebaa640bcf13cf419cbb94eec2b26:
Transform roots along with paths during output deletion.
+ e8835c1c221d76a2d5532d18083eaa04401619b3:
AttributeContainer.Large now handles more than 127 attributes.
+ e1e87349335ac59f9b3df47cee8b999faeaa6d11:
Add an env attribute to all test and binary rule classes
+ a87d7ed2411d5382bac58a20b79e09c464ad13b9:
Take no action to prefetch empty artifacts.
+ 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
Fix a couple of bugs with Incompatible Target Skipping
+ e6670825b1e183f81f5c864aafd425d512fa9ff5:
Pass --host_action_env to host options hostActionEnvironment
attribute
+ 07400c0392e7be163f8a3396fa5cf89ce6705412:
Add --{no,}autodetect_server_javabase.
+ c83366064621d5a265eba14d93a03deff58fe6d8:
Only treat "env" and "env_inherit" attrs specially for native
rules
+ 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
Fix coverage support when using default_java_toolchain. (#12801)
+ 4158a6f512e52516437e00f8d9609a91be7fc195:
Revert JacocoCoverage target to remote_java_tools_java_import
and add a new target for remore_java_tools_filegroup. (#12813)
+ f6d30cf5ef9a8a39fea7072317f89a872387b790:
Add windows_msvc back to conditions in bazel_tools.
```
New features:
- Starlark-defined flags can now be shorthanded using --flag_alias.
Important changes:
- Add --starlark:file option. This adds a capability to the
(cquery)[https://docs.bazel.build/versions/master/cquery.html]
feature in `--output=starlark` mode so that the expression to
format output may
be specified in a file.
- Error messages emitted when an action fails are reworked to be
more informative about the failing action. Some tooling may have
to be updated as a result.
- Querying with output=location now allows the relative_locations
flag to properly display relative locations instead of the full
path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
- --flag_alias can now be used without
--experimental_enable_flag_alias
- Remove no-op `--deep_execroot` flag
- The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
the build tool is crashing due to OOM.
- Added flag `incompatible_display_source_file_location` for `blaze
query location=output` to print the location of line 1 of the
actual source files instead of the source file targets. Provides
a solution to https://github.com/bazelbuild/bazel/issues/8900.
- The Starlark json module is now available.
Use json.encode(x) to encode a Starlark value as JSON.
struct.to_json(x) is deprecated and will be disabled by
the --incompatible_struct_has_no_methods flag.
- The flag `--incompatible_objc_compile_info_migration` is enabled
by default. See #10854.
- The flag `--incompatible_objc_provider_remove_compile_info` is
enabled by default. See #11359.
- Add `relative_ast_path` feature for darwin builds to relativize
swiftmodule paths for debugging
- Use proto.encode_text(x) to encode a Starlark value as textproto.
struct.to_proto() is deprecated and will be disabled by
the --incompatible_struct_has_no_methods flag.
Both functions now reject list/dict fields that contain list/dict
elements.
- Add --starlark:file option. This adds a capability to the
(cquery)[https://docs.bazel.build/versions/master/cquery.html]
feature in `--output=starlark` mode so that the expression to
format output may be specified in a file.
See [Configured Query Starlark
Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
zKIyPoBeF95Rs4c/edit)
- Flipped --incompatble_proto_output_v2 for aquery.
- The --incompatible_load_java_rules_from_bzl flag is now a no-op.
- The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
- Flipped --incompatible_force_strict_header_check_from_starlark
- --incompatible_string_replace_count is flipped and removed
(#11244)
- Bazel skips incompatible targets based on target platform
and `target_compatible_with` contents. See
https://docs.bazel.build/versions/master/platforms.html for more
details.
- Bazel returns exit code 36 (rather than 1) if it fails to start a
subprocess in a local sandbox due to environmental issues, for
example, if the argument list is too long.
- //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
See https://github.com/bazelbuild/bazel/issues/11218 for
instructions
on how to migrate to the replacement.
- Javac now supports multiplex workers.
- The `--default_ios_provisioning_profile` flag has been removed
(it was a no-op).
- Add support for using AndroidX dependencies in
data-binding-enabled targets.
- Fix data-binding generation for android_local_test.
- Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
this passes `-fdebug-prefix-map=$PWD=.` for every compile to
remove absolute paths from debug info.
- --incompatible_run_shell_command_string is enabled by default
(#5903)
- py_binary now tolerates package paths that contain hyphens ('-').
Note that such paths might not be importable from within Python
code.
- C++ Starlark API requires linker_inputs wrapping library_to_link.
#10860
- Toolchain rule is extended with target_settings attribute.
- --incompatible_restrict_string_escapes=true is now the default.
Unnecessary backslashes such as "\." in string literals are now
an error, instead of being silently treated as "\\.".
To fix the error while preserving behavior, double the backlash.
However, the error is often a sign that the original code was
wrong.
- Propagate instrumented files for transitive sources of
`android_library` and `android_binary`
- --local_resources and --incompatible_remove_local_resources have
been removed. If you've been setting --local resources or
--incompatible_remove_local_resources=false, you must migrate to
using --local_ram_resources and --local_cpu_resources instead.
- Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
- --incompatible_avoid_conflict_dlls=true is now the default.
- Dynamic execution now uses the new scheduler by default.
- Dynamic execution now uses the new scheduler by default.
- The new dynamic scheduler is now the default.
This release contains contributions from many people at Google, as well as Adam Liddell, Akira Baruah, Alexander Grund, Alex Eagle, Andrew Z Allen, Austin Schuh, Benjamin Peterson, Benson Muite, Brentley Jones, Cristian Hancila, Dan Halperin, Daniel Wagner-Hall, Dmitry Ivankov, Dmitry Ivankov, erenon, Eric Cousineau, Greg Estren, Gregor Jasny, Grzegorz Lukasik, Grzegorz Lukasik, hollste, Joe Lencioni, johnjbarton, Jonathan Perry, Jonathon Belotti, Keith Smiley, Kevin Gessner, Matt Davis, Matt Mackay, Menny Even Danan, Neeraj Gupta, Philipp Schrader, Ricardo Delfin, Ryan Beasley, Samuel Giddins, Simon Bjorklen, Simon Stewart, Stiopa Koltsov, Thi Doan, ThomasCJY, Timothy Klim, Tom de Goede, vectoralpha, V Vn Ngha, William A Rowe Jr, Xavier Bonaventura, Yannic Bonenberger, Yannic.
## Release 3.7.2 (2020-12-17)
```
Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
Cherry picks:
+ 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
Release 3.7.0 (2020-10-20)
+ d563446a77b906807cea86f5c2abafa5900d901a:
Add `-XDcompilePolicy=simple` to default javacopts
+ 6336264e4b0d8cc422ec73e1b923bf8014ace778:
Update rules_cc reference to head of rules_cc as of 2020-11-11.
+ b3f934680554515aa312b5dd4453df5cd38f0aea:
Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
+ e055b433efdccb28b9c21082e72d8e79d9b34e0f:
Remove accidentally re-added
tools/jdk/java_toolchain_default.bzl.
+ 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
Avoid the spawn cache if executing dynamically.
+ d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
Release 3.7.1 (2020-11-24)
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
Use getRunfilesPath for run_under executable path generation.
getRootRelativePath doesn't return a valid runfiles path for
external source files anymore after the recent external source
root change. Also, it won't work for external labels either once
the --nolegacy_external_runfiles becomes default. This fixes
issue #12545.
```
Important changes:
- Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
This release contains contributions from many people at Google, as well as William A Rowe Jr.
## Release 3.7.1 (2020-11-24)
```
Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
Cherry picks:
+ 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
Release 3.7.0 (2020-10-20)
+ d563446a77b906807cea86f5c2abafa5900d901a:
Add `-XDcompilePolicy=simple` to default javacopts
+ 6336264e4b0d8cc422ec73e1b923bf8014ace778:
Update rules_cc reference to head of rules_cc as of 2020-11-11.
+ b3f934680554515aa312b5dd4453df5cd38f0aea:
Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
+ e055b433efdccb28b9c21082e72d8e79d9b34e0f:
Remove accidentally re-added
tools/jdk/java_toolchain_default.bzl.
+ 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
Avoid the spawn cache if executing dynamically.
```
Important changes:
- Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
This release contains contributions from many people at Google, as well as William A Rowe Jr.
## Release 3.7.0 (2020-10-20)
```
Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
```
Incompatible changes:
- The syntax //foo/BUILD can no longer be used on the command line
to refer to the //foo:BUILD target. Use //foo:BUILD (preferred)
or foo/BUILD instead. This does not affect BUILD/bzl files, where
that syntax already didn't work.
- This removes `--objc_header_scanner_tool`. The flag was primarily
used internally, and to our knowledge, a compatible tool was
never released. Therefore this flag is believed to be unused.
New features:
- select() directly supports constraint_value (no need for an
intermediate config_setting).
Important changes:
- Non-android targets can again be built when
android_sdk_repository is present but invalid.
- Add a build variable for -install_name / -soname.
- Add a build variable for -install_name / -soname.
- Include "resources" attr in dependency attributes for java_*
coverage configuration.
- --trim_test_configuration should work for almost all cases when a
non-test target depends on a test.
- Javac now supports multiplex workers.
- Javac now supports multiplex workers.
- Blaze now allows symbolic links that point to their own ancestor
unless they are traversed recursively by e.g. a //... recursive
target pattern or a recursive glob.
- Blaze now allows symbolic links that point to their own ancestor
unless they are traversed recursively by e.g. a //... recursive
target pattern or a recursive glob.
- Blaze now allows symbolic links that point to their own ancestor
unless they are traversed recursively by e.g. a //... recursive
target pattern or a recursive glob.
- Generated Go protobufs no longer depend on //net/proto2/go:proto
This release contains contributions from many people at Google, as well as Benjamin Peterson, Cristian Hancila, Ed Schouten, Fredrik Medley, Greg Estren, jgehw, Jin, Kalle Johansson, Keith Smiley, Kseniia Vasilchuk, Michael Eisel, Michael Hackner, Michael Krasnyk, Mostyn Bramley-Moore, Ruixin Bao, Samuel Giddins, Simon Stewart, Torgil Svensson, Ulf Adams, Vasilios Pantazopoulos, Wenyu Zhang, Yannic Bonenberger, yoav-steinberg.
## Release 3.6.0 (2020-10-06)
```
Baseline: aa0d97c0bfc4c09ec6f45303aa80052ba28afbd9
Cherry picks:
+ 32c88da98f301333dc447b75564459165368d418:
Patch RuleContext for android_binary.deps to restore legacy
behavior.
+ db9fc88fed387f09067a9250a731f8bf9ad74b05:
android_test also needs the legacy behavior in
RuleContext.getPrerequisites.
+ 144d5149a0c50e464dd1be0769fed2ce33ab26a4:
Update android_sdk_repository to create a valid, but useless,
repository
+ bb11f9235da52eb3b3e462ce0286f1a89188cb89:
Patch upb to fix build error with gcc 10
+ 9f06be482aea3fcadeaf8fca6e48b32f224eba2e:
Patch upb to fix build error with gcc 10 (third_party)
+ b67b75e3a62f5433d812993f3702f431b6967e86:
Fix issue where libtool_check_unique isn't found for sandbox
builds
```
Incompatible changes:
- `--experimental_ui_limit_console_output` is removed. Users of
`--experimental_ui_limit_console_output=1` for silencing terminal
output should use `--ui_event_filters=` instead.
- --proto:instantiation_stack must be enabled in addition to
--record_rule_instantiation_callstack to see call stack in proto
output from blaze query.
New features:
- cc_common.compile support for include_prefix/strip_include_prefix
- Multiplexed persistent workers: Use
--experimental_worker_max_multiplex_instances to configure the
number of WorkRequests that are sent concurrently to one worker
process. The --worker_max_instances flag will no longer be used
to determine max instances for multiplex workers, since the two
have different resource requirements. Multiplex workers will by
default have a max instances of 8.
Important changes:
- The prelude file (//tools/build_rules:prelude_bazel) is now
processed as a Starlark module, rather than being sourced into
the BUILD file textually. This may cause slight breakages
depending on the content of the prelude file. (Use of the prelude
file is discouraged as it will be removed in the long term.)
- Removed --experimental_ignore_deprecated_instrumentation_spec and
cleaned up the old deprecated behavior.
- Added CODEBASE.md, a description of the Bazel codebase.
- Removed the flag --experimental_transparent_compression.
- Removed the flag --experimental_action_args.
- Stop needlessly parsing WORKSPACE files from external
repositories.
- Dot ('.') is now allowed in workspace names. See
https://github.com/bazelbuild/bazel/issues/11837.
- This change can cause memory and performance regressions for some
builds with C++ dependencies, due to extra actions being executed.
RELNOTES: None
- Building Android apps for legacy multi-dex (pre-L) now require a
main-dex list if the application does not fit into a single DEX
file.
- Puts the experimental_worker_multiplex flag to use.
- In Starlark, the Args object supports a new parameter file format
'flag_per_line', compatible with the Abseil flags library.
- The flag --incompatible_no_support_tools_in_action_inputs is
removed.
- Support for NDK 21 added
- Bazel will now skip printing action stdout/stderr contents if
they exceed --experimental_ui_max_stdouterr_memory_bytes.
- The Starlark interpreter now correctly emits an error
if the operand of the first loop in a list comprehension
refers to a variable bound by a later loop, such as y in
this example:
[e1 for x in f(y) in e2 for y in e3] # error: undefined y
^
This may cause latent dynamic errors to become static errors.
- Added support for a 'supports-graceful-termination' execution
requirement and tag, which causes Bazel to send a SIGTERM to any
tagged
actions before sending a delayed SIGKILL. This is to give
actions, and more
specifically tests, a chance to clean up after themselves.
- Non-android targets can again be built when
android_sdk_repository is present but invalid.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Daniel Wagner-Hall, Dave MacLachlan, David Ostrovsky, Emil Kattainen, George Gensure, Greg Estren, Keith Smiley, mai12, Mai Hussien, Michael Eisel, Per Halvor Tryggeseth, Ruixin Bao, Samuel Giddins, Steeve Morin, Thi Doan, Tom de Goede, Ulf Adams, Zhongpeng Lin.
## Release 3.5.0 (2020-09-02)
```
Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
Cherry picks:
+ a7a0d48fbeb059ee60e77580e5d05baeefdd5699:
Make no-op starlark transition not affect the output directory.
+ b37c51c7085f0aefe04034dd451acb847605ddb5:
Add include_prefix and strip_include_prefix to cc_common.compile
+ f6ad35fcde93f92c591778ed7db38d167f5bbc03:
Delete --experimental_transparent_compression
+ 39bc97eab295bddb35b38bfc4a2ff3d2b15d034e:
Remove --experimental_action_args
+ b9706675a7abf6ceebb250f0b3dfa4087a0c35f6:
Stop needlessly parsing WORKSPACE files from external
repositories.
+ e574d558da17cfd0f818e7a937a07926aa270069:
Allow hyphen char in workspace name
+ 9993785fa0c4fa4172aa31d306f3abea76833abf:
Allow dot ('.') in workspace names.
```
New features:
- cc_common.compile support for include_prefix/strip_include_prefix
Important changes:
- Removed the flag --experimental_transparent_compression.
- Removed the flag --experimental_action_args.
- Stop needlessly parsing WORKSPACE files from external
repositories.
- Dot ('.') is now allowed in workspace names. See
https://github.com/bazelbuild/bazel/issues/11837.
This release contains contributions from many people at Google, as well as David Ostrovsky.
## Release 3.5.0 (2020-09-02)
```
Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
Cherry picks:
+ d6b9469efebd200a39d7fd43876a18822fcdbe7b:
Make no-op starlark transition not affect the output directory.
+ b37c51c7085f0aefe04034dd451acb847605ddb5:
Add include_prefix and strip_include_prefix to cc_common.compile
+ 0ebb1d5a5388109e3f026a355c77fdf0121f3a43:
Delete --experimental_transparent_compression
+ 312e121c70aebfaa91b0a3106fa964e0bc12d1df:
Remove --experimental_action_args
+ 7e6e855bb82734f582e03c2c7fad3148c139d0e0:
Stop needlessly parsing WORKSPACE files from external
repositories.
+ d4049f6f85efb8f48d1f6b72764115af5b184831:
Allow hyphen char in workspace name
+ 0a35be1843a2e4d49d5e5c3893cd6673705b7fb1:
Allow dot ('.') in workspace names.
```
Incompatible changes:
- The --experimental_process_wrapper_wait_fix flag (used
purely to roll out a risky bug fix) has been removed.
- Removed the --experimental_ui_deduplicate flag.
- Bazel now correctly prefers Xcode versions in `/Applications`
over any other paths, which resolves an issue with accidentally
picking up an Xcode version from a Time Machine backup or network
disk. In the improbable case that you relied on the old behavior
and Bazel now picks up Xcode from the wrong location, you can fix
it by moving that Xcode version to /Applications.
New features:
- cquery now follows aspects with --include_aspects.
- cc_common.compile support for include_prefix/strip_include_prefix
Important changes:
- Add support to bazel/crosstool for building arm64 on macos aka
darwin
- Add opt in 'oso_prefix_is_pwd' feature for Apple builds
- Add InstrumentedFilesInfo provider to Starlark globals.
- Fixed resource shrinking when <overlayable/> tags are used.
- Remove old incompatible flag
--incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
s_tree.
- Update coverage configuration for Python, filegroup, and shell
script rules to distinguish between source and dependency
attributes.
- Add support to bazel/crosstool for building arm64e on macos aka
darwin
- Make filegroup always forward InstrumentedFilesProvider and not
collect any sources directly.
- Support signing key rotation in android_binary
- Remove legacy handling of --extra_checks
- Support signing key rotation in android_binary
GO...
- `--apple_bitcode` now takes an optional platform and only applies
the Bitcode mode to that platform if present. The option may be
provided multiple times.
- Support signing key rotation in android_binary
- NS_BLOCK_ASSERTIONS is now passed for all Apple architectures.
- Major changes to reporting of Starlark errors and the call stack.
(Please be alert to possible regressions, such as errors that
lack relevant location information.)
- Removed the flag --experimental_transparent_compression.
- Removed the flag --experimental_action_args.
- Stop needlessly parsing WORKSPACE files from external
repositories.
- Dot ('.') is now allowed in workspace names. See
https://github.com/bazelbuild/bazel/issues/11837.
This release contains contributions from many people at Google, as well as Adam Gross, Andrew Suffield, Benjamin Peterson, bnczk, David Ostrovsky, Ed Schouten, Greg Estren, Grzegorz Lukasik, Holger Freyther, Kalle Johansson, Keith Smiley, Kerrick Staley, Kyle Teske, Mostyn Bramley-Moore, Ryan Beasley, Ryan Pavlik, Siggi Simonarson, Stiopa Koltsov, Ulf Adams, Xiaoyi Shi, Yannic Bonenberger, Yesudeep Mangalapilly.
## Release 3.4.1 (2020-07-14)
```
Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
Cherry picks:
+ f31f2d787116120b2b16e9aa9a64fab171c0d954:
fixup! Gracefully handle the lack of subreaper support in Linux.
+ 3a4f221e3c57495c1ed0d1ec8128f92323b13079:
Revert "Replace the remaining dependencies for Bazel Debian
build (third_party)"
+ c55ec0f2cb3f5b44e5025bf9d3c5dc91d94db287:
Revert "Upgrade gRPC to 1.26.0"
```
This release contains contributions from many people at Google, as well as Ryan Beasley.
## Release 3.4.0 (2020-07-13)
```
Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
Cherry picks:
+ a4334be50a206bf8d676a0196af11056c48ac35b:
fixup! Gracefully handle the lack of subreaper support in Linux.
```
Incompatible changes:
- This removes the short-lived --process_wrapper_extra_flags
flag, which was introduced primarily to roll out a bug fix.
Unfortunately,
this made us inadvertently expose all of the process-wrapper's
command line
interface to the public, which should not have happened. Given
the corner
case of the utility of this flag, the lack of documentation for
it, and the
fact that it only appeared in a single release, we are treating
this as a
bug instead of a backwards compatibility breakage.
New features:
- bazel info: Allow to specify multiple keys.
- Support code coverage with GCC 9.
Important changes:
- Allow InstrumentedFilesInfo fields to be read from Starlark.
- The --starlark_cpu_profile=<file> flag writes a profile in
pprof format containing a statistical summary of CPU usage
by all Starlark execution during the bazel command. Use it
to identify slow Starlark functions in loading and analysis.
- The --debug_depset_flag has been removed as it is in effect
always on at no cost.
- Rule authors should use the
incompatible_use_toolchain_transition rule attribute to migrate
to using
the toolchain transition. jcater to udpate notes further.
- `apple_binary` rules now accept the `stamp` attribute with the
same
semantics that it has in `cc_binary` rules.
- --incompatible_objc_provider_remove_compile_info turns off
the compile info/mege_zip Starlark APIs in ObjcProvider. See
#11359.
- The --debug_depset_flag has been removed as it is in effect
always on at no cost.
- Fix behavior of ctx.actions.write so content is written without
an incorrect encoding to UTF-8.
See https://github.com/bazelbuild/bazel/issues/10174 for details.
- Collect more performance metrics for worker execution.
- Add flag --incompatible_force_strict_header_check_from_starlark
- Configure coverage and runfiles for sh_library.
- Adds --incompatible_blacklisted_protos_requires_proto_info to
indicate whether proto_lang_toolchain.blacklisted_protos requires
ProtoInfo.
This release contains contributions from many people at Google, as well as Andrzej Guszak, Benjamin Peterson, Benjamin Romano, Carlos Eduardo Seo, Claudio Bley, dannysullivan, David Ostrovsky, George Gensure, Graham Jenson, Grzegorz Lukasik, Gunnar Wagenknecht, Henk van der Laan, Jin, John Millikin, Marin Baron, Nikhil Marathe, Robin Nabel, Ryan Beasley, Samuel Giddins, Sergey Balabanov, utsav-dbx, Vo Van Nghia, Yannic Bonenberger.
## Release 3.3.1 (2020-06-30)
```
Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
Cherry picks:
+ cb798a475eb54087e1e83f8aa1dc1c54550877b5:
Restore missing Building with Platforms docs.
+ 9be97678b02bbd45d164c8458c8fd4f7791cb7aa:
Release 3.3.0 (2020-06-17)
+ 3b0439e37247a480e08337a6314d06231bdbafd3:
Fix incorrect assumption of desugar persistent worker conditional
```
This release contains contributions from many people at Google, as well as .
## Release 3.3.0 (2020-06-17)
```
Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
Cherry picks:
+ 23bd69d7499de097b15e6025cc0796bdbc9886b8:
Restore missing Building with Platforms docs.
```
Incompatible changes:
- The startup option --fatal_event_bus_exceptions is now a no-op
and will be removed soon.
New features:
- Bazel offers basic completion for the fish shell.
Important changes:
- Add configuration_field for --custom_malloc to cpp config fragment
- Flip --incompatible_objc_compile_info_migration to true. See
#10854.
- It is now possible to use different action mnemonics while still
sharing the same pool of persistent workers. It requires setting
a new property
on the execution requirements (`worker-key-mnemonic`). The value
overrides
the action's mnemonic when it comes to reusing worker processes.
- linkshared=1 in cc_binary no longer requires '.so' or '.dll' in
the target name
- Revert --incompatible_objc_compile_info_migration to false. See
#10854.
- Invoke clang with the correct -target flag when building for
watchOS.
- NA
- Add experiment flag to forward InstrumentedFilesInfo from
non-tool deps by default.
This release contains contributions from many people at Google, as well as Abhishek Kumar, Adam Azarchs, Akira Baruah, Daniel Wagner-Hall, Derek Argueta, glukasiknuro, Greg Estren, Greg, Jason Furmanek, Jiri Dank, Keith Smiley, Kseniia Vasilchuk, Laurent Le Brun, Matt Mackay, Michael Klemm, Nikolay Shelukhin, Patrick Balestra, Rui Chen, Siggi Simonarson, sventiffe, Tobias Werth, Tom de Goede, Vladimir Chebotarev, Yannic Bonenberger.
## Release 3.2.0 (2020-05-27)
```
Baseline: 1d93d26d9900328dcba0026bf21cb45cc37a4596
```
Important changes:
- Renamed --experimental_slim_json_profile to --slim_profile.
- Expose ctx.attr.write Args content for analysistest when possible
- Added aquery_differ_v2 that works with the new aquery proto
output format.
- Add new flag, 'experimental_no_product_name_out_symlink', to omit
creating '<product>-out' symlink if user specifies
'--symlink_prefix' option.
- --ram_utilization_factor is removed (as is
--incompatible_remove_ram_utilization_factor). Please use
--local_ram_resources.
- Improve include scanner support for cl.exe and clang-cl command
lines
- ctx.split_attr now includes attributes with Starlark split
transitions.
- Added --incompatible_string_replace_count, to make
string.replace() behave as in Python.
- Bazel can now recursively delete non-executable but readable
directories.
- Restore case-sensitivity to -I and /I include scanning detection
to avoid conflicts.
This release contains contributions from many people at Google, as well as Alessandro Patti, Antoine Eiche, Beebs, Brian Silverman, George Gensure, Gerhard Pretorius, Gibson Fahnestock, Greg, Gregor Jasny, Gustav Westling, hannometer, Jin, Jonathan Gerrish, Josh Smith, Justin Y Wei, Laurent Le Brun, Links, liubang, Lszl Csomor, Matt Mackay, Moritz Krger, Ryan Beasley, Siddhartha Bagaria, Yannic Bonenberger, Yannic, Zhongpeng Lin.
## Release 3.1.0 (2020-04-21)
```
Baseline: 17ebbf15bea3733c0c21e0376fb5906e391edb49
Cherry picks:
+ 71fb56b4bb669a419f473598c8722e125dbb5c9e:
Suppress last-ditch download exceptions w/cleanup
+ fd60614c38da0db22431d91a793423904dff801f:
In repo rules, don't warn about generator_* attributes being
non-canonical
+ 2a372792f5cc09bd0e8389d5fc4bbfdd2f5d6e37:
Refactor configureFeatures and prevent NPE
+ 777a6ee6ed95cae4ddb949d52b63ee8a66024f03:
Automated rollback of commit
0bbe38176e15d891a4e4cab2d8425e292de6cc5f.
+ 2ee53c9267eb6de8eae109950ca8f3953bf1ae66:
Guard parseActionResultMetadata with bulk wrapper
```
Incompatible changes:
- The deprecated startup options
--experimental_oom_more_eagerly(_threshold) are removed.
Important changes:
- Remove flag
--incompatible_load_proto_toolchain_for_javalite_from_com_google_p
rotobuf which has been flipped in Bazel 3.0.
- Allow assembly file sources in cc_common.compile.
- Set default .netrc file on Windows to %USERPROFILE%
- A maximum 150 attributes per RuleClass is enforced
- Increase max targets per rule class limit to 200
- ctx.split_attr now includes attributes with Starlark split
transitions.
- The --max_computation_steps flag bounds the computation done by a
BUILD file.
- Native patch can handle file permission properly
- Aspects may now propagate through dependencies on rule outputs by
being defined with `apply_to_generating_rules = True`.
- 'query --output=build' now shows where rule classes (not just
rules) are created.
- The flag `incompatible_bzl_disallow_load_after_statement` is
removed.
- ctx.split_attr now includes attributes with Starlark split
transitions.
- The flag `incompatible_no_output_attr_default` is removed.
- Fix wall-time of the SpawnResult in WorkerSpawnRunner
- Add stamp parameter for cc_common.link to enable including build
info
- The flag `--incompatible_restrict_named_params` is removed.
- The flag `--incompatible_depset_union` is removed.
- Bazel uses fewer compiler flags by default when building
Objective-C. In
particular, Bazel no longer sets `-O0`, `-DDEBUG=1`,
`-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg
mode, and
Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`,
`-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply
these
flags to your project, you can reenable them in your CROSSTOOL.
- A maximum attribute name length is 128 is enforced
This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Benjamin Romano, Bor Kae Hwang, Chris Heisterkamp, Cristian Hancila, Dmitri G, Douglas Parker, George Gensure, Gregor Jasny, John Millikin, Keith Smiley, Leo, Mike Fourie, Patrick Balestra, Robbert Van Ginkel, Ryota, Samuel Giddins, Ulf Adams, Ulf Adams, Vertexwahn, Xavier Bonaventura, Yannic Bonenberger.
## Release 3.0.0 (2020-04-06)
```
Baseline: 3c7cc747ac653dca8b88a9e43726a794e2c27a9c
Cherry picks:
+ 19e214b44df9c82a8a3bd3381344f7145813c572:
Use prefix encoding for paths.
+ 63b01f7b1cd6603a08bf2a8ae813388c201e3448:
Avoid file operations in the sandbox creation critical path.
+ 80a2d7cc5f8a22816934dcd2ca9bdf87050f3d9f:
Implementation (but not plumbing) of the gRPC remote downloader
+ 586eabf419972c74fdd5fef328cfe9a259e035ed:
Implement RemoteDownloader w/ `--experimental_remote_downloader`
```
Incompatible changes:
- Flip --incompatible_remove_enabled_toolchain_types, so that rules
can no longer access enabled toolchain types from the platform
fragment.
- The --incompatible_use_jdk11_as_host_javabase flag has been
removed (it was flipped in Bazel 0.25.0).
- Using JDK 9 or 10 as a `--host_javabase` is no longer officially
supported. As always, you can use the
`@bazel_tools//tools/jdk:toolchain_vanilla` Java toolchain to use
older or newer JDKs than what Bazel currently supports.
- --fatal_event_bus_exceptions is deprecated and should not be
used. Any crashes should be reported so that they can be fixed.
- The old-style binary profile format is no longer suppported, use
the new JSON trace profile instead.
Important changes:
- Improve the performance of creating a sandboxed execution root
for workers when the number of inputs is large (>1000).
- Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
natively supported and will require custom flags to compile with
e.g. clang.
- Add actions' primary output details in JSON profile and
analysis_v2.proto.
- Add --cds_archive option for embedding CDS archive into deploy
JAR.
- Add new global attribute: applicable_licenses
- Package level default with default_applicable_licenses
- guarded by --incompatible_applicable_licenses (default true for
Blaze, false for Bazel)
- In support of
https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolid
GYdYqagLqHWt8/edit#
- Non-test Java rules no longer require the TestConfiguration and
thus --trim_test_configuration is again usable for Java builds
- The flag `--incompatible_always_check_depset_elements` is enabled
by default.
- --incompatible_objc_compile_info_migration determines
whether native rules can assume compile info has been migrated to
CcInfo. See https://github.com/bazelbuild/bazel/issues/10854.
- --incompatible_remove_local_resources is true by default. Please
use --local_ram_resources and --local_cpu_resources instead of
--local_resources.
This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Christy Norman, Dave hughes, David Haxton, David Neil, garyschulte, George Chiramel, George Gensure, Gibson Fahnestock, Greg Estren, Greg, Jason Hoch, Jin, John Millikin, Jonathan Springer, Keith Smiley, Laurent Le Brun, Ulf Adams, Yannic Bonenberger, Yannic, Yihong Wang, Yuchen Dai.
## Release 2.2.0 (2020-03-03)
```
Baseline: 78055efad0917b848078bf8d97b3adfddf91128d
```
Incompatible changes:
- The --[no]incompatible_windows_bashless_run_command flag is no
longer supported. It was flipped in Bazel 1.0
- The --[no]incompatible_windows_native_test_wrapper flag is no
longer supported. It was flipped in Bazel 1.0
Important changes:
- Consistent target naming style in example target names.
- cquery's config() now supports arbitrary configurations.
- The flag --incompatible_disallow_dict_lookup_unhashable_keys is
removed.
- Include target label in Python version error message.
- The flag --incompatible_remap_main_repo is removed.
- Windows: we now discourage running Bazel from MSYS2 because of a
newly found bug (#10573)
- Reduced the packaging time (`package-bazel.sh`) for the
`//src:bazel-dev` Bazel development build target from 14s to 6s.
Use `//src:bazel-dev` if you're iterating rapidly on a local
Bazel changes, and use `//src:bazel --compilation_mode=opt` for
release builds.
- cquery: "//foo:bar" now means "all configured targets with label
//foo:bar" instead of "choose an arbitrary configured target with
label //foo:bar". See cquery docs for details.
- WORKSPACE and BUILD.bazel files of http_archive repositories can
now be patched using the "patch_cmds" and "patches" attributes.
- Actions with "parse" on the critical path should no longer finish
in the future.
- Flags that affect external repositories like
"--override_repository" can now be addressed in bazelrc files
using the "common" command, without causing commands like "bazel
shutdown" to fail.
- The flag --incompatible_disallow_unverified_http_downloads is
removed.
- Create the incompatibleApplicableLicenses flag.
We plan to flip this from false to true in Bazel 4.x.
Implementation to follow.
- Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
natively supported and will require custom flags to compile with
e.g. clang.
- Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
natively supported and will require custom flags to compile with
e.g. clang.
- The --starlark_cpu_profile=<file> flag writes a profile in
pprof format containing a statistical summary of CPU usage
by all Starlark execution during the bazel command. Use it
to identify slow Starlark functions in loading and analysis.
- --ram_utilization_factor will be deprecated. Please use
--local_ram_resources=HOST_RAM*<float>
- Docs: glob() documentation is rewritten, and now it points out a
pitfall of rules shadowing glob-matched files.
This release contains contributions from many people at Google, as well as Alessandro Patti, Alex Kirchhoff, aman, Artur Dryomov, Benjamin Peterson, Benjamin Peterson, David Ostrovsky, Elliotte Rusty Harold, Eric Klein, George Chiramel, George Gensure, Guillaume Bouchard, Hui-Zhi, John Millikin, Jonathan Springer, Laurent Le Brun, Michael McLoughlin, nikola-sh, Nikolaus Wittenstein, Nikolay Shelukhin, Yannic Bonenberger, Yannic.
## Release 2.1.0 (2020-02-07)
```
Baseline: 41ec5a28fb30a8d6c5c60194c4bb29528352cf78
Cherry picks:
+ 733ac0ff7ad1e13ab68ceb2fde694d7ab71b2366:
Adds an alias for d8_jar_import in android.WORKSPACE.
+ c94b1474b368dedf9f68f34fad90cc8664f2b0e0:
Automatic code cleanup.
+ 2a8cc7075f741721563efd9dc050ca3458cde30b:
Do not fail or print errors when Shellzelisk cannot find a
requested ?
+ bdf34d7fd9539411e93348ba25307f34362d9a42:
Fix race when extracting the install base when Bazel runs in a
PID namespace.
+ d381c25bb7dd205c283f7ad91cac13190d2dfede:
Fix wrong mode of install base directory.
+ eab39cc7b5a612f891fd1e5af5b45bdc1b66e6e1:
Disable broken test_max_open_file_descriptors.
```
Incompatible changes:
- The following attributes of CcToolchainProvider, which formerly
were
accessible both as fields (x.f) and as methods (x.f()), are now
only fields:
New features:
- Similar to the
[.bazelignore](https://docs.bazel.build/versions/master/guide.html
#.bazelignore) in the main repository, a `.bazelignore` file in
external repository will cause the specified directories to be
ignored by Bazel. Bazel won't try to identify any packages under
the directories, but the files can still be referenced in other
BUILD files.
- bazelignore files now support line comments, e.g. "# this is a
comment"
Important changes:
- Experimental support for d8 merger is now available for use using
--define=android_dexmerger_tool=d8_dexmerger.
- Critical path run time should not have a longer run time than
total execution run time.
- Remove "please do not import" warning for cc rules.
- x.f() is now equivalent to y=x.f; y(). That is, x.f should return
the same
attribute value regardless of whether it is accessed as a field
or called
like a method. Any arguments to the call are evaluated after the
x.f operation.
- Add desugaring support for RoleManager#addRoleHolderAsUser
- Adds ctx.target_platform_has_constraint to allow rules to check
the target platform's constraints.
- Critical path run time should not have a longer run time than
total execution run time.
- Post new ConvenienceSymlinksIdentifiedEvent to the
BuildEventProtocol when
--experimental_convenience_symlinks_bep_event is enabled.
- Keyword-only arguments are now allowed:
def foo(a, *, k): pass
def foo(a, *b, k): pass
where k can be specified only by keyword:
foo(5, k=6)
- Generated Go protobufs now depend on //net/proto2/go:protodeps in
addition to //net/proto2/go:proto
- cquery 'somepath' returns more reliable results when the
dep has a different configuration than the parent. To get a
result for
`somepath(//foo, //bar`) where //bar isn't in the top-level
configuration,
run your query with `--universe_scope=//foo`. See cquery docs for
details.
This release contains contributions from many people at Google, as well as Adam Liddell, Alessandro Patti, Andreas Herrmann, Bor Kae Hwang, Brian Silverman, Emran BatmanGhelich, George Gensure, Greg Estren, Jeff Palm, Jonathan Beverly, Mark Nevill, Patrick Niklaus, Peter, Philipp Wollermann, Ryan Beasley, Shin Yamamoto, Yen-Chi Chen.
## Release 2.0.0 (2019-12-19)
```
Baseline: 807ed23e4f53a5e008ec823e9c23e2c9baa36d0d
Cherry picks:
+ db0e32ca6296e56e5314993fe9939bc7331768ec:
build.sh: Fix bug in build script for RC release
+ 85e84f7812f04bc0dbc36376f31b6dd2d229b905:
Set --incompatible_prohibit_aapt1 default to true.
+ 84eae2ff550c433a3d0409cf2b5525059939439d:
Let shellzelisk fallback to bazel-real if it's the requested
version.
+ d5ae460f1581ddf27514b4be18255481b47b4075:
Fix a typo in bazel.sh
```
Incompatible changes:
- --incompatible_remap_main_repo is enabled by default. Therefore,
both ways of addressing the main repository, by its name and by
'@' are now considered referring to the same repository.
see https://github.com/bazelbuild/bazel/issues/7130
- --incompatible_disallow_dict_lookup_unhashable_keys is enabled by
default https://github.com/bazelbuild/bazel/issues/9184
- --incompatible_remove_native_maven_jar is now enabled by default
and the flag removed. See https://github.com/bazelbuild/bazel/issues/6799
- --incompatible_prohibit_aapt1 is enabled by default.
See https://github.com/bazelbuild/bazel/issues/10000
Important changes:
- --incompatible_proto_output_v2: proto v2 for aquery proto output
formats, which reduces the output size compared to v1. Note that
the messages' ids in v2 are in uint64 instead of string like in
v1.
- Adds --incompatible_remove_enabled_toolchain_types.
- Package loading now consistently fails if package loading had a
glob evaluation that encountered a symlink cycle or symlink
infinite expansion. Previously, such package loading with such
glob evaluations would fail only in some cases.
- The --disk_cache flag can now also be used together
with the gRPC remote cache.
- An action's discover inputs runtime metrics is now categorized as
parse time on the CriticalPathComponent.
- Make the formatting example more like to the written text by
adding an initial description.
- An action's discover inputs runtime metrics is now categorized as
parse time on the CriticalPathComponent.
- Bazel's Debian package and the binary installer now include an
improved wrapper that understands `<WORKSPACE>/.bazelversion`
files and the `$USE_BAZEL_VERSION` environment variable. This is
similar to what Bazelisk offers
(https://github.com/bazelbuild/bazelisk#how-does-bazelisk-know-whi
ch-bazel-version-to-run-and-where-to-get-it-from), except that it
works offline and integrates with apt-get.
- We are planning to deprecate the runfiles manifest files, which
aren't safe in the presence of whitespace, and also unnecessarily
require local CPU when remote execution is used. This release
adds --experimental_skip_runfiles_manifests to disable the
generation of the input manifests (rule.manifest files) in most
cases. Note that this flag has no effect on Windows by default or
if --experimental_enable_runfiles is explicitly set to false.
This release contains contributions from many people at Google, as well as aldersondrive, Benjamin Peterson, Bor Kae Hwang, David Ostrovsky, Jakob Buchgraber, Jin, John Millikin, Keith Smiley, Lauri Peltonen, nikola-sh, Peter Mounce, Tony Hsu.
## Release 1.2.1 (2019-11-26)
```
Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
Cherry picks:
+ c76c3e539c73ecf6e96e3e098be7be59e17bf276:
Replace macOS CC path with relative path
+ 63332eb556fadfe9edd0806add79942482adddef:
Hardcode path to dirname on macOS
+ ceadf0a063cb97c32aced143d2447781d1dafc38:
Add tool executables (from FilesToRunProvider) to action inputs.
+ dbe63b00954a25fa4405f7cbf273df78c16498dd:
Fix some of the bazel Windows tools code to work with GCC.
```
This release fixes a single regression:
- #10297: Bazel 1.2.0 does no longer run on macOS High Sierra.
It is the same code as Bazel 1.2.0, except that we rebuild the macOS release
binaries with Xcode 10.2.1 to make them backwards compatible with older macOS
versions again.
## Release 1.2.0 (2019-11-20)
```
Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
Cherry picks:
+ c76c3e539c73ecf6e96e3e098be7be59e17bf276:
Replace macOS CC path with relative path
+ 63332eb556fadfe9edd0806add79942482adddef:
Hardcode path to dirname on macOS
+ ceadf0a063cb97c32aced143d2447781d1dafc38:
Add tool executables (from FilesToRunProvider) to action inputs.
+ dbe63b00954a25fa4405f7cbf273df78c16498dd:
Fix some of the bazel Windows tools code to work with GCC.
```
Incompatible changes:
- Tree artifacts and regular artifact paths can no longer overlap.
New features:
- Added a special "_validation" output group to enable moving
"validation actions" off the critical path of builds.
Important changes:
- The query flag "--host_deps" (commonly used as "--nohost_deps")
has been renamed to "--tool_deps", and now also removes
dependencies in any execution configuration from being reported
in the query output. The previous flag name is deprecated and
will be removed in a future release.
- The `cc_common.{compile,link}` APIs can now be used without
passing the `--experimental_cc_skylark_api_enabled_packages` flag.
- A list of log paths will be provided in build output.
- Improve runfiles documentation.
- Improve documentation on rule outputs.
- BUILD/.bzl execution errors cause execution to stop, even at
top-level
- Multiple Starlark validation errors are reported in a single pass.
- Introduce --experimental_nested_set_as_skykey_threshold
- Blaze will prevent idle sleep during test and build actions. Note
that this does not affect screen savers and will not keep a
laptop awake if the user forces sleep or closes the lid. This is
purely to avoid idle sleeping when the user is not interacting
with the device.
- Improve testing docs.
- Incompatible flag
`--incompatible_validate_top_level_header_inclusions` has been
added. See https://github.com/bazelbuild/bazel/issues/10047 for
details.
- Fix an aquery bug with handling malformed queries that crashes
bazel.
- List fields on CcLinkingOutputs.
- [Python] Added flag --incomaptible_default_to_explicit_init_py to
switch the default value of legacy_create_init to True. With this
flag enabled, your py_binary and py_test targets will no longer
behave as if empty __init__.py files were implicitly littered in
your runfiles tree. See
[#10076](https://github.com/bazelbuild/bazel/issues/10076).
- Fix documentation on allowed target names.
- --target_platform_fallback now also applies to exec/host
configurations
- android_binary and android_libary can now depend on targets
providing
CcInfos.
- Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
- d8 dexers (both standalone and incremental) are now available for
use.
- Add Desugar support for FreezePeriod#<init>
This release contains contributions from many people at Google, as well as Alex Kirchhoff, Andrew Suffield, Asaf Flescher, Austin Schuh, Benjamin Peterson, Bor Kae Hwang, Brian Richardson, Christy Norman, Clint Harrison, Dan Halperin, Daniel Martn, Dave Lee, David Neil, David Ostrovsky, George Gensure, Greg Estren, Greg, Ira Shikhman, Jacob Parker, Jakub Bujny, John Millikin, John Millikin, Keith Smiley, Laurent Le Brun, marcohu, Marwan Tammam, Mostyn Bramley-Moore, Peter Mounce, Ruben Das, Stepan Koltsov, Thi Don, Thi, Tomasz Strejczek, Walt Panfil, Yannic Bonenberger, Zackary Lowery.
## Release 1.0.1 (2019-10-21)
```
Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Cherry picks:
+ a0e3bb207fe2044120a2555a37162ee1f2b17500:
Remove support for authentication and .netrc
+ ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
Add explicit --sdk argument to xcrun calls
+ 847df729528f6e5919ec8374247eadf792cba544:
toolchain_vanilla: Unset source and target language level
versions
+ 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
Update java_tools version to javac11-v5.1.
+ 9c257df5b9b1de5459fc066e77c435ae085957a7:
Release 1.0.0 (2019-10-10)
+ f7a31b30f5319639c36a6c6b1c14f358597d98d2:
Prevent action-cache duplicate suppression
+ 618e5a28f7f735c37724377b15775a4975349c74:
Use FileSystemUtils.moveFile instead of renameTo function of Path
```
This release contains contributions from many people at Google, as well as David Ostrovsky, George Gensure, Keith Smiley.
## Release 1.0.0 (2019-10-10)
```
Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Cherry picks:
+ a0e3bb207fe2044120a2555a37162ee1f2b17500:
Remove support for authentication and .netrc
+ ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
Add explicit --sdk argument to xcrun calls
+ 847df729528f6e5919ec8374247eadf792cba544:
toolchain_vanilla: Unset source and target language level
versions
+ 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
Update java_tools version to javac11-v5.1.
```
Incompatible changes:
- Python, Windows: the
--[no]incompatible_windows_escape_python_args is no longer
supported. (It was flipped to true in Bazel 0.27.0)
- --incompatible_use_native_patch is enabled by default
- Windows: --incompatible_windows_bashless_run_command is now true
by default, meaning "bazel run //foo:bin" will run the binary as
a subprocess of the Bazel client. (When the flag is false, the
binary is executed as a subprocess of Bash.)
- Windows: --incompatible_windows_native_test_wrapper is enabled by
default
New features:
- Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
More details at
https://docs.bazel.build/versions/master/be/general.html#genrule.c
md
- config_setting can now check multiple values on "--foo=firstVal
--foo=secondVal ..."-style flags
- tags: use `--experimental_allow_tags_propagation` flag to
propagate tags to the action's execution requirements from
targets. Such tags should start with: `no-`, `requires-`,
`supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
- Users can now get generated def file from cc_library via
"def_file" output group on Windows.
- Platform-specific bazelrc: with --enable_platform_specific_config
you can
enable flags in bazelrc according to your host platform.
- tags: use `--experimental_allow_tags_propagation` flag to
propagate tags to the action's execution requirements from
cc_library or cc_binary targets. Such tags should start with:
`no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
See #8830 for details.
- tags: use --experimental_allow_tags_propagation flag to propagate
tags to the action's execution requirements from java targets.
Such tags should start with: no-, requires-, supports-, block-,
disable-, cpu:. See #8830 for details.
Important changes:
- Bazel Android builds now use aapt2 by default. To revert to aapt,
set `--android_aapt=aapt`.
- Make either --subcommands or --verbose_failures imply
--materialize_param_files
- Bazel Android builds now use aapt2 by default. To revert to aapt,
set `--an...
RELNOTES: None
- by default all remote connections considered to be via `gRPC`
with TLS enabled, unless other specified. To disable TLS use
`grpc://` prefix for you endpoints. All remote connections via
`gRPC` affected - `--remote_cache`, `--remote_executor` or
`--bes_backend`. http cache/executor is not affected. See #8061
for details.
- cc_* rules support non-transitive defines through a
'local_defines' attribute.
- Enable
incompatible_disallow_rule_execution_platform_constraints_allowed
by default (https://github.com/bazelbuild/bazel/issues/8136).
- incompatible_disallow_split_empty_separator is enabled by default
- Fixed Android build issues with aapt2 on Windows. See the [GitHub
issue](https://github.com/bazelbuild/bazel/issues/9102) for more
information.
- --incompatible_disable_static_cc_toolchains has been flipped. See
https://github.com/bazelbuild/bazel/issues/8546.
- --remote_default_platform_properties has been deprecated in favor
of --remote_default_exec_properties.
- The --incompatible_make_thinlto_command_lines_standalone flag has
been flipped, see https://github.com/bazelbuild/bazel/issues/6791
for more information.
- The --incompatible_use_specific_tool_files flag has been flipped.
See https://github.com/bazelbuild/bazel/pull/9126 for more
information.
- Clarify default visibility.
- Enables incompatible_auto_configure_host_platform
- New incompatible flag --incompatible_disable_depset_items
disables the "items" parameter in the Starlark depset
constructor. Use "direct" and "transitive" parameters instead.
- --incompatible_assignment_identifiers_have_local_scope is enabled
- incompatible_disable_partition_default_parameter is enabled by
default ()
- incompatible_restrict_attribute_names is enabled
(https://github.com/bazelbuild/bazel/issues/6437)
- The --incompatible_disable_nocopts flag has been flipped. See
https://github.com/bazelbuild/bazel/issues/8546 for more
information.
- Deprecated Java-Starlark API java_common.create_provider is
removed. JavaInfo() legacy args (actions, sources, source_jars,
use_ijar, java_toolchain, host_javabase) are removed.
- The flag incompatible_disallow_hashing_frozen_mutables is enabled
(https://github.com/bazelbuild/bazel/issues/7800)
- `maven_jar` and `maven_server` now disallow using plain HTTP URLs
without a specified checksum. If you are still using `maven_jar`,
consider migrating to
[`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
ernal) for transitive dependency management. See
[#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
information.
- Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
consider migrating to SHA-256 as SHA-1 has been deemed
cryptographically insecure ([https://shattered.io]()). Or, use
[`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
ernal) to manage your transitive Maven dependencies with artifact
pinning and SHA-256 verification support.
- introducing per-target exec_properties
- Bazel now supports ThinLTO builds on Linux for Clang versions >=
6.0. ThinLTO can be enabled through --features=thin_lto
- The Target.output_group field in Starlark is removed. Use
OutputGroupInfo instead. See
https://github.com/bazelbuild/bazel/issues/7949 for details.
- Make a number of parameters of Starlark builtin functions
positional-only (as opposed to specifiable by keyword). See
https://github.com/bazelbuild/bazel/issues/8147 for details.
- incompatible_skip_genfiles_symlink is enabled by default (#8651)
- Change Pruned events will fire immediately after being checked.
- --incompatible_remove_legacy_whole_archive has been flipped. See
https://github.com/bazelbuild/bazel/issues/7362 for more
information
This release contains contributions from many people at Google, as well as Adam Liddell, Alessandro Patti, Arshabh Kumar Agarwal, Artem Pelenitsyn, Artem Zinnatullin, Benjamin Peterson, David Ostrovsky, Emmanuel Goh, Farhim Ferdous, George Gensure, iirina, Keith Smiley, Kiril Videlov, Laurent Le Brun, Mantas Sakalauskas, Marwan Tammam, Matt Mukerjee, panzhongxian, Shachar Anchelovich, Stepan Koltsov, Stephan Wolski, Travis Clarke, Yannic Bonenberger, Yuta Saito.
## Release 0.29.0 (2019-08-28)
```
Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
Cherry picks:
+ 338829f2633e91ae0492ee4169446465e10b5994:
Fix retrying of SocketTimeoutExceptions in HttpConnector
+ 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
Fallback to next urls if download fails in HttpDownloader
+ b7d300c6be3e130dec0e62a4f19493105f595d57:
Fix incorrect stdout/stderr in remote action cache. Fixes #9072
+ 960217631abdcab0a7ed95e2ab10acd55f636639:
Automated rollback of commit
0f0a0d58725603cf2f1c175963360b525718a195.
+ da557f96c697102ad787e57bbf7db2460f6a60a8:
Windows: fix "bazel run" argument quoting
+ ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
Return JavaInfo from java proto aspects.
+ 209175ff8ffeb05628ed8a187dd414a3d2935c55:
Revert back to the old behavior of not creating a proto source
root for generated .proto files.
+ 644060b7a4bc98384b66e3d2343b950b875b5e35:
Fix PatchUtil for parsing special patch format
+ 067040d7bcb3b24a88432e210a96adacee3f37b4:
Put the removal of the legacy repository-relative proto path
behind the --incompatible_generated_protos_in_virtual_imports
flag.
+ 76ed014e77d7b862f6eb2894600ae525ea570f11:
repository mapping lookup: convert to canonical name first
```
Important changes:
- rule_test: fix Bazel 0.27 regression ("tags" attribute was
ingored, https://github.com/bazelbuild/bazel/issues/8723
- Adds --incompatible_enable_execution_transition, which enables
incremental migration of host attributes to exec attributes.
- objc_proto_library rule has been deleted from Bazel.
- repository_ctx.read is no longer restricted to files
in the repository contructed.
- tags 'no-remote', 'no-cache', 'no-remote-cache',
'no-remote-exec', 'no-sandbox' are propagated now to the actions
from targets when '--ncompatible_allow_tags_propagation' flag set
to true. See #8830.
- Adds flag
--//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
pkg_rpm, pkg_tar}.
- The Android NDK is now integrated with toolchains. To use them,
pass the `--extra_toolchains=@androidndk//:all` flag or register
them in your WORKSPACE with
`register_toolchains("@androidndk//:all")`.
- Stdout and stderr are checked to determine if output is going to a
terminal. `--is_stderr_atty` is deprecated and `--isatty` is
undeprecated.
- --incompatible_load_proto_rules_from_bzl was added to forbid
loading the native proto rules directly. See more on tracking
issue #8922
- Docker Sandbox now respects remote_default_platform_properties
- pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
documentation.
- The new java_tools release:
* fixes https://github.com/bazelbuild/bazel/issues/8614
* exposes a new toolchain `@java_tools//:prebuilt_toolchain`
which is using all the pre-built tools, including singlejar and
ijar, even on remote execution. This toolchain should be used
only when host and execution platform are the same, otherwise the
binaries will not work on the execution platform.
- java_common.compile supports specifying
annotation_processor_additional_inputs and
annotation_processor_additional_outputs for the Java compilation
action for supporting annotation processors that consume or
produce artifacts. Fixes #6415
- There is now documentation on optimizing Android app build
performance. Read it at
https://docs.bazel.build/versions/0.29.0/android-build-performance
.html
- Execution log now respects --remote_default_platform_properties
- Include a link to the relevant documenation on transitive Python
version errors.
- New incompatible flag
--incompatible_disable_target_provider_fields removes the ability
(in Starlark) to access a target's providers via the field syntax
(for example, `ctx.attr.dep.my_provider`). The provider-key
syntax should be used instead (for example,
`ctx.attr.dep[MyProvider]`). See
https://github.com/bazelbuild/bazel/issues/9014 for details.
- A new platform exec_properties is added to replace
remote_execution_properties.
- Added --incompatible_load_python_rules_from_bzl, which will be
flipped in Bazel 1.0. See
https://github.com/bazelbuild/bazel/issues/9006.
- add --break_build_on_parallel_dex2oat_failure to shortcut tests
on dex2oat errors
This release contains contributions from many people at Google, as well as Alexander Ilyin, Arek Sredzki, Artem Zinnatullin, Benjamin Peterson, Fan Wu, John Millikin, Loo Rong Jie, Marwan Tammam, Oscar Bonilla, Peter Mounce, Sergio Rodriguez Orellana, Takeo Sawada, and Yannic Bonenberger.
## Release 0.28.1 (2019-07-19)
```
Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Cherry picks:
+ 6d0b14b95a71175362030b4811ca74512b00a890:
rule_test: apply "tags" to all rules in the macro
+ 18cd9048526f067a4950c6ddbf4b1b3604760af0:
Release 0.28.0 (2019-07-10)
+ 2260b970cb2a10c21a2fde116aa82c79be52991f:
When copying dynamic libraries to binary, copy them into the
runfiles as well.
+ a0af170f87c8230fcd8860599b983df097b646bd:
Undo breaking change of hiding android_common behind
--experimental_google_legacy_api
+ c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
Ignore external/ directory in users' source tree when creating
execroot symlink tree.
```
Important changes:
- rule_test: fix Bazel 0.27 regression ("tags" attribute was
ingored, https://github.com/bazelbuild/bazel/issues/8723
This release contains contributions from many people at Google, as well as .
## Release 0.28.0 (2019-07-10)
```
Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Cherry picks:
+ 6d0b14b95a71175362030b4811ca74512b00a890:
rule_test: apply "tags" to all rules in the macro
```
Incompatible changes:
- Add --incompatible_enable_profile_by_default to enable the JSON
profile by default.
- The --incompatible_windows_style_arg_escaping flag is flipped to
"true", and the "false" case unsupported. Bazel no longer accepts
this flag.
Important changes:
- Bazel now supports hiding compiler warnings for targets that
you're not explicitly building (see
https://docs.bazel.build/versions/master/user-manual.html#flag--au
to_output_filter).
- Flag `--incompatible_restrict_escape_sequences` is added. See
https://github.com/bazelbuild/bazel/issues/8380
- The "info" command now supports the "starlark-semantics"
argument, which outputs a representation of the effective Starlark
semantics option values.
- The `outputs` parameter of the `rule()` function is deprecated
and attached to flag `--incompatible_no_rule_outputs_param`.
Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
See https://github.com/bazelbuild/bazel/issues/7977 for more info.
- When `--incompatible_strict_action_env` is enabled, the default
`PATH` now includes `/usr/local/bin`.
- Turn on --experimental_build_setting_api by default for starlark
build settings (see
https://docs.bazel.build/versions/master/skylark/config.html#user-
defined-build-settings for more info)
- `@bazel_tools//tools/jdk:toolchain_java10` and
`@bazel_tools//tools/jdk:toolchain_java11` are now available to
enable java 10, respectively java 11 language level support.
- The `command` parameter of the `actions.run_shell()` function
will be restricted to only accept strings (and not string
sequences). This check is attached to flag
`--incompatible_run_shell_command_string`. One may migrate by
using the `arguments` parameter of `actions.run()` instead. See
https://github.com/bazelbuild/bazel/issues/5903 for more info.
- Incompatible change
`--incompatible_use_platforms_repo_for_constraints` has been
added. See https://github.com/bazelbuild/bazel/issues/8622 for
details.
- Incompatible change
`--incompatible_use_platforms_repo_for_constraints` has been
added. See https://github.com/bazelbuild/bazel/issues/8622 f...
- Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
environment variable to specify system libraries that should be
appended to the link command line.
- paths under the execution root starting with "." or "_" will be
re-linked across builds
- execution_log_json_file now allows actions without outputs.
- Labels aapt as deprecated for aapt_version, and heavily endorses
aapt2.
- Update doc links still pointing to cc_binary.features to point to
common features
- Incompatible change
`--incompatible_use_platforms_repo_for_constraints` has been
added. See https://github.com/bazelbuild/bazel/issues/8622 for
details.
RELNOTES:
- --incompatible_disable_nocopts flag has been added. See
https://github.com/bazelbuild/bazel/issues/8706 for details.
- Fixed treatment of <dist:module /> tags in AndroidManifest.xml
- Fixed asset precedence for android_binary rules with aapt2.
- Bazel now officially supports running on CentOS 7.
- The runtime dynamic libraries are no longer in default output
group of cc_binary.
- set the FDOBuildType as CSFDO for binaries built with
--cs_fdo_absolute_path.
- Bazel can now be bootstrapped and built on arm64 platforms
without requiring any flags or patches.
- Fixed treatment of AndroidManifest.xml attributes which contained
XML escaping
- Retire experimental blaze flag
experimental_link_compile_output_separately. The same behavior is
available through the feature dynamic_link_test_srcs.
- --incompatible_load_java_rules_from_bzl was added to forbid
loading the native java rules directly. See more on tracking
issue #8746
- Turn on --experimental_build_setting_api by default for starlark
build settings (see
https://docs.bazel.build/versions/master/skylark/config.html#user-
defined-build-settings for more info)
- Attribute names are going to be restricted and must be
syntactically valid identifiers.
https://github.com/bazelbuild/bazel/issues/6437
- rule_test: fix Bazel 0.27 regression ("tags" attribute was
ingored, https://github.com/bazelbuild/bazel/issues/8723
This release contains contributions from many people at Google, as well as Ben Diuguid, Benjamin Peterson, Dave Lee, Loo Rong Jie, Mark Butcher, Marwan Tammam, Pedro Alvarez.
## Release 0.27.1 (2019-07-02)
```
Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
Cherry picks:
+ 123c68daed17b19927372e4df7f7a2256db6b80e:
Warn in more cases of possible Python version mismatch in host
config
+ 052167e907373ac7ea43238c3049739f6e94a9d1:
Add a non-strict autodetecting Python toolchain
+ 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
Default java toolchain target
+ 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
Fix problems with the non-strict Python toolchain
+ e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
Automated rollback of commit
bc6f7cb330bb531f062bb301f3703876051191f5.
+ 6efc5b787ad3164cc2fb779c73377695032b4524:
Treat existence of managed directories as a part of repository
dirtiness.
+ 3a4be3c93813987a27a97dade3f9ebbc5770e349:
Add /usr/local/bin to default PATH under strict action env
+ 5c1005c0947b010ee36ca851b8ba07c9479cf682:
Automated rollback of commit
536a166270590a8dbc701718550383f3a07cc763.
+ c82eb4878c7dc829455caeb915affe36c89df06f:
Release 0.27.0 (2019-06-17)
+ d4589630428c1c1bc08a9baf36257e636fe9d746:
Check for both :lcov_merger and $lcov_merger attributes in
TestActionBuilder.
```
Important changes:
- Add new options --cs_fdo_absolute_path= to support the absolute
path
profile for LLVM's context-sensitive FDO.
- When `--incompatible_strict_action_env` is enabled, the default
`PATH` now includes `/usr/local/bin`.
- Turn on --experimental_build_setting_api by default for starlark
build settings (see
https://docs.bazel.build/versions/master/skylark/config.html#user-
defined-build-settings for more info)
This release contains contributions from many people at Google, as well as Ricky Pai.
## Release 0.27.0 (2019-06-17)
```
Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Cherry picks:
+ fe81b49e727efdcc90a270520af193af75f4e31d:
Support of using the absolute path profile for LLVM's Context
Sensitive FDO
+ ce5e7180d98e1244fdfba0349952727826cbd173:
Demote OptionProcessor from globals
+ 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
Properly wire up BES half-close. The lack thereof was a simple
oversight.
+ 4ca768e9f87701fb92598d0a8325a5fc8881a852:
standardize graph output indentation with 2 spaces
+ aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
Make sure default Linux artifacts have an associated action,
even when artifact names are altered.
+ 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
Failures early in package loading will now fail all --keep_going
builds.
+ 123c68daed17b19927372e4df7f7a2256db6b80e:
Warn in more cases of possible Python version mismatch in host
config
+ 052167e907373ac7ea43238c3049739f6e94a9d1:
Add a non-strict autodetecting Python toolchain
+ 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
Default java toolchain target
+ 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
Fix problems with the non-strict Python toolchain
+ e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
Automated rollback of commit
bc6f7cb330bb531f062bb301f3703876051191f5.
+ 6efc5b787ad3164cc2fb779c73377695032b4524:
Treat existence of managed directories as a part of repository
dirtiness.
+ 3a4be3c93813987a27a97dade3f9ebbc5770e349:
Add /usr/local/bin to default PATH under strict action env
+ 5c1005c0947b010ee36ca851b8ba07c9479cf682:
Automated rollback of commit
536a166270590a8dbc701718550383f3a07cc763.
```
Incompatible changes:
- --incompatible_disable_objc_provider_resources no longer has
effect. Use of deprecated resource fields on the Objc provider is
now disallowed regardless of this flag.
- deleted deprecated --experimental-remote-retry* flags, please use
--remote_retries instead
- flipped --incompatible_list_based_execution_strategy_selection
flag to be true by default. See
https://github.com/bazelbuild/bazel/issues/7480 for details.
- Octal integer literals in Starlark are required to start with
"Oo".
- The "native" module is no longer available in BUILD files, all
its members can be accessed directly as global symbols. This can
be temporarily reverted by providing
--incompatible_disallow_native_in_build_file=false as a flag to
Blaze.
- The "native" module is no longer available in BUILD files, all
its members can be accessed directly as global symbols. This can
be temporarily reverted by providing
--incompatible_disallow_native_in_build_file=false as a flag to
Blaze.
- Turn off binary style profile format.
- The "native" module is no longer available in BUILD files, all
its members can be accessed directly as global symbols. This can
be temporarily reverted by providing
--incompatible_disallow_native_in_build_f...
- cleanup that affects user provided apple frameworks is
now enabled by default. See
https://github.com/bazelbuild/bazel/issues/7944 for more info.
- Python rules now determine the Python runtime using toolchains
rather than `--python_top` and `--python_path`, which are
deprecated. See
[#7899](https://github.com/bazelbuild/bazel/issues/7899) for
information on declaring Python toolchains and migrating your
code. As a side-benefit, this addresses
[#4815](https://github.com/bazelbuild/bazel/issues/4815)
(incorrect interpreter version used) on non-Windows platforms.
Note however that some builds break due to getting the version
they asked for -- consider setting `python_version = "PY2"` on
Python 2 targets and `--host_force_python=PY2` if any Python 2
targets are used in the host configuration. You can temporarily
opt out of this change with
`--incompatible_use_python_toolchains=false`.
- Depsets can't be iterated over unless they're converted to lists
using the .to_list() method. Use
--incompatible_depset_is_not_iterable=false to
temporarily restore the previous behaviour.
New features:
- Bash, runfiles: the copy-pasted init code of the Bash runfiles
library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
The rlocation() implementation is the same.
- Bash, runfiles: the copy-pasted init code of the Bash runfiles
library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
The rlocation() implementation is the same.
- Bash, runfiles: the copy-pasted init code of the Bash runfiles
library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
To use the new init code, you need Bazel 0.27 or newer. The old
(longer) init code still works.
Important changes:
- The `outputs` parameter of the `rule()` function is deprecated
and attached to flag `--incompatible_no_rule_outputs_param`.
Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
See https://github.com/bazelbuild/bazel/issues/7977 for more info.
- The --incompatible_disable_objc_library_resources flag is being
removed. Please remove it from your configs as it otherwise will
fail the build.
- Add a generic additional_linker_inputs attribute on cc_binary
rules.
- Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
quotes, so if you set these envvars' values in cmd.exe via
TAB-completion then you no longer need to remove the surrounding
quotes.
- pkg_deb has new attributes: `config` and `templates` that can be
used for integration with debconf
- Allow cc_import() of a DLL with no interface library on Windows,
used to document runtime dependencies.
- All host-configured Python tools that are built for the wrong
Python version will now emit a warning message when they exit
with non-zero status. See #7899.
- deprecated --remote_local_fallback_strategy. Use
`--strategy=remote,local` instead. See
https://github.com/bazelbuild/bazel/issues/7480.
- Introduce --incompatible_disable_native_android_rules flag
- The Android desugaring actions now support a persistent worker
mode for faster local build performance. Enable it with
`--strategy=Desugar=worker`.
- --incompatible_static_name_resolution_in_build_files is now
enabled by default
- --incompatible_disable_deprecated_attr_params is now enabled by
default (#5818)
- Repository containing autoconfigured C++ toolchain
`@local_config_cc` has been split in 2 - see
`local_config_cc_toolchains`.
- --incompatible_string_join_requires_strings is now enabled by
default
- Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
- New flag `--incompatible_disallow_empty_glob`. See
https://github.com/bazelbuild/bazel/issues/8195
- --incompatible_no_kwargs_in_build_files is enabled by default
- Incompatible flag
`--incompatible_require_ctx_in_configure_features` has been
flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
more information.
- `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
decide whether to enable toolchains for Apple rules, but to
assume Xcode is
available. Can be also used when building on Darwin and no C++ or
ObjC is being
built, so there is no need to detect Xcode.
- Android desugaring actions now use persistent workers by default.
This has been measured to provide up to 20% reduction in build
times. To disable it, use the `--strategy=Desugar=sandboxed`
flag. See https://github.com/bazelbuild/bazel/issues/8342 and
https://github.com/bazelbuild/bazel/issues/8427 for more details
on local build speed optimization for Android apps.
- Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
pack all selected shared libraries from `aar_import` targets into
the APK. See
[#8283](https://github.com/bazelbuild/bazel/issues/8283).
- Turn on --experimental_starlark_config_transitions by default for
starlark transitions (see
https://docs.bazel.build/versions/master/skylark/config.html#user-
defined-transitions for more info)
- Turn on --experimental_build_setting_api by default for starlark
build settings (see
https://docs.bazel.build/versions/master/skylark/config.html#user-
defined-build-settings for more info)
- Incompatible flag
`--incompatible_dont_enable_host_nonhost_crosstool_features` has
been flipped. See https://github.com/bazelbuild/bazel/issues/7407
for more information.
- Added support for Android NDK 19 and 20.
- Flip --incompatible_no_support_tools_in_action_inputs
- --remote_executor, --remote_cache or --bes_backend=someurl.com
would be treated as grpcs://someurl.com, if the
--incompatible_tls_enabled_removed flag enabled. See
https://github.com/bazelbuild/bazel/issues/8061 for details.
- Add new options --cs_fdo_absolute_path= to support the absolute
path
profile for LLVM's context-sensitive FDO.
- When `--incompatible_strict_action_env` is enabled, the default
`PATH` now includes `/usr/local/bin`.
- Turn on --experimental_build_setting_api by default for starlark
build settings (see
https://docs.bazel.build/versions/master/skylark/config.html#user-
defined-build-settings for more info)
This release contains contributions from many people at Google, as well as Alex Thompson, Andy Scott, Benjamin Peterson, David McNett, Drew Gassaway, Ira Shikhman, James deBoer, Jay Vercellone, Jingwen Chen, Josh Rosen, Keith Smiley, Laurent Le Brun, Lee Mracek, Marwan Tammam, Matt Passell, Michael Hackner, Michal Majcherski, Patrick Niklaus, Peter Mounce, Ricky Pai, Steeve Morin, szakmary, Takuto Ikuta, Vladimir Chebotarev, Yen-Chi Chen.
## Release 0.26.1 (2019-06-06)
```
Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
Cherry picks:
+ d1c0d205945f5a765efb0a48593b1cd82699ce32:
Allow WORKSPACE file to be a symlink if no managed directories
is used.
+ c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
Fix ios, tvos and watchos arm64 constraints
+ 55e42052a22a60b68d88a89932b2a068311b1a95:
Bump java_tools_javac10 from 3.1 to 3.2
```
Patch release on top of 0.26.0, fixing
- https://github.com/bazelbuild/bazel/issues/8475
- https://github.com/bazelbuild/bazel/issues/8520
- https://github.com/bazelbuild/intellij/issues/845
## Release 0.26.0 (2019-05-28)
```
Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Cherry picks:
+ 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
Automated rollback of commit
87388e24814b177f54ca7697b4233489f90c587e.
+ 898d7b6138af73f03daf35b767d252560087de70:
Add test for repository overrides, conflicting with managed
directories being added when Bazel server is already started.
+ c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
Automated rollback of commit
bbe47a1564a832e1a175206f2dfbc92af94c120b.
+ e67c961905792cd63950c6f6efc33275ad243c49:
Fix a non-determinism in create_embedded_tools.py.
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
+ 597e289b097d3bfed8eea1cb0924bbeb04877e42:
remote: made CombinedCache a composition of Disk and Http Cache
+ 942f7cf6a0da0a4ecc804615424f039e50963933:
C++: Fixes bug in C++ API with external repo aspects
+ 85a5a2bd569a5274950fc7327a044c395248c024:
Configure @androidsdk//:emulator_x86 and :emulator_arm to point
to the unified emulator binary
+ 9835cb4135503768cdf1161746b95d7969ccb938:
Automated rollback of commit
844e4e297b404d6ff28b818d8150d4b9c47de887.
+ c963ba21073b514961946b8b4b45b091f08fdaa1:
Windows, Python: fix arg. esc. also in host config
+ a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
Do not pre-cache changed files under managed directories
+ 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
Add explicit execution and target constraints for autodiscovered
cc t?
+ dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
Fix a bug when a relative path is used for the execution log
+ 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
Fix StandaloneTestStrategy.appendStderr
+ 7f495315749478e75a3424726cc273a535b7c3b8:
Fix the autodetecting Python toolchain on Mac
+ ddce7235ef29a0aba727c265eae865d15af4ed09:
Avoid exporting PATH unnecessarily
+ 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
Allow Starlark rules to be able to use the `exec_compatible_with`
```
### Incompatible changes
- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
is enabled by default, and removed.
- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
is enabled by default.
- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
is enabled by default.
- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
is enabled by default.
- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
When enabled, disallows the use of the `execution_platform_constraints_allowed`
attribute when defining new rules.
- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
is now enabled by default.
### Apple
- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
objc framework cleanup that changes the API. Specifically, the cleanup changes
the objc provider API pertaining to frameworks. This change is expected to be
transparent to most users unless they write their own Starlark rules to handle
frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
- `objc_library` does not support resource attributes any more. Please read
[#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
### Android
- Android resource conflicts will no longer be reported between a strong attr
resource and a weak attr resource, if the weak attr does not have format
specified.
### C++
- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
to support LLVM's context-sensitive FDO (CSFDO).
- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
now exposed to Starlark.
- C++ Starlark API for compilation and linking is no longer whitelisted
- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
off legacy_whole_archive for individual targets.
https://github.com/bazelbuild/bazel/issues/7362
### Python
- Fixed an issue where some `py_runtimes` were incompatible with using
`--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
### Starlark
- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
updated to automatically fix this in your code.
- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
files.
- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
is added. This fixes a bug where invalid code was silently accepted.
- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
is added. It removes a deprecated notation for octal numbers.
[Buildifier](https://github.com/bazelbuild/buildtools) can update your code
automatically.
- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
can now convert dictionaries into proto3 text message.
- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
function has a new argument `allow_empty`. When set to `False` (this will be
the default in the future), the glob fails when it doesn't match anything.
Please explicitly set `allow_empty = True` to the globs that need it.
### Windows
- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
(`false` by default) builds `py_binary` and `py_test` targets with correct
command line argument escaping. Similar to
https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
### Other changes
- cquery supports `--output=build`
- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
of `//net/proto2/go:proto`
- Added `--incompatible_remove_binary_profile` to disable the old binary
profiles. Instead use the JSON profile format:
https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
that output a stable sorted execution log. They will offer a stable
replacement to `--experimental_execution_log_file`.
- New platform_mappings ability to allow gradual flag to platforms/toolchains
migration. See also https://github.com/bazelbuild/bazel/issues/6426
- Added support for compiling against fully qualified `R` classes from
`aar_import` dependencies.
- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
the URLs if TLS should be used for a remote connection.
### Community
- Alex Eagle gave a talk at ng-conf:
[The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
- The latest release of
[rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
includes many new improvements, including an initial Windows support.
- The latest
[Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
includes Windows binaries, as well as a JSON output for diagnostics.
- Natan Silnitsky gave the talk
[How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
at the Java Eastern Europe Conference.
This release contains contributions from many people at Google, as well as
Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
Sayre, Ryan Beasley, and Yannic.
## Release 0.25.3 (2019-05-23)
```
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
Release 0.25.0 (2019-05-01)
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
Add implementation to removed methods to address
https://github.com/bazelbuild/bazel/issues/8226
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
+ cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
Release 0.25.1 (2019-05-07)
+ 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
Use package identifier instead of package name
+ 85a5a2bd569a5274950fc7327a044c395248c024:
Configure @androidsdk//:emulator_x86 and :emulator_arm to point
to the unified emulator binary
+ 6549ac5bba3eef2b1813b5a75757437383bf38f0:
Release 0.25.2 (2019-05-10)
+ 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
Fix StandaloneTestStrategy.appendStderr
```
Incompatible changes:
- Flip --incompatible_windows_escape_jvm_flags to true. See
https://github.com/bazelbuild/bazel/issues/7486
This release contains contributions from many people at Google, as well as George Gensure, Keith Smiley, Robert Sayre.
## Release 0.25.2 (2019-05-10)
```
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
Release 0.25.0 (2019-05-01)
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
Add implementation to removed methods to address
https://github.com/bazelbuild/bazel/issues/8226
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
+ cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
Release 0.25.1 (2019-05-07)
+ 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
Use package identifier instead of package name
+ 85a5a2bd569a5274950fc7327a044c395248c024:
Configure @androidsdk//:emulator_x86 and :emulator_arm to point
to the unified emulator binary
```
* Add fix for https://github.com/bazelbuild/bazel/issues/8254
* Add fix for https://github.com/bazelbuild/bazel/issues/8280
## Release 0.25.1 (2019-05-07)
```
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
Release 0.25.0 (2019-05-01)
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
Add implementation to removed methods to address
https://github.com/bazelbuild/bazel/issues/8226
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
```
Adding a commit which reintroduces the implementation for cc_common.compile and cc_common.link https://github.com/bazelbuild/bazel/issues/8226
## Release 0.25.0 (2019-05-01)
```
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
```
Incompatible changes:
- (Starlark rules) The legacy "py" provider can no longer be passed
to or produced by native Python rules; use
[PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
fo.html) instead. See
[#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
information.
- (Python rules) The `default_python_version` attribute of the
`py_binary` and `py_test` rules has been renamed to
`python_version`. Also, the `--force_python` flag has been
renamed to `--python_version`. See
[#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
information.
- (Python rules) The python version now changes to whatever version
is specified in a `py_binary` or `py_test`'s `python_version`
attribute, instead of being forced to the value set by a command
line flag. You can temporarily revert this change with
`--incompatible_allow_python_version_transitions=false`. See
[#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
information.
- --incompatible_disable_third_party_license_checking` is enabled
by default
- Introduced --incompatible_use_python_toolchains, which supersedes
--python_top/--python_path. See #7899 and #7375 for more
information.
- Python 3 is now the default Python version (for `py_binary` and
`py_test` targets that don't specify the `python_version`
attribute). Targets that are built for Python 3 will no longer
have their output put in a separate `-py3` directory; instead
there is now a separate `-py2` directory for Python 2 targets.
See #7359 and #7593 for more information.
- objc_library resource attributes are now disabled by default.
Please migrate them to data instead. See
https://github.com/bazelbuild/bazel/issues/7594 for more info.
- Flip --incompatible_windows_escape_jvm_flags to true. See
https://github.com/bazelbuild/bazel/issues/7486
New features:
- genrules now support a $(RULEDIR) variable that resolves to the
directory where the outputs of the rule are put.
- Added --incompatible_windows_native_test_wrapper flag: enables
using the Bash-less test wrapper on Windows. (No-op on other
platforms.)
Important changes:
- incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
--host_javabase for remote jdk
(https://github.com/bazelbuild/bazel/issues/7219)
- Makes genquery somepath output deterministic.
- Tristate attributes of native rules now reject True/False (use
1/0)
- Rollback of "Tristate attributes of native rules now reject
True/False (use 1/0)"
- Tristate attributes of native rules now reject True/False (use
1/0)
- Added -incompatible_do_not_split_linking_cmdline flag. See #7670
- Tristate attributes of native rules now temporarily accept
True/False again
- `--incompatible_disable_legacy_crosstool_fields` has been flipped
(https://github.com/bazelbuild/bazel/issues/6861)
`--incompatible_disable_expand_if_all_available_in_flag_set` has
been flipped (https://github.com/bazelbuild/bazel/issues/7008)
- `--incompatible_disable_legacy_crosstool_fields` has been flipped
(https://github.com/bazelbuild/bazel/issues/6861)
`--incompatible_disable_expand_if_all_available_in_flag_set...
RELNOTES: None.
- --incompatible_no_transitive_loads is enabled by default.
- Makes TreeArtifact deterministic.
- --incompatible_no_transitive_loads is enabled by default.
- Android NDK C++ toolchain is now configured in Starlark. This
should be a backwards compatible change, but in case of bugs
blame unknown commit.
- `--incompatible_disable_legacy_crosstool_fields` has been flipped
(https://github.com/bazelbuild/bazel/issues/6861)
`--incompatible_disable_expand_if_all_available_in_flag_set` has
been flipped (https://github.com/bazelbuild/bazel/issues/7008)
- --incompatible_no_transitive_loads is enabled by default.
- --incompatible_bzl_disallow_load_after_statement is enabled
- Added `--incompatible_require_ctx_in_configure_features`, see
https://github.com/bazelbuild/bazel/issues/7793 for details.
- Flag --incompatible_merge_genfiles_directory is flipped. This
removes the directory `bazel-genfiles` in favor of `bazel-bin`.
- previously deprecated flag --experimental_remote_spawn_cache was
removed
- `--incompatible_disallow_load_labels_to_cross_package_boundaries`
is enabled by default
- Fix an issue where the Android resource processor did not surface
errors from aapt2 compile and link actions.
- --incompatible_no_attr_license is enabled by default
- `--incompatible_disable_crosstool_file` has been flipped
(https://github.com/bazelbuild/bazel/issues/7320)
- A new flag `--incompatible_string_join_requires_strings` is
introduced. The sequence argument of `string.join` must contain
only string elements.
- --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
s_tree has been flipped
- Incompatible flag `--incompatible_disable_legacy_cc_provider` has
been flipped (see https://github.com/bazelbuild/bazel/issues/7036
for details).
- Don't drop the analysis cache when the same --define flag is set
multiple times and the last value is the same (e.g. if the
current invocation was run with "--define foo=bar" and the
previous one was run with "--define foo=baz --define foo=bar").
- The --incompatible_disable_genrule_cc_toolchain_dependency flag
has been flipped (see
https://github.com/bazelbuild/bazel/issues/6867 for details).
- Incompatible change
`--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
in` has been flipped (see
https://github.com/bazelbuild/bazel/issues/7075 for details).
- --noexperimental_java_coverage is a no-op flag.
- --experimental_java_coverage/--incompatible_java_coverage flag was
removed. See #7425.
- incompatible_use_toolchain_providers_in_java_common: pass
JavaToolchainInfo and JavaRuntimeInfo providers to java_common
APIs instead of configured targets
(https://github.com/bazelbuild/bazel/issues/7186.)
- --incompatible_remote_symlinks has been flipped. The remote
caching and execution protocol will now represent symlinks in
outputs as such. See
https://github.com/bazelbuild/bazel/issues/7917 for more details.
- Bazel is now ~20MiB smaller, from unbundling the Android rules'
runtime dependencies.
This release contains contributions from many people at Google, as well as Andreas Herrmann, Andrew Suffield, Andy Scott, Benjamin Peterson, Ed Baunton, George Gensure, Ian McGinnis, Ity Kaul, Jingwen Chen, John Millikin, Keith Smiley, Marwan Tammam, Mike Fourie, Oscar Bonilla, perwestling, petros, Robert Sayre, Ryan Beasley, silvergasp, Stanimir Mladenov, Travis Cline, Vladimir Chebotarev, ??.
## Release 0.24.1 (2019-04-02)
```
Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Cherry picks:
+ badd82e4c5cda7b3232481e1c63a5550ac898cd8:
Automated rollback of commit
1b4c37c38804559b5c1ade6f9c93501875e231b0.
+ 33e571939085dd158422e1b3503cfc738e0a3165:
Fix the Python version select() mechanism to handle
PY3-as-default
+ 56366ee3a73e2c92b2fa36a9840478202b9618ca:
Set non-empty values for msvc_env_* when VC not installed
+ 22b3fbf4800113df51d603d943bd9eb9517ef904:
Windows, test wrapper: fix broken integration test
+ f14d447cb56aee563f6e686b8f5b086a3bb55d47:
Add whitelist file for starlark transitions
+ d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
Update BUILD
+ 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
Rename tools/function_transition_whitelist/BUILD to
tools/whitelists/function_transition_whitelist/BUILD
+ de0612ad3ef7cc8c44069261befdeb0d15b97c10:
Update bazel_toolchains to latest release and add toolchain
config target for BuildKite CI (rbe_ubuntu1604)
+ 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
Automated rollback of commit
087734009801242b83655efb863b2d5a761ae3dc.
+ 314cf1f9e4b332955c4800b2451db4e926c3e092:
Pass -undefined dynamic_lookup to dynamic library linking
actions on Mac
+ fc586a86b614667a21e5a01aea3544ac0338de78:
Move cc_flags target into @bazel_tools//tools/cpp.
+ ea1703b30f9ac43a0c3262f5729c34658ed8d473:
C++: Fix crash reported in #7721
+ 803801d1494f06f0ce977a1f2241ef6a4d85df09:
Pass execution info to xml generating spawn. Fixes #7794
+ f092ec388a4b58788285b928c86f0f81561d4be4:
Release 0.24.0 (2019-03-26)
+ c56c489119e6587975964c44ceb9e429ad950736:
Wrap StatusRuntimeExceptions from GrpcRemoteCache
```
Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
Cherrypicks:
+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
## Release 0.24.0 (2019-03-26)
```
Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Cherry picks:
+ badd82e4c5cda7b3232481e1c63a5550ac898cd8:
Automated rollback of commit
1b4c37c38804559b5c1ade6f9c93501875e231b0.
+ 33e571939085dd158422e1b3503cfc738e0a3165:
Fix the Python version select() mechanism to handle
PY3-as-default
+ 56366ee3a73e2c92b2fa36a9840478202b9618ca:
Set non-empty values for msvc_env_* when VC not installed
+ 22b3fbf4800113df51d603d943bd9eb9517ef904:
Windows, test wrapper: fix broken integration test
+ f14d447cb56aee563f6e686b8f5b086a3bb55d47:
Add whitelist file for starlark transitions
+ d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
Update BUILD
+ 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
Rename tools/function_transition_whitelist/BUILD to
tools/whitelists/function_transition_whitelist/BUILD
+ de0612ad3ef7cc8c44069261befdeb0d15b97c10:
Update bazel_toolchains to latest release and add toolchain
config target for BuildKite CI (rbe_ubuntu1604)
+ 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
Automated rollback of commit
087734009801242b83655efb863b2d5a761ae3dc.
+ 314cf1f9e4b332955c4800b2451db4e926c3e092:
Pass -undefined dynamic_lookup to dynamic library linking
actions on Mac
+ fc586a86b614667a21e5a01aea3544ac0338de78:
Move cc_flags target into @bazel_tools//tools/cpp.
+ ea1703b30f9ac43a0c3262f5729c34658ed8d473:
C++: Fix crash reported in #7721
+ 803801d1494f06f0ce977a1f2241ef6a4d85df09:
Pass execution info to xml generating spawn. Fixes #7794
```
Incompatible changes:
- Added --incompatible_py3_is_default to test switching the default
Python version to PY3 for py_binary/py_test targets that do not
specify a version. See #7359.
- //tools/cmd_line_differ has been renamed to //tools/aquery_differ
& can now compare (in addition to command lines) inputs of
actions given 2 aquery results.
- java_(mutable_|)proto_library: removed strict_deps attribute.
- The flag --incompatible_list_based_execution_strategy_selection
was added and is used to ease the migration to the new style of
specifying
execution strategy selection and fallback behavior. The
documentation for
this flag is here: https://github.com/bazelbuild/bazel/issues/7480
- Added --incompatible_py2_outputs_are_suffixed, for switching the
bazel-bin symlink to point to Python 3 outputs instead of Python
2 outputs. See
[#7593](https://github.com/bazelbuild/bazel/issues/7593).
New features:
- Make actions.args() object chainable.
- Added --incompatible_windows_style_arg_escaping flag: enables
correct subprocess argument escaping on Windows. (No-op on other
platforms.)
- Added --incompatible_windows_escape_jvm_flags flag: enables
correct java_binary.jvm_flags and java_test.jvm_flags
tokenization and escaping on Windows. (No-op on other platforms.)
Important changes:
- Allow running aquery against the current state of Skyframe
- Added support for the "navigation" resource directory to Android
resource processing in Bazel. This is used by the Navigation
Architecture Component.
- --incompatible_disable_runtimes_filegroups was flipped
(https://github.com/bazelbuild/bazel/issues/6942)
- Incompatible flag `--incompatible_linkopts_in_user_link_flags`
has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
- Incompatible flag `--incompatible_dont_emit_static_libgcc` has
been flipped (https://github.com/bazelbuild/bazel/issues/6825)
- --incompatible_disallow_filetype is enabled by default.
- Fixed issue where exceptions and stacktraces were silently
swallowed in the Android resource processing pipeline.
- `--incompatible_disable_expand_if_all_available_in_flag_set` has
been flipped (https://github.com/bazelbuild/bazel/issues/7008)
- --incompatible_disallow_dict_plus is enabled by default
- Adds --incompatible_disable_objc_library_resources to disable
resource attributes in objc_library. Please migrate these
attributes to `data` instead.
- --incompatible_disallow_old_style_args_add is enabled by default.
- Using the `native` module in BUILD files is deprecated. It will
be forbidden with --incompatible_disallow_native_in_build_file.
- (Python rules) PyRuntimeInfo is exposed to Starlark, making it
possible for Starlark rules to depend on or imitate `py_runtime`.
The `files` attribute of `py_runtime` is no longer mandatory.
- incompatible_use_toolchain_providers_in_java_common: pass
JavaToolchainInfo and JavaRuntimeInfo providers to java_common
APIs instead of configured
targetshttps://github.com/bazelbuild/bazel/issues/7186.
- is_using_fission crosstool variable is now exposed in all compile
actions when fission is active (it used to be exposed only for
linking actions).
- incompatible_use_toolchain_providers_in_java_common: pass
JavaToolchainInfo and JavaRuntimeInfo providers to java_common
APIs instead of configured
targetshttps://github.com/bazelbuild/bazel/issues/7186.
- `py_runtime` gains a `python_version` attribute for specifying
whether it represents a Python 2 or 3 interpreter.
- `--incompatible_java_coverage` is enabled by default.
- Starlark rules can safely declare attributes named "licenses"
- When using
--incompatible_list_based_execution_strategy_selection, Bazel
will use remote execution by default (if you specify
--remote_executor), otherwise persistent workers (if the action
supports it), otherwise sandboxed local execution (if the action
and platform supports it) and at last unsandboxed local
execution. The flags --spawn_strategy and --strategy continue to
work as before - this only sets new defaults for the case where
you don't specify these flags.
- Set default value of --incompatible_remap_main_repo to true.
- Set default value of --incompatible_remap_main_repo to true.
This release contains contributions from many people at Google, as well as Andrew Suffield, Brandon Lico, Chris Eason, Clint Harrison, Ed Schouten, Garrett Hopper, George Gensure, Greg, John Millikin, Julie, Keith Smiley, Laurent Le Brun, Ryan Beasley, Shmuel H, Travis Cline, Vladimir Chebotarev.
## Release 0.23.0 (2019-02-26)
```
Baseline: 441fd75d0047f8a998d784c557736ab9075db893
Cherry picks:
+ 6ca7763669728253606578a56a205bca3ea883e9:
Fix a typo
+ 2310b1c2c8b2f32db238f667747e7d5672480f4a:
Ignore SIGCHLD in test setup script
+ f9eb1b56706f91063e9d080b850fa56964e77324:
Complete channel initialization in the event loop
```
Incompatible changes:
- //src:bazel uses the minimal embedded JDK, if you want to
avoid the extra steps of minimizing the JDK, use //src:bazel-dev
instead.
- //src:bazel uses the minimal embedded JDK, if you want to
avoid the extra steps of building bazel with the minimized JDK,
use //src:bazel-dev
instead.
- The default value of --host_platform and --platforms will be
changed to not be dependent on the configuration. This means
that setting
--cpu or --host_cpu will not affect the target or host platform.
- Toolchain resolution for cc rules is now enabled via an
incompatible flag, --incompatible_enable_cc_toolchain_resolution.
The previous
flag, --enabled_toolchain_types, is deprecated and will be
removed.
- java_(mutable_|)proto_library: removed strict_deps attribute.
- Python rules will soon reject the legacy "py" struct provider
(preview by enabling --incompatible_disallow_legacy_py_provider).
Upgrade rules to use PyInfo instead. See
[#7298](https://github.com/bazelbuild/bazel/issues/7298).
- java_(mutable_|)proto_library: removed strict_deps attribute.
- Two changes to native Python rules: 1) `default_python_version`
and `--force_python` are deprecated; use `python_version` and
`--python_version` respectively instead. You can preview the
removal of the deprecated names with
--incompatible_remove_old_python_version_api. See
[#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
version flag will no longer override the declared version of a
`py_binary` or `py_test` target. You can preview this new
behavior with --incompatible_allow_python_version_transitions.
See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
Important changes:
- There is a new flag available
`--experimental_java_common_create_provider_enabled_packages`
that acts as a whitelist for usages of
`java_common.create_provider`. The constructor will be deprecated
in Bazel 0.23.
- [#7024] Allow chaining of the same function type in aquery.
- Introduces --local_{ram,cpu}_resources, which will take the place
of --local_resources.
- [#6930] Add documentation for the aquery command.
- Incompatible flag `--incompatible_dont_emit_static_libgcc` has
been flipped (https://github.com/bazelbuild/bazel/issues/6825)
- Incompatible flag `--incompatible_linkopts_in_user_link_flags`
has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
- Flag --incompatible_range_type is removed.
- Flag --incompatible_disallow_slash_operator is removed.
- Flag --incompatible_disallow_conflicting_providers is removed.
- `--incompatible_disallow_data_transition` is now enabled by
default
- Allow inclusion of param files in aquery output
- [#6985] Add test to verify aquery's behavior for Cpp action
templates.
- --incompatible_require_feature_configuration_for_pic was flipped
(https://github.com/bazelbuild/bazel/issues/7007).
- Also ignore module-info.class in multi-version Jars
- objc_framework has been deleted. Please refer to
apple_dynamic_framework_import and apple_static_framework_import
rules available in
[rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
r/doc/rules-general.md)
- --test_sharding_strategy=experimental_heuristic is no more
- objc_bundle_library has been removed. Please migrate to
rules_apple's
[apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
blob/master/doc/rules-resources.md#apple_resource_bundle).
- You can now use the attribute `aapt_version` or the flag
`--android_aapt` to pick the aapt version for android_local_test
tests
- In --keep_going mode, Bazel now correctly returns a non-zero exit
code when encountering a package loading error during target
pattern parsing of patterns like "//foo:all" and "//foo/...".
- The default value for --incompatible_strict_action_env has been
flipped to 'false' again, as we discovered breakages for local
execution users. We'll need some more time to figure out the best
way to make this work for local and remote execution. Follow
https://github.com/bazelbuild/bazel/issues/7026 for more details.
- Locally-executed spawns tagged "no-cache" no longer upload their
outputs to the remote cache.
- Introduces --host_compiler flag to allow setting a compiler for
host compilation when --host_crosstool_top is specified.
- --incompatible_expand_directories is enabled by default
- [aquery] Handle the case of aspect-on-aspect.
- Fixed a longstanding bug in the http remote cache where the value
passed to
--remote_timeout would be interpreted as milliseconds instead of
seconds.
- Enable --incompatible_use_jdk10_as_host_javabase by default, see
https://github.com/bazelbuild/bazel/issues/6661
- Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
default --host_javabase for remote jdk
(https://github.com/bazelbuild/bazel/issues/7219)
- Highlight TreeArtifact in aquery text output.
- Locally-executed spawns tagged "no-cache" no longer upload their
outputs to the remote cache.
- java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
instead of configured targets for java_toolchain and java_runtime
- cc_common.create_cc_toolchain_config_info is stable and available
for production use
- incompatible_use_toolchain_providers_in_java_common: pass
JavaToolchainInfo and JavaRuntimeInfo providers to java_common
APIs instead of configured targets
(https://github.com/bazelbuild/bazel/issues/7186)
- --incompatible_strict_argument_ordering is enabled by default.
- Bazel now supports reading cache hits from a repository cache,
even if it doesn't have write access to the cache.
- Adding arm64e to OSX CROSSTOOL.
- Ignore package-level licenses on config_setting.
- Add an optional output_source_jar parameter to java_common.compile
- --incompatible_disable_objc_provider_resources is now enabled by
default. This disables ObjcProvider's fields related to resource
processing.
- Explicitly set https.protocols and exclude TLSv1.3.
- Bazel now validates that JAVA_HOME points to a valid JDK and
falls back to auto-detection by looking up the path of `javac`.
- Upgrade the embedded JDK version to 11.0.2.
- Added --incompatible_disable_crosstool_file
(https://github.com/bazelbuild/bazel/issues/7320)
- --incompatible_disable_objc_provider_resources is now enabled by
default. This disables ObjcProvider's fields related to resource
processing.
- --incompatible_disable_tools_defaults_package has been flipped.
- For tests that do not generate a test.xml, Bazel now uses a
separate action to generate one; this results in minor
differences in the generated test.xml, and makes the generation
more reliable overall.
- incompatible_generate_javacommon_source_jar: java_common.compile
now always generates a source jar, see
https://github.com/bazelbuild/bazel/issues/5824.
- New incompatible flag
--incompatible_disallow_struct_provider_syntax removes the
ability for rule implementation functions to return struct. Such
functions should return a list of providers instead. Migration
tracking: https://github.com/bazelbuild/bazel/issues/7347
This release contains contributions from many people at Google, as well as Benjamin Peterson, Ed Schouten, erenon, George Gensure, Greg Estren, Igal Tabachnik, Ittai Zeidman, Jannis Andrija Schnitzer, John Millikin, Keith Smiley, Kelly Campbell, Max Vorobev, nicolov, Robin Nabel.
## Release 0.22.0 (2019-01-28)
```
Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Cherry picks:
+ a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
Fix a race condition in remote cache
+ b8d0e1b05c225a4b943ce498194d069d18093d9a:
Use a new GitHub token and KMS key for the release process.
+ 3759e3895503aa2bbd6943c5b568b8c050b9448f:
remote: fix unexpected IO error (not a directory)
+ 4473bb1a9ec4282aa8497b86580d68e82415df4a:
Fix a race condition in Bazel's Windows process management.
+ 9137fb940886aa516f32ca8a36feccedb545c99b:
undo flag flip of --incompatible_strict_action_env
+ 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
Revert "Enabling Bazel to generate input symlinks as defined by
RE AP?
+ 6345c747d8cb1819e70c853becadbf8a989decf1:
Automated rollback of commit
30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
```
The Bazel team is happy to announce a new release of Bazel,
[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
### Breaking changes
- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
### Upcoming changes
This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
### General Changes
- https://docs.bazel.build now supports versioned
documentation. Use the selector at the top of the navigation bar
to switch between documentation for different Bazel releases.
- set `projectId` in all `PublishBuildToolEventStreamRequest`
### Android
- mobile-install now works with aapt2. Try it out with `bazel
mobile-install --android_aapt=aapt2 //my:target`
- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
devices. https://github.com/bazelbuild/bazel/issues/6814
- Fixed issue where error messages from Android manifest merging
actions were not fully propagated.
- New incompatible change flag `--incompatible_use_aapt2_by_default`
for defaulting to aapt2 in Android builds has been added. To build with
aapt2 today, pass the flag
`--incompatible_use_aapt2_by_default=true` or
`--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
your `android_binary` or `android_local_test` target.
- Fixed mobile-install v1 error when installing an app with native
libraries onto an Android 9 (Pie) device. See
https://github.com/bazelbuild/examples/issues/77
- Fixed a mobile-install bug where `arm64-v8a` libraries were not
deployed correctly on `arm64` devices. This was done by enabling
incremental native lib deployment by default. A previously
undocumented `--android_incremental_native_libs` flag is removed,
and is now the regular behavior. See
https://github.com/bazelbuild/bazel/issues/2239
### Apple
- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
[apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
ob/master/doc/rules-resources.md#apple_bundle_import).
- The `apple_stub_binary` rule has been deleted.
- The `--xbinary_fdo` option that passes xbinary profiles has been added.
### C++
- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
### Packaging
- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
that can be used to add paths that have symbols that can't be
specified via the command line
### Query
- Filtering of inputs, outputs, and mnemonic filtering have been added to
aquery.
- The aquery and cquery query2 tests have been open-sourced.
- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
be the name of a target.
### Testing
- The `--runs_per_test` has been placed in the TESTING documentation category.
- A a clarifying message has been added to test case summary output when all
test cases pass but the target fails.
### Contributors
This release contains contributions from many people at Google, as well as
Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
Travis Cline, Vladimir Chebotarev, and Yannic.
## Release 0.21.0 (2018-12-19)
```
Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
Cherry picks:
+ 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
Windows, test wrapper: rename the associated flag
+ 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
+ 798b9a989aa793655d29504edb5fb85f3143db84:
Add --build_event_upload_max_threads option
+ dbe05df23ccf4c919379e0294e0701fd3f66739c:
Update the version of skylib bundled in the distfile
```
Incompatible changes:
- The --experimental_stl command line option is removed.
- aquery defaults to human readable output format.
New features:
- repository_ctx.download and repository_ctx.download_and_extract
now return a struct.
- Android Databinding v2 can be enabled with
--experimental_android_databinding_v2.
Important changes:
- The deprecated and unmaintained Docker rules in
tools/build_defs/docker were removed. Please use
https://github.com/bazelbuild/rules_docker instead.
- The new --upload_query_output_using_bep query/cquery/aquery flag
causes query outputs to be uploaded via BEP.
- New incompatible flag --incompatible_strict_argument_ordering
- --strict_android_deps and --strict_java_deps were renamed to
--experimental_strict_java_deps
- config_settings that select on "compiler" value instead of values
= {"compiler" : "x"} should use flag_values =
{"@bazel_tools//tools/cpp:compiler": "x"}.
- The new --upload_query_output_using_bep query/cquery/aquery flag
causes query outputs to be uploaded via BEP.
- Turn on --incompatible_disable_sysroot_from_configuration
- We revamped our Android with Bazel tutorial! Check it out
[here](https://docs.bazel.build/versions/master/tutorial/android-a
pp.html).
- --incompatible_disallow_slash_operator is now on by default
- Enable --experimental_check_desugar_deps by default. This flag
rules out several types of invalid Android builds at compile-time.
- The --max_config_changes_to_show option lists the names of
options which
have changed and thus caused the analysis cache to be dropped.
- The --experimental_strict_action_env option has been renamed to
--incompatible_strict_action_env and is now on by default. This
means Bazel will no longer use the client's PATH and
LD_LIBRARY_PATH environmental variables in the default action
environment. If the old behavior is desired, pass
--action_env=PATH and --action_env=LD_LIBRARY_PATH.
--noincompatible_strict_action_env will also temporarily restore
the old behavior. However, as --action_env is a more general and
explicit way to pass client environmental variables into actions,
--noincompatible_strict_action_env will eventually be deprecated
and removed. See #6648 for more details.
- XCRUNWRAPPER_LABEL has been removed. If you used this value
before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
- --incompatible_static_name_resolution is no unable by default
- We will phase out --genrule_strategy in favor of
--strategy=Genrule=<value> (for genrules) or
--spawn_strategy=<value> (for all actions).
- --incompatible_package_name_is_a_function is now enabled by
default
- Dynamic execution is now available with
--experimental_spawn_strategy. Dynamic execution allows a build
action to run locally and remotely simultaneously, and Bazel
picks the fastest action. This provides the best of both worlds:
faster clean builds than pure local builds, and faster
incremental builds than pure remote builds.
- --incompatible_package_name_is_a_function is now enabled by
default
- New incompatible flag --incompatible_merge_genfiles_directory
- grpc log now logs updateActionResult
- CppConfiguration doesn't do package loading anymore. That means:
* it's no longer needed to have C++ toolchain available when
building non-C++ projects
* bazel will not analyze C++ toolchain when not needed -> speedup
~2s on bazel startup when C++ rules using hermetic toolchain are
not loaded
- --incompatible_package_name_is_a_fu...
This release contains contributions from many people at Google, as well as andy g scott ?, Attila Ol?h, Benjamin Peterson, Clint Harrison, Dave Lee, Ed Schouten, Greg Estren, Gregor Jasny, Jamie Snape, Jerry Marino, Loo Rong Jie, Or Shachar, Sevki Hasirci, William Chargin.
## Release 0.20.0 (2018-11-30)
```
Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
Cherry picks:
+ fd52341505e725487c6bc6dfbe6b5e081aa037da:
update bazel-toolchains pin to latest release Part of changes to
allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
before 0.17.0 are not compatible with bazel 0.19.0 or above.
+ 241f28d05424db2d11ee245dc856b992258505e3:
Revert "Toggle --incompatible_disable_late_bound_option_defaults
flag."
+ f7e5aef145c33968f658eb2260e25630dc41cc67:
Add cc_toolchain targets for the new entries in the default
cc_toolchain_suite.
+ d2920e32ec7f3f8551a693d33c17b19f1b802145:
Revert "WindowsFileSystem: open files with delete-sharing"
```
[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
- [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
- [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
- [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
- [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
- [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
- [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
- [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
- [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
- [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
- [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
- [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
- [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
- [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
- [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
- [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
- [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
- [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
- [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
- [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
- [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
- [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
- [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
Incompatible changes:
- the --experimental_no_dotd_scanning_with_modules command line
argument is not supported anymore.
- The --prune_cpp_modules command line option is not supported
anymore.
- the --experimental_prune_cpp_input_discovery command line option
is not supported anymore.
New features:
- Added support for Android NDK r18.
Important changes:
- The 'default' parameter of attr.output and attr.output_list is
removed. This is controlled by
--incompatible_no_output_attr_default
- A number of platform-related Starlark APIs which were previously
marked "experimental" are now disabled by default, and may be
enabled via --experimental_platforms_api
- Make legacy-test-support ("legacy_test-<api-level>") from
android_sdk_repository neverlink. The legacy test support
libraries shouldn't be built into test binaries. To make them
available at runtime, developers should declare them via
uses-library:
https://developer.android.com/training/testing/set-up-project#andr
oid-test-base
- query remote server Capabilities (per REAPI v2)
- CppRules: All cc_toolchains depended on from
cc_toolchain_suite.toolchains are now analyzed when not using
platforms in order to select the right cc_toolchain.
- removed obsolete --explicit_jre_deps flag.
- Incompatible flag
--incompatible_disable_legacy_cpp_toolchain_skylark_api was
flipped.
- Improve error messaging when unsupport proguard options are
specified at the library level.
- Incompatible flag
--incompatible_disable_legacy_cpp_toolchain_skylark_api was
flipped.
- Incompatible flag
--incompatible_disable_legacy_cpp_toolchain_skylark_api was
flipped.
- The --incompatible_disable_late_bound_option_defaults flag has
been flipped (#6384)
- Incompatible flag
--incompatible_disable_legacy_flags_cc_toolchain_api was flipped
(#6434)
- Fixed issue where ctx.resolve_command created conflicting
intermediate files when resolve_command was called multiple times
within the same rule invocation with a long command attribute.
- Incompatible flag
--incompatible_disable_cc_configuration_make_variables was
flipped (#6381)
- If the --javabase flag is unset, it Bazel locates a JDK using
the JAVA_HOME environment variable and searching the PATH. If no
JDK is found --javabase will be empty, and builds targeting Java
will not
be supported. Previously Bazel would fall back to using the
embedded
JDK as a --javabase, but this is no longer default behaviour. A
JDK should
be explicitly installed instead to enable Java development
- Bazel will now shut down when idle for 5 minutes and the system
is low on RAM (linux only).
- CROSSTOOL file is now read from the package of cc_toolchain, not
from
the package of cc_toolchain_suite. This is not expected to break
anybody since
cc_toolchain_suite and cc_toolchain are commonly in the same
package.
- All overrides of Starlark's ctx.new_file function are now
deprecated.
Try the `--incompatible_new_actions_api` flag to ensure your
code is forward-compatible.
- --incompatible_disable_cc_toolchain_label_from_crosstool_proto
was flipped.
- Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
idle low-memory shutdown, disabled by default.
- --incompatible_disable_cc_toolchain_label_from_crosstool_proto
was flipped.
- --incompatible_disable_cc_toolchain_label_from_crosstool_proto
was flipped.
- CppRules: All cc_toolchains depended on from
cc_toolchain_suite.toolchains are now analyzed when not using
platforms in order to select the right cc_toolchain.
- The function `attr.license` is deprecated and will be removed.
It can be disabled now with `--incompatible_no_attr_license`.
- `range()` function now returns a lazy value
(`--incompatible_range_type` is now set by default).
- The code coverage report now includes the actual paths to header
files instead of the ugly,
Bazel generated, virtual includes path.
- `--incompatible_disallow_conflicting_providers` has been switched
to true
- Add new flag `--incompatible_disable_systool_from_configration` to
disable loading the systool from CppConfiguration.
- Add new flag `--incompatible_disable_sysroot_from_configuration`
to
disable loading the systool from CppConfiguration.
- Sorting remote Platform properties for remote execution. May
affect cache keys!
- Use different server log files per Bazel server process; java.log
is
now a symlink to the latest log.
This release contains contributions from many people at Google, as well as
a7g4 <a7g4@a7g4.net>, Alan <alan.agius@betssongroup.com>,
Asaf Flescher <asafflesch@gmail.com>, Benjamin Peterson <bp@benjamin.pe>,
Ed Schouten <ed.schouten@prodrive-technologies.com>,
George Gensure <ggensure@uber.com>, George Kalpakas <kalpakas.g@gmail.com>,
Greg <gregestren@users.noreply.github.com>,
Irina Iancu <iirina@users.noreply.github.com>,
Keith Smiley <keithbsmiley@gmail.com>, Loo Rong Jie <loorongjie@gmail.com>,
Mark Zeren <mzeren@vmware.com>,
Petros Eskinder <petroseskinder@users.noreply.github.com>,
rachcatch <rachelcatchpoole@hotmail.com>, Robert Brown <robert.brown@gmail.com>,
Robert Gay <robert.gay@redfin.com>,
Salty Egg <2281521+zhouhao@users.noreply.github.com>.
## Release 0.19.2 (2018-11-19)
```
Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
Cherry picks:
+ 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
Fix the "nojava" platform and enable full presubmit checks for
the various JDK platforms now that we have enough GCE resources.
+ 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
Add openjdk_linux_archive java_toolchain for nojava platform.
+ 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
Automated rollback of commit
19a401c38e30ebc0879925a5caedcbe43de0028f.
+ 914b4ce14624171a97ff8b41f9202058f10d15b2:
Windows: Fix Precondition check for addDynamicInputLinkOptions
+ 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
it exists.
+ e025726006236520f7e91e196b9e7f139e0af5f4:
Update turbine
+ 5f312dd1678878fb7563eae0cd184f2270346352:
Fix event id for action_completed BEP events
+ f0c844c77a2406518c4e75c49188390d5e281d3d:
Release 0.19.0 (2018-10-29)
+ c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
Do not use CROSSTOOL to select cc_toolchain
+ 8e280838e8896a6b5eb5421fda435b96b6f8de60:
Windows Add tests for msys gcc toolchain and mingw gcc toolchain
+ fd52341505e725487c6bc6dfbe6b5e081aa037da:
update bazel-toolchains pin to latest release Part of changes to
allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
before 0.17.0 are not compatible with bazel 0.19.0 or above.
+ eb2af0f699350ad187048bf814a95af23f562c77:
Release 0.19.1 (2018-11-12)
+ 6bc452874ddff69cbf7f66186238032283f1195f:
Also update cc_toolchain.toolchain_identifier when
CC_TOOLCHAIN_NAME is set
+ f7e5aef145c33968f658eb2260e25630dc41cc67:
Add cc_toolchain targets for the new entries in the default
cc_toolchain_suite.
+ 683c302129b66a8999f986be5ae7e642707e978c:
Read the CROSSTOOL from the package of the current cc_toolchain,
not from --crosstool_top
```
- Fixes regression #6662, by fixing tools/cpp/BUILD
- Fixes regression #6665, by setting the toolchain identifier.
- CROSSTOOL file is now read from the package of cc_toolchain, not from the
package of cc_toolchain_suite. This is not expected to break anybody since
cc_toolchain_suite and cc_toolchain are commonly in the same package.
## Release 0.19.1 (2018-11-12)
```
Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
Cherry picks:
+ 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
Fix the "nojava" platform and enable full presubmit checks for
the various JDK platforms now that we have enough GCE resources.
+ 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
Add openjdk_linux_archive java_toolchain for nojava platform.
+ 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
Automated rollback of commit
19a401c38e30ebc0879925a5caedcbe43de0028f.
+ 914b4ce14624171a97ff8b41f9202058f10d15b2:
Windows: Fix Precondition check for addDynamicInputLinkOptions
+ 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
it exists.
+ e025726006236520f7e91e196b9e7f139e0af5f4:
Update turbine
+ 5f312dd1678878fb7563eae0cd184f2270346352:
Fix event id for action_completed BEP events
+ f0c844c77a2406518c4e75c49188390d5e281d3d:
Release 0.19.0 (2018-10-29)
+ c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
Do not use CROSSTOOL to select cc_toolchain
+ 8e280838e8896a6b5eb5421fda435b96b6f8de60:
Windows Add tests for msys gcc toolchain and mingw gcc toolchain
+ fd52341505e725487c6bc6dfbe6b5e081aa037da:
update bazel-toolchains pin to latest release Part of changes to
allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
before 0.17.0 are not compatible with bazel 0.19.0 or above.
```
Important changes:
- Fix regression #6610, which prevents using the MINGW compiler on Windows.
## Release 0.19.0 (2018-10-29)
```
Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
Cherry picks:
+ 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
Fix the "nojava" platform and enable full presubmit checks for
the various JDK platforms now that we have enough GCE resources.
+ 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
Add openjdk_linux_archive java_toolchain for nojava platform.
+ 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
Automated rollback of commit
19a401c38e30ebc0879925a5caedcbe43de0028f.
+ 914b4ce14624171a97ff8b41f9202058f10d15b2:
Windows: Fix Precondition check for addDynamicInputLinkOptions
+ 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
it exists.
+ e025726006236520f7e91e196b9e7f139e0af5f4:
Update turbine
+ 5f312dd1678878fb7563eae0cd184f2270346352:
Fix event id for action_completed BEP events
```
The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
This document lists the major changes since Bazel 0.18.
General changes
---------------
* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
* The `--loading_phase_threads` flag now defaults to `auto` (not 200, as was previously the case), which at the moment corresponds to the number of CPUs. This is appropriate for most users. However, if your sources reside on a network file system, increasing this value may yield better analysis-time performance when disk caches are cold.
Android
-------
* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
C++
---
* Added `--incompatible_disable_legacy_flags_cc_toolchain_api` to deprecate legacy `cc_toolchain` Starlark API for legacy CROSSTOOL fields. Tracking issue is #6434. Migration docs are on the bazel website.
* Runfiles in cc_test: the C++ runfiles library (`@bazel_tools//tools/cpp/runfiles`) can now create Runfiles objects for tests. See `//tools/cpp/runfiles/runfiles_src.h` (in the Bazel source tree) for documentation.
* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
Java
----
* If the `--javabase` flag is unset, Bazel locates a JDK using the `JAVA_HOME` environment variable and searching the PATH. If no JDK is found `--javabase` will be empty, and builds targeting Java will not be supported. Previously Bazel would fall back to using the embedded JDK as a `--javabase`, but this is no longer default behaviour. A JDK should be explicitly installed instead to enable Java development.
Code Coverage
-------------
* LcovMerger was renamed to CoverageOutputGenerator.
* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
Other Changes
-------------
* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
* Propagating remote errors to the user even if `--verbose_failures=false` is set.
* Add number of configured targets to analysis phase status output.
* Bazel will now check stderr instead of stdout to decide if it is outputting to a terminal. `--isatty` is deprecated, use `--is_stderr_atty` instead.
Future Changes
--------------
* None of the C++ related incompatible flags mentioned in the 0.18 release were flipped, they will be flipped in the next release (0.20). We have created tracking issues for all the relevant incompatible flags:
* [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
* [`--incompatible_disable_depset_in_cc_user_flags`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags): #6383
* [`--incompatible_disable_cc_toolchain_label_from_crosstool_proto`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label): #6382
* [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
* [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
* [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
* In the 0.20 release the flags [`--incompatible_remove_native_git_repository`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#remove-native-git-repository) and [`--incompatible_remove_native_http_archive`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#remove-native-http-archive) will be turned on.
Thank you to our contributors!
------------------------------
This release contains contributions from many people at Google, as well as Andreas Herrmann, Andreas Hippler, Benjamin Peterson, David Ostrovsky, Ed Baunton, George Gensure, Igal Tabachnik, Jason Gavris, Loo Rong Jie, rmalik, and Yannic Bonenberger
Thank you to everyone who contributed to this release!
## Release 0.18.1 (2018-10-31)
```
Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Cherry picks:
+ 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
Include also ext jars in the bootclasspath jar.
+ 2579b791c023a78a577e8cb827890139d6fb7534:
Fix toolchain_java9 on --host_javabase=<jdk9> after
7eb9ea150fb889a93908d96896db77d5658e5005
+ faaff7fa440939d4367f284ee268225a6f40b826:
Release notes: fix markdown
+ b073a18e3fac05e647ddc6b45128a6158b34de2c:
Fix NestHost length computation Fixes #5987
+ bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
Fixes #6219. Don't rethrow any remote cache failures on either
download or upload, only warn. Added more tests.
+ c1a7b4c574f956c385de5c531383bcab2e01cadd:
Fix broken IdlClassTest on Bazel's CI.
+ 71926bc25b3b91fcb44471e2739b89511807f96b:
Fix the Xcode version detection which got broken by the upgrade
to Xcode 10.0.
+ 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
Temporarily restore processing of workspace-wide tools/bazel.rc
file.
+ 914b4ce14624171a97ff8b41f9202058f10d15b2:
Windows: Fix Precondition check for addDynamicInputLinkOptions
+ e025726006236520f7e91e196b9e7f139e0af5f4:
Update turbine
```
Important changes:
- Fix regression #6219, remote cache failures
## Release 0.18.0 (2018-10-15)
```
Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Cherry picks:
+ 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
Include also ext jars in the bootclasspath jar.
+ 2579b791c023a78a577e8cb827890139d6fb7534:
Fix toolchain_java9 on --host_javabase=<jdk9> after
7eb9ea150fb889a93908d96896db77d5658e5005
+ faaff7fa440939d4367f284ee268225a6f40b826:
Release notes: fix markdown
+ b073a18e3fac05e647ddc6b45128a6158b34de2c:
Fix NestHost length computation Fixes #5987
+ bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
Fixes #6219. Don't rethrow any remote cache failures on either
download or upload, only warn. Added more tests.
+ c1a7b4c574f956c385de5c531383bcab2e01cadd:
Fix broken IdlClassTest on Bazel's CI.
+ 71926bc25b3b91fcb44471e2739b89511807f96b:
Fix the Xcode version detection which got broken by the upgrade
to Xcode 10.0.
+ 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
Temporarily restore processing of workspace-wide tools/bazel.rc
file.
```
General changes
- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
If you need to keep both the old and new lists of .rc files active
concurrently to support multiple versions of Bazel, you can import the old
file location into the new list using `try-import`. This imports a file if it
exists and silently exits if it does not. You can use this method to account
for a user file that may or may not exist
- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
is now fully functional.
- The startup flag `--host_javabase` has been renamed to
`--server_javabase` to avoid confusion with the build flag
`--host_javabase`.
Android
- The Android resource processing pipeline now supports persistence
via worker processes. Enable it with
`--persistent_android_resource_processor`. We have observed a 50% increase
in build speed for clean local builds and up to 150% increase in build
speed for incremental local builds.
C++
- In-memory package //tools/defaults has been removed (controlled by
`--incompatible_disable_tools_defaults_package` flag). Please see
[migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
behavior will be removed in Bazel 0.20.
- Late bound option defaults (typical example was the `--compiler` flag, when
it was not specified, it’s value was computed using the CROSSTOOL) are removed
(controlled by `--incompatible_disable_late_bound_option_defaults` flag).
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
behavior will be removed in Bazel 0.20.
- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
in the C++ toolchain API (controlled by
`--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
behavior will be removed in Bazel 0.20.
- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
`--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
on `cc_toolchain` to pair it with CROSSTOOL toolchain.
- C++ specific Make variables
are no longer passed from the `CppConfiguration`, but from the C++ toolchain
(controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
and migrate soon, the flag will be flipped
in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
- Skylark api accessing C++
toolchain in `ctx.fragments.cpp` is removed (controlled by
`--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
Please migrate soon, the flag will be flipped
in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
- cc_binary link action no longer hardcodes
`-static-libgcc` for toolchains that support embedded runtimes
(guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
temporarily). Proper deprecation using `--incompatible` flags will follow.
Java
- Future versions of Bazel will require a locally installed JDK
for Java development. Previously Bazel would fall back to using
the embedded `--server_javabase` if no JDK as available. Pass
`--incompatible_never_use_embedded_jdk_for_javabase` to disable the
legacy behaviour.
- `--javacopt=` no longer affects compilations of tools that are
executed during the build; use `--host_javacopt=` to change javac
flags in the host configuration.
Objective C
- `objc_library` now supports the module_name attribute.
Skylark
- Adds `--incompatible_expand_directories` to automatically expand
directories in skylark command lines. Design doc:
https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
- Support fileset expansion in ctx.actions.args(). Controlled by
`--incompatible_expand_directories`.
Windows
- `--windows_exe_launcher` is deprecated, this flag will be removed
soon. Please make sure you are not using it.
- Bazel now supports the symlink runfiles tree on Windows with
`--experimental_enable_runfiles` flag. For more details, see
[this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
Other Changes
- A new experimental option `--experimental_ui_deduplicate` has been added. It
causes the UI to attempt to deduplicate messages from actions to keep the
console output cleaner.
- Add `--modify_execution_info`, a flag to customize action execution
info.
- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
actions.
- When computing `--instrumentation_filter`, end filter patterns with
"[/:]" to match non-top-level packages exactly and treat
top-level targets consistently.
- Added the `bazel info server_log` command, which obtains the main Bazel
server log file path. This can help debug Bazel issues.
- `aapt shrink` resources now properly respect filter configurations.
## Release 0.17.2 (2018-09-21)
```
Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
Cherry picks:
+ 0e0462589528154cb5160411991075a2000b5452:
Update checker framework dataflow and javacutil versions
+ 3987300d6651cf0e6e91b395696afac6913a7d66:
Stop using --release in versioned java_toolchains
+ 438b2773b8c019afa46be470b90bcf70ede7f2ef:
make_deb: Add new empty line in the end of conffiles file
+ 504401791e0a0e7e3263940e9e127f74956e7806:
Properly mark configuration files in the Debian package.
+ 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
Add flag
--incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
es_tree.
+ 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
Update protobuf to 3.6.1 -- add new files
+ 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
Update protobuf to 3.6.1 -- update references
+ ddc97ed6b0367eb443e3e09a28d10e65179616ab:
Update protobuf to 3.6.1 -- remove 3.6.0 sources
+ ead1002d3803fdfd4ac68b4b4872076b19d511a2:
Fix protobuf in the WORKSPACE
+ 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
Revert "Update to JDK 10 javac"
+ 7eb9ea150fb889a93908d96896db77d5658e5005:
Automated rollback of
https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
a106bc5249cacc8c54 and
https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
b697f5852bc5742a36 and some manual merging.
+ 4566a428c5317d87940aeacfd65f1018340e52b6:
Fix tests on JDK 9 and 10
+ 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
Fix more tests on JDK 9 and 10
+ a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
postsubmit.
+ 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
Disable Android shell tests on the "nojava" platform.
+ b495eafdc2ab380afe533514b3bcd7d5b30c9935:
Update bazel_toolchains to latest release.
+ 9323c57607d37f9c949b60e293b573584906da46:
Windows: fix writing java.log
+ 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
Automated rollback of commit
de22ab0582760dc95f33e217e82a7b822378f625.
+ 2579b791c023a78a577e8cb827890139d6fb7534:
Fix toolchain_java9 on --host_javabase=<jdk9> after
7eb9ea150fb889a93908d96896db77d5658e5005
+ 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
Include also ext jars in the bootclasspath jar.
+ fdb09a260dead1e1169f94584edc837349a4f4a5:
Release 0.17.1 (2018-09-14)
+ 1d956c707e1c843896ac58a341c335c9c149073d:
Do not fail the build when gcov is not installed
+ 2e677fb6b8f309b63558eb13294630a91ee0cd33:
Ignore unrecognized VM options in desugar.sh, such as the JVM 9
flags to silence warnings.
```
Important changes:
- In the future, Bazel will expand tree artifacts in runfiles, too,
which causes the sandbox to link each file individually into the
sandbox directory, instead of symlinking the entire directory. In
this release, the behavior is not enabled by default yet. Please
try it out via
--incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
s_tree and let us know if it causes issues. If everything looks
good, this behavior will become the default in a following
release.
## Release 0.17.1 (2018-09-14)
```
Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
Cherry picks:
+ 0e0462589528154cb5160411991075a2000b5452:
Update checker framework dataflow and javacutil versions
+ 3987300d6651cf0e6e91b395696afac6913a7d66:
Stop using --release in versioned java_toolchains
+ 438b2773b8c019afa46be470b90bcf70ede7f2ef:
make_deb: Add new empty line in the end of conffiles file
+ 504401791e0a0e7e3263940e9e127f74956e7806:
Properly mark configuration files in the Debian package.
+ 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
Add flag
--incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
es_tree.
+ 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
Update protobuf to 3.6.1 -- add new files
+ 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
Update protobuf to 3.6.1 -- update references
+ ddc97ed6b0367eb443e3e09a28d10e65179616ab:
Update protobuf to 3.6.1 -- remove 3.6.0 sources
+ ead1002d3803fdfd4ac68b4b4872076b19d511a2:
Fix protobuf in the WORKSPACE
+ 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
Revert "Update to JDK 10 javac"
+ 7eb9ea150fb889a93908d96896db77d5658e5005:
Automated rollback of
https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
a106bc5249cacc8c54 and
https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
b697f5852bc5742a36 and some manual merging.
+ 4566a428c5317d87940aeacfd65f1018340e52b6:
Fix tests on JDK 9 and 10
+ 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
Fix more tests on JDK 9 and 10
+ a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
postsubmit.
+ 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
Disable Android shell tests on the "nojava" platform.
+ b495eafdc2ab380afe533514b3bcd7d5b30c9935:
Update bazel_toolchains to latest release.
+ 9323c57607d37f9c949b60e293b573584906da46:
Windows: fix writing java.log
+ 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
Automated rollback of commit
de22ab0582760dc95f33e217e82a7b822378f625.
+ 2579b791c023a78a577e8cb827890139d6fb7534:
Fix toolchain_java9 on --host_javabase=<jdk9> after
7eb9ea150fb889a93908d96896db77d5658e5005
+ 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
Include also ext jars in the bootclasspath jar.
```
Incompatible changes:
- Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
instead.
- If the same artifact is generated by two distinct but identical
actions, and a downstream action has both those actions' outputs
in its inputs, the artifact will now appear twice in the
downstream action's inputs. If this causes problems in Skylark
actions, you can use the uniquify=True argument in Args.add_args.
- If the same artifact is generated by two distinct but identical
actions, and a downstream action has both those actions' outputs
in its inputs, the artifact will now appear twice in the
downstream action's inputs. If this causes problems in Skylark
actions, you can use the uniquify=True argument in Args.add_args.
- Labels in C++ rules' linkopts attribute are not expanded anymore
unless they are wrapped, e.g: $(location //foo:bar)
- If the same artifact is generated by two distinct but identical
actions, and a downstream action has both those actions' outputs
in its inputs, the artifact will now appear twice in the
downstream action's inputs. If this causes problems in Skylark
actions, you can use the uniquify=True argument in Args.add_args.
- New bazelrc file list.
- Windows: when BAZEL_SH envvar is not defined and Bazel searches
for a suitable bash.exe, Bazel will no longer look for Git Bash
and no longer recommend installing it as a Bash implementation.
See issue #5751.
- New bazelrc file list.
New features:
- The aquery command now supports --output=text.
- Java, runfiles: the Java runfiles library is now in
@bazel_tools//tools/java/runfiles. The old target
(@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
will be removed in Bazel 0.18.0.
- Java, runfiles: the Java runfiles library is now in
@bazel_tools//tools/java/runfiles. The old target
(@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
Important changes:
- Allow @ in package names.
- Remove support for java_runtime_suite; use alias() together with
select() instead.
- Python wrapper scripts for MSVC are removed.
- [JavaInfo] Outputs are merged in java_common.merge().
- Faster analysis by improved parallelization.
- --experimental_shortened_obj_file_path is removed.
- Introduce the --remote_cache_proxy flag,
which allows for remote http caching to connect
via a unix domain socket.
- No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
it was a duplicate of G3_TARGET_NAME.
- Added support for Android NDK r17. The default STL is now
`libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
(`armeabi`) has been removed.
- Add aquery command to get analysis time information about the
action graph.
- Fixed compatibility with aar_import when using aapt2. AAPT2 is
now supported for Android app builds without resource shrinking.
To use it, pass the `--android_aapt=aapt2` flag or define
android_binary.aapt_version=aapt2.
- Code coverage is collected for Java binaries invoked from sh_test.
- java_common.compile creates the native headers jar accesible via
JavaInfo.outputs.native_headers.
- Deleting deprecated no-op flag --show_package_location
- The JDK shipped with Bazel was updated to JDK10.
- Rename the startup flag --host_javabase to --server_javabase to
avoid confusion with the build flag --host_javabase
- newly added options --experimental_repository_hash_file and
--experimental_verify_repository_rules allow to verify for
repositories
the directory generated against pre-recorded hashes. See
documentation
for those options.
- Removed the gen_jars output group
- --subcommands can now take a "pretty_print" value
("--subcommands=pretty_print") to print the
arguments of subcommands as a list for easier reading.
- follow-up to
https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
645e3142f3c44b9e8
- A rule error is now thrown if a Skylark rule implementation
function returns multiple providers of the same type.
- When using Bazel's remote execution feature and Bazel has to
fallback to local execution for an action, Bazel used
non-sandboxed
local execution until now. From this release on, you can use the
new
flag --remote_local_fallback_strategy=<strategy> to tell Bazel
which
strategy to use in that case.
- Execution Log Parser can now, when printing it out, filter the
log by runner type
- A rule error is now thrown if a Skylark rule implementation
function returns multiple providers of the same type.
- Removed the gen_jars output group
- Removed the gen_jars output group
- Set --defer_param_files to default to true.
- Sort attribute lists in proto-form query output to fix
non-deterministic genquery output.
- Replace 0/1 with False/True for testonly attribute
- bazel now supports a .bazelignore file specifying
directories to be ignored; however, these directories still
have to be well founded and, in particular, may not contain
symlink cycles.
- Add more detailed reporting of the differences between startup
options.
- update data binding to 3.2.0
- For Android incremental dexing actions, Bazel now persists its
DexBuilder process across individual actions. From our
benchmarks, this results in a 1.2x speedup for clean local builds.
- The standard `xcode_VERSION` feature now always uses exactly two
components in the version, even if you specify `--xcode_version`
with
more or fewer than two.
- A rule error will be thrown if a Skylark rule implementation
function returns multiple providers of the same type. Try the
`--incompatible_disallow_conflicting_providers` flag to ensure
your code is forward-compatible.
- Removed notion of FULLY_STATIC linking mode from C++ rules.
- In documentation, we've renamed Skylark into Starlark.
- Execution Log Parser can now, when printing it out, reorder the
actions for easier text diffs
- Linkstamps are no longer recompiled after server restart.
- Use VanillaJavaBuilder and disable header compilation in
toolchain_hostjdk8. The default toolchain will soon drop
compatibility with JDK 8. Using a JDK 8 host_javabase
will only be supported when using 'VanillaJavaBuilder' (which
does not support Error Prone,
Strict Java Deps, or reduced classpaths) and with header
compilation disabled.
- In the future, Bazel will expand tree artifacts in runfiles, too,
which causes the sandbox to link each file individually into the
sandbox directory, instead of symlinking the entire directory. In
this release, the behavior is not enabled by default yet. Please
try it out via
--incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
s_tree and let us know if it causes issues. If everything looks
good, this behavior will become the default in a following
release.
## Release 0.16.1 (2018-08-13)
```
Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Cherry picks:
+ 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
reduce the size of bazel's embedded jdk
+ d3228b61f633cdc5b3f740b641a0836f1bd79abd:
remote: limit number of open tcp connections by default. Fixes
#5491
+ 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
Fix autodetection of linker flags
+ c4622ac9205d2f1b42dac8c598e83113d39e7f11:
Fix autodetection of -z linker flags
+ 10219659f58622d99034288cf9f491865f818218:
blaze_util_posix.cc: fix order of #define
+ ab1f269017171223932e0da9bb539e8a17dd99ed:
blaze_util_freebsd.cc: include path.h explicitly
+ 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
openjdk: update macOS openjdk image. Fixes #5532
+ f45c22407e6b00fcba706eb62141cb9036bd38d7:
Set the start time of binary and JSON profiles to zero correctly.
+ bca1912853086b8e9a28a85a1b144ec0dc9717cc:
remote: fix race on download error. Fixes #5047
+ 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
jdk: use parallel old gc and disable compact strings
+ 6bd0bdf5140525cb33dc2db068b210261d9df271:
Add objc-fully-link to the list of actions that require the
apple_env feature. This fixes apple_static_library functionality.
+ f330439fb970cfa17c70fc59c1458bb1c31c9522:
Add the action_names_test_files target to the OSS version of
tools/buils_defs/cc/BUILD.
+ d215b64362c4ede61c8ba87b5f3f57bce4785d15:
Fix StackOverflowError on Windows. Fixes #5730
+ 366da4cf27b7f957ef39f89206db77fa2ac289df:
In java_rules_skylark depend on the javabase through
//tools/jdk:current_java_runtime
+ 30c601dc13d9e1b40a57434c022c888c7578cc56:
Don't use @local_jdk for jni headers
+ c56699db5f9173739ba3ac55aa9fa69b6457a99b:
'DumpPlatformClasspath' now dumps the current JDK's default
platform classpath
```
This release is a patch release that contains fixes for several serious
regressions that were found after the release of Bazel 0.16.0.
In particular this release resolves the following issues:
- Bazel crashes with a StackOverflowError on Windows (See #5730)
- Bazel requires a locally installed JDK and does not fall back
to the embedded JDK (See #5744)
- Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
- A regression in apple_static_library (See #5683)
Please watch our blog for a more detailed release announcement.
## Release 0.16.0 (2018-07-31)
```
Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Cherry picks:
+ 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
reduce the size of bazel's embedded jdk
+ d3228b61f633cdc5b3f740b641a0836f1bd79abd:
remote: limit number of open tcp connections by default. Fixes
#5491
+ 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
Fix autodetection of linker flags
+ c4622ac9205d2f1b42dac8c598e83113d39e7f11:
Fix autodetection of -z linker flags
+ 10219659f58622d99034288cf9f491865f818218:
blaze_util_posix.cc: fix order of #define
+ ab1f269017171223932e0da9bb539e8a17dd99ed:
blaze_util_freebsd.cc: include path.h explicitly
+ 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
openjdk: update macOS openjdk image. Fixes #5532
+ f45c22407e6b00fcba706eb62141cb9036bd38d7:
Set the start time of binary and JSON profiles to zero correctly.
+ bca1912853086b8e9a28a85a1b144ec0dc9717cc:
remote: fix race on download error. Fixes #5047
+ 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
jdk: use parallel old gc and disable compact strings
```
Incompatible changes:
- The $(ANDROID_CPU) Make variable is not available anymore. Use
$(TARGET_CPU) after an Android configuration transition instead.
- The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
- Skylark structs (using struct()) may no longer have to_json and
to_proto overridden.
- The mobile-install --skylark_incremental_res flag is no longer
available, use the --skylark flag instead.
New features:
- android_local_test now takes advantage of Robolectric's binary
resource processing which allows for faster tests.
- Allow @ in package names.
Important changes:
- Option --glibc is removed, toolchain selection relies solely on
--cpu and --compiler options.
- Build support for enabling cross binary FDO optimization.
- The --distdir option is no longer experimental. This
option allows to specify additional directories to look for
files before trying to fetch them from the network. Files from
any of the distdirs are only used if a checksum for the file
is specified and both, the filename and the checksum, match.
- Java coverage works now with multiple jobs.
- Flip default value of --experimental_shortened_obj_file_path to
true, Bazel now generates short object file path by default.
- New rules for importing Android dependencies:
`aar_import_external` and `aar_maven_import_external`.
`aar_import_external` enables specifying external AAR
dependencies using a list of HTTP URLs for the artifact.
`aar_maven_import_external` enables specifying external AAR
dependencies using the artifact coordinate and a list of server
URLs.
- The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
"-J-Xmx2g", may be passed to the javac compiler during bootstrap
build. This is helpful if your system chooses too small of a max
heap size for the Java compiler during the bootstrap build.
- --noexpand_configs_in_place is deprecated.
- A tool to parse the Bazel execution log.
- Support for LIPO has been fully removed.
- Remove support for --discard_actions_after_execution.
- Add --materialize_param_files flag to write parameter files even
when actions are executed remotely.
- Windows default system bazelrc is read from the user's
ProgramData if present.
- --[no]allow_undefined_configs no longer exists, passing undefined
configs is an error.
- In remote caching we limit the number of open
TCP connections to 100 by default. The number can be adjusted
by specifying the --remote_max_connections flag.
## Release 0.15.0 (2018-06-26)
```
Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
Cherry picks:
+ 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
Add option to enable Docker sandboxing.
+ 6b1635279e8b33dc1ac505ac81825e38f8797a14:
Allow disabling the simple blob caches via CLI flag overrides.
+ 4ec0a7524913ab2c4641368e3f8c09b347351a08:
Use BUILD.bazel instead of BUILD for external projects
```
Incompatible changes:
- Bazel now always runs binaries in with "bazel run" in
interactive mode. The "--nodirect_run" command line option is now
a no-op.
- "bazel run --noas_test" is not supported anymore.
- Indentation on the first line of a file was previously ignored.
This is now fixed.
New features:
- C++,runfiles: to access data-dependencies (runfiles) in C++
programs, use the runfiles library built into Bazel. For usage
info, see
https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
/runfiles.h
Important changes:
- Bazel now allows almost all 7-bit ASCII characters in labels.
- Remove vestigial java_plugin.data attribute
- Bazel supports including select Java 8 APIs into Android apps
targeting pre-Nougat Android devices with
--experimental_desugar_java8_libs
- Flag `--incompatible_disable_glob_tracking` is removed.
- SkyQuery's rbuildfiles now returns targets corresponding to
broken packages.
- Introduce build support for providing cache prefetch hints.
- Update the skylark DefaultInfo documentation to spell out
runfiles, data_runfiles and default_runfiles
- An internal action for symlinking runfiles will use Command
instead of a Spawns. This should have no functional chages; the
only user visible consequence should be that the internal action
is no longer be included in statistics when calculating processes
count.
- --batch is deprecated
- execution strategies line no longer handles differently the case
where all processes have the same strategy.
- The --experimental_remote_spawn_cache flag is now enabled by
default, and remote caching no longer needs --*_strategy=remote
flags (it will fail if they are specified).
- android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
- Added --apple_enable_auto_dsym_dbg flag.
- non_propagated_deps has been removed from objc_library and
apple_binary.
- For Android projects, Bazel now supports building fonts as
resources. See
https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
for more information on the feature.
- With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
action inputs are no longer scanned for tools. Move any such
inputs to the newly introduced 'tools' attribute.
## Release 0.14.1 (2018-06-08)
```
Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
Cherry picks:
+ f96f037f8f77335dc444844abcc31a372a3e1849:
Windows, Java launcher: Support jar files under different drives
+ ff8162d01409db34893de98bd840a51c5f13e257:
sh_configure.bzl: FreeBSD is also a known platform
+ 7092ed324137f03fcd34856bdb0595a1bdec3069:
Remove unneeded exec_compatible_with from local_sh_toolchain
+ 57bc201346e61c62a921c1cbf32ad24f185c10c9:
Do not autodetect C++ toolchain when
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
+ 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
remote: recursively delete incomplete downloaded output
directory.
+ 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
distfile: pack the archives needed later in the build
+ 27487c77387e457df18be3b6833697096d074eab:
Slightly refactor SpawnAction to improve env handling
+ 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
Fix Cpp{Compile,Link}Action environment and cache key computation
+ 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
Make SymlinkTreeAction properly use the configuration's
environment
+ eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
Add a missing dependency from checker framework dataflow to
javacutils
+ 10a4de954c2061258d8222961fc3bd39516db49d:
Release 0.14.0 (2018-06-01)
+ 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
Add option to enable Docker sandboxing.
+ 6b1635279e8b33dc1ac505ac81825e38f8797a14:
Allow disabling the simple blob caches via CLI flag overrides.
```
Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
## Release 0.14.0 (2018-06-01)
```
Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
Cherry picks:
+ f96f037f8f77335dc444844abcc31a372a3e1849:
Windows, Java launcher: Support jar files under different drives
+ ff8162d01409db34893de98bd840a51c5f13e257:
sh_configure.bzl: FreeBSD is also a known platform
+ 7092ed324137f03fcd34856bdb0595a1bdec3069:
Remove unneeded exec_compatible_with from local_sh_toolchain
+ 57bc201346e61c62a921c1cbf32ad24f185c10c9:
Do not autodetect C++ toolchain when
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
+ 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
remote: recursively delete incomplete downloaded output
directory.
+ 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
distfile: pack the archives needed later in the build
+ 27487c77387e457df18be3b6833697096d074eab:
Slightly refactor SpawnAction to improve env handling
+ 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
Fix Cpp{Compile,Link}Action environment and cache key computation
+ 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
Make SymlinkTreeAction properly use the configuration's
environment
+ eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
Add a missing dependency from checker framework dataflow to
javacutils
```
Incompatible changes:
- Add --incompatible_disallow_legacy_javainfo flag.
- Added flag --incompatible_disallow_old_style_args_add to help
migrate from args.add() to args.add_all() / args.add_joined()
where appropriate.
New features:
- Bash,runfiles: use the new platform-independent library in
`@bazel_tools//tools/bash/runfiles` to access runfiles
(data-dependencies). See
https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
s/runfiles.bash for usage information.
- TemplateVariableInfo can now be constructed from Skylark.
- The java_host_runtime_alias rule is now implemented in Java.
Important changes:
- Flip default value of --experimental_shortened_obj_file_path to
true, Bazel now generates short object file path by default.
- Introduce fdo_profile rule that allows architecture-sensitive
specification of fdo profiles.
- canonicalize-flags no longer reorders the flags
- CppRules: optional_compiler_flag was removed from CROSSTOOL, use
features instead.
- Labels of the form ////foo are disallowed.
- The `/` operator is deprecated in favor of `//` (floor integer
division).
Try the `--incompatible_disallow_slash_operator` flag to ensure
your code
is forward-compatible.
- Flip default value of --experimental_shortened_obj_file_path to
true, Bazel now generates short object file path by default.
- Exposed "mnemonic" and "env" fields on skylark "Action" objects.
- Removed flag `--incompatible_disallow_toplevel_if_statement`.
- Remove vestigial 'deps' and 'data' attributes from
proto_lang_toolchain
- Args objects (ctx.actions.args()) have new methods add_all() and
add_joined() for building command lines using depsets.
- `FileType` is deprecated and will be removed soon.
Try the `--incompatible_disallow_filetype` flag to ensure your
code
is forward-compatible.
- Introduce absolute_path_profile attribute that allows fdo_profile
to accept absolute paths.
- Support two-arg overloads for ctx.actions.args (eg.
args.add("--foo", val))
- Introduce 'tools' attribute to ctx.actions.run.
- Fixed error message for proguard_apply_dictionary.
- "bazel run" now lets one run interactive binaries. The
BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
variables indicate the working directory and the workspace root
of the Bazel invocation. Tests are provided with an approximation
of the official test environment.
- repository rules are no longer restricted to return None.
- Add --high_priority_workers flag.
- CppRules: Feature configuration can be created from Skylark
- Adds new-style JavaInfo provider constructor.
- Make java_common.compile now uses java_toolchain javacopts by
default; explicitly retrieving them using
java_common.default_javac_opts is unnecessary.
- CppRules: C++ command lines and env variables for C++ actions can
be retrieved from feature configuration.
- Skylark rule definitions may advertise providers that targets of
the rule must propagate.
- Bazel now supports running actions inside Docker containers.
To use this feature, run "bazel build --spawn_strategy=docker
--experimental_docker_image=myimage:latest".
- Remote execution works for Windows binaries with launchers.
- Fixing start/end lib expansion for linking. There were many cases
where archive files were still being used with toolchains that
support start/end lib. This change consolidates the places that
make that decision so they can be more consistent.
- Add support for reporting an error if
android_test.binary_under_test contains incompatible versions of
deps
- We replaced the --experimental_local_disk_cache and
--experimental_local_disk_cache_path flags into a single
--disk_cache flag. Additionally, Bazel now tries to create the disk cache
directory if it doesn't exist.
- Save Blaze memory by not storing LinkerInput objects in
LinkCommandLine
- In the JavaInfo created by java_common.create_provider now
includes both direct and transitive arguments in
transitive_compile_time_jars and transitive_runtime_jars
- Allow --worker_max_instances to take MnemonicName=value to
specify max for each worker.
- Allow java_toolchain.header_compiler to be an arbitrary executable
## Release 0.13.1 (2018-05-23)
```
Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
Cherry picks:
+ f083e7623cd03e20ed216117c5ea8c8b4ec61948:
windows: GetOutputRoot() returns GetHomeDir()
+ fa36d2f48965b127e8fd397348d16e991135bfb6:
Automated rollback of commit
4465dae23de989f1452e93d0a88ac2a289103dd9.
+ 4abd2babcc50900afd0271bf30dc64055f34e100:
Add error message on empty public resources
+ 2c957575ff24c183d48ade4345a79ffa5bec3724:
test-setup: remove leading "./" from test name
+ e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
Sort entries by segment when building a parent node to prevent
unordered directory structures.
```
Important changes:
- Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
## Release 0.13.0 (2018-04-30)
```
Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
Cherry picks:
+ f083e7623cd03e20ed216117c5ea8c8b4ec61948:
windows: GetOutputRoot() returns GetHomeDir()
+ fa36d2f48965b127e8fd397348d16e991135bfb6:
Automated rollback of commit
4465dae23de989f1452e93d0a88ac2a289103dd9.
+ 4abd2babcc50900afd0271bf30dc64055f34e100:
Add error message on empty public resources
+ 2c957575ff24c183d48ade4345a79ffa5bec3724:
test-setup: remove leading "./" from test name
```
Incompatible changes:
- Remove //tools/defaults:android_jar. Use
@bazel_tools//tools/android:android_jar instead.
- The flag --incompatible_show_all_print_messages is removed.
Messages generated by `print` statements from any package will be
displayed as
DEBUG messages.
- The --incompatible_disallow_uncalled_set_constructor flag is no
longer available, the `set` constructor` is completely removed
from Skylark.
Use `depset` instead.
- Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
favor of
functions `package_name()` and `repository_name()`.
https://docs.bazel.build/versions/master/skylark/lib/native.html#p
ackage_name
- BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
the epoch.
New features:
- Strings have a new .elems() method, that provides an iterator on
the characters of the string.
- Now you can access three functions in windows_cc_configure.bzl by:
load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
"<function_name>")
Important changes:
- CppRules: Unified action_configs for static libraries
- Remove support for blaze dump --vfs. It is no longer meaningful.
- Enable dependency checking for aar_import targets.
- internal_bootstrap_hack has been deprecated and removed.
- Properly handle tree artifacts on the link command line coming
from a cc_library dependency.
- Allow C++ features to make proto_library emit smaller C++ code
- The 'j2objc' configuration fragment is exposed to Skylark.
- Remove the default content of the global bazelrc.
- In int() function, do not auto-detect base if input starts with
'0'.
- Users can now pass --experimental_shortened_obj_file_path=true to
have a shorter object file path, the object file paths (and all
other related paths) will be constructed as following:
If there's no two or more source files with the same base name:
<bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
_name>.<extension>
otherwise:
<bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
se_name>.<extension>
N = the file?s order among the source files with the same
basename, starts from 0.
- Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
- CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
not
used, and could be expressed using features.
- Introduce --incompatible_disable_objc_provider_resources to turn
off all resource-related fields of the Objc provider.
- Removed the statement of "What does Bazel support?" as it's
limiting/misleading. Added supported host OSes to
"multi-platform" paragraph.
- android_library AAR output now contains proguard.txt
- Bazel now displays information about remote cache hits and
execution strategies used in its UI after every build and test,
and adds a corresponding line "process stats" to BuildToolLogs in
BEP.
- Print correct build result for builds with --aspects flag.
- android_binary.manifest_merger is no longer supported.
## Release 0.12.0 (2018-04-11)
```
Baseline: b33e5afa313322a7048044c44d854cbb666b988e
Cherry picks:
+ 369409995bd75eeb0683fd24f7585d2a90320796:
Automated rollback of commit
c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
+ dbf779869751cc893ba240402d352c6e70be2978:
Emit SJD errors even if we don't know the label of a dependency
+ 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
Android tools: remove mtime-modifications
+ a1068c44a700ec2cff84cbd12592e9bfea25d754:
NDK cc_toolchains: include bundled runtime libraries in
cc_toolchain.all_files
+ b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
runfiles,Python: remove library from @bazel_tools
+ 0a4622012ff796429220fe57d3217f262cc208a8:
Fix visibility of def_parser for remote builds
+ 3c5373c50c7c492842f8a468906eda2c0bc90787:
Remove visibility attribute from
//third_party/def_parser:def_parser
+ f54d7e5293cc40ce3507a9adef530e46ab817585:
Enable bulk writes in the HttpBlobStore
+ 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
remote/http: properly complete user promise
```
Incompatible changes:
- The order of dict-valued attributes is now the order in the BUILD
file (or in the Skylark dict they were created from) and not
lexicographically sorted.
New features:
- The new "--direct_run" flag on "blaze run" lets one run
interactive binaries.
- "blaze run --direct_run" with tests now gives the test an
approximation of the official test environment.
- "blaze run --direct_run" now exports the
BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
about the cwd of the client and the workspace root.
- New Android device test rule: android_instrumentation_test.
- Add option to dump the action graph to a file: 'bazel dump
--action_graph=/path/to/file'.
- Pass `tags` from `java_import_external` rule to the generated
`java_import` rule.
- blaze query: use --proto:output_rule_attrs to filter for given
attributes
- Added Android NDK r15 support, including compatibility with
Unified Headers.
- Adds --ltobackendopt and --per_file_ltobackendopt for passing
options to ThinLTO LTO backend compile actions only.
Important changes:
- Fix how libraries to link is specified to archiver actions.
- Fix how libraries_to_link are expanded in the archiver command
line.
- stop using --no-locals in android coverage builds
- apple_binary can now generate dSYM outputs with the
--apple_generate_dsym=true flag.
- Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
- Improved clarity of warning message for unsupported NDK revisions.
- Add lint check for discouraging glob(["**/*.java"])
- unifly lint glob(["**/*.java"]) message
- Removed flags `--incompatible_checked_arithmetic`,
`--incompatible_dict_literal_has_no_duplicates`,
`--incompatible_disallow_keyword_only_args`, and `
--incompatible_comprehension_variables_do_not_leak`.
- Add "proto_source_root" flag to proto_library.
- Updated default android_cpu value to armeabi-v7a
- In skylark, print(target) now shows the provider keys of a
target, as debug information.
- The native http_archive rule is deprecated. Use the
Skylark version available via
load("@bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")
instead.
- flaky_test_attempts supports the regex@attempts syntax, like
runs_per_test.
- Fixed include paths for NDK r13+ llvm-libc++ headers to
`ndk/sources/cxx-stl/llvm-libc++/include` and
`ndk/sources/cxx-stl/llvm-libc++abi/include`
- --config flags now expand in place by default.
- aar_import now sets java.transitive_exports.
- repository_cache is no longer experimental and enabled by default.
- BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
- The native git_repository rule is deprecated. Use the
Skylark version available via
load("@bazel_tools//tools/build_defs/repo:git.bzl",
"git_repository")
instead.
- Removed flag `--incompatible_load_argument_is_label`.
- CcToolchain: Introduced action_config for
"c++-link-transitive-dynamic-library"
- Use bazel dump --action_graph=/path/to/action.proto
--action_graph:targets://foo:bar,//foo:foo to filter for certain
targets in the action graph dump.
- Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
with the C++11 standard, and
`--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
the `libc++` STL.
- Add a --build_event_publish_all_actions flag to allow all actions
to be published via the BEP.
- C++: Introduced --experimental_drop_fully_static_linking_mode
- Removed cc_inc_library, please use cc_library instead
- CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
'dynamic_linking_mode'.
## Release 0.11.1 (2018-03-06)
```
Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
Cherry picks:
+ ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
Update stub_finds_runfiles_test to be a real sh_test.
+ d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
java,runfiles: fix bugs in runfiles library
+ 56aeb04a064218b845ecc193d530c341c6ec854d:
Fixing #4585: broken re-execution of orphaned actions.
+ cf3f81aef7c32019d70cbce218a64a03276268f0:
remote: Add support for HTTP Basic Auth
+ 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
Fixing test-setup.sh occasionally missing stdout/stderr, on
systems where "tail --pid" is supported.
+ 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
Automated rollback of commit
7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
+ b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
Fix incorrect include directories when -no-canonical-prefixes is
passed to clang
+ 1001141f0674ff4b611814edcb00a5183680ef4a:
Roll forward of
https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
b52bcac5a3ff942029
(https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
1b52bcac5a3ff942029). Fix #4625 by running the test process in a
sub-shell.
+ fc98b44b6181fa4c3efd8613d887970629468d74:
android,windows: bugfix in aar_resources_extractor
```
Important changes:
- Fixes regression building Android rules on Windows.
## Release 0.11.0 (2018-02-23)
```
Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
Cherry picks:
+ ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
Update stub_finds_runfiles_test to be a real sh_test.
+ d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
java,runfiles: fix bugs in runfiles library
+ 56aeb04a064218b845ecc193d530c341c6ec854d:
Fixing #4585: broken re-execution of orphaned actions.
+ cf3f81aef7c32019d70cbce218a64a03276268f0:
remote: Add support for HTTP Basic Auth
+ 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
Fixing test-setup.sh occasionally missing stdout/stderr, on
systems where "tail --pid" is supported.
+ 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
Automated rollback of commit
7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
+ b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
Fix incorrect include directories when -no-canonical-prefixes is
passed to clang
+ 3904ac33a983fd8faebba1b52bcac5a3ff942029:
Automated rollback of commit
28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
+ 1001141f0674ff4b611814edcb00a5183680ef4a:
Roll forward of
https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
b52bcac5a3ff942029
(https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
1b52bcac5a3ff942029). Fix #4625 by running the test process in a
sub-shell.
```
Incompatible changes:
- ctx.fragments.jvm is not available anymore.
New features:
- java,runfiles: You can now depend on
`@bazel_tools//tools/runfiles:java-runfiles` to get a
platform-independent runfiles library for Java. See JavaDoc of
https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
/java/com/google/devtools/build/runfiles/Runfiles.java for usage
information.
Important changes:
- The --[no]experimental_disable_jvm command line option is not
supported anymore.
- Allow expanding TreeArtifacts for libraries_to_link
- Proguarded Android binaries can be built with incremental dexing.
- aar_import now supports assets.
- Crash in OutputJar::Close has been fixed
- generator_* attributes are nonconfigurable.
- Introduces --[no]keep_state_after_build
- Add support for merged object files needed for -flto-unit.
- Fix how libraries to link is specified to archiver actions.
- Replace //tools/defaults:android_jar with
@bazel_tools//tools/android:android_jar.
//tools/defaults:android_jar will be removed in a future release.
- java_common.compile supports neverlink
- Resolved an issue where a failure in the remote cache would not
trigger local re-execution of an action.
## Release 0.10.1 (2018-02-15)
```
Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
Cherry picks:
+ f6ca78808722c8c119affdb33400838ee92d44b6:
isable_presubmit
+ 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
Fix StreamResourceLeak error
+ e5436745e1732f5e43fc55f0deb5b19e23ce8524:
windows: fix --symlink_prefix=/ throwing exception
+ 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
Fix turbine command lines with empty javacopts
+ 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
Remove EOL'd Linux flavours, bump CentOS to 6.9.
+ f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
Automated rollback of commit
2aeaeba66857c561dd6d63c79a213f1cabc3650d.
+ 860af5be10b6bad68144d9d2d34173e86b40268c:
Consolidate Error Prone resource handling
+ 2e631c99495f75270d2639542cefb531ec262d67:
sandbox: properly add `tmpDir` to `writablePaths`
+ 5bfa5844d0d16d71e88002956e88402bfec88ef7:
actions,temp: respect TMPDIR envvar
+ 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
sandbox: add env[TMPDIR] instead of `tmpDir`
+ 40c757f4ab90214f95935672532a495c4551490a:
Change git clone to pull all history, so all needed commits can
be accessed.
+ 56aeb04a064218b845ecc193d530c341c6ec854d:
Fixing #4585: broken re-execution of orphaned actions.
```
Important changes:
- Resolved an issue where a failure in the remote cache would not
trigger local re-execution of an action.
## Release 0.10.0 (2018-02-01)
```
Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
Cherry picks:
+ f6ca78808722c8c119affdb33400838ee92d44b6:
isable_presubmit
+ 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
Fix StreamResourceLeak error
+ e5436745e1732f5e43fc55f0deb5b19e23ce8524:
windows: fix --symlink_prefix=/ throwing exception
+ 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
Fix turbine command lines with empty javacopts
+ 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
Remove EOL'd Linux flavours, bump CentOS to 6.9.
+ f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
Automated rollback of commit
2aeaeba66857c561dd6d63c79a213f1cabc3650d.
+ 860af5be10b6bad68144d9d2d34173e86b40268c:
Consolidate Error Prone resource handling
+ 2e631c99495f75270d2639542cefb531ec262d67:
sandbox: properly add `tmpDir` to `writablePaths`
+ 5bfa5844d0d16d71e88002956e88402bfec88ef7:
actions,temp: respect TMPDIR envvar
+ 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
sandbox: add env[TMPDIR] instead of `tmpDir`
+ 40c757f4ab90214f95935672532a495c4551490a:
Change git clone to pull all history, so all needed commits can
be accessed.
```
Incompatible changes:
- In order to access the template variables $(JAVA) and
$(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
to be added to the toolchains= attribute from now on.
- The ctx.middle_man function is not supported anymore.
- The flag --incompatible_list_plus_equals_inplace is removed, its
default behavior is preserved. += on lists now always mutates the
left hand
side.
- --android_sdk no longer supports filegroup targets.
- android_* rules no longer support legacy_native_support attribute.
New features:
- query: Add option --noproto:flatten_selects to turn off
flattening of selector lists in proto output.
- New android test rule, android_local_test.
Important changes:
- The --remote_rest_cache flag now respects --remote_timeout.
- --experimental_java_coverage is available for testing.
- The deprecated builtin `set` is no longer allowed even from within
unexecuted code in bzl files. It's temporarily possible to use
--incompatible_disallow_uncalled_set_constructor=false if this
change causes
incompatibility issues.
- Linkstamping is now a separate and full-blown CppCompileAction,
it's
no longer a part of linking command.
- Using `+`, `|` or `.union` on depsets is now deprecated. Please
use the new
constructor instead (see
https://docs.bazel.build/versions/master/skylark/depsets.html).
- config_feature_flag's default_value is optional. It is
only an error to have a config_feature_flag with no default_value
if that config_feature_flag has not been set in the configuration
it is being evaluated in.
- --[no]keep_incrementality_data is gone, replaced by the
enum-valued --incremental_state_retention_strategy
- Linkstamping is now a separate and full-blown CppCompileAction,
it's
no longer a part of linking command.
- Added --checkHashMismatch flag to ZipFilterAction. Valid values
are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
please use this flag instead.
- Set build jobs equivalent to number of logical processors by
default. Should improve build times significantly.
- Added --(no)expand_test_suites flag.
- Rename --keep_incrementality_data to --track_incremental_state
- --remote_rest_cache was renamed to --remote_http_cache. Both
options keep working in this release, but --remote_rest_cache
will be
removed in the next release.
- Aspects-on-aspect see and propagate over aspect attributes.
- --auth_* flags were renamed to --google_* flags. The old names
will continue to work for this release but will be removed in the
next
release.
- Remote Caching and Execution support output directories.
- Remove defunct flags
--experimental_incremental_dexing_for_lite_proto and
--experimental_incremental_dexing_error_on_missed_jars that have
long been enabled by default
- New version of aapt2 and Resources.proto.
- Make PIC and non PIC outputs for C++ compilation with Tree
Artifacts
## Release 0.9.0 (2017-12-19)
```
Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Cherry picks:
+ 2cf560f83922e6df9626ba3ee063c1caf6797548:
Update version of re2
+ a2d2615362c65be98629b39ce39754a325ed1c42:
Check for null build file returned from getBuildFileForPackage.
+ 68c577afc2fb33b5e66b820bcc9043fed1071456:
Fix some broken targets and failing tests.
+ 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Automated rollback of commit
337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
+ a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
Fix: uploading artifacts of failed actions to remote cache
stopped working.
+ 03964c8ccb20d673add76c7f37245e837c3899b6:
[java_common.compile] Name output source jar relative to the
output jar name
```
Incompatible changes:
- The deprecated `set` constructor is removed, along with the
migration flag --incompatible_disallow_set_constructor. It is
still temporarily
allowed to refer to `set` from within unexecuted code.
- The flag --incompatible_disallow_set_constructor is no longer
available, the deprecated `set` constructor is not available
anymore.
- The path to the JVM executable is not accessible anymore as
ctx.{fragments,host_fragments}.jvm.java_executable. Use
JavaRuntimeInfo.java_executable_exec_path instead.
- --clean_style is no longer an option.
New features:
- Users can use win_def_file attribute to specify a DEF file for
exporting symbols when build a shared library on Windows.
- Add --experimental_android_resource_cycle_shrinking option to
allow for more aggressive code and resource shrinking.
Important changes:
- Late-bound attributes are exposed to skylark. This is a new API
(`configuration_field()`) to depend on certain
configuration-defined targets from skylark rules.
- Document interaction between test_suite and target exclusions
- AAR manifest files will come from the processed resource APK if it
exists.
RELNOTES: None for Blaze users.
- Document interaction between test_suite and target exclusions
- --keep_incrementality_data flag allows Bazel servers to be run in
memory-saving non-incremental mode independent of --batch and
--discard_analysis_cache.
- Add deps attribute to Skylark maven_aar and maven_jar workspace
rules.
- Use --expand_configs_in_place as a startup argument to change the
order in which --config expansions are interpreted.
- SOURCE_DATE_EPOCH
(https://reproducible-builds.org/specs/source-date-epoch/) can
be used to override the timestamp used for stamped target (when
using --stamp).
- Package specifications can now be prefixed with `-` to indicate
negation
- transitive_source_jars is now exposed on JavaInfo.
- Add six to deps of has_services=1 py_proto_librarys.
- java_tests no complain when use_testrunner is explicitly set to 1
and main_class is set.
- transitive_source_jars is now exposed on JavaInfo.
- Debug messages generated by `print()` are not being filtered out
by --output_filter anymore, it's recommended not to use them in
production code.
- in the Label() function, relative_to_caller_repository is now
deprecated.
- java_tests no complain when use_testrunner is explicitly set to 1
and main_class is set.
- Bazel's default hash function was changed from MD5 to SHA256.
In particular, this affects users of remote caching and
execution, as
all hashes will be SHA256 by default.
- Remove redirects for domains be.bazel.build and cr.bazel.build
from the source for docs.bazel.build (because those subdomains
don't resolve here; they resolve to bazel.build, which has the
redirects for them)
- First argument of 'load' must be a label. Path syntax is removed.
(label should start with '//' or ':').
- Document startup option --host_javabase
- The --host_platform and --platform flags are no longer
experimental.
## Release 0.8.0 (2017-11-27)
```
Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
Cherry picks:
+ 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
Fix ImportError on tools.android for junction_lib
+ 275ae45b1228bdd0f912c4fbd634b29ba4180383:
Automated rollback of commit
4869c4e17d5b1410070a1570f3244148d8f97b5d.
+ d0bf589f2716b3d139c210930371a684c6e158eb:
Add a random number to action temp dir
+ 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
Windows
+ 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
Automated rollback of commit
0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
```
Incompatible changes:
- ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
supported anymore. The same information is accessible through the
target @bazel_tools//tools/osx:current_xcode_config: point an
implicit attribute to it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) then use
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
- ctx.fragments.apple.minimum_os_for_platform_type is not supported
anymore. The same information is accessible through the target
@bazel_tools//tools/osx:current_xcode_config: point an implicit
attribute to it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) then use
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
s_for_platform_type .
- ctx.fragments.apple.sdk_version_for_platform is not supported
anymore. The same information is accessible through the target
@bazel_tools//tools/osx:current_xcode_config: point an implicit
attribute to it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) then use
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
on_for_platform .
- --javabase=<absolute path> and --host_javabase=<absolute path>
are not supported anymore. If you need this functionality
java_runtime_suite(name="suite", default=":runtime")
java_runtime(name="runtime", java_home=<path to the JDK>) is an
alternative.
- The flag --incompatible_descriptive_string_representations is no
longer available, old style string representations of objects are
not supported
anymore.
- The flag --incompatible_disallow_set_constructor is no longer
available, the deprecated `set` constructor is not available
anymore.
- += on lists now mutates them. `list1 += list2` is now equivalent
to `list1.extend(list2)` and not equivalent to `list1 = list1 +
list2` anymore.
- the target_apple_env and apple_host_system_env methods on
ctx.fragments.apple are not supported anymore. The same
information is accessible through apple_common.target_apple_env
and apple_common.apple_host_system_env . They need the Xcode
configuration as an argument, which can be obtained by declaring
an implicit dependency on it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) and then calling e.g.
apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
mmon.XcodeVersionConfig]).
- C++ toolchain identifiers are not in the name of the output
directory anymore.
- Selecting on "xcode_version" and
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
What was config_setting(values={"$FOO_version": $VALUE}) is now
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
flag": $VALUE}).
- Selecting on "xcode_version" and
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
What was config_setting(values={"$FOO_version": $VALUE}) is now
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
flag": $VALUE}).
- The flag --incompatible_disallow_set_constructor is no longer
available, the deprecated `set` constructor is not available
anymore.
- Selecting on "xcode_version" and
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
What was config_setting(values={"$FOO_version": $VALUE}) is now
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
New features:
- runfiles, sh: Shell scripts may now depend on
//src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
script defines the `rlocation` function which returns runfile
paths on every platform.
- In addition to $(location), Bazel now also supports $(rootpath)
to obtain
the root-relative path (i.e., for runfiles locations), and
$(execpath) to
obtain the exec path (i.e., for build-time locations)
Important changes:
- android_binary now supports custom debug keys via the debug_key
attribute.
- Updated Android proguard to 5.3.3. It now works with android-24+.
- --experimental_use_parallel_android_resource_processing and
--experimental_android_use_nocompress_extensions_on_apk are
removed. These features are fully rolled out.
- Fixes #2574
- Fixes #3834
- Enable experimental UI by default.
- .
RELNOTES: None.
RELNOTES: No.
- Add memory profiler.
- [Bazel] {java,cc}_proto_library now look for dependencies in
@com_google_protobuf, instead of in @com_google_protobuf_$LANG
- Improved merge.sh script in cookbook.
- Fixing regression to --experimental_remote_spawn_cache
- Support for linker scripts in NativeDepsHelper (e.g.,
android_binary)
- Skylark semantics flags now affect WORKSPACE files and repository
rules.
- ctx.outputs.executable is deprecated. Use DefaultInfo(executable
= ...) instead.
- Update "mirror.bazel.build" urls to use https.
- Improve --config logging when --announce_rc is present.
- Document interaction between test_suite and target exclusions
- Replace version numbers for Bazel installers with "<version>"
(because this will change often)
- Published command lines should have improved lists of effective
options.
- --incremental_dexing_binary_types has been removed. All builds
are supported by incremental dexing (modulo proguard and some
blacklisted dx flags).
- Document --host_javabase, --host_java_toolchain
## Release 0.7.0 (2017-10-18)
```
Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
Cherry picks:
+ e79a1107d90380501102990d82cbfaa8f51a1778:
Windows,bootstrapping: fix build_windows_jni.sh
```
Incompatible changes:
- The --output=location flag to 'bazel query' cannot be used with
query expressions that involve the 'buildfiles' or 'loadfiles'
operators. This also applies to 'genquery' rules.
- Operators for equality, comparison, 'in' and 'not in' are no
longer associative,
e.g. x < y < z is now a syntax error. Before, it was parsed
as: (x < y) < z.
- In strings, octal sequences greater than \377 are now forbidden
(e.g. "\\600").
Previously, Blaze had the same behavior as Python 2, where
"\\450" == "\050".
- Using tabulation for identation is now fobidden in .bzl files
- `load` is now a language keyword, it cannot be used as an
identifier
- lvalues must have define at least one variable (i.e. we forbid
`[] = f()`).
- Fixed a bug whereby multiple load() statements could appear on
the same line
- -extra_checks:off is no longer supported; use
-XepDisableAllChecks instead
- java_common.java_toolchain_attr is removed. Depend on the
java_toolchain_alias() rule to accomplish the same thing.
- cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
not supported anymore and were replaced with the
cc_toolchain_alias() and java_runtime_alias() rules.
- Noop flag --deprecated_generate_xcode_project deleted.
- Objects in Skylark are converted to strings in a more descriptive
and less harmful way (they don't leak information that shouldn't
be accessed by Skylark code, e.g. nondeterministic memory addresses
of objects).
- `set` is deprecated in BUILD and .bzl files, please use `depset`
instead. Ordering names have also been changed, please use "default",
"postorder", "preorder", and "topological" instead of "stable",
"compile", "naive_link", and "link" correspondingly.
- Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
an error.
- Keyword-only syntax in a function definition is now forbidden
e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
- --incompatible_comprehension_variables_do_not_leak defaults to
"true."
Iteration variable becomes inaccessible after a list/dict
comprehension.
- @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
available, please see https://github.com/bazelbuild/rules_docker.
New features:
- Zipped LLVM profiles are now supported.
- LIPO maps to ThinLTO for LLVM builds.
- Change to handle LLVM FDO zipped profile contents correctly.
- Do not disable fully dynamic linking with ThinLTO when invoked
via LIPO options.
- There is now a 'siblings' query function. See the query
documentation for more details.
- Added the print_action command, which outputs the
actions needed to build a given target in the form of an
ExtraActionSummary proto in text format.
- android_binary now supports proguard_apply_dictionary to specify
a custom dictionary to use for choosing names to obfuscate
classes and members to.
Important changes:
- Windows: bazel clean --expunge works
- First argument of 'load' should be a label. Path syntax is
deprecated (label should start with '//' or ':').
- Octal prefix '0' is deprecated in favor of '0o' (use 0o777
instead of 0777).
- The extension_safe attribute of apple_binary no longer validates
transitive dependencies are compiled against extension_safe APIs.
- Parentheses around the tuple are now mandatory in [a for b in c
if 1, 2]
- Adjust the thresholds for --test_verbose_timeout_warnings so that
it can recommending timeout increases and won't recommend
timeouts that are too close to the actual timeout.
- Iterating on a `depset` object is deprecated. If you need an
iterable, call the `.to_list()` method first.
- Bazel now uses tools from action_configs in Crosstool by default
(as oposed to using top level tools).
- Incremental dexing errors on combination of --multidex=off and
either --main-dex-list or --minimal-main-dex.
- When using the dictionary literal syntax, it is now an error to
have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
- New property on android_sdk: aapt2
Choose the version of aapt on android_binary
- Add idl_preprocessed attribute to android_library, so that
preprocessed aidl files can be passed to android_library for
compiling
- Bazel's remote_worker backend for remote execution supports
sandboxing on Linux now. Check
https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
orker/README.md for details.
- Allows flags that expand to take values.
- Make querying attributes formed by selector lists of list types
more efficient by no longer listing every possible combination of
attribute value but by more compactly storing the possible values
of the list.
- writing build events to a file is no longer experimental
- set --rewrite_calls_to_long_compare to false by default.
- ObjC and C++ coverage feature is unified under name 'coverage'
- Enable --incremental_dexing for Android builds by default. Note
that some dexopts are incompatible with incremental dexing,
including --force-jumbo.
- Evaluation will soon use checked arithmetics and throw an error
instead of overflow/underflow.
- Implicit iteration in the CROSSTOOL has been removed, use
explicit 'iterate_over' message.
- Add option for Android specific grte_top
- Crosstool patches are only applied if the toolchain doesn't define
'no_legacy_features' feature.
- 'platform_type' is now a mandatory attribute on apple_binary and
apple_static_library rules.
If this change breaks your build, feel free to add platform_type
= 'ios' to any apple_binary and apple_static_library
targets in your project, as this was the previous default
behavior.
- Remove apple_watch2_extension build rule. Users should be using
the skylark watchos_application and watchos_extension rules.
https://github.com/bazelbuild/rules_apple has details.
- Check stderr to detect if connected to a terminal. Deprecate
--isatty.
- Commands that shut down the server (like "shutdown") now ensure
that the server process has terminated before the client process
terminates.
- Remove apple_watch1_extension and apple_watch_extension_binary
rules. Users should be using the skylark watchos_application and
watchos_extension rules.
https://github.com/bazelbuild/rules_apple has details.
- Windows: Wrapper-less CROSSTOOL becomes default now.
set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
- Ignore --glibc in the Android transition.
- Remove --experimental_android_use_singlejar_for_multidex.
- nocopts now also filter copts
- 'strip' action is now configured via feature configuration
- The Build Event Service (BES) client now properly supports
Google Applicaton Default Credentials.
- Flags from action_config get added first to the command line
first, before the flags from features.
- update dexing tools to Android SDK 26.0.1
- Bazel Android support now requires build-tools 26.0.1 or later.
- `bazel info output_path` no longer relies on the root directory
filename being equal to the workspace name.
- The `print` function now prints debug messages instead of
warnings.
- speedup of incremental dexing tools
- --announce_rc now controls whether bazelrc startup options are
printed to stderr.
- Removing a few unused objc_provider keys.
- Improved logging when workers have to be restarted due to its
files having changed.
- Top-level `if` statements are now forbidden.
- Java protos are compiled to Java 7 bytecode.
- All Android builds now use the desugar tool to support some Java
8 features by default. To disable, use the --nodesugar_for_android flag.
- Skylark-related options may now appear as "common" command
options in the .bazelrc
- Python is now required to build bazel.
- New --build_runfile_manifests flag controls production of
runfiles manifests.
- Enable debug info for Java builds
- Allow java_lite_proto_library in the deps of android rules.
- .so files in APKs will be memory-page aligned when
android_binary.nocompress_extensions contains ".so" and
--experimental_android_use_nocompress_extensions_on_apk is
specified.
- Skylark providers can specify allowed fields and their
documentation.
- Support ctx.actions.args() for more efficient Skylark command
line construction.
- The remote HTTP/1.1 caching client (--remote_rest_cache) now
distinquishes between action cache and CAS. The request URL for
the action cache is prefixed with 'ac' and the URL for the CAS
is prefixed with 'cas'.
- `JavaInfo` is a preferred alias to `java_common.provider`.
- J2ObjC version updated to 2.0.3.
- A new Java coverage implementation is available. Makes possible
coverage for Skylark JVM rules.
- Make proguard_apply_dictionary also apply to class and package
obfuscation, not just class members.
- android_binary.nocompress_extensions now applies to all files in
the APK, not just resources and assets.
- The apple_genrule rule that is distributed with Bazel has been
deleted. Users who wish to use genrules with Xcode's
DEVELOPER_DIR set should use the rules in
https://github.com/bazelbuild/rules_apple instead.
- The swift_library rule that is distributed with Bazel has been
deleted. Users who wish to compile Swift should use the rules in
https://github.com/bazelbuild/rules_apple instead.
- The Build Event Protocol's File.uri field is now properly
encoded according to RFC2396.
- Deprecated: Using the android_library.deps attribute to
implicitly export targets to dependent rules. If your code is
using this feature, Bazel will raise a warning. To fix, please
use android_library.exports to explicitly specify exported
targets. Run with
--experimental_allow_android_library_deps_without_srcs=false to
ensure forward compatibility when this feature is removed in a
future release.
- java_common.create_provider is now supported with creating ijars
by default. This introduces incompatibilities for existing users.
Please set use_ijar=False if you don't want to use ijars.
- Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
reflected under bazel-testlogs.
- remove unused --host_incremental_dexing flag
- Stop using --undefined dynamic_lookup in Apple links. Enables
unresolved symbol errors.
- All test output files included for cached, uncached, and multiple
attempt tests.
- Android rules no longer restrict the manifest file to be named
"AndroidManifest.xml".
- Boolean flag values will now get normalized to 1 or 0 in
canonicalize-flags output.
- added experimental --use_new_category_enum to the help command to
output options grouped by the new type of category.
- Expose output jars and jdeps in java_common.provider, when
available.
- android_library targets are no longer allowed to use deps to
export targets implicitly; please use android_library.exports
instead.
- New depset API
- apple_binary and apple_static_library no longer support
compilation attributes such as 'srcs'. If this breaks any
existing targets, you may migrate all such attributes to a new
objc_library target and depend on that objc_library target via
the 'deps' attribute of apple_binary or apple_static_library.
## Release 0.6.1 (2017-10-05)
```
Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
Cherry picks:
+ a615d288b008c36c659fdc17965207bb62d95d8d:
Rollback context.actions.args() functionality.
+ 7b091c1397a82258e26ab5336df6c8dae1d97384:
Add a global failure when a test is interrupted/cancelled.
+ 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
Cleanups for Skylark tracebacks
+ cc9c2f07127a832a88f27f5d72e5508000b53429:
Remove the status xml attribute from AntXmlResultWriter
+ 471c0e1678d0471961f1dc467666991e4cce3846:
Release 0.6.0 (2017-09-28)
+ 8bdd409f4900d4574667fed83d86b494debef467:
Only compute hostname once per server lifetime
+ 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
Fix bug in NetUtil caching.
```
Important changes:
- Only compute hostname once per server lifetime
## Release 0.6.0 (2017-09-28)
```
Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
Cherry picks:
+ a615d288b008c36c659fdc17965207bb62d95d8d:
Rollback context.actions.args() functionality.
+ 7b091c1397a82258e26ab5336df6c8dae1d97384:
Add a global failure when a test is interrupted/cancelled.
+ 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
Cleanups for Skylark tracebacks
+ cc9c2f07127a832a88f27f5d72e5508000b53429:
Remove the status xml attribute from AntXmlResultWriter
```
Incompatible changes:
- Noop flag --deprecated_generate_xcode_project deleted.
- Objects in Skylark are converted to strings in a more descriptive
and less harmful way (they don't leak information that shouldn't
be accessed by Skylark code, e.g. nondeterministic memory addresses
of objects).
- `set` is deprecated in BUILD and .bzl files, please use `depset`
instead. Ordering names have also been changed, please use
"default", "postorder", "preorder", and "topological" instead of
"stable", "compile", "naive_link", and "link" correspondingly.
- Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
an error.
- Keyword-only syntax in a function definition is now forbidden
e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
- --incompatible_comprehension_variables_do_not_leak defaults to
"true."
Iteration variable becomes inaccessible after a list/dict
comprehension.
New features:
- There is now a 'siblings' query function. See the query
documentation for more details.
- Added the print_action command, which outputs the
actions needed to build a given target in the form of an
ExtraActionSummary proto in text format.
- android_binary now supports proguard_apply_dictionary to specify
a custom dictionary to use for choosing names to obfuscate
classes and members to.
Important changes:
- 'strip' action is now configured via feature configuration
- Flags from action_config get added first to the command line
first,
before the flags from features.
- `bazel info output_path` no longer relies on the root directory
filename being equal to the workspace name.
- The `print` function now prints debug messages instead of
warnings.
- speedup of incremental dexing tools
- --announce_rc now controls whether bazelrc startup options are
printed to stderr.
- Removing a few unused objc_provider keys.
- Improved logging when workers have to be restarted due to its
files having changed.
- Top-level `if` statements are now forbidden.
- Java protos are compiled to Java 7 bytecode.
- All Android builds now use the desugar tool to support some Java
8 features by default. To disable, use the
--nodesugar_for_android flag.
- Skylark-related options may now appear as "common" command
options in the .bazelrc
- Python is now required to build bazel.
- When the lvalue of an augmented assignment is a list, we now
throw an error
before evaluating the code (e.g. `a, b += 2, 3`).
- New --build_runfile_manifests flag controls production of
runfiles manifests.
- Enable debug info for Java builds
- Allow java_lite_proto_library in the deps of android rules.
- .so files in APKs will be memory-page aligned when
android_binary.nocompress_extensions contains ".so" and
--experimental_android_use_nocompress_extensions_on_apk is
specified.
- Skylark providers can specify allowed fields and their
documentation.
- Support ctx.actions.args() for more efficient Skylark command
line construction.
- The remote HTTP/1.1 caching client (--remote_rest_cache) now
distinquishes between action cache and CAS. The request URL for
the action cache is prefixed with 'ac' and the URL for the CAS
is prefixed with 'cas'.
- `JavaInfo` is a preferred alias to `java_common.provider`.
- J2ObjC version updated to 2.0.3.
- A new Java coverage implementation is available. Makes possible
coverage for Skylark JVM rules.
- Make proguard_apply_dictionary also apply to class and package
obfuscation, not just class members.
- When using the dictionary literal syntax, it is now an error to
have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
- android_binary.nocompress_extensions now applies to all files in
the APK, not just resources and assets.
- The apple_genrule rule that is distributed with Bazel has been
deleted. Users who wish to use genrules with Xcode's
DEVELOPER_DIR set should use the rules in
https://github.com/bazelbuild/rules_apple instead.
- The swift_library rule that is distributed with Bazel has been
deleted. Users who wish to compile Swift should use the rules in
https://github.com/bazelbuild/rules_apple instead.
## Release 0.5.4 (2017-08-25)
```
Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
Cherry picks:
+ d4fa181f8607c35230b7efa1ce94188b51508962:
Use getExecPathString when getting bash_main_file
+ 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
Windows, sh_bin. launcher: export runfiles envvars
+ fe9ba893c0ebec19228086356af5fa8d81f2809b:
grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
#3460, #3486
+ e8d4366cd374fba92f1425de0d475411c8defda4:
Automated rollback of commit
496d3ded0bce12b7371a93e1183ba30e6aa88032.
+ 242a43449dd44a22857f6ce95f7cc6a7e134d298:
bes,remote: update default auth scope.
+ 793b409eeae2b42be7fed58251afa87b5733ca4d:
Windows, sh_bin. launcher: fix manifest path
+ 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
Add --windows_exe_launcher option
+ 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
remote_worker: Serialize fork() calls. Fixes #3356
+ b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
Quote python_path and launcher in
python_stub_template_windows.txt
+ 4a2e17f85fc8450aa084b201c5f24b30010c5987:
Add build_windows_jni.sh back
+ ce61d638197251f71ed90db74843b55d9c2e9ae5:
don't use methods and classes removed in upstream dx RELNOTES:
update dexing tools to Android SDK 26.0.1
+ 5393a4996d701fa192964a35cbb75e558a0599c0:
Make Bazel enforce requirement on build-tools 26.0.1 or later.
+ 5fac03570f80856c063c6019f5beb3bdc1672dee:
Fix --verbose_failures w/ sandboxing to print the full command
line
+ f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
Only patch in C++ compile features when they are not already
defined in crosstool
+ d7f5c120417bc2d2344dfb285322355f225d9153:
Bump python-gflags to 3.1.0, take two
+ 3cb136d5451e9d8af58f9a99990cad0592df101a:
Add python to bazel's dockerfiles
```
New features:
- Do not disable fully dynamic linking with ThinLTO when invoked
via LIPO options.
Important changes:
- Ignore --glibc in the Android transition.
- Remove --experimental_android_use_singlejar_for_multidex.
- nocopts now also filter copts
- The Build Event Service (BES) client now properly supports
Google Applicaton Default Credentials.
- update dexing tools to Android SDK 26.0.1
- Bazel Android support now requires build-tools 26.0.1 or later.
- Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
- The java_proto_library rule now supports generated sources. See #2265
## Release 0.5.3 (2017-07-27)
```
Baseline: 88518522a18df5788736be6151fc67992efe2aad
Cherry picks:
+ 820a46af10808396873c36d0f331e533118cf0c6:
Automated rollback of commit
6d6e87297fe8818e4c374fdfabfbcf538bca898a.
+ ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
Allow py_binary to be the executable of a Skylark action or any
SpawnAction on Windows.
+ 06534911696838e720c8681f6f568c69d28da65e:
Fix string representation for the Root class
+ cd159bcee72a7f377621b45409807231a636f9e2:
sandbox: Allow UNIX sockets on macOS even when block-network is
used.
+ ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
Fix python_stub_template.txt to be compatible with Python 2.4.
+ 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
Create Windows ZIP release artifact using Bazel
+ 5e576637b5705aff0a7bf56b5077463dffcd712f:
Automated rollback of commit
820a46af10808396873c36d0f331e533118cf0c6.
+ b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
Use the correct function to generate the release notes
+ 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
Include <cinttypes> instead of <stdint.h>
```
Incompatible changes:
- The --output=location flag to 'bazel query' cannot be used with
query expressions that involve the 'buildfiles' or 'loadfiles'
operators. This also applies to 'genquery' rules.
- Operators for equality, comparison, 'in' and 'not in' are no
longer associative, e.g. x < y < z is now a syntax error.
Before, it was parsed as: (x < y) < z.
- In strings, octal sequences greater than \377 are now forbidden
(e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
where "\\450" == "\050".
- Using tabulation for identation is now fobidden in .bzl files
- `load` is now a language keyword, it cannot be used as an
identifier
- lvalues must have define at least one variable (i.e. we forbid
`[] = f()`).
- Fixed a bug whereby multiple load() statements could appear on
the same line
- -extra_checks:off is no longer supported; use
-XepDisableAllChecks instead
- java_common.java_toolchain_attr is removed. Depend on the
java_toolchain_alias() rule to accomplish the same thing.
- cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
not supported anymore and were replaced with the
cc_toolchain_alias() and java_runtime_alias() rules.
New features:
- Zipped LLVM profiles are now supported.
- LIPO maps to ThinLTO for LLVM builds.
- Change to handle LLVM FDO zipped profile contents correctly.
Important changes:
- Windows: bazel clean --expunge works
- First argument of 'load' should be a label. Path syntax is
deprecated (label should start with '//' or ':').
- Octal prefix '0' is deprecated in favor of '0o' (use 0o777
instead of 0777).
- The extension_safe attribute of apple_binary no longer validates
transitive dependencies are compiled against extension_safe APIs.
- Parentheses around the tuple are now mandatory in [a for b in c
if 1, 2]
- Adjust the thresholds for --test_verbose_timeout_warnings so that
it can recommending timeout increases and won't recommend
timeouts that are too close to the actual timeout.
- Iterating on a `depset` object is deprecated. If you need an
iterable, call the `.to_list()` method first.
- Bazel now uses tools from action_configs in Crosstool by default
(as oposed to using top level tools).
- Incremental dexing errors on combination of --multidex=off and
either --main-dex-list or --minimal-main-dex.
- When using the dictionary literal syntax, it is now an error to
have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
- New property on android_sdk: aapt2
Choose the version of aapt on android_binary
- Add idl_preprocessed attribute to android_library, so that
preprocessed aidl files can be passed to android_library for
compiling
- Bazel's remote_worker backend for remote execution supports
sandboxing on Linux now. Check
https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
orker/README.md for details.
- Allows flags that expand to take values.
- Make querying attributes formed by selector lists of list types
more efficient by no longer listing every possible combination of
attribute value but by more compactly storing the possible values
of the list.
- Writing build events to a file is no longer experimental
- set --rewrite_calls_to_long_compare to false by default.
- ObjC and C++ coverage feature is unified under name 'coverage'
- Enable --incremental_dexing for Android builds by default. Note
that some dexopts are incompatible with incremental dexing,
including --force-jumbo.
- Evaluation will soon use checked arithmetics and throw an error
instead of overflow/underflow.
- Implicit iteration in the CROSSTOOL has been removed, use
explicit 'iterate_over' message.
- Add option for Android specific grte_top
- Crosstool patches are only applied if the toolchain doesn't define
'no_legacy_features' feature.
- 'platform_type' is now a mandatory attribute on apple_binary and
apple_static_library rules.
If this change breaks your build, feel free to add platform_type
= 'ios' to any apple_binary and apple_static_library
targets in your project, as this was the previous default
behavior.
- Remove apple_watch2_extension build rule. Users should be using
the skylark watchos_application and watchos_extension rules.
https://github.com/bazelbuild/rules_apple has details.
- Check stderr to detect if connected to a terminal. Deprecate
--isatty.
- Commands that shut down the server (like "shutdown") now ensure
that the server process has terminated before the client process
terminates.
- Remove apple_watch1_extension and apple_watch_extension_binary
rules. Users should be using the skylark watchos_application and
watchos_extension rules.
https://github.com/bazelbuild/rules_apple has details.
- Windows: Wrapper-less CROSSTOOL becomes default now.
set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
## Release 0.5.2 (2017-06-27)
```
Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
Cherry picks:
+ 68028317c1d3d831a24f90e2b25d1410ce045c54:
experimental UI: move stopUpdateThread() out of synchronized,
again
+ 019935dfbb61e61d08d1351b0365fb4e2d0df305:
Fix bug in URI computation in RemoteModule
+ e9424cf9b9d72b98594966d5ac0f15bb018ec639:
Automated rollback of commit
7dec00574aa91327693f6ba7e90bff5bc834253e.
+ 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
Switching to Watcher API instead of wait_for_completion, in
preparation for deprecating the wait_for_completion field.
+ 89659810e3048782dfb5e308e39aa8a0727e464e:
Set correct execroot for info
+ 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
Only create a single per-build instance of the remote cache /
executor
+ 1d82d199f82409f217a42bcefebb96f723f91caa:
protobuf: Update protobuf jars to be binary compatible with Java
6. Fixes #3198
+ 524b90d9e5acc4fa568f215c9415eaa902e979f8:
Change CAS URI to use the "bytestream" scheme instead of being
scheme-less
+ 4929ad79865f8c13ef3b33c827040f4a037e4afe:
Automated g4 rollback of commit
923d7df521f67d031b288180560848bd35e20976.
+ 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
Automated g4 rollback of commit
da56606563ee9df438db93392f681bf2abb4ac97.
+ 2ba693ffbe824136a0ca5f47d34710612f6302c3:
Automated rollback of commit
ce7c4deda60a307bba5f0c9421738e2a375cf44e.
```
Incompatible changes:
- Blaze no longer generates xcode projects. Use tulsi.bazel.build
instead.
Important changes:
- Keyword-only syntax in a function definition is deprecated
(e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
removed in the future.
- Attempting to build an Android target without setting up
android_sdk_repository will now produce a helpful error message.
- Adds a sha256 attribute to git_repository and new_git_repository.
This can only be used if the remote is a public GitHub
repository. It forces
Bazel to download the repository as a tarball, which will often
be faster and
more robust than cloning it.
- Sandboxing is now enabled by default on FreeBSD (via
processwrapper-sandbox).
- android_test may use manifest placeholders with 'manifest_merger
= "android"'.
- load() statements should be called at the top of .bzl files,
before any
other statement. This convention will be enforced in the future.
- Effectively remove sysroot from CppConfiguration and allow it to
use select statements.
- proto_library.strict_proto_deps no longer exists.
- Flag --explicit_jre_deps is now a noop.
- The 'legacy' Android manifest merger is deprecated. Please
upgrade to the 'android' manifest merger, which is the same
merger used by Gradle.
https://developer.android.com/studio/build/manifest-merge.html
- Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
toolchain
- add one-version enforcement to android_local_test
- Skylark support (apple_common.dotted_version(string)) for
building DottedVersion objects to interface with native apple
rules
- CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
CROSSTOOL
- ios_framework native rule has been removed. This rule had been
essentially broken for several months now; users should be using
the skylark ios framework rule.
https://github.com/bazelbuild/rules_apple has details.
- Clean command no longer uses boolean values for --async,
--expunge, and --expunge_async options.
- Partially fixes external J2ObjC support.
- '--aspects' can occur more than once on the command line.
- --no_ prefix no longer recognized.
- Use action_config in crosstool for static library archiving,
remove ar_flag.
- Added a new flag --sandbox_writable_path, which asks the sandbox
to
make an existing directory writable when running actions.
- bazel test now also computes a default instrumentation filter if
--collect_code_coverage is enabled
- n/na
- In .bzl files, top-level `if` statements are deprecated and will
be forbidden
in the future. Move them in a function body instead (or use a
conditional
expression instead: `x if condition else y`).
- ios_device and ios_test are deprecated. Please use the new testing
rules in https://github.com/bazelbuild/rules_apple instead.
- bazel query --output package now displays packages from external
repository with the format "@reponame//package". Packages in the
main repository continue to have the format "package".
- ctx.expand_make_variables is deprecated.
- Bazel posts links to the CAS to the BEP if remote caching /
execution is enabled
- `bazel info execution_root` returns the corrrect directory name
for the execution root.
## Release 0.5.1 (2017-06-06)
```
Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
Cherry picks:
+ c58ba098526b748f9c73e6229cafd74748205aa1:
Release to GCS: put the final release in its own directory
+ 0acead4ea3631240659836ce6ecd6d7f67fd352b:
Update protobuf to latest master at a64497c and apply
@laszlocsomor's latest changes from
https://github.com/google/protobuf/pull/2969 on top of it.
+ d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
Make symlinks consistent
+ d953ca8b87a46decbce385cebb446ae0dd390881:
Clean VanillaJavaBuilder output directories
+ 755669fb5de1f4e762f27c19776cac9f410fcb94:
Pass all the environment variable to Bazel during bootstrapping
+ 6f041661ca159903691fcb443d86dc7b6454253d:
Do not mark the JDK7 installer -without-jdk-installer
+ 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
Fix #2958: Installer should not overwrite bazelrc
+ 511c35b46cead500d4e76706e0a709e50995ceba:
Bootstrap: move the fail function to the top
+ 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
Clean up javac and Error Prone targets
+ 4a404de2c6c38735167e17ab41be45ef6fc4713a:
Update javac version to 9-dev-r4023-2
+ 36ce4b433e19498a78c34540d5a166d4e0006b22:
Update javac version to 9-dev-r4023-2
+ 38949b8526bdb3e6db22f3846aac87162c28c33f:
Migrate off versioned javac and Error Prone targets
+ 1a57d298f8aa6ea8136d93223902104f2479cd2a:
Re-enabling passing -sourcepath via javacopts.
+ eb565f408e03125e92d42b00756e519795be6593:
Make make sure that msys build actually builds msys version
+ 39f328cf392056618d1a3ead4835a138b189a06d:
Fix typo. Also do not override host_cpu for msvc.
+ 624802893f4fe72118f00a78452605d41a2e1c6f:
Select correct JDK for windows_msys
+ c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
Automated g4 rollback of commit
3e5edafa2a04a71cd3596e929e83222da725f3f9.
+ 926180997a0f296a5a009326aead887279ce0a90:
Remove process-tools.cc which I forgot to delete during the last
rollback.
+ baca6e4cb023649920871b74810927d304729e59:
Fix #2982: Bazel installer should not check for installed JDK if
using a bundled JDK.
+ 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
Disable msys path conversion on Windows.
+ cc21998c299b4d1f97df37b961552ff8168da17f:
Rollforward #2 of: Basic open-source crosstool to support
targeting apple platform types.
+ 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
Escape % in strings that will appear in Crosstool
+ 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
Adding feature for linking C Run-Time library on Windows
+ 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
Do not use sed -E in bootstrap/compile.sh
+ c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
Reverts non-xcode-available darwin crosstool generation.
```
Important changes:
- Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
## Release 0.5.0 (2017-05-26)
```
Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
Cherry picks:
+ c58ba098526b748f9c73e6229cafd74748205aa1:
Release to GCS: put the final release in its own directory
+ 0acead4ea3631240659836ce6ecd6d7f67fd352b:
Update protobuf to latest master at a64497c and apply
@laszlocsomor's latest changes from
https://github.com/google/protobuf/pull/2969 on top of it.
+ d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
Make symlinks consistent
+ d953ca8b87a46decbce385cebb446ae0dd390881:
Clean VanillaJavaBuilder output directories
+ 755669fb5de1f4e762f27c19776cac9f410fcb94:
Pass all the environment variable to Bazel during bootstrapping
+ 6f041661ca159903691fcb443d86dc7b6454253d:
Do not mark the JDK7 installer -without-jdk-installer
+ 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
Fix #2958: Installer should not overwrite bazelrc
+ 511c35b46cead500d4e76706e0a709e50995ceba:
Bootstrap: move the fail function to the top
+ 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
Clean up javac and Error Prone targets
+ 4a404de2c6c38735167e17ab41be45ef6fc4713a:
Update javac version to 9-dev-r4023-2
+ 36ce4b433e19498a78c34540d5a166d4e0006b22:
Update javac version to 9-dev-r4023-2
+ 38949b8526bdb3e6db22f3846aac87162c28c33f:
Migrate off versioned javac and Error Prone targets
+ 1a57d298f8aa6ea8136d93223902104f2479cd2a:
Re-enabling passing -sourcepath via javacopts.
+ eb565f408e03125e92d42b00756e519795be6593:
Make make sure that msys build actually builds msys version
+ 39f328cf392056618d1a3ead4835a138b189a06d:
Fix typo. Also do not override host_cpu for msvc.
+ 624802893f4fe72118f00a78452605d41a2e1c6f:
Select correct JDK for windows_msys
+ c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
Automated g4 rollback of commit
3e5edafa2a04a71cd3596e929e83222da725f3f9.
+ 926180997a0f296a5a009326aead887279ce0a90:
Remove process-tools.cc which I forgot to delete during the last
rollback.
+ baca6e4cb023649920871b74810927d304729e59:
Fix #2982: Bazel installer should not check for installed JDK if
using a bundled JDK.
+ 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
Disable msys path conversion on Windows.
+ cc21998c299b4d1f97df37b961552ff8168da17f:
Rollforward #2 of: Basic open-source crosstool to support
targeting apple platform types.
+ 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
Escape % in strings that will appear in Crosstool
+ 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
Adding feature for linking C Run-Time library on Windows
```
Incompatible changes:
- Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
instead the existing /tmp is mounted read-write. If you prefer
to have a tmpfs on /tmp for sandboxed actions for increased
hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
- Converting artifacts to strings and printing them now return
"File" instead of "Artifact" to be consistent with the type name.
- The return type of depset.to_list() is now a list rather than a
frozen list. (Modifying the list has no effect on the depset.)
- Bazel now prints logs in single lines to java.log
- --use_dash, --dash_url and --dash_secret are removed.
- Remote repositories must define any remote repositories they
themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
defined
in @x's WORKSPACE file).
- Remote repositories must define any remote repositories they
themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
defined
in @x's WORKSPACE file).
- objc_xcodeproj has been removed, use tulsi.bazel.build instead.
New features:
- If grte_top is a label, it can now follow non-configurable
redirects.
- Optional coverage_files attribute to cc_toolchain
- "query --output=build" now includes select()s
- Raw LLVM profiles are now supported.
Important changes:
- Automatically generate Proguard mapping when resource shrinking
and Proguard are enabled.
- New rules in Bazel: proto_library, java_lite_proto_library,
java_proto_library and cc_proto_library
- Activate the "dead_strip" feature if objc binary stripping is
enabled.
- More stable naming scheme for lambda classes in desugared android
code
- Convert --use_action_cache to a regular option
- Per-architecture dSYM binaries are now propagated by
apple_binary's AppleDebugOutputsProvider.
- Avoid factory methods when desugaring stateless lambdas for
Android
- desugar calls to Objects.requireNonNull(Object o) with
o.getClass() for android
- Add an --copy_bridges_from_classpath argument to android
desugaring tool
- Change how desugar finds desugared classes to have it working on
Windows
- Evaluation of commands on TargetsBelowDirectory patterns
(e.g. //foo/...) matching packages that fail to load now report
more
detailed error messages in keep_going mode.
- Allow to have several inputs and outputs
- Repository context's execute() function can print stdout/stderr
while running. To enable, pass quiet=False.
- Bazel can now be built with a bundled version of the OpenJDK.
This makes it possible to use Bazel on systems without a JDK, or
where
the installed JDK is too old.
- The --jobs flag now defaults to "auto", which causes Bazel to
use a reasonable degree of parallelism based on the local
machine's
capacity.
- Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
- no factory methods generated for lambda expressions on android
- The Linux sandbox no longer changes the user to 'nobody' by
default, instead the current user is used as is. The old behavior
can be
restored via the --sandbox_fake_username flag.
- /tmp and /dev/shm are now writable by default inside the
Linux sandbox.
- Bazel can now use the process-wrapper + symlink tree based
sandbox implementation in FreeBSD.
- turn on --experimental_incremental_dexing_error_on_missed_jars by
default.
- All android_binarys are now signed with both Apk Signature V1 and
V2. See https://source.android.com/security/apksigning/v2.html
for more details.
- Windows MSVC wrappers: Not filtering warning messages anymore,
use --copt=-w and --host_copt=-w to suppress them.
- A downloader bug was fixed that prevented RFC 7233 Range
connection resumes from working with certain HTTP servers
- Introduces experimental android_device rule for configuring and
launching Android emulators.
- For boolean flags, setting them to false using --no_<flag_name>
is deprecated. Use --no<flag_name> without the underscore, or
--<flag_name>=false instead.
- Add --experimental_android_compress_java_resources flag to store
java
resources as compressed inside the APK.
- Removed --experimental_use_jack_for_dexing and libname.jack
output of
android_library.
- blaze canonicalize-flags now takes a --show_warnings flag
- Changing --invocation_policy will no longer force a server
restart.
- Bazel now supports Android NDK14.
- android_binary multidex should now work without additional flags.
- Use action_config in crosstool for static library archiving,
remove ar_flag.
- new option for bazel canonicalize-flags, --canonicalize_policy
- Use action_config in crosstool for static library archiving,
remove ar_flag.
- android_library exports_manifest now defaults to True.
- Fix select condition intersections.
- Adds a --override_repository option that takes a repository
name and path. This forces Bazel to use the directory at that path
for the repository. Example usage:
`--override_repository=foo=/home/user/gitroot/foo`.
- fix idempotency issue with desugaring lambdas in interface
initializers for android
- --experimental_android_use_singlejar_for_multidex is now a no-op
and will eventually be removed.
- Every local_repository now requires a WORKSPACE file.
- Remove jack and jill attributes of the android_sdk rule.
- Add Skylark stubs needed to remove sysroot from CppConfiguration.
- Desugar try-with-resources so that this language feature is
available
to deveces with API level under 19.
- The flag --worker_max_retries was removed. The
WorkerSpawnStrategy no longer retries execution of failed Spawns,
the reason being that this just masks compiler bugs and isn't
done for any other execution strategy either.
- Bazel will no longer gracefully restart workers that crashed /
quit, instead this triggers a build failure.
- All java resources are now compressed in android_binary APKs by
default.
- All java resources are now compressed in android_binary APKs by
default.
- android_ndk_repository now creates a cc_library
(@androidndk//:cpufeatures) for the cpufeatures library that is
bundled in the Android NDK. See
https://developer.android.com/ndk/guides/cpu-features.html for
more details.
- 'output_groups' and 'instrumented_files' cannot be specified in
DefaultInfo.
- You can increase the CPU reservation for tests by adding a
"cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
BUILD file. This can be used if tests would otherwise overwhelm
your system if there's too much parallelism.
- Deprecate use_singlejar_for_proguard_libraryjars and force
behavior to always on.
## Release 0.4.5 (2017-03-16)
```
Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
Cherry picks:
+ a28b54033227d930672ec7f2714de52e5e0a67eb:
Fix Cpp action caching
+ 6d1d424b4c0da724e20e14235de8012f05c470f8:
Fix paths of binaries in .deb packages.
+ 0785cbb672357d950e0c045770c4567df9fbdc43:
Update to guava 21.0 and Error Prone version 2.0.18-20160224
+ 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
Update to latest javac and Error Prone
+ 867d16eab3bfabae070567ecd878c291978ff338:
Allow ' ', '(', ')' and '$' in labels
+ 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
Pass through -sourcepath to the JavaBuilder
+ 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
PathFragment comparisons are now platform-aware
+ ed7795234ca7ccd2567007f2c502f853cd947e50:
Flag to import external repositories in python import path
+ 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
Suppress error for non-exhaustive switches
+ e8d1177eef9a9798d2b971630b8cea59471eec33:
Correctly returns null if an environment variables is missing
+ 869d52f145c077e3499b88df752cebc60af51d66:
Fix NPE in Android{S,N}dkRepositoryFunction.
+ d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
Select the good guava jars for JDK7 build
+ 92ecbaeaf6fa11dff161254df38d743d48be8c61:
Windows: Assist JNI builds with a target for jni_md.h.
+ 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
Add java_common.create_provider to allow creating a
java_common.provider
+ 8c00f398d7be863c4f502bde3f5d282b1e18f504:
Improve handling of unknown NDK revisions in
android_ndk_repository.
+ b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
Add the appropriate cxx_builtin_include_directory entries for
clang to the Android NDK crosstool created by
android_ndk_repository.
```
Incompatible changes:
- Depsets (former sets) are converted to strings as "depset(...)"
instead of
"set(...)".
- Using --symlink_prefix is now applied to the output
symlink (e.g. bazel-out) and the exec root symlink (e.g.
bazel-workspace).
- Bazel now uses the test's PATH for commands specified as
--run_under; this can affect users who explicitly set PATH to
a more
restrictive value than the default, which is to forward the
local PATH
- It's not allowed anymore to compare objects of different types
(i.e. a string to an integer) and objects for which comparison
rules are not
defined (i.e. a dict to another dict) using order operators.
New features:
- environ parameter to the repository_rule function let
defines a list of environment variables for which a change of
value
will trigger a repository refetching.
Important changes:
- android_ndk_repository now supports Android NDK R13.
- Android resource shrinking is now available for android_binary
rules. To enable, set the attribute 'shrink_resources = 1'. See
https://bazel.build/versions/master/docs/be/android.html#android_b
inary.shrink_resources.
- resolve_command/action's input_manifest return/parameter is now
list
- For increased compatibility with environments where UTS
namespaces are not available, the Linux sandbox no longer hides
the hostname of the local machine by default. Use
--sandbox_fake_hostname to re-enable this feature.
- proto_library: alias libraries produce empty files for descriptor
sets.
- Adds pkg_rpm rule for generating RPM packages.
- Allow CROSSTOOL files to have linker flags specific to static
shared libraries.
- Make it mandatory for Java test suites in bazel codebase, to
contain at least one test.
- Support for Java 8 lambdas, method references, type annotations
and repeated annotations in Android builds with
--experimental_desugar_for_android.
- Removed .xcodeproj automatic output from objc rules. It can still
be generated by requesting it explicitly on the command line.
- Flips --explicit_jre_deps flag on by default.
- Activate the "dbg", "fastbuild", and "opt" features in the objc
CROSSTOOL.
- Remove support for configuring JDKs with filegroups; use
java_runtime and java_runtime_suite instead
- android_ndk_repository api_level attribute is now optional. If not
specified, the highest api level in the ndk/platforms directory
is used.
## Release 0.4.4 (2017-02-01)
```
Baseline: 4bf8cc30a
Cherry picks:
+ ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
static
```
Incompatible changes:
- Only targets with public visibility can be bound to something in
//external: .
- The deprecated -x startup option has been removed.
- docker_build: change the repository names embedded by
docker_build. You can revert to the old behavior by setting
legacy_repository_naming=True.
- The string methods strip(), lstrip(), and rstrip() now
by default remove the same whitespace characters as Python 3
does, and accept
None as an argument.
- Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
"host" and "data" instead.
- repository_ctx environment is now affected by --action_env flag
(value from the
client environment will be replaced by value given on the command
line through --action_env).
- All executable labels must also have a cfg parameter specified.
- Removed the cmd_helper.template function.
The function was equivalent to:
def template(items, template):
return [template.format(path = i.path, short_path =
i.short_path)
for i in items]
- Tuples that end with a trailing comma must now be inside parens,
e.g. (1,) instead of 1,
- The traversal orders for depsets have been renamed. The old names
are deprecated and will be removed in the future. New names:
"stable" -> "default", "compile" -> "postorder", "link" ->
"topological", "naive_link" -> "preorder".
New features:
- Skylark: you can now multiply a list by an integer to get the
concatenation of N copies of this list, e.g. [a,b] * 3 =
[a,b,a,b,a,b]
- Allow Android aidl tool to add a jar to the program's classpath,
such as if needed to support generated sources.
- Add transitive proguard_specs when android_sdk.aidl_lib is
specified
- Windows: "/dev/null" is now a supported path, e.g.
--bazelrc=/dev/null now works
Important changes:
- Bazel Android builds use the apksigner tool from the Android SDK
build-tools. Bazel Android builds now require build-tools version
24.0.3 or
later.
- Android SDK external bindings for support libraries, e.g.
//external:android/appcompat_v4, are removed because the support
library JARs that they referenced no longer ship with the Android
SDK.
- aar_import rule is now documented.
- An IE bug was fixed in repository_ctx.download_and_extract
- Update "-I" to "-isystem" in documentation to reflect current
behavior.
- android_sdk_repository build_tools_version is now optional. The
highest installed build-tools will be used if none is specified.
- New flag --sandbox_add_mount_pair to specify customized
source:target path pairs to bind mount inside the sandbox.
- expose proto_library descriptor set to skylark via
<dep>.proto.descriptor_set
- The `set` constructor is deprecated in favor of `depset`
- Autodetect gold linker in cc_configure.bzl
- Remove build flag --experimental_j2objc_annotation_processing. It
is on by default now.
- Set clang's -mwatchos-version-min correctly using the value of
--watchos_minimum_os, not --watchos_sdk_version.
- singlejar can now create jar files larger than 4GB.
- android_sdk_repository and android_ndk_repository now read
$ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
set.
- Removed broken api levels 3, 4 and 5 from Android NDK 12.
- Default --android_dynamic_mode to off.
- android_sdk_repository no longer requires api_level. If one is
not specified, the highest android platform installed will be
used. Furthermore, android_sdk's are created for all android
platforms installed and can be specified with the --android_sdk
flag.
- To iterate over or test for membership in a set, prefer using the
new to_list() method. E.g., "for x in myset.to_list():", or
"print(x in myset.to_list())". Iteration/membership-test on the
raw set itself is deprecated.
- Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
instead
## Release 0.4.3 (2016-12-22)
```
Baseline: c645a45
Cherry picks:
+ af878d0: Add coverage support for java test. (series 4/4 of
open-sourcing coverage command for java test)
+ 09b92a8: Rollback of commit
67b4d5250edcefa7220e928e529b1f385e2dc464.
+ b11dd48: Fix bad bug with the parallel implementation of
BinaryOperatorExpression. Turns out that
ForkJoinTask#adapt(Callable) returns a ForkJoinTask
whose Future#get on error throws a ExecutionException
wrapping a RuntimeException wrapping the thrown checked
exception from the callable. This is documented
behavior [1] that I incorrectly didn't know about.
+ 9012bf1: Fix scripts/packages/convert_changelog to read the
changelog correctly
+ 55c97bc: Release script: if master branch does not exist, fall
back on origin/master
+ 4fb378c: Debian repository: override section and priority fields
+ acbcbc2: Fix release notes in emails
+ 4975760: Fix PathFragment to not use Java8-only static hashCode
methods.
+ 05fd076: Disable sandboxing for XibCompile actions.
```
Incompatible changes:
- Skylark maven_jar and maven_aar settings attribute is now a label
so it can be checked into your workspace.
- --{no}experimental_use_rclass_generator is now a nop.
New features:
- Coverage support (*experimental*) for pure Java target.
Use `bazel coverage //my:target` to generate coverage information
from a `java_test`.
Important changes:
- Enable fallback URLs in Skylark http rules.
- cc_proto_library generates C++ code from proto_library rules.
- cc_library now supports the strip_prefix and strip_include_prefix
attributes for control of include paths.
- Skylark dicts internally don't rely on keys order anymore and
accept any hashable values (i.e. structs with immutable values)
as keys. Iteration order of dictionaries is no longer specified.
## Release 0.4.2 (2016-12-02)
```
Baseline: 6331a94
Cherry picks:
+ 7b835d9: Do not patch WORKSPACE in the release process
```
Incompatible changes:
- Callback functions in Skylark no longer support the cfg
parameter. This is a cleanup and only affects the signatures of
callbacks, since the parameter hasn't been set since September
2016.
Important changes:
- Alias proto_library's produce a descriptor set that contains all
srcs of its dependencies.
- proto_library supports strict proto deps.
- Top level @androidsdk support library targets have been replaced
by @androidsdk//<group id>:<artifact id>-<version> for Android
SDK Support and Google Play Services libraries.
## Release 0.4.1 (2016-11-21)
```
Baseline: 9a796de
Cherry picks:
+ 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
+ b09ea94: Rollback of commit
a3f5f576cd35798140ba3e81d03d919dd4ecb847.
```
New features:
- android_library now has a "exported_plugins" attribute just like
java_library
- Use --strict_system_includes to apply hdrs_check=strict also to
cc_library.includes, even if sandboxing is disabled.
- Bazel on Windows: java_binary can now be the executable of
Skylark rule actions (ctx.action's executable argument)
- Packages are defined in BUILD.bazel as well as BUILD files.
Important changes:
- getattr()'s 3-arg form no longer raises an error when the
retrieved field is a built-in method.
- --apk_signing_method default changed to v1. Android APKs are now
signed with the new ApkSignerTool by default.
- New rule: proto_lang_toolchain(), to support LANG_proto_library
rules on multiple platforms.
- Fix for Android clang++ std::stack segfault on 32bit x86. See
https://code.google.com/p/android/issues/detail?id=220159
- Default android_manifest_merger is now "android" which uses the
official Android manifest merger.
http://tools.android.com/tech-docs/new-build-system/user-guide/man
ifest-merger
- Do not propagate aspect to its own attributes when using '*'.
- Comparing sets (`if set1 < set2:`) is not allowed anymore in
Skylark because it didn't work correctly anyway.
- When --experimental_extra_action_top_level_only, Bazel reports
extra-actions for actions registered by Aspects injected by a
top-level rule (approximately).
- Blacklists for proto_lang_toolchain() no longer have to be
proto_library's.
- Extra actions now contain aspect-related information.
- Fix slicing bug where "abc"[:-4:-1] would give wrong answer
## Release 0.4.0 (2016-10-26)
```
Baseline: 088bbc6
Cherry picks:
+ b01160c: Stamp Windows release.
+ 2d6736e: Add --no-tty for gpg signing
+ 9b1dfb8: Remove .sig file before gpg signing
+ 81aede1: Reimplement whole archive on Windows
```
Incompatible changes:
- Skylark: updating list/dicts while they are being looped over is not
allowed. Use an explicit copy if needed ("for x in list(mylist):").
- Bazel now uses the --cpu flag to look up Jvms; it falls back
to "default" if it can't find a Jvm matching the CPU value.
- --command_port=-1 to use AF_UNIX for client/server communications
is not supported anymore.
- Sandboxed actions can access the network by default, unless their
target has a "block-network" tag.
New features:
- Files now have an "extension" property in Skylark.
Important changes:
- Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
mount an empty, writable directory at a specified path when
running actions. (Supported on Linux only for now.)
- Update protoc-3.0.0-mingw.exe to a working (statically linked)
binary
- apple_static_library rule to create multi-architecture static
archive files from Objc/C++/Swift dependencies on apple platforms
- JS: Add support for localization with closure managed rules.
- Create a flag --android_dynamic_mode to turn off dynamic mode
during the Android split transition.
- Darwin sandboxing is default.
- Remove flag --experimental_zip_tree_artifact from j2objc Java
annotation processing support.
- A few functions are added to BUILD files for consistency (hash,
dir,
hasattr, getattr) with .bzl files, although they are not very
useful.
- --watchfs is now a command option; the startup option of the same
name is deprecated. I.e., use bazel build --watchfs, not
blaze --watchfs
build.
## Release 0.3.2 (2016-10-07)
```
Baseline: 023a7bd
Cherry picks:
+ bebbbe5: Fix dependency on libtool's helper script
make_hashed_objlist.py.
+ 8a0d45f: Add the version information to the bazel.exe file
+ 2bc0939: Allow new_ rules to overwrited BUILD files in
downloaded repos
+ c5545fd: Rollback of commit
96d46280bc5a4803ba2242a4ad16939f85a3b212.
+ eb87208: Make cc_configure on Windows more robust
+ c30432c: Fix cc_configure on Windows
+ 95b16a8: sandbox: Replace the error-prone lazy cleanup of
sandbox directories by a simple synchronous cleanup.
+ e898023: Fix #1849: Sandboxing on OS X should be turned off by
default for 0.3.2.
+ ffdc05d: Add action_config and feature for linking on Windows
```
Incompatible changes:
- If you maintain a rule that uses persistent workers, you'll have
to specify execution_requirements={"supports-workers": 1} in the
ctx.action that intends to run a tool with workers. The
WorkerSpawnStrategy will alert you with a warning message if you
forget to make this change and fallback to non-worker based
execution.
- It is now an error to include a precompiled library (.a, .lo, .so)
in a cc_library which would generate a library with the same name
(e.g., libfoo.so in cc_library foo) if that library also contains
other linkable
sources.
- The main repository's execution root is under the main
repository's workspace name, not the source directory's basename.
This shouldn't
have any effect on most builds, but it's possible it could break
someone doing
weird things with paths in actions.
- Blaze doesn't support Unix domain sockets for communication
between its client and server anymore. Therefore, the
--command_port command line argument doesn't accept -1 as a valid
value anymore.
- Skylark: It is an error to shadow a global variable with a local
variable after the global has already been accessed in the
function.
- bin_dir and genfiles_dir are now properties of ctx, not
configuration. That is, to access the bin or genfiles directory
from a
Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
ctx.configuration.{bin,genfiles}_dir). At the moment, you can
access
{bin,genfiles}_dir from either, but the ctx.configuration version
will
stop working in a future release.
- filegroup-based C++ toolchains are not supported anymore.
--*_crosstool_top options must always point to a
cc_toolchain_suite rule (or an alias of one).
- repository_ctx.{download,download_and_extract,execute} API now use
named parameters for optional parameters and no
longer uses argument
type to distinguished between arguments
(executable attribute name
must be specified when preceding optional
arguments are missing).
New features:
- print and fail are now available in BUILD files.
Important changes:
- Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
rule for Git repositories.
- Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
Skylark rule for Maven repositories.
- Add global hash() function for strings (only)
- Improve Android split transition handling.
- Removes exports_manifest attribute from android_binary rule.
- java_proto_library: control strict-deps through a rule-level and
a package-level attribute.
- Persistent workers are now used by default for Java compilation
in Bazel, which should speed up your Java builds by ~4x. You can
switch back to the old behavior via --strategy=Javac=standalone.
Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
for more details.
- objc_* rules can now depend on any target that returns an "objc"
provider.
- Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
- Test targets can disable the JUnit4 test security manager via a
property.
- Disable the Android split transition if --android_cpu and
fat_apk_cpu are both empty.
- New sandboxing implementation for Linux in which all actions run
in a separate execroot that contains input files as symlinks back
to the originals in the workspace. The running action now has
read-write access to its execroot and /tmp only and can no longer
write in arbitrary other places in the file system.
- Add worker support to single jar.
- Invoke source jar action as a worker.
- Sandboxed builds allow network access for builds by default.
Tests will still be run without networking, unless
"requires-network" is specified as a tag.
- Add path.realpath() method for Skylark repositories.
- On Mac devices, detect locally installed versions of xcode to:
1. Use a sensible default if xcode is required but
--xcode_version is unspecified.
2. Use sensible default iOS SDK version for the targeted version
of xcode if ios_sdk_version is unspecified.
- Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
- swift_library can be used to build watchOS apps.
- Exposes the is_device field on Apple platform objects and adds
the apple_common.platform_type(name) method to retrieve a
platform_type value that can be passed to methods like the Apple
fragment's multi_arch_platform.
- Move Skylark git_repository rules to git.bzl
- Add support for aspects to attr.label() attributes
- Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
of strings "host"
and "data.
Argument `cfg = "host"` or `cfg = "data"` is mandatory if
`executable = True` is provided for a label.
- The deprecation attribute of all rules now causes warnings
to be printed when other targets depend on a target with that
attribute set.
- Change default of --[no]instrument_test_targets to false, change
default --instrumentation_filter (which previously tried to
exclude test targets by heuristic) to only exclude targets in
javatests.
- Remove deprecated absolute paths in blaze IDE artifacts
- When using android_binary.manifest_merger="android" the merger
produces a summary log next to the merged manifest artifact.
- Allow different default mallocs per configuration.
## Release 0.3.1 (2016-07-29)
```
Baseline: 792a9d6
Cherry picks:
+ 25e5995: Rollback of commit
a2770334ea3f3111026eb3e1368586921468710c.
+ 2479405: Fix NPE with unset maven_jar sha1
+ 3cf2126: Rewrite the extra action info files if the data within
them changes.
+ 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
```
Incompatible changes:
- Removed predefined Python variable "generic_cpu".
- Skylark rules: if you set "outputs" or an attribute to a
function, this function must now list its required attributes as
parameters (instead of an attribute map).
- The host_platform and target_platform entries are not written to
the master log anymore.
- Bazel requires Hazelcast 3.6 or higher now for remote execution
support, because we upgraded our client library and the protocol
it uses is incompatible with older versions.
New features:
- LIPO context (--lipo_context) can now also be a cc_test (in
addition to cc_binary)
Important changes:
- If --android_crosstool_top is set, native code compiled for
android will always use --android_compiler and not --compiler in
choosing the crosstool toolchain, and will use --android_cpu if
--fat_apk_cpu is not set.
- Add --instrument_test_targets option.
- apple_binary supports a new platform_type attribute, which, if
set to "watchos", will build dependencies for Apple's watchOS2.
- objc_binary now supports late-loaded dynamic frameworks.
- Native Swift rules no longer pull in module maps unconditionally.
Use --experimental_objc_enable_module_maps for that.
- Merged manifests are guaranteed to have the application element
as the last child of the manifest element as required by Android
N.
- The Android manifest merger is now available as an option for
android_binary rules. The merger will honor tools annotations in
AndroidManifest.xml and will perform placeholder substitutions
using the values specified in android_binary.manifest_values. The
merger may be selected by setting the manifest_merger attribute
on android_binary.
- The progress message would not clear packages that need to be
loaded twice.
- Remove warning for high value of --jobs.
- Use the correct build configuration for shared native deps during
Android split transitions.
- When building ObjectiveC++, pass the flag -std=gnu++11.
- use xcrun simctl instead of iossim to launch the app for "blaze
run".
- Glob arguments 'exclude' and 'exclude_directories' must be named
- Bazel no longer regards an empty file as changed if its mtime has
changed.
## Release 0.3.0 (2016-06-10)
```
Baseline: a9301fa
Cherry picks:
+ ff30a73: Turn --legacy_external_runfiles back on by default
+ aeee3b8: Fix delete[] warning on fsevents.cc
```
Incompatible changes:
- The --cwarn command line option is not supported anymore. Use
--copt instead.
New features:
- On OSX, --watchfs now uses FsEvents to be notified of changes
from the filesystem (previously, this flag had no effect on OS X).
- add support for the '-=', '*=', '/=', and'%=' operators to
skylark. Notably, we do not support '|=' because the semantics
of skylark sets are sufficiently different from python sets.
Important changes:
- Use singular form when appropriate in blaze's test result summary
message.
- Added supported for Android NDK revision 11
- --objc_generate_debug_symbols is now deprecated.
- swift_library now generates an Objective-C header for its @objc
interfaces.
- new_objc_provider can now set the USES_SWIFT flag.
- objc_framework now supports dynamic frameworks.
- Symlinks in zip files are now unzipped correctly by http_archive,
download_and_extract, etc.
- swift_library is now able to import framework rules such as
objc_framework.
- Adds "jre_deps" attribute to j2objc_library.
- Release apple_binary rule, for creating multi-architecture
("fat") objc/cc binaries and libraries, targeting ios platforms.
- Aspects documentation added.
- The --ues_isystem_for_includes command line option is not
supported anymore.
- global function 'provider' is removed from .bzl files. Providers
can only be accessed through fields in a 'target' object.
## Release 0.2.3 (2016-05-10)
```
Baseline: 5a2dd7a
```
Incompatible changes:
- All repositories are now directly under the x.runfiles directory
in the runfiles tree (previously, external repositories were at
x.runfiles/main-repo/external/other-repo. This simplifies
handling remote repository runfiles considerably, but will break
existing references to external repository runfiles.
Furthermore, if a Bazel project does not provide a workspace name
in the WORKSPACE file, Bazel will now default to using __main__
as the workspace name (instead of "", as previously). The
repository's runfiles will appear under x.runfiles/__main__/.
- Bazel does not embed protocol buffer-related rules anymore.
- It is now an error for a cc rule's includes attribute to point to
the workspace root.
- Bazel warns if a cc rule's includes attribute points out of
third_party.
- Removed cc_* attributes: abi / abi_deps. Use select() instead.
New features:
- select({"//some:condition": None }) is now possible (this "unsets"
the attribute).
Important changes:
- java_import now allows its 'jars' attribute to be empty.
- adds crunch_png attribute to android_binary
- Replace --java_langtools, --javabuilder_top, --singlejar_top,
--genclass_top, and --ijar_top with
java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
- External repository correctness fix: adding a new file/directory
as a child of a new_local_repository is now noticed.
- iOS apps are signed with get-task-allow=1 unless building with -c
opt.
- Generate debug symbols (-g) is enabled for all dbg builds of
objc_ rules.
- Bazel's workspace name is now io_bazel. If you are using Bazel's
source as an external repository, then you may want to update the
name you're referring to it as or you'll begin seeing warnings
about name mismatches in your code.
- Fixes integer overflow in J2ObjC sources to be Java-compatible.
- A FlagPolicy specified via the --invocation_policy flag will now
match the current command if any of its commands matches any of
the commands the current command inherits from, as opposed to
just the current command.
- The key for the map to cc_toolchain_suite.toolchains is now a
string of the form "cpu|compiler" (previously, it was just "cpu").
- Fix interaction between LIPO builds and C++ header modules.
- Ctrl-C will now interrupt a download, instead of waiting for it to
finish.
- Proxy settings can now be specified in http_proxy and https_proxy
environment variables (not just HTTP_PROXY and HTTPS_PROXY).
- Skylark targets can now read include directories from
ObjcProvider.
- Expose parameterized aspects to Skylark.
- Support alwayslink cc_library dependencies in objc binaries.
- Import cc_library dependencies in generated Xcode project.
## Release 0.2.2b (2016-04-22)
```
Baseline: 759bbfe
Cherry picks:
+ 1250fda: Rollback of commit
351475627b9e94e5afdf472cbf465f49c433a25e.
+ ba8700e: Correctly set up build variables for the correct pic
mode for fake_binary rules.
+ 386f242: Automated [] rollback of commit
525fa71b0d6f096e9bfb180f688a4418c4974eb4.
+ 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
+ a20352e: cc_configure: always add -B/usr/bin to the list of gcc
option
+ 0b26f44: cc_configure: Add piii to the list of supported
cpu_value
+ 3e4e416: cc_configure: uses which on the CC environment variable
+ aa3dbd3: cc_configure.bzl: strip end of line when looking for
the cpu
+ 810d60a: cc_configure: Add -B to compiler flag too
```
Patch release, only includes fixes to C++ auto-configuration.
## Release 0.2.1 (2016-03-21)
```
Baseline: 19b5675
```
Incompatible changes:
- Skylark rules that are available from their own repository will
now issue a warning when accessed through @bazel_tools.
- Set --legacy_bazel_java_test to off by default. java_test will
now have a slightly different behaviour, correctly emitting XML
file but, as a downside, it needs correct declaration of the
test suite (see https://github.com/bazelbuild/bazel/issues/1017).
- Labels in .bzl files in remote repositories will be resolved
relative to their repository (instead of the repository the
Skylark rule is used in).
- Renamed proto_java_library to java_proto_library. The former
is now deprecated and will print out a warning when used.
- android_sdk now compiles android_jack on the fly from
android_jar, which means android_jar must be a jar and
android_jack is now deprecated. The Jack tools (jack, jill,
resource_extractor) must be specified.
- Any project that depended on the objc_options rule will be
broken. Can be fixed by adding attrs (infoplists,copts) directly
to rules depending on the options.
- .aidl files correctly require import statements for types
defined in the same package and the same android_library.
New features:
- Experimental Windows support is available.
- Experimental support for writing remote repository rules in
Skylark is available.
- iOS ipa_post_processor attribute allows for user-defined IPA
edits.
- Adds a to_json method to Skylark structs, providing conversion to
JSON format.
- Native python rule can depend on skylark rule as long as skylark
rule provides 'py' provider.
- When using both --verbose_failures and --sandbox_debug, Bazel
prints instructions how to spawn a debugging shell inside the
sandbox.
- add flag --sandbox_add_path, which takes a list of additional
paths as argument and mount these paths to sandbox.
Important changes:
- @androidsdk//:org_apache_http_legacy added for the legacy Apache
classes for android sdk version 23 and above.
- Genrules correctly work when used with bazel run.
- When namespace-sandbox is run with the -D (debug) flag and
inside a terminal, it spawns a shell inside the sandbox to aid in
debugging when the sandboxed command fails.
- Added --artifact to workspace generator for generating workspace
and build file rules from artifact coodrinates.
- Specifying --experimental_android_resource_shrinking on the
command line will enable a resource shrinking pass on
android_binary targets that already use Proguard.
- J2ObjC updated to 1.0.1 release.
- Added "root_symlinks" and "symlinks" parameters to Skylark
runfiles() method.
- You can no longer use objc_binary targets for the xctest_app
attribute of an ios_test rule.
- Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
- mount target of /etc/resolv.conf if it is a symlink.
- Tests that failed to build because execution was halted no longer
print their status.
- Bazel warns if a cc rule's includes attribute contains up-level
references that escape its package.
- Add repository_ctx.download and repository_ctx.download_and_extract
function.
## Release 0.2.0 (2016-02-18)
```
Baseline: 9e100ac
```
Incompatible changes:
- ObjC compile actions for J2ObjC-translated code now only has
access to headers from the java deps of the associated original
java rule.
These compile actions no longer takes the compiler options
specified in "copts" attribute on objc_binary/ios_test rules.
J2ObjC dead code removal (enabled through flag
"--j2objc_dead_code_removal") now happens *after* ObjC
compilation.
- maven_jar no longer supports separate artifact_id, group_id, and
verison fields. This information should be provided in the
artifact field,
instead.
New features:
- Better support for toolchains that don't have a dynamic linker.
- build_file_content attribute added to new_git_repository,
new_http_archive, and new_local_repository.
- Add support for .tar.bz2 archives to http_archive rules.
Important changes:
- The --skyframe flag is no longer available for the build command.
- The --artifacts flag was removed from the dump command.
- The sha256 attribute is now optional (although recommended!) for
remote repository rules.
- Add instrumented file provider support to Skylark rules.
- Add imports attribute to native Python rules.
- Allow overriding -gsplit-dwarf from copts.
- Improved sandbox performance on XFS filesystems.
## Release 0.1.5 (2016-02-05)
```
Baseline: 3a95f35
+ 8378cd8: Rollback of commit
a9b84575a32476a5faf991da22b44661d75c19b6.
```
Incompatible changes:
- Set stamping to false by default (i.e., --nostamp)
- Removed --objc_dump_syms_binary.
- Removes --objc_gcov_binary flag.
- Remove JAVAC "Make" variable
- The startup flag --blaze_cpu is removed,
New features:
- A new java test runner that support XML output and test filtering
is supported. It can be used by specifying --nolegacy_bazel_java_test
or by specifying the test_class attribute on a java_test.
- Skylark aspects can now specify configuration fragment
dependencies with fragments and host_fragments like rules can.
Important changes:
- Support for downloading remote resources through proxies by
setting HTTP_PROXY (or HTTPS_PROXY).
- Timestamps within Android apks are removed to make apks
deterministic.
- Support aggregation over existing rules in Skylark extensions
through native.rules and native.rule.
- A tools/bazel script in the workspace will be executed
as an opportunity to use a fixed version of Bazel (not
implemented for the homebrew recipe yet).
- --noimplicit_deps and --nohost_deps work correctly for Aspect
attributes.
- JDK-related targets are now available via @local_jdk (instead of
@local-jdk).
- j2objc tools can now be accessed via @bazel_j2objc, not
@bazel-j2objc.
- Repository rules must use names that are valid workspace names.
- [rust] Update to Rust 1.6
- Add support for .tar.xz archives to http_archive rules.
- Make C++ modules compatible with tools using
--compilation_prerequisites_only
- [d] Update to DMD 2.070.0
## Release 0.1.4 (2016-01-15)
```
Baseline: e933d5e
+ 3d796fe: Rollback of commit
ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
+ 7a02e5d: Fix installer under OS X
+ 848740c: Fix bazel version for debian package
+ 7751d43: Add a method for getting the root of a rule workspace
to the Label method
```
Important changes:
- add loadfiles() query operator, to find skylark files loaded by
targets.
- Added ability to declare and use aspects in Skylark.
- Skylark load statements may now reference .bzl files via build
labels, in addition to paths. In particular, such labels can be
used to reference Skylark files in external repositories; e.g.,
load("@my_external_repo//some_pkg:some_file.bzl", ...).
Path-based loads are now deprecated and may be disabled in the
future. Caveats: Skylark files currently do not respect package
visibility; i.e., all Skylark files are effectively public. Also,
loads may not reference the special //external package.
- Relative paths can now be used for 'path' with
new_local_repository and local_repository.
## Release 0.1.3 (2016-01-07)
```
Baseline: 23ad8f6
+ de2183d: Only depend on the WORKSPACE file for external files
that are under the external/ directory, i.e. were
created by Bazel.
+ f8f855c: Rollback of commit
12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
+ f627562: Stop parsing the WORKSPACE file when a parse error is
detected
+ 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
that gcc doesn't resolve symlinks in .d files, which
would confuse Blaze.
+ b95995b: Use openjdk7 as dependency for debian package of jdk7
flavor
```
New features:
- Skylark macros are now enabled in WORKSPACE file.
- .bazelrc allows workspace-relative imports as "import
%workspace%/path/to/rcfile"
- Evaluate the query expression in a file by passing
--query_file=<file> to query
Important changes:
- Remove obsolete --objc_per_proto_includes flag.
- iOS apps and extensions now have launch_storyboard
- Passing multiple JVM options via a single --host_jvm_args flag is
now deprecated. Pass each JVM option behind its own
--host_jvm_args flag.
- Resources defined locally on an android_library rule will respect
the neverlink attribute.
- Update Rust to 1.4
- Fix resource handling for exported android_library rules
- Files in external repositories are now treated as mutable, which
will make the correctness guarantees of using external
repositories stronger (existent), but may cause performance
penalties.
## Release 0.1.2 (2015-11-20)
```
Baseline: ee0ade3
+ 1e66ccd: RELNOTES: Symlink dirents of directories containing a
file named
"DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
_A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
for transitive target patterns. The motivation here is
to allow directories that intentionally contain wonky
symlinks (e.g. foo/bar -> foo) to opt out of being
consumed by Blaze. For example, given
+ f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
```
New features:
- java_library now supports the proguard_specs attribute for
passing Proguard configuration up to Android (not Java) binaries.
- http_file can specify "executable" to make the downloaded file
runnable.
- Debian and tar packaging is now supported
(see tools/build_defs/pkg/README.md).
- cpxx_builtin_include_directory specifications allow more
flexibility.
- accept %crosstool_top% in cxx_builtin_include_directory
- android_binary now supports proguard_apply_mapping to re-use a
previously generated proguard mapping.
Important changes:
- remove webstatusserver (--use_webstatusserver).
- Add support for objc textual headers, which will not be compiled
when modules are enabled.
- actoolzip, momczip and swiftstdlibtoolzip have all been made into
bash scripts and have been renamed to actoolwrapper, momcwrapper
and swiftstdlibtoolwrapper respectively. The old versions will be
deleted in a later change.
- [rust] Add rust_bench_test and rust_doc_test rules and improve
usability of rust_test tule.
- Java rules now support a resource_strip_prefix attribute that
allows the removal of path prefixes from Java resources.
- [docker_build] incremental loading is default now.
Specify explicitly //package:target.tar (with the .tar extension)
to obtain the full image.
- --ios_signing_cert_name allows specifying a cert for iOS app
signing
- Go rules for Bazel.
- [jsonnet] Update to Jsonnet 0.8.1.
- [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
allow passing external variables to Jsonnet via --var and
--code_var.
- Adds --override_workspace_root blaze flag to hand-set
workspace_root and mainGroup in xcodeproj.
- Allow dots in package names.
- When used as a forwarding rule (i.e., has no sources),
android_library
will also forward any exported_plugins in its dependencies.
- Add support for Windows-created zip files with non-posix
permissions.
- [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
- C++ compile actions run in a sandbox now on systems that support
sandboxed execution.
- The names of the clang compilers in the Android NDK crosstool no
longer reference gcc.
- 420 dpi is now a valid density for andoid_binary.densities.
- Bazel does strict validation of include files now to ensure
correct incremental builds. If you see compilation errors when
building C++ code, please make sure that you explicitly declare
all header files in the srcs or hdrs attribute of your cc_*
targets and that your cc_* targets have correct "deps" on
cc_library's that they use.
- [jsonnet] Fix jsonnet_to_json rule to read code_vars from
code_vars instead of vars.
- Tests, genrules, and Skylark actions without the
"requires-network" tag will no longer be able to access the
network.
- C++ libraries no longer need includes = ["."] (or similar copts)
to include paths relative to a remote repository's root.
- Support exports attribute for android_library
- Symlink dirents of directories containing a file named
"DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
VE_TARGET_PATTERN" will *not* be traversed for transitive target
patterns. The motivation here is to allow directories that
intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
out of being consumed by Blaze.
## Release 0.1.1 (2015-10-05)
```
Baseline: 22616ae
+ 1ef338f: Rollback of "Propagates cc_library linkopts attribute
to dependent objc_libraries.": breaks certain
objc_binary build targets.
+ 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
form) removed by a previous change that was trying to
optimize away a filesystem call.
+ 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
repository and rearrange BuildJar's JarHelper so that
it too can be embedded.
+ a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
rules in integration environment.
```
Incompatible changes:
- Bazel requires JDK 8 to run.
- Attribute "copts" is removed from j2objc_library.
New features:
- a cc_binary rule may list '.s' and '.asm' files in the srcs
- Support for build with libsass.
- labels in "linkopts" may match any label in either "deps" or
"srcs" to be considered valid.
- Maven servers that require username & password authentication are
now supported (see maven_server documentation).
Important changes:
- Support empty plist files
- The <compatible-screens> section of the AndroidManifest.xml will
not be overwritten if it already contains a <screen> tag for each
of the densities specified on the android_binary rule.
- Add Jsonnet rules to Bazel
- Remove deprecated xcode_options flag.
- Workspace names are now restricted to being in their base
directory
(that is, the names cannot contain up-level references or /./).
- j2objc_library on Bazel now transpiles transitive proto_library
dependencies. (Note that java_* rules in Bazel do not yet support
protos; currently they ignore proto dependencies.)
- new_http_archive can specify a root directory.
- Adds support for dylibs on devices for Xcode 7.
- [d] d_docs rules now depend on a d_binary, a d_library or
d_source_library.
- [docker] docker_build now set the permission to 0555 to files
added to the layer, use `mode = "0644"` to use the legacy behavior.
- android_binary now has a main_dex_proguard_specs attribute to
specify which classes should be in the main dex.
- [rust] Add rust_docs rule for generating rustdoc.
## Release 0.1.0 (2015-09-08)
```
Baseline: a0881e8
+ 87374e6: Make android_binary use a constant, hard-coded,
checked-in debug key.
+ 2984f1c: Adds some safety checks in the Bazel installer
+ 4e21d90: Remove BUILD.glob and incorporate the necessary
filegroups into the android_{ndk,sdk}_repository rules
themselves.
+ 1ee813e: Fix Groovy rules to work with sandboxing
+ 8741978: Add initial D rules to Bazel.
+ 2c2e70d: Fix the installer and fixing the package shiped into
binary version of Bazel.
```
Initial release.
|