tag:github.com,2008:https://github.com/nativelibs4java/bazel/releases Release notes from bazel 2017-11-27T13:16:30Z tag:github.com,2008:Repository/112420954/0.8.0 2017-11-27T13:16:30Z Release 0.8.0 (2017-11-27) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/cff0dc94f6a8e16492adf54c88d0b26abe903d4c/hovercard" href="https://github.com/nativelibs4java/bazel/commit/cff0dc94f6a8e16492adf54c88d0b26abe903d4c"><tt>cff0dc9</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/8a49b156c4edf710e3e1e0acfde5a8d27cc3a086/hovercard" href="https://github.com/nativelibs4java/bazel/commit/8a49b156c4edf710e3e1e0acfde5a8d27cc3a086"><tt>8a49b15</tt></a>:<br> Fix ImportError on tools.android for junction_lib</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/275ae45b1228bdd0f912c4fbd634b29ba4180383/hovercard" href="https://github.com/nativelibs4java/bazel/commit/275ae45b1228bdd0f912c4fbd634b29ba4180383"><tt>275ae45</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/4869c4e17d5b1410070a1570f3244148d8f97b5d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/4869c4e17d5b1410070a1570f3244148d8f97b5d"><tt>4869c4e</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d0bf589f2716b3d139c210930371a684c6e158eb/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d0bf589f2716b3d139c210930371a684c6e158eb"><tt>d0bf589</tt></a>:<br> Add a random number to action temp dir</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/9738f35abddb7ef7a7ef314b5d2a52a3be1b830a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/9738f35abddb7ef7a7ef314b5d2a52a3be1b830a"><tt>9738f35</tt></a>:<br> CcProtoLibrary: Don't add dynamic librarys to filesToBuild on<br> Windows</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b"><tt>0d6ff47</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840"><tt>0ebb3e5</tt></a>.</li> </ul> <p>Incompatible changes:</p> <ul> <li>ctx.fragments.apple.{xcode_version,ios_minimum_os} is not<br> supported anymore. The same information is accessible through the<br> target @bazel_tools//tools/osx:current_xcode_config: point an<br> implicit attribute to it (i.e.<br> attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co<br> nfig")) then use<br> ctx.attr._xcode_config[apple_common].XcodeVersionConfig].</li> <li>ctx.fragments.apple.minimum_os_for_platform_type is not supported<br> anymore. The same information is accessible through the target<br> @bazel_tools//tools/osx:current_xcode_config: point an implicit<br> attribute to it (i.e.<br> attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co<br> nfig")) then use<br> ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o<br> s_for_platform_type .</li> <li>ctx.fragments.apple.sdk_version_for_platform is not supported<br> anymore. The same information is accessible through the target<br> @bazel_tools//tools/osx:current_xcode_config: point an implicit<br> attribute to it (i.e.<br> attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co<br> nfig")) then use<br> ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi<br> on_for_platform .</li> <li>--javabase= and --host_javabase=<br> are not supported anymore. If you need this functionality<br> java_runtime_suite(name="suite", default=":runtime")<br> java_runtime(name="runtime", java_home=) is an<br> alternative.</li> <li>The flag --incompatible_descriptive_string_representations is no<br> longer available, old style string representations of objects are<br> not supported<br> anymore.</li> <li>The flag --incompatible_disallow_set_constructor is no longer<br> available, the deprecated <code>set</code> constructor is not available<br> anymore.</li> <li>+= on lists now mutates them. <code>list1 += list2</code> is now equivalent<br> to <code>list1.extend(list2)</code> and not equivalent to <code>list1 = list1 + list2</code> anymore.</li> <li>the target_apple_env and apple_host_system_env methods on<br> ctx.fragments.apple are not supported anymore. The same<br> information is accessible through apple_common.target_apple_env<br> and apple_common.apple_host_system_env . They need the Xcode<br> configuration as an argument, which can be obtained by declaring<br> an implicit dependency on it (i.e.<br> attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co<br> nfig")) and then calling e.g.<br> apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co<br> mmon.XcodeVersionConfig]).</li> <li>C++ toolchain identifiers are not in the name of the output<br> directory anymore.</li> <li>Selecting on "xcode_version" and<br> "{ios,tvos,macos,watchos}<em>sdk_version" is not supported anymore.<br> What was config_setting(values={"$FOO_version": $VALUE}) is now<br> config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version</em><br> flag": $VALUE}).</li> <li>Selecting on "xcode_version" and<br> "{ios,tvos,macos,watchos}<em>sdk_version" is not supported anymore.<br> What was config_setting(values={"$FOO_version": $VALUE}) is now<br> config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version</em><br> flag": $VALUE}).</li> <li>The flag --incompatible_disallow_set_constructor is no longer<br> available, the deprecated <code>set</code> constructor is not available<br> anymore.</li> <li>Selecting on "xcode_version" and<br> "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.<br> What was config_setting(values={"$FOO_version": $VALUE}) is now<br> config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...</li> </ul> <p>New features:</p> <ul> <li>runfiles, sh: Shell scripts may now depend on<br> //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The<br> script defines the <code>rlocation</code> function which returns runfile<br> paths on every platform.</li> <li>In addition to <math-renderer class="js-inline-math" style="display: inline-block" data-run-id="ea685382a6ead51e0d9ba3d1f81dfc36">$(location), Bazel now also supports $</math-renderer>(rootpath)<br> to obtain<br> the root-relative path (i.e., for runfiles locations), and<br> $(execpath) to<br> obtain the exec path (i.e., for build-time locations)</li> </ul> <p>Important changes:</p> <ul> <li>android_binary now supports custom debug keys via the debug_key<br> attribute.</li> <li>Updated Android proguard to 5.3.3. It now works with android-24+.</li> <li>--experimental_use_parallel_android_resource_processing and<br> --experimental_android_use_nocompress_extensions_on_apk are<br> removed. These features are fully rolled out.</li> <li>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="209674862" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2574" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/2574/hovercard" href="https://github.com/bazelbuild/bazel/issues/2574">bazelbuild#2574</a></li> <li>Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="261400240" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3834" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3834/hovercard" href="https://github.com/bazelbuild/bazel/issues/3834">bazelbuild#3834</a></li> <li>Enable experimental UI by default.</li> <li>.<br> RELNOTES: None.<br> RELNOTES: No.</li> <li>Add memory profiler.</li> <li>[Bazel] {java,cc}<em>proto_library now look for dependencies in<br> @com_google_protobuf, instead of in @com_google_protobuf</em>$LANG</li> <li>Improved merge.sh script in cookbook.</li> <li>Fixing regression to --experimental_remote_spawn_cache</li> <li>Support for linker scripts in NativeDepsHelper (e.g.,<br> android_binary)</li> <li>Skylark semantics flags now affect WORKSPACE files and repository<br> rules.</li> <li>ctx.outputs.executable is deprecated. Use DefaultInfo(executable<br> = ...) instead.</li> <li>Update "mirror.bazel.build" urls to use https.</li> <li>Improve --config logging when --announce_rc is present.</li> <li>Document interaction between test_suite and target exclusions</li> <li>Replace version numbers for Bazel installers with ""<br> (because this will change often)</li> <li>Published command lines should have improved lists of effective<br> options.</li> <li>--incremental_dexing_binary_types has been removed. All builds<br> are supported by incremental dexing (modulo proguard and some<br> blacklisted dx flags).</li> <li>Document --host_javabase, --host_java_toolchain</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.7.0 2017-10-18T12:34:10Z Release 0.7.0 (2017-10-18) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/5cc6246d429f7d9119b97ce263b4fd6893222e92/hovercard" href="https://github.com/nativelibs4java/bazel/commit/5cc6246d429f7d9119b97ce263b4fd6893222e92"><tt>5cc6246</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/e79a1107d90380501102990d82cbfaa8f51a1778/hovercard" href="https://github.com/nativelibs4java/bazel/commit/e79a1107d90380501102990d82cbfaa8f51a1778"><tt>e79a110</tt></a>:<br> Windows,bootstrapping: fix build_windows_jni.sh</li> </ul> <p>Incompatible changes:</p> <ul> <li>The --output=location flag to 'bazel query' cannot be used with<br> query expressions that involve the 'buildfiles' or 'loadfiles'<br> operators. This also applies to 'genquery' rules.</li> <li>Operators for equality, comparison, 'in' and 'not in' are no<br> longer associative,<br> e.g. x &lt; y &lt; z is now a syntax error. Before, it was parsed<br> as: (x &lt; y) &lt; z.</li> <li>In strings, octal sequences greater than \377 are now forbidden<br> (e.g. "\600").<br> Previously, Blaze had the same behavior as Python 2, where<br> "\450" == "\050".</li> <li>Using tabulation for identation is now fobidden in .bzl files</li> <li><code>load</code> is now a language keyword, it cannot be used as an<br> identifier</li> <li>lvalues must have define at least one variable (i.e. we forbid<br> <code>[] = f()</code>).</li> <li>Fixed a bug whereby multiple load() statements could appear on<br> the same line</li> <li>-extra_checks:off is no longer supported; use<br> -XepDisableAllChecks instead</li> <li>java_common.java_toolchain_attr is removed. Depend on the<br> java_toolchain_alias() rule to accomplish the same thing.</li> <li>cc_common.cc_toolchain_attr and java_common.java_runtime_attr are<br> not supported anymore and were replaced with the<br> cc_toolchain_alias() and java_runtime_alias() rules.</li> <li>Noop flag --deprecated_generate_xcode_project deleted.</li> <li>Objects in Skylark are converted to strings in a more descriptive<br> and less harmful way (they don't leak information that shouldn't<br> be accessed by Skylark code, e.g. nondeterministic memory addresses<br> of objects).</li> <li><code>set</code> is deprecated in BUILD and .bzl files, please use <code>depset</code><br> instead. Ordering names have also been changed, please use "default",<br> "postorder", "preorder", and "topological" instead of "stable",<br> "compile", "naive_link", and "link" correspondingly.</li> <li>Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is<br> an error.</li> <li>Keyword-only syntax in a function definition is now forbidden<br> e.g. <code>def foo(a, *, b)</code> or <code>def foo(a, *b, c)</code></li> <li>--incompatible_comprehension_variables_do_not_leak defaults to<br> "true."<br> Iteration variable becomes inaccessible after a list/dict<br> comprehension.</li> <li>@bazel_tools//tools/build_defs/docker:docker.bzl is no longer<br> available, please see <a href="https://github.com/bazelbuild/rules_docker">https://github.com/bazelbuild/rules_docker</a>.</li> </ul> <p>New features:</p> <ul> <li>Zipped LLVM profiles are now supported.</li> <li>LIPO maps to ThinLTO for LLVM builds.</li> <li>Change to handle LLVM FDO zipped profile contents correctly.</li> <li>Do not disable fully dynamic linking with ThinLTO when invoked<br> via LIPO options.</li> <li>There is now a 'siblings' query function. See the query<br> documentation for more details.</li> <li>Added the print_action command, which outputs the<br> actions needed to build a given target in the form of an<br> ExtraActionSummary proto in text format.</li> <li>android_binary now supports proguard_apply_dictionary to specify<br> a custom dictionary to use for choosing names to obfuscate<br> classes and members to.</li> </ul> <p>Important changes:</p> <ul> <li>Windows: bazel clean --expunge works</li> <li>First argument of 'load' should be a label. Path syntax is<br> deprecated (label should start with '//' or ':').</li> <li>Octal prefix '0' is deprecated in favor of '0o' (use 0o777<br> instead of 0777).</li> <li>The extension_safe attribute of apple_binary no longer validates<br> transitive dependencies are compiled against extension_safe APIs.</li> <li>Parentheses around the tuple are now mandatory in [a for b in c<br> if 1, 2]</li> <li>Adjust the thresholds for --test_verbose_timeout_warnings so that<br> it can recommending timeout increases and won't recommend<br> timeouts that are too close to the actual timeout.</li> <li>Iterating on a <code>depset</code> object is deprecated. If you need an<br> iterable, call the <code>.to_list()</code> method first.</li> <li>Bazel now uses tools from action_configs in Crosstool by default<br> (as oposed to using top level tools).</li> <li>Incremental dexing errors on combination of --multidex=off and<br> either --main-dex-list or --minimal-main-dex.</li> <li>When using the dictionary literal syntax, it is now an error to<br> have duplicated keys (e.g. {'ab': 3, 'ab': 5}).</li> <li>New property on android_sdk: aapt2<br> Choose the version of aapt on android_binary</li> <li>Add idl_preprocessed attribute to android_library, so that<br> preprocessed aidl files can be passed to android_library for<br> compiling</li> <li>Bazel's remote_worker backend for remote execution supports<br> sandboxing on Linux now. Check<br> <a href="https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w">https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w</a><br> orker/README.md for details.</li> <li>Allows flags that expand to take values.</li> <li>Make querying attributes formed by selector lists of list types<br> more efficient by no longer listing every possible combination of<br> attribute value but by more compactly storing the possible values<br> of the list.</li> <li>writing build events to a file is no longer experimental</li> <li>set --rewrite_calls_to_long_compare to false by default.</li> <li>ObjC and C++ coverage feature is unified under name 'coverage'</li> <li>Enable --incremental_dexing for Android builds by default. Note<br> that some dexopts are incompatible with incremental dexing,<br> including --force-jumbo.</li> <li>Evaluation will soon use checked arithmetics and throw an error<br> instead of overflow/underflow.</li> <li>Implicit iteration in the CROSSTOOL has been removed, use<br> explicit 'iterate_over' message.</li> <li>Add option for Android specific grte_top</li> <li>Crosstool patches are only applied if the toolchain doesn't define<br> 'no_legacy_features' feature.</li> <li>'platform_type' is now a mandatory attribute on apple_binary and<br> apple_static_library rules.<br> If this change breaks your build, feel free to add platform_type<br> = 'ios' to any apple_binary and apple_static_library<br> targets in your project, as this was the previous default<br> behavior.</li> <li>Remove apple_watch2_extension build rule. Users should be using<br> the skylark watchos_application and watchos_extension rules.<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> has details.</li> <li>Check stderr to detect if connected to a terminal. Deprecate<br> --isatty.</li> <li>Commands that shut down the server (like "shutdown") now ensure<br> that the server process has terminated before the client process<br> terminates.</li> <li>Remove apple_watch1_extension and apple_watch_extension_binary<br> rules. Users should be using the skylark watchos_application and<br> watchos_extension rules.<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> has details.</li> <li>Windows: Wrapper-less CROSSTOOL becomes default now.<br> set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.</li> <li>Ignore --glibc in the Android transition.</li> <li>Remove --experimental_android_use_singlejar_for_multidex.</li> <li>nocopts now also filter copts</li> <li>'strip' action is now configured via feature configuration</li> <li>The Build Event Service (BES) client now properly supports<br> Google Applicaton Default Credentials.</li> <li>Flags from action_config get added first to the command line<br> first, before the flags from features.</li> <li>update dexing tools to Android SDK 26.0.1</li> <li>Bazel Android support now requires build-tools 26.0.1 or later.</li> <li><code>bazel info output_path</code> no longer relies on the root directory<br> filename being equal to the workspace name.</li> <li>The <code>print</code> function now prints debug messages instead of<br> warnings.</li> <li>speedup of incremental dexing tools</li> <li>--announce_rc now controls whether bazelrc startup options are<br> printed to stderr.</li> <li>Removing a few unused objc_provider keys.</li> <li>Improved logging when workers have to be restarted due to its<br> files having changed.</li> <li>Top-level <code>if</code> statements are now forbidden.</li> <li>Java protos are compiled to Java 7 bytecode.</li> <li>All Android builds now use the desugar tool to support some Java<br> 8 features by default. To disable, use the --nodesugar_for_android flag.</li> <li>Skylark-related options may now appear as "common" command<br> options in the .bazelrc</li> <li>Python is now required to build bazel.</li> <li>New --build_runfile_manifests flag controls production of<br> runfiles manifests.</li> <li>Enable debug info for Java builds</li> <li>Allow java_lite_proto_library in the deps of android rules.</li> <li>.so files in APKs will be memory-page aligned when<br> android_binary.nocompress_extensions contains ".so" and<br> --experimental_android_use_nocompress_extensions_on_apk is<br> specified.</li> <li>Skylark providers can specify allowed fields and their<br> documentation.</li> <li>Support ctx.actions.args() for more efficient Skylark command<br> line construction.</li> <li>The remote HTTP/1.1 caching client (--remote_rest_cache) now<br> distinquishes between action cache and CAS. The request URL for<br> the action cache is prefixed with 'ac' and the URL for the CAS<br> is prefixed with 'cas'.</li> <li><code>JavaInfo</code> is a preferred alias to <code>java_common.provider</code>.</li> <li>J2ObjC version updated to 2.0.3.</li> <li>A new Java coverage implementation is available. Makes possible<br> coverage for Skylark JVM rules.</li> <li>Make proguard_apply_dictionary also apply to class and package<br> obfuscation, not just class members.</li> <li>android_binary.nocompress_extensions now applies to all files in<br> the APK, not just resources and assets.</li> <li>The apple_genrule rule that is distributed with Bazel has been<br> deleted. Users who wish to use genrules with Xcode's<br> DEVELOPER_DIR set should use the rules in<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> instead.</li> <li>The swift_library rule that is distributed with Bazel has been<br> deleted. Users who wish to compile Swift should use the rules in<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> instead.</li> <li>The Build Event Protocol's File.uri field is now properly<br> encoded according to RFC2396.</li> <li>Deprecated: Using the android_library.deps attribute to<br> implicitly export targets to dependent rules. If your code is<br> using this feature, Bazel will raise a warning. To fix, please<br> use android_library.exports to explicitly specify exported<br> targets. Run with<br> --experimental_allow_android_library_deps_without_srcs=false to<br> ensure forward compatibility when this feature is removed in a<br> future release.</li> <li>java_common.create_provider is now supported with creating ijars<br> by default. This introduces incompatibilities for existing users.<br> Please set use_ijar=False if you don't want to use ijars.</li> <li>Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and<br> TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be<br> reflected under bazel-testlogs.</li> <li>remove unused --host_incremental_dexing flag</li> <li>Stop using --undefined dynamic_lookup in Apple links. Enables<br> unresolved symbol errors.</li> <li>All test output files included for cached, uncached, and multiple<br> attempt tests.</li> <li>Android rules no longer restrict the manifest file to be named<br> "AndroidManifest.xml".</li> <li>Boolean flag values will now get normalized to 1 or 0 in<br> canonicalize-flags output.</li> <li>added experimental --use_new_category_enum to the help command to<br> output options grouped by the new type of category.</li> <li>Expose output jars and jdeps in java_common.provider, when<br> available.</li> <li>android_library targets are no longer allowed to use deps to<br> export targets implicitly; please use android_library.exports<br> instead.</li> <li>New depset API</li> <li>apple_binary and apple_static_library no longer support<br> compilation attributes such as 'srcs'. If this breaks any<br> existing targets, you may migrate all such attributes to a new<br> objc_library target and depend on that objc_library target via<br> the 'deps' attribute of apple_binary or apple_static_library.</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.6.1 2017-10-05T21:52:24Z Release 0.6.1 (2017-10-05) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/87cc92e5df35d02a7c9bc50b229c513563dc1689/hovercard" href="https://github.com/nativelibs4java/bazel/commit/87cc92e5df35d02a7c9bc50b229c513563dc1689"><tt>87cc92e</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/a615d288b008c36c659fdc17965207bb62d95d8d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/a615d288b008c36c659fdc17965207bb62d95d8d"><tt>a615d28</tt></a>:<br> Rollback context.actions.args() functionality.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/7b091c1397a82258e26ab5336df6c8dae1d97384/hovercard" href="https://github.com/nativelibs4java/bazel/commit/7b091c1397a82258e26ab5336df6c8dae1d97384"><tt>7b091c1</tt></a>:<br> Add a global failure when a test is interrupted/cancelled.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/95b0467e3eb42a8ce8d1179c0c7e1aab040e8120/hovercard" href="https://github.com/nativelibs4java/bazel/commit/95b0467e3eb42a8ce8d1179c0c7e1aab040e8120"><tt>95b0467</tt></a>:<br> Cleanups for Skylark tracebacks</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/cc9c2f07127a832a88f27f5d72e5508000b53429/hovercard" href="https://github.com/nativelibs4java/bazel/commit/cc9c2f07127a832a88f27f5d72e5508000b53429"><tt>cc9c2f0</tt></a>:<br> Remove the status xml attribute from AntXmlResultWriter</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/471c0e1678d0471961f1dc467666991e4cce3846/hovercard" href="https://github.com/nativelibs4java/bazel/commit/471c0e1678d0471961f1dc467666991e4cce3846"><tt>471c0e1</tt></a>:<br> Release 0.6.0 (2017-09-28)</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/8bdd409f4900d4574667fed83d86b494debef467/hovercard" href="https://github.com/nativelibs4java/bazel/commit/8bdd409f4900d4574667fed83d86b494debef467"><tt>8bdd409</tt></a>:<br> Only compute hostname once per server lifetime</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0bc9b3e14f305706d72180371f73a98d6bfcdf35/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0bc9b3e14f305706d72180371f73a98d6bfcdf35"><tt>0bc9b3e</tt></a>:<br> Fix bug in NetUtil caching.</li> </ul> <p>Important changes:</p> <ul> <li>Only compute hostname once per server lifetime</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.6.0 2017-09-28T14:36:11Z Release 0.6.0 (2017-09-28) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/87cc92e5df35d02a7c9bc50b229c513563dc1689/hovercard" href="https://github.com/nativelibs4java/bazel/commit/87cc92e5df35d02a7c9bc50b229c513563dc1689"><tt>87cc92e</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/a615d288b008c36c659fdc17965207bb62d95d8d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/a615d288b008c36c659fdc17965207bb62d95d8d"><tt>a615d28</tt></a>:<br> Rollback context.actions.args() functionality.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/7b091c1397a82258e26ab5336df6c8dae1d97384/hovercard" href="https://github.com/nativelibs4java/bazel/commit/7b091c1397a82258e26ab5336df6c8dae1d97384"><tt>7b091c1</tt></a>:<br> Add a global failure when a test is interrupted/cancelled.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/95b0467e3eb42a8ce8d1179c0c7e1aab040e8120/hovercard" href="https://github.com/nativelibs4java/bazel/commit/95b0467e3eb42a8ce8d1179c0c7e1aab040e8120"><tt>95b0467</tt></a>:<br> Cleanups for Skylark tracebacks</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/cc9c2f07127a832a88f27f5d72e5508000b53429/hovercard" href="https://github.com/nativelibs4java/bazel/commit/cc9c2f07127a832a88f27f5d72e5508000b53429"><tt>cc9c2f0</tt></a>:<br> Remove the status xml attribute from AntXmlResultWriter</li> </ul> <p>Incompatible changes:</p> <ul> <li>Noop flag --deprecated_generate_xcode_project deleted.</li> <li>Objects in Skylark are converted to strings in a more descriptive<br> and less harmful way (they don't leak information that shouldn't<br> be accessed by Skylark code, e.g. nondeterministic memory addresses<br> of objects).</li> <li><code>set</code> is deprecated in BUILD and .bzl files, please use <code>depset</code><br> instead. Ordering names have also been changed, please use<br> "default", "postorder", "preorder", and "topological" instead of<br> "stable", "compile", "naive_link", and "link" correspondingly.</li> <li>Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is<br> an error.</li> <li>Keyword-only syntax in a function definition is now forbidden<br> e.g. <code>def foo(a, *, b)</code> or <code>def foo(a, *b, c)</code></li> <li>--incompatible_comprehension_variables_do_not_leak defaults to<br> "true."<br> Iteration variable becomes inaccessible after a list/dict<br> comprehension.</li> </ul> <p>New features:</p> <ul> <li>There is now a 'siblings' query function. See the query<br> documentation for more details.</li> <li>Added the print_action command, which outputs the<br> actions needed to build a given target in the form of an<br> ExtraActionSummary proto in text format.</li> <li>android_binary now supports proguard_apply_dictionary to specify<br> a custom dictionary to use for choosing names to obfuscate<br> classes and members to.</li> </ul> <p>Important changes:</p> <ul> <li>'strip' action is now configured via feature configuration</li> <li>Flags from action_config get added first to the command line<br> first,<br> before the flags from features.</li> <li><code>bazel info output_path</code> no longer relies on the root directory<br> filename being equal to the workspace name.</li> <li>The <code>print</code> function now prints debug messages instead of<br> warnings.</li> <li>speedup of incremental dexing tools</li> <li>--announce_rc now controls whether bazelrc startup options are<br> printed to stderr.</li> <li>Removing a few unused objc_provider keys.</li> <li>Improved logging when workers have to be restarted due to its<br> files having changed.</li> <li>Top-level <code>if</code> statements are now forbidden.</li> <li>Java protos are compiled to Java 7 bytecode.</li> <li>All Android builds now use the desugar tool to support some Java<br> 8 features by default. To disable, use the<br> --nodesugar_for_android flag.</li> <li>Skylark-related options may now appear as "common" command<br> options in the .bazelrc</li> <li>Python is now required to build bazel.</li> <li>When the lvalue of an augmented assignment is a list, we now<br> throw an error<br> before evaluating the code (e.g. <code>a, b += 2, 3</code>).</li> <li>New --build_runfile_manifests flag controls production of<br> runfiles manifests.</li> <li>Enable debug info for Java builds</li> <li>Allow java_lite_proto_library in the deps of android rules.</li> <li>.so files in APKs will be memory-page aligned when<br> android_binary.nocompress_extensions contains ".so" and<br> --experimental_android_use_nocompress_extensions_on_apk is<br> specified.</li> <li>Skylark providers can specify allowed fields and their<br> documentation.</li> <li>Support ctx.actions.args() for more efficient Skylark command<br> line construction.</li> <li>The remote HTTP/1.1 caching client (--remote_rest_cache) now<br> distinquishes between action cache and CAS. The request URL for<br> the action cache is prefixed with 'ac' and the URL for the CAS<br> is prefixed with 'cas'.</li> <li><code>JavaInfo</code> is a preferred alias to <code>java_common.provider</code>.</li> <li>J2ObjC version updated to 2.0.3.</li> <li>A new Java coverage implementation is available. Makes possible<br> coverage for Skylark JVM rules.</li> <li>Make proguard_apply_dictionary also apply to class and package<br> obfuscation, not just class members.</li> <li>When using the dictionary literal syntax, it is now an error to<br> have duplicated keys (e.g. {'ab': 3, 'ab': 5}).</li> <li>android_binary.nocompress_extensions now applies to all files in<br> the APK, not just resources and assets.</li> <li>The apple_genrule rule that is distributed with Bazel has been<br> deleted. Users who wish to use genrules with Xcode's<br> DEVELOPER_DIR set should use the rules in<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> instead.</li> <li>The swift_library rule that is distributed with Bazel has been<br> deleted. Users who wish to compile Swift should use the rules in<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> instead.</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.5.4 2017-08-25T09:24:03Z Release 0.5.4 (2017-08-25) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/6563b2d42d29196432d5fcafa0144b8371fbb028/hovercard" href="https://github.com/nativelibs4java/bazel/commit/6563b2d42d29196432d5fcafa0144b8371fbb028"><tt>6563b2d</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d4fa181f8607c35230b7efa1ce94188b51508962/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d4fa181f8607c35230b7efa1ce94188b51508962"><tt>d4fa181</tt></a>:<br> Use getExecPathString when getting bash_main_file</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/837e1b3d4859140d29aaa6bbab8fbb008e6d701e/hovercard" href="https://github.com/nativelibs4java/bazel/commit/837e1b3d4859140d29aaa6bbab8fbb008e6d701e"><tt>837e1b3</tt></a>:<br> Windows, sh_bin. launcher: export runfiles envvars</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/fe9ba893c0ebec19228086356af5fa8d81f2809b/hovercard" href="https://github.com/nativelibs4java/bazel/commit/fe9ba893c0ebec19228086356af5fa8d81f2809b"><tt>fe9ba89</tt></a>:<br> grpc: Consolidate gRPC code from BES and Remote Execution. Fixes<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="246159038" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3460" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3460/hovercard" href="https://github.com/bazelbuild/bazel/issues/3460">bazelbuild#3460</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="247048766" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3486" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3486/hovercard" href="https://github.com/bazelbuild/bazel/issues/3486">bazelbuild#3486</a></li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/e8d4366cd374fba92f1425de0d475411c8defda4/hovercard" href="https://github.com/nativelibs4java/bazel/commit/e8d4366cd374fba92f1425de0d475411c8defda4"><tt>e8d4366</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/496d3ded0bce12b7371a93e1183ba30e6aa88032/hovercard" href="https://github.com/nativelibs4java/bazel/commit/496d3ded0bce12b7371a93e1183ba30e6aa88032"><tt>496d3de</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/242a43449dd44a22857f6ce95f7cc6a7e134d298/hovercard" href="https://github.com/nativelibs4java/bazel/commit/242a43449dd44a22857f6ce95f7cc6a7e134d298"><tt>242a434</tt></a>:<br> bes,remote: update default auth scope.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/793b409eeae2b42be7fed58251afa87b5733ca4d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/793b409eeae2b42be7fed58251afa87b5733ca4d"><tt>793b409</tt></a>:<br> Windows, sh_bin. launcher: fix manifest path</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/7e4fbbe4ab3915a57b2187408c3909e5cd6c6013/hovercard" href="https://github.com/nativelibs4java/bazel/commit/7e4fbbe4ab3915a57b2187408c3909e5cd6c6013"><tt>7e4fbbe</tt></a>:<br> Add --windows_exe_launcher option</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/91fb38e92ace6cf14ce5da6527d71320b4e3f3d2/hovercard" href="https://github.com/nativelibs4java/bazel/commit/91fb38e92ace6cf14ce5da6527d71320b4e3f3d2"><tt>91fb38e</tt></a>:<br> remote_worker: Serialize fork() calls. Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="242013422" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3356" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3356/hovercard" href="https://github.com/bazelbuild/bazel/issues/3356">bazelbuild#3356</a></li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/b79a9fcd40f448d3aebb2b93a2ebe80d09b38408/hovercard" href="https://github.com/nativelibs4java/bazel/commit/b79a9fcd40f448d3aebb2b93a2ebe80d09b38408"><tt>b79a9fc</tt></a>:<br> Quote python_path and launcher in<br> python_stub_template_windows.txt</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/4a2e17f85fc8450aa084b201c5f24b30010c5987/hovercard" href="https://github.com/nativelibs4java/bazel/commit/4a2e17f85fc8450aa084b201c5f24b30010c5987"><tt>4a2e17f</tt></a>:<br> Add build_windows_jni.sh back</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/ce61d638197251f71ed90db74843b55d9c2e9ae5/hovercard" href="https://github.com/nativelibs4java/bazel/commit/ce61d638197251f71ed90db74843b55d9c2e9ae5"><tt>ce61d63</tt></a>:<br> don't use methods and classes removed in upstream dx RELNOTES:<br> update dexing tools to Android SDK 26.0.1</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/5393a4996d701fa192964a35cbb75e558a0599c0/hovercard" href="https://github.com/nativelibs4java/bazel/commit/5393a4996d701fa192964a35cbb75e558a0599c0"><tt>5393a49</tt></a>:<br> Make Bazel enforce requirement on build-tools 26.0.1 or later.</li> <li>5fac03570f80856c063c6019f5beb3bdc1672dee:<br> Fix --verbose_failures w/ sandboxing to print the full command<br> line</li> <li>f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:<br> Only patch in C++ compile features when they are not already<br> defined in crosstool</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d7f5c120417bc2d2344dfb285322355f225d9153/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d7f5c120417bc2d2344dfb285322355f225d9153"><tt>d7f5c12</tt></a>:<br> Bump python-gflags to 3.1.0, take two</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/3cb136d5451e9d8af58f9a99990cad0592df101a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/3cb136d5451e9d8af58f9a99990cad0592df101a"><tt>3cb136d</tt></a>:<br> Add python to bazel's dockerfiles</li> </ul> <p>New features:</p> <ul> <li>Do not disable fully dynamic linking with ThinLTO when invoked<br> via LIPO options.</li> </ul> <p>Important changes:</p> <ul> <li>Ignore --glibc in the Android transition.</li> <li>Remove --experimental_android_use_singlejar_for_multidex.</li> <li>nocopts now also filter copts</li> <li>The Build Event Service (BES) client now properly supports<br> Google Applicaton Default Credentials.</li> <li>update dexing tools to Android SDK 26.0.1</li> <li>Bazel Android support now requires build-tools 26.0.1 or later.</li> <li>Fix a bug in the remote_worker that would at times make it crash on Linux. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="242013422" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3356" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3356/hovercard" href="https://github.com/bazelbuild/bazel/issues/3356">bazelbuild#3356</a></li> <li>The java_proto_library rule now supports generated sources. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="196567052" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2265" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/2265/hovercard" href="https://github.com/bazelbuild/bazel/issues/2265">bazelbuild#2265</a></li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.5.3 2017-07-27T18:27:31Z Release 0.5.3 (2017-07-27) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/88518522a18df5788736be6151fc67992efe2aad/hovercard" href="https://github.com/nativelibs4java/bazel/commit/88518522a18df5788736be6151fc67992efe2aad"><tt>8851852</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/820a46af10808396873c36d0f331e533118cf0c6/hovercard" href="https://github.com/nativelibs4java/bazel/commit/820a46af10808396873c36d0f331e533118cf0c6"><tt>820a46a</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/6d6e87297fe8818e4c374fdfabfbcf538bca898a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/6d6e87297fe8818e4c374fdfabfbcf538bca898a"><tt>6d6e872</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/ccfb2df69ecf4746f5a15e1295af995c3a45aa94/hovercard" href="https://github.com/nativelibs4java/bazel/commit/ccfb2df69ecf4746f5a15e1295af995c3a45aa94"><tt>ccfb2df</tt></a>:<br> Allow py_binary to be the executable of a Skylark action or any<br> SpawnAction on Windows.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/06534911696838e720c8681f6f568c69d28da65e/hovercard" href="https://github.com/nativelibs4java/bazel/commit/06534911696838e720c8681f6f568c69d28da65e"><tt>0653491</tt></a>:<br> Fix string representation for the Root class</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/cd159bcee72a7f377621b45409807231a636f9e2/hovercard" href="https://github.com/nativelibs4java/bazel/commit/cd159bcee72a7f377621b45409807231a636f9e2"><tt>cd159bc</tt></a>:<br> sandbox: Allow UNIX sockets on macOS even when block-network is<br> used.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1/hovercard" href="https://github.com/nativelibs4java/bazel/commit/ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1"><tt>ad73cba</tt></a>:<br> Fix python_stub_template.txt to be compatible with Python 2.4.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/9a63aff8bb771af8917903fbbc9df3b708e2c0ed/hovercard" href="https://github.com/nativelibs4java/bazel/commit/9a63aff8bb771af8917903fbbc9df3b708e2c0ed"><tt>9a63aff</tt></a>:<br> Create Windows ZIP release artifact using Bazel</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/5e576637b5705aff0a7bf56b5077463dffcd712f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/5e576637b5705aff0a7bf56b5077463dffcd712f"><tt>5e57663</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/820a46af10808396873c36d0f331e533118cf0c6/hovercard" href="https://github.com/nativelibs4java/bazel/commit/820a46af10808396873c36d0f331e533118cf0c6"><tt>820a46a</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/b6e29ca217b02c3ba499b85479a3830f59c9b9b6/hovercard" href="https://github.com/nativelibs4java/bazel/commit/b6e29ca217b02c3ba499b85479a3830f59c9b9b6"><tt>b6e29ca</tt></a>:<br> Use the correct function to generate the release notes</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0f3481ba6364f24ef76b839bdde06ae7883c9bd9/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0f3481ba6364f24ef76b839bdde06ae7883c9bd9"><tt>0f3481b</tt></a>:<br> Include instead of &lt;stdint.h&gt;</li> </ul> <p>Incompatible changes:</p> <ul> <li>The --output=location flag to 'bazel query' cannot be used with<br> query expressions that involve the 'buildfiles' or 'loadfiles'<br> operators. This also applies to 'genquery' rules.</li> <li>Operators for equality, comparison, 'in' and 'not in' are no<br> longer associative, e.g. x &lt; y &lt; z is now a syntax error.<br> Before, it was parsed as: (x &lt; y) &lt; z.</li> <li>In strings, octal sequences greater than \377 are now forbidden<br> (e.g. "\600"). Previously, Blaze had the same behavior as Python 2,<br> where "\450" == "\050".</li> <li>Using tabulation for identation is now fobidden in .bzl files</li> <li><code>load</code> is now a language keyword, it cannot be used as an<br> identifier</li> <li>lvalues must have define at least one variable (i.e. we forbid<br> <code>[] = f()</code>).</li> <li>Fixed a bug whereby multiple load() statements could appear on<br> the same line</li> <li>-extra_checks:off is no longer supported; use<br> -XepDisableAllChecks instead</li> <li>java_common.java_toolchain_attr is removed. Depend on the<br> java_toolchain_alias() rule to accomplish the same thing.</li> <li>cc_common.cc_toolchain_attr and java_common.java_runtime_attr are<br> not supported anymore and were replaced with the<br> cc_toolchain_alias() and java_runtime_alias() rules.</li> </ul> <p>New features:</p> <ul> <li>Zipped LLVM profiles are now supported.</li> <li>LIPO maps to ThinLTO for LLVM builds.</li> <li>Change to handle LLVM FDO zipped profile contents correctly.</li> </ul> <p>Important changes:</p> <ul> <li>Windows: bazel clean --expunge works</li> <li>First argument of 'load' should be a label. Path syntax is<br> deprecated (label should start with '//' or ':').</li> <li>Octal prefix '0' is deprecated in favor of '0o' (use 0o777<br> instead of 0777).</li> <li>The extension_safe attribute of apple_binary no longer validates<br> transitive dependencies are compiled against extension_safe APIs.</li> <li>Parentheses around the tuple are now mandatory in [a for b in c<br> if 1, 2]</li> <li>Adjust the thresholds for --test_verbose_timeout_warnings so that<br> it can recommending timeout increases and won't recommend<br> timeouts that are too close to the actual timeout.</li> <li>Iterating on a <code>depset</code> object is deprecated. If you need an<br> iterable, call the <code>.to_list()</code> method first.</li> <li>Bazel now uses tools from action_configs in Crosstool by default<br> (as oposed to using top level tools).</li> <li>Incremental dexing errors on combination of --multidex=off and<br> either --main-dex-list or --minimal-main-dex.</li> <li>When using the dictionary literal syntax, it is now an error to<br> have duplicated keys (e.g. {'ab': 3, 'ab': 5}).</li> <li>New property on android_sdk: aapt2<br> Choose the version of aapt on android_binary</li> <li>Add idl_preprocessed attribute to android_library, so that<br> preprocessed aidl files can be passed to android_library for<br> compiling</li> <li>Bazel's remote_worker backend for remote execution supports<br> sandboxing on Linux now. Check<br> <a href="https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w">https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w</a><br> orker/README.md for details.</li> <li>Allows flags that expand to take values.</li> <li>Make querying attributes formed by selector lists of list types<br> more efficient by no longer listing every possible combination of<br> attribute value but by more compactly storing the possible values<br> of the list.</li> <li>Writing build events to a file is no longer experimental</li> <li>set --rewrite_calls_to_long_compare to false by default.</li> <li>ObjC and C++ coverage feature is unified under name 'coverage'</li> <li>Enable --incremental_dexing for Android builds by default. Note<br> that some dexopts are incompatible with incremental dexing,<br> including --force-jumbo.</li> <li>Evaluation will soon use checked arithmetics and throw an error<br> instead of overflow/underflow.</li> <li>Implicit iteration in the CROSSTOOL has been removed, use<br> explicit 'iterate_over' message.</li> <li>Add option for Android specific grte_top</li> <li>Crosstool patches are only applied if the toolchain doesn't define<br> 'no_legacy_features' feature.</li> <li>'platform_type' is now a mandatory attribute on apple_binary and<br> apple_static_library rules.<br> If this change breaks your build, feel free to add platform_type<br> = 'ios' to any apple_binary and apple_static_library<br> targets in your project, as this was the previous default<br> behavior.</li> <li>Remove apple_watch2_extension build rule. Users should be using<br> the skylark watchos_application and watchos_extension rules.<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> has details.</li> <li>Check stderr to detect if connected to a terminal. Deprecate<br> --isatty.</li> <li>Commands that shut down the server (like "shutdown") now ensure<br> that the server process has terminated before the client process<br> terminates.</li> <li>Remove apple_watch1_extension and apple_watch_extension_binary<br> rules. Users should be using the skylark watchos_application and<br> watchos_extension rules.<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> has details.</li> <li>Windows: Wrapper-less CROSSTOOL becomes default now.<br> set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.5.2 2017-06-27T13:08:46Z Release 0.5.2 (2017-06-27) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/e78ad83ded6e9c6d639793827e27b6570e6e9f65/hovercard" href="https://github.com/nativelibs4java/bazel/commit/e78ad83ded6e9c6d639793827e27b6570e6e9f65"><tt>e78ad83</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/68028317c1d3d831a24f90e2b25d1410ce045c54/hovercard" href="https://github.com/nativelibs4java/bazel/commit/68028317c1d3d831a24f90e2b25d1410ce045c54"><tt>6802831</tt></a>:<br> experimental UI: move stopUpdateThread() out of synchronized,<br> again</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/019935dfbb61e61d08d1351b0365fb4e2d0df305/hovercard" href="https://github.com/nativelibs4java/bazel/commit/019935dfbb61e61d08d1351b0365fb4e2d0df305"><tt>019935d</tt></a>:<br> Fix bug in URI computation in RemoteModule</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/e9424cf9b9d72b98594966d5ac0f15bb018ec639/hovercard" href="https://github.com/nativelibs4java/bazel/commit/e9424cf9b9d72b98594966d5ac0f15bb018ec639"><tt>e9424cf</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/7dec00574aa91327693f6ba7e90bff5bc834253e/hovercard" href="https://github.com/nativelibs4java/bazel/commit/7dec00574aa91327693f6ba7e90bff5bc834253e"><tt>7dec005</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/9eea05d068a06ab642dd9d86d46ee5fa2e36b02e/hovercard" href="https://github.com/nativelibs4java/bazel/commit/9eea05d068a06ab642dd9d86d46ee5fa2e36b02e"><tt>9eea05d</tt></a>:<br> Switching to Watcher API instead of wait_for_completion, in<br> preparation for deprecating the wait_for_completion field.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/89659810e3048782dfb5e308e39aa8a0727e464e/hovercard" href="https://github.com/nativelibs4java/bazel/commit/89659810e3048782dfb5e308e39aa8a0727e464e"><tt>8965981</tt></a>:<br> Set correct execroot for info</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/716b527266f47f59a2b7fb2e5fc52cb45e1691b1/hovercard" href="https://github.com/nativelibs4java/bazel/commit/716b527266f47f59a2b7fb2e5fc52cb45e1691b1"><tt>716b527</tt></a>:<br> Only create a single per-build instance of the remote cache /<br> executor</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/1d82d199f82409f217a42bcefebb96f723f91caa/hovercard" href="https://github.com/nativelibs4java/bazel/commit/1d82d199f82409f217a42bcefebb96f723f91caa"><tt>1d82d19</tt></a>:<br> protobuf: Update protobuf jars to be binary compatible with Java<br> 6. Fixes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="236061175" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/3198" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/3198/hovercard" href="https://github.com/bazelbuild/bazel/issues/3198">bazelbuild#3198</a></li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/524b90d9e5acc4fa568f215c9415eaa902e979f8/hovercard" href="https://github.com/nativelibs4java/bazel/commit/524b90d9e5acc4fa568f215c9415eaa902e979f8"><tt>524b90d</tt></a>:<br> Change CAS URI to use the "bytestream" scheme instead of being<br> scheme-less</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/4929ad79865f8c13ef3b33c827040f4a037e4afe/hovercard" href="https://github.com/nativelibs4java/bazel/commit/4929ad79865f8c13ef3b33c827040f4a037e4afe"><tt>4929ad7</tt></a>:<br> Automated g4 rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/923d7df521f67d031b288180560848bd35e20976/hovercard" href="https://github.com/nativelibs4java/bazel/commit/923d7df521f67d031b288180560848bd35e20976"><tt>923d7df</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/68b9a7e2dc17e32b194238d287e79bee1ba035b9/hovercard" href="https://github.com/nativelibs4java/bazel/commit/68b9a7e2dc17e32b194238d287e79bee1ba035b9"><tt>68b9a7e</tt></a>:<br> Automated g4 rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/da56606563ee9df438db93392f681bf2abb4ac97/hovercard" href="https://github.com/nativelibs4java/bazel/commit/da56606563ee9df438db93392f681bf2abb4ac97"><tt>da56606</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/2ba693ffbe824136a0ca5f47d34710612f6302c3/hovercard" href="https://github.com/nativelibs4java/bazel/commit/2ba693ffbe824136a0ca5f47d34710612f6302c3"><tt>2ba693f</tt></a>:<br> Automated rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/ce7c4deda60a307bba5f0c9421738e2a375cf44e/hovercard" href="https://github.com/nativelibs4java/bazel/commit/ce7c4deda60a307bba5f0c9421738e2a375cf44e"><tt>ce7c4de</tt></a>.</li> </ul> <p>Incompatible changes:</p> <ul> <li>Blaze no longer generates xcode projects. Use tulsi.bazel.build<br> instead.</li> </ul> <p>Important changes:</p> <ul> <li>Keyword-only syntax in a function definition is deprecated<br> (e.g. <code>def foo(a, *, b)</code> or <code>def foo(a, *b, c)</code>) and will be<br> removed in the future.</li> <li>Attempting to build an Android target without setting up<br> android_sdk_repository will now produce a helpful error message.</li> <li>Adds a sha256 attribute to git_repository and new_git_repository.<br> This can only be used if the remote is a public GitHub<br> repository. It forces<br> Bazel to download the repository as a tarball, which will often<br> be faster and<br> more robust than cloning it.</li> <li>Sandboxing is now enabled by default on FreeBSD (via<br> processwrapper-sandbox).</li> <li>android_test may use manifest placeholders with 'manifest_merger<br> = "android"'.</li> <li>load() statements should be called at the top of .bzl files,<br> before any<br> other statement. This convention will be enforced in the future.</li> <li>Effectively remove sysroot from CppConfiguration and allow it to<br> use select statements.</li> <li>proto_library.strict_proto_deps no longer exists.</li> <li>Flag --explicit_jre_deps is now a noop.</li> <li>The 'legacy' Android manifest merger is deprecated. Please<br> upgrade to the 'android' manifest merger, which is the same<br> merger used by Gradle.<br> <a href="https://developer.android.com/studio/build/manifest-merge.html" rel="nofollow">https://developer.android.com/studio/build/manifest-merge.html</a></li> <li>Using $(CC_FLAGS) in a GenRule adds a dependency to the c++<br> toolchain</li> <li>add one-version enforcement to android_local_test</li> <li>Skylark support (apple_common.dotted_version(string)) for<br> building DottedVersion objects to interface with native apple<br> rules</li> <li>CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in<br> CROSSTOOL</li> <li>ios_framework native rule has been removed. This rule had been<br> essentially broken for several months now; users should be using<br> the skylark ios framework rule.<br> <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> has details.</li> <li>Clean command no longer uses boolean values for --async,<br> --expunge, and --expunge_async options.</li> <li>Partially fixes external J2ObjC support.</li> <li>'--aspects' can occur more than once on the command line.</li> <li>--no_ prefix no longer recognized.</li> <li>Use action_config in crosstool for static library archiving,<br> remove ar_flag.</li> <li>Added a new flag --sandbox_writable_path, which asks the sandbox<br> to<br> make an existing directory writable when running actions.</li> <li>bazel test now also computes a default instrumentation filter if<br> --collect_code_coverage is enabled</li> <li>n/na</li> <li>In .bzl files, top-level <code>if</code> statements are deprecated and will<br> be forbidden<br> in the future. Move them in a function body instead (or use a<br> conditional<br> expression instead: <code>x if condition else y</code>).</li> <li>ios_device and ios_test are deprecated. Please use the new testing<br> rules in <a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a> instead.</li> <li>bazel query --output package now displays packages from external<br> repository with the format "@reponame//package". Packages in the<br> main repository continue to have the format "package".</li> <li>ctx.expand_make_variables is deprecated.</li> <li>Bazel posts links to the CAS to the BEP if remote caching /<br> execution is enabled</li> <li><code>bazel info execution_root</code> returns the corrrect directory name<br> for the execution root.</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.5.1 2017-06-06T09:32:02Z Release 0.5.1 (2017-06-06) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/f3ae88ee043846e7acdffd645137075a4e72c573/hovercard" href="https://github.com/nativelibs4java/bazel/commit/f3ae88ee043846e7acdffd645137075a4e72c573"><tt>f3ae88e</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/c58ba098526b748f9c73e6229cafd74748205aa1/hovercard" href="https://github.com/nativelibs4java/bazel/commit/c58ba098526b748f9c73e6229cafd74748205aa1"><tt>c58ba09</tt></a>:<br> Release to GCS: put the final release in its own directory</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0acead4ea3631240659836ce6ecd6d7f67fd352b/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0acead4ea3631240659836ce6ecd6d7f67fd352b"><tt>0acead4</tt></a>:<br> Update protobuf to latest master at a64497c and apply<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/laszlocsomor/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/laszlocsomor">@laszlocsomor</a>'s latest changes from<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="221291608" data-permission-text="Title is private" data-url="https://github.com/protocolbuffers/protobuf/issues/2969" data-hovercard-type="pull_request" data-hovercard-url="/protocolbuffers/protobuf/pull/2969/hovercard" href="https://github.com/protocolbuffers/protobuf/pull/2969">protocolbuffers/protobuf#2969</a> on top of it.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d0242ce4a87929f2528f4602d0fb09d1ccfcea94/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d0242ce4a87929f2528f4602d0fb09d1ccfcea94"><tt>d0242ce</tt></a>:<br> Make symlinks consistent</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d953ca8b87a46decbce385cebb446ae0dd390881/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d953ca8b87a46decbce385cebb446ae0dd390881"><tt>d953ca8</tt></a>:<br> Clean VanillaJavaBuilder output directories</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/755669fb5de1f4e762f27c19776cac9f410fcb94/hovercard" href="https://github.com/nativelibs4java/bazel/commit/755669fb5de1f4e762f27c19776cac9f410fcb94"><tt>755669f</tt></a>:<br> Pass all the environment variable to Bazel during bootstrapping</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/6f041661ca159903691fcb443d86dc7b6454253d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/6f041661ca159903691fcb443d86dc7b6454253d"><tt>6f04166</tt></a>:<br> Do not mark the JDK7 installer -without-jdk-installer</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/720561113bfa702acfc2ca24ce3cc3fd7ee9c115/hovercard" href="https://github.com/nativelibs4java/bazel/commit/720561113bfa702acfc2ca24ce3cc3fd7ee9c115"><tt>7205611</tt></a>:<br> Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="226747292" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2958" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/2958/hovercard" href="https://github.com/bazelbuild/bazel/issues/2958">bazelbuild#2958</a>: Installer should not overwrite bazelrc</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/511c35b46cead500d4e76706e0a709e50995ceba/hovercard" href="https://github.com/nativelibs4java/bazel/commit/511c35b46cead500d4e76706e0a709e50995ceba"><tt>511c35b</tt></a>:<br> Bootstrap: move the fail function to the top</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/8470be1122825aae8ad0903dd1e1e2a90cce47d2/hovercard" href="https://github.com/nativelibs4java/bazel/commit/8470be1122825aae8ad0903dd1e1e2a90cce47d2"><tt>8470be1</tt></a>:<br> Clean up javac and Error Prone targets</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/4a404de2c6c38735167e17ab41be45ef6fc4713a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/4a404de2c6c38735167e17ab41be45ef6fc4713a"><tt>4a404de</tt></a>:<br> Update javac version to 9-dev-r4023-2</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/36ce4b433e19498a78c34540d5a166d4e0006b22/hovercard" href="https://github.com/nativelibs4java/bazel/commit/36ce4b433e19498a78c34540d5a166d4e0006b22"><tt>36ce4b4</tt></a>:<br> Update javac version to 9-dev-r4023-2</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/38949b8526bdb3e6db22f3846aac87162c28c33f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/38949b8526bdb3e6db22f3846aac87162c28c33f"><tt>38949b8</tt></a>:<br> Migrate off versioned javac and Error Prone targets</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/1a57d298f8aa6ea8136d93223902104f2479cd2a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/1a57d298f8aa6ea8136d93223902104f2479cd2a"><tt>1a57d29</tt></a>:<br> Re-enabling passing -sourcepath via javacopts.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/eb565f408e03125e92d42b00756e519795be6593/hovercard" href="https://github.com/nativelibs4java/bazel/commit/eb565f408e03125e92d42b00756e519795be6593"><tt>eb565f4</tt></a>:<br> Make make sure that msys build actually builds msys version</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/39f328cf392056618d1a3ead4835a138b189a06d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/39f328cf392056618d1a3ead4835a138b189a06d"><tt>39f328c</tt></a>:<br> Fix typo. Also do not override host_cpu for msvc.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/624802893f4fe72118f00a78452605d41a2e1c6f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/624802893f4fe72118f00a78452605d41a2e1c6f"><tt>6248028</tt></a>:<br> Select correct JDK for windows_msys</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/c4f271d1a68366b6fa5ff38ea7d951b6a22af044/hovercard" href="https://github.com/nativelibs4java/bazel/commit/c4f271d1a68366b6fa5ff38ea7d951b6a22af044"><tt>c4f271d</tt></a>:<br> Automated g4 rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/3e5edafa2a04a71cd3596e929e83222da725f3f9/hovercard" href="https://github.com/nativelibs4java/bazel/commit/3e5edafa2a04a71cd3596e929e83222da725f3f9"><tt>3e5edaf</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/926180997a0f296a5a009326aead887279ce0a90/hovercard" href="https://github.com/nativelibs4java/bazel/commit/926180997a0f296a5a009326aead887279ce0a90"><tt>9261809</tt></a>:<br> Remove process-tools.cc which I forgot to delete during the last<br> rollback.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/baca6e4cb023649920871b74810927d304729e59/hovercard" href="https://github.com/nativelibs4java/bazel/commit/baca6e4cb023649920871b74810927d304729e59"><tt>baca6e4</tt></a>:<br> Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="227688004" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2982" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/2982/hovercard" href="https://github.com/bazelbuild/bazel/issues/2982">bazelbuild#2982</a>: Bazel installer should not check for installed JDK if<br> using a bundled JDK.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/866ecc8c3d5e0b899e3f0c9c6b2265f16daae842/hovercard" href="https://github.com/nativelibs4java/bazel/commit/866ecc8c3d5e0b899e3f0c9c6b2265f16daae842"><tt>866ecc8</tt></a>:<br> Disable msys path conversion on Windows.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/cc21998c299b4d1f97df37b961552ff8168da17f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/cc21998c299b4d1f97df37b961552ff8168da17f"><tt>cc21998</tt></a>:<br> Rollforward <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="36173332" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/bazelbuild/bazel/pull/2/hovercard" href="https://github.com/bazelbuild/bazel/pull/2">bazelbuild#2</a> of: Basic open-source crosstool to support<br> targeting apple platform types.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f"><tt>0f0ccc4</tt></a>:<br> Escape % in strings that will appear in Crosstool</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/3b08f774e7938928e3a240a47a0a7554cdc8d50b/hovercard" href="https://github.com/nativelibs4java/bazel/commit/3b08f774e7938928e3a240a47a0a7554cdc8d50b"><tt>3b08f77</tt></a>:<br> Adding feature for linking C Run-Time library on Windows</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/3566474202d1978acfdcb7e5ff73ee03ea6f3df9/hovercard" href="https://github.com/nativelibs4java/bazel/commit/3566474202d1978acfdcb7e5ff73ee03ea6f3df9"><tt>3566474</tt></a>:<br> Do not use sed -E in bootstrap/compile.sh</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/c3cf7d917afd02d71de3800cd46ad8d14f1ddf55/hovercard" href="https://github.com/nativelibs4java/bazel/commit/c3cf7d917afd02d71de3800cd46ad8d14f1ddf55"><tt>c3cf7d9</tt></a>:<br> Reverts non-xcode-available darwin crosstool generation.</li> </ul> <p>Important changes:</p> <ul> <li>Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.5.0 2017-05-26T12:11:06Z Release 0.5.0 (2017-05-26) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/f3ae88ee043846e7acdffd645137075a4e72c573/hovercard" href="https://github.com/nativelibs4java/bazel/commit/f3ae88ee043846e7acdffd645137075a4e72c573"><tt>f3ae88e</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/c58ba098526b748f9c73e6229cafd74748205aa1/hovercard" href="https://github.com/nativelibs4java/bazel/commit/c58ba098526b748f9c73e6229cafd74748205aa1"><tt>c58ba09</tt></a>:<br> Release to GCS: put the final release in its own directory</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0acead4ea3631240659836ce6ecd6d7f67fd352b/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0acead4ea3631240659836ce6ecd6d7f67fd352b"><tt>0acead4</tt></a>:<br> Update protobuf to latest master at a64497c and apply<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/laszlocsomor/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/laszlocsomor">@laszlocsomor</a>'s latest changes from<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="221291608" data-permission-text="Title is private" data-url="https://github.com/protocolbuffers/protobuf/issues/2969" data-hovercard-type="pull_request" data-hovercard-url="/protocolbuffers/protobuf/pull/2969/hovercard" href="https://github.com/protocolbuffers/protobuf/pull/2969">protocolbuffers/protobuf#2969</a> on top of it.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d0242ce4a87929f2528f4602d0fb09d1ccfcea94/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d0242ce4a87929f2528f4602d0fb09d1ccfcea94"><tt>d0242ce</tt></a>:<br> Make symlinks consistent</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d953ca8b87a46decbce385cebb446ae0dd390881/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d953ca8b87a46decbce385cebb446ae0dd390881"><tt>d953ca8</tt></a>:<br> Clean VanillaJavaBuilder output directories</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/755669fb5de1f4e762f27c19776cac9f410fcb94/hovercard" href="https://github.com/nativelibs4java/bazel/commit/755669fb5de1f4e762f27c19776cac9f410fcb94"><tt>755669f</tt></a>:<br> Pass all the environment variable to Bazel during bootstrapping</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/6f041661ca159903691fcb443d86dc7b6454253d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/6f041661ca159903691fcb443d86dc7b6454253d"><tt>6f04166</tt></a>:<br> Do not mark the JDK7 installer -without-jdk-installer</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/720561113bfa702acfc2ca24ce3cc3fd7ee9c115/hovercard" href="https://github.com/nativelibs4java/bazel/commit/720561113bfa702acfc2ca24ce3cc3fd7ee9c115"><tt>7205611</tt></a>:<br> Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="226747292" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2958" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/2958/hovercard" href="https://github.com/bazelbuild/bazel/issues/2958">bazelbuild#2958</a>: Installer should not overwrite bazelrc</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/511c35b46cead500d4e76706e0a709e50995ceba/hovercard" href="https://github.com/nativelibs4java/bazel/commit/511c35b46cead500d4e76706e0a709e50995ceba"><tt>511c35b</tt></a>:<br> Bootstrap: move the fail function to the top</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/8470be1122825aae8ad0903dd1e1e2a90cce47d2/hovercard" href="https://github.com/nativelibs4java/bazel/commit/8470be1122825aae8ad0903dd1e1e2a90cce47d2"><tt>8470be1</tt></a>:<br> Clean up javac and Error Prone targets</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/4a404de2c6c38735167e17ab41be45ef6fc4713a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/4a404de2c6c38735167e17ab41be45ef6fc4713a"><tt>4a404de</tt></a>:<br> Update javac version to 9-dev-r4023-2</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/36ce4b433e19498a78c34540d5a166d4e0006b22/hovercard" href="https://github.com/nativelibs4java/bazel/commit/36ce4b433e19498a78c34540d5a166d4e0006b22"><tt>36ce4b4</tt></a>:<br> Update javac version to 9-dev-r4023-2</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/38949b8526bdb3e6db22f3846aac87162c28c33f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/38949b8526bdb3e6db22f3846aac87162c28c33f"><tt>38949b8</tt></a>:<br> Migrate off versioned javac and Error Prone targets</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/1a57d298f8aa6ea8136d93223902104f2479cd2a/hovercard" href="https://github.com/nativelibs4java/bazel/commit/1a57d298f8aa6ea8136d93223902104f2479cd2a"><tt>1a57d29</tt></a>:<br> Re-enabling passing -sourcepath via javacopts.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/eb565f408e03125e92d42b00756e519795be6593/hovercard" href="https://github.com/nativelibs4java/bazel/commit/eb565f408e03125e92d42b00756e519795be6593"><tt>eb565f4</tt></a>:<br> Make make sure that msys build actually builds msys version</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/39f328cf392056618d1a3ead4835a138b189a06d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/39f328cf392056618d1a3ead4835a138b189a06d"><tt>39f328c</tt></a>:<br> Fix typo. Also do not override host_cpu for msvc.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/624802893f4fe72118f00a78452605d41a2e1c6f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/624802893f4fe72118f00a78452605d41a2e1c6f"><tt>6248028</tt></a>:<br> Select correct JDK for windows_msys</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/c4f271d1a68366b6fa5ff38ea7d951b6a22af044/hovercard" href="https://github.com/nativelibs4java/bazel/commit/c4f271d1a68366b6fa5ff38ea7d951b6a22af044"><tt>c4f271d</tt></a>:<br> Automated g4 rollback of commit<br> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/3e5edafa2a04a71cd3596e929e83222da725f3f9/hovercard" href="https://github.com/nativelibs4java/bazel/commit/3e5edafa2a04a71cd3596e929e83222da725f3f9"><tt>3e5edaf</tt></a>.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/926180997a0f296a5a009326aead887279ce0a90/hovercard" href="https://github.com/nativelibs4java/bazel/commit/926180997a0f296a5a009326aead887279ce0a90"><tt>9261809</tt></a>:<br> Remove process-tools.cc which I forgot to delete during the last<br> rollback.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/baca6e4cb023649920871b74810927d304729e59/hovercard" href="https://github.com/nativelibs4java/bazel/commit/baca6e4cb023649920871b74810927d304729e59"><tt>baca6e4</tt></a>:<br> Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="227688004" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2982" data-hovercard-type="issue" data-hovercard-url="/bazelbuild/bazel/issues/2982/hovercard" href="https://github.com/bazelbuild/bazel/issues/2982">bazelbuild#2982</a>: Bazel installer should not check for installed JDK if<br> using a bundled JDK.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/866ecc8c3d5e0b899e3f0c9c6b2265f16daae842/hovercard" href="https://github.com/nativelibs4java/bazel/commit/866ecc8c3d5e0b899e3f0c9c6b2265f16daae842"><tt>866ecc8</tt></a>:<br> Disable msys path conversion on Windows.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/cc21998c299b4d1f97df37b961552ff8168da17f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/cc21998c299b4d1f97df37b961552ff8168da17f"><tt>cc21998</tt></a>:<br> Rollforward <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="36173332" data-permission-text="Title is private" data-url="https://github.com/bazelbuild/bazel/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/bazelbuild/bazel/pull/2/hovercard" href="https://github.com/bazelbuild/bazel/pull/2">bazelbuild#2</a> of: Basic open-source crosstool to support<br> targeting apple platform types.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f"><tt>0f0ccc4</tt></a>:<br> Escape % in strings that will appear in Crosstool</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/3b08f774e7938928e3a240a47a0a7554cdc8d50b/hovercard" href="https://github.com/nativelibs4java/bazel/commit/3b08f774e7938928e3a240a47a0a7554cdc8d50b"><tt>3b08f77</tt></a>:<br> Adding feature for linking C Run-Time library on Windows</li> </ul> <p>Incompatible changes:</p> <ul> <li>Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,<br> instead the existing /tmp is mounted read-write. If you prefer<br> to have a tmpfs on /tmp for sandboxed actions for increased<br> hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.</li> <li>Converting artifacts to strings and printing them now return<br> "File" instead of "Artifact" to be consistent with the type name.</li> <li>The return type of depset.to_list() is now a list rather than a<br> frozen list. (Modifying the list has no effect on the depset.)</li> <li>Bazel now prints logs in single lines to java.log</li> <li>--use_dash, --dash_url and --dash_secret are removed.</li> <li>Remote repositories must define any remote repositories they<br> themselves use (e.g., if @x//:foo depends on @y//:bar, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/y/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/y">@y</a> must be<br> defined<br> in <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/x/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/x">@x</a>'s WORKSPACE file).</li> <li>Remote repositories must define any remote repositories they<br> themselves use (e.g., if @x//:foo depends on @y//:bar, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/y/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/y">@y</a> must be<br> defined<br> in <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/x/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/x">@x</a>'s WORKSPACE file).</li> <li>objc_xcodeproj has been removed, use tulsi.bazel.build instead.</li> </ul> <p>New features:</p> <ul> <li>If grte_top is a label, it can now follow non-configurable<br> redirects.</li> <li>Optional coverage_files attribute to cc_toolchain</li> <li>"query --output=build" now includes select()s</li> <li>Raw LLVM profiles are now supported.</li> </ul> <p>Important changes:</p> <ul> <li>Automatically generate Proguard mapping when resource shrinking<br> and Proguard are enabled.</li> <li>New rules in Bazel: proto_library, java_lite_proto_library,<br> java_proto_library and cc_proto_library</li> <li>Activate the "dead_strip" feature if objc binary stripping is<br> enabled.</li> <li>More stable naming scheme for lambda classes in desugared android<br> code</li> <li>Convert --use_action_cache to a regular option</li> <li>Per-architecture dSYM binaries are now propagated by<br> apple_binary's AppleDebugOutputsProvider.</li> <li>Avoid factory methods when desugaring stateless lambdas for<br> Android</li> <li>desugar calls to Objects.requireNonNull(Object o) with<br> o.getClass() for android</li> <li>Add an --copy_bridges_from_classpath argument to android<br> desugaring tool</li> <li>Change how desugar finds desugared classes to have it working on<br> Windows</li> <li>Evaluation of commands on TargetsBelowDirectory patterns<br> (e.g. //foo/...) matching packages that fail to load now report<br> more<br> detailed error messages in keep_going mode.</li> <li>Allow to have several inputs and outputs</li> <li>Repository context's execute() function can print stdout/stderr<br> while running. To enable, pass quiet=False.</li> <li>Bazel can now be built with a bundled version of the OpenJDK.<br> This makes it possible to use Bazel on systems without a JDK, or<br> where<br> the installed JDK is too old.</li> <li>The --jobs flag now defaults to "auto", which causes Bazel to<br> use a reasonable degree of parallelism based on the local<br> machine's<br> capacity.</li> <li>Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.</li> <li>no factory methods generated for lambda expressions on android</li> <li>The Linux sandbox no longer changes the user to 'nobody' by<br> default, instead the current user is used as is. The old behavior<br> can be<br> restored via the --sandbox_fake_username flag.</li> <li>/tmp and /dev/shm are now writable by default inside the<br> Linux sandbox.</li> <li>Bazel can now use the process-wrapper + symlink tree based<br> sandbox implementation in FreeBSD.</li> <li>turn on --experimental_incremental_dexing_error_on_missed_jars by<br> default.</li> <li>All android_binarys are now signed with both Apk Signature V1 and<br> V2. See <a href="https://source.android.com/security/apksigning/v2.html" rel="nofollow">https://source.android.com/security/apksigning/v2.html</a><br> for more details.</li> <li>Windows MSVC wrappers: Not filtering warning messages anymore,<br> use --copt=-w and --host_copt=-w to suppress them.</li> <li>A downloader bug was fixed that prevented RFC 7233 Range<br> connection resumes from working with certain HTTP servers</li> <li>Introduces experimental android_device rule for configuring and<br> launching Android emulators.</li> <li>For boolean flags, setting them to false using --no_&lt;flag_name&gt;<br> is deprecated. Use --no&lt;flag_name&gt; without the underscore, or<br> --&lt;flag_name&gt;=false instead.</li> <li>Add --experimental_android_compress_java_resources flag to store<br> java<br> resources as compressed inside the APK.</li> <li>Removed --experimental_use_jack_for_dexing and libname.jack<br> output of<br> android_library.</li> <li>blaze canonicalize-flags now takes a --show_warnings flag</li> <li>Changing --invocation_policy will no longer force a server<br> restart.</li> <li>Bazel now supports Android NDK14.</li> <li>android_binary multidex should now work without additional flags.</li> <li>Use action_config in crosstool for static library archiving,<br> remove ar_flag.</li> <li>new option for bazel canonicalize-flags, --canonicalize_policy</li> <li>Use action_config in crosstool for static library archiving,<br> remove ar_flag.</li> <li>android_library exports_manifest now defaults to True.</li> <li>Fix select condition intersections.</li> <li>Adds a --override_repository option that takes a repository<br> name and path. This forces Bazel to use the directory at that path<br> for the repository. Example usage:<br> <code>--override_repository=foo=/home/user/gitroot/foo</code>.</li> <li>fix idempotency issue with desugaring lambdas in interface<br> initializers for android</li> <li>--experimental_android_use_singlejar_for_multidex is now a no-op<br> and will eventually be removed.</li> <li>Every local_repository now requires a WORKSPACE file.</li> <li>Remove jack and jill attributes of the android_sdk rule.</li> <li>Add Skylark stubs needed to remove sysroot from CppConfiguration.</li> <li>Desugar try-with-resources so that this language feature is<br> available<br> to deveces with API level under 19.</li> <li>The flag --worker_max_retries was removed. The<br> WorkerSpawnStrategy no longer retries execution of failed Spawns,<br> the reason being that this just masks compiler bugs and isn't<br> done for any other execution strategy either.</li> <li>Bazel will no longer gracefully restart workers that crashed /<br> quit, instead this triggers a build failure.</li> <li>All java resources are now compressed in android_binary APKs by<br> default.</li> <li>All java resources are now compressed in android_binary APKs by<br> default.</li> <li>android_ndk_repository now creates a cc_library<br> (@androidndk//:cpufeatures) for the cpufeatures library that is<br> bundled in the Android NDK. See<br> <a href="https://developer.android.com/ndk/guides/cpu-features.html" rel="nofollow">https://developer.android.com/ndk/guides/cpu-features.html</a> for<br> more details.</li> <li>'output_groups' and 'instrumented_files' cannot be specified in<br> DefaultInfo.</li> <li>You can increase the CPU reservation for tests by adding a<br> "cpu:" (e.g. "cpu:4" for four cores) tag to their rule in a<br> BUILD file. This can be used if tests would otherwise overwhelm<br> your system if there's too much parallelism.</li> <li>Deprecate use_singlejar_for_proguard_libraryjars and force<br> behavior to always on.</li> </ul> a-googler tag:github.com,2008:Repository/112420954/0.4.5 2017-03-16T12:18:28Z Release 0.4.5 (2017-03-16) <p>Baseline: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/2e689c29d5fc8a747216563235e905b1b62d63b0/hovercard" href="https://github.com/nativelibs4java/bazel/commit/2e689c29d5fc8a747216563235e905b1b62d63b0"><tt>2e689c2</tt></a></p> <p>Cherry picks:</p> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/a28b54033227d930672ec7f2714de52e5e0a67eb/hovercard" href="https://github.com/nativelibs4java/bazel/commit/a28b54033227d930672ec7f2714de52e5e0a67eb"><tt>a28b540</tt></a>:<br> Fix Cpp action caching</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/6d1d424b4c0da724e20e14235de8012f05c470f8/hovercard" href="https://github.com/nativelibs4java/bazel/commit/6d1d424b4c0da724e20e14235de8012f05c470f8"><tt>6d1d424</tt></a>:<br> Fix paths of binaries in .deb packages.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/0785cbb672357d950e0c045770c4567df9fbdc43/hovercard" href="https://github.com/nativelibs4java/bazel/commit/0785cbb672357d950e0c045770c4567df9fbdc43"><tt>0785cbb</tt></a>:<br> Update to guava 21.0 and Error Prone version 2.0.18-20160224</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/30490512eb0e48a3774cc4e4ef78680e77dd4e47/hovercard" href="https://github.com/nativelibs4java/bazel/commit/30490512eb0e48a3774cc4e4ef78680e77dd4e47"><tt>3049051</tt></a>:<br> Update to latest javac and Error Prone</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/867d16eab3bfabae070567ecd878c291978ff338/hovercard" href="https://github.com/nativelibs4java/bazel/commit/867d16eab3bfabae070567ecd878c291978ff338"><tt>867d16e</tt></a>:<br> Allow ' ', '(', ')' and '$' in labels</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985/hovercard" href="https://github.com/nativelibs4java/bazel/commit/7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985"><tt>7b295d3</tt></a>:<br> Pass through -sourcepath to the JavaBuilder</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4/hovercard" href="https://github.com/nativelibs4java/bazel/commit/14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4"><tt>14e4755</tt></a>:<br> PathFragment comparisons are now platform-aware</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/ed7795234ca7ccd2567007f2c502f853cd947e50/hovercard" href="https://github.com/nativelibs4java/bazel/commit/ed7795234ca7ccd2567007f2c502f853cd947e50"><tt>ed77952</tt></a>:<br> Flag to import external repositories in python import path</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/81ae08bbc13f5f4a04f18caae339ca77ae2699c1/hovercard" href="https://github.com/nativelibs4java/bazel/commit/81ae08bbc13f5f4a04f18caae339ca77ae2699c1"><tt>81ae08b</tt></a>:<br> Suppress error for non-exhaustive switches</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/e8d1177eef9a9798d2b971630b8cea59471eec33/hovercard" href="https://github.com/nativelibs4java/bazel/commit/e8d1177eef9a9798d2b971630b8cea59471eec33"><tt>e8d1177</tt></a>:<br> Correctly returns null if an environment variables is missing</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/869d52f145c077e3499b88df752cebc60af51d66/hovercard" href="https://github.com/nativelibs4java/bazel/commit/869d52f145c077e3499b88df752cebc60af51d66"><tt>869d52f</tt></a>:<br> Fix NPE in Android{S,N}dkRepositoryFunction.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/d72bc57b60b26245e64f5ccafe023a5ede81cc7f/hovercard" href="https://github.com/nativelibs4java/bazel/commit/d72bc57b60b26245e64f5ccafe023a5ede81cc7f"><tt>d72bc57</tt></a>:<br> Select the good guava jars for JDK7 build</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/92ecbaeaf6fa11dff161254df38d743d48be8c61/hovercard" href="https://github.com/nativelibs4java/bazel/commit/92ecbaeaf6fa11dff161254df38d743d48be8c61"><tt>92ecbae</tt></a>:<br> Windows: Assist JNI builds with a target for jni_md.h.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/36958806f2cd38dc51e64cd7bcc557bd143bbdb6/hovercard" href="https://github.com/nativelibs4java/bazel/commit/36958806f2cd38dc51e64cd7bcc557bd143bbdb6"><tt>3695880</tt></a>:<br> Add java_common.create_provider to allow creating a<br> java_common.provider</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/8c00f398d7be863c4f502bde3f5d282b1e18f504/hovercard" href="https://github.com/nativelibs4java/bazel/commit/8c00f398d7be863c4f502bde3f5d282b1e18f504"><tt>8c00f39</tt></a>:<br> Improve handling of unknown NDK revisions in<br> android_ndk_repository.</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/nativelibs4java/bazel/commit/b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d/hovercard" href="https://github.com/nativelibs4java/bazel/commit/b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d"><tt>b6ea0d3</tt></a>:<br> Add the appropriate cxx_builtin_include_directory entries for<br> clang to the Android NDK crosstool created by<br> android_ndk_repository.</li> </ul> <p>Incompatible changes:</p> <ul> <li>Depsets (former sets) are converted to strings as "depset(...)"<br> instead of<br> "set(...)".</li> <li>Using --symlink_prefix is now applied to the output<br> symlink (e.g. bazel-out) and the exec root symlink (e.g.<br> bazel-workspace).</li> <li>Bazel now uses the test's PATH for commands specified as<br> --run_under; this can affect users who explicitly set PATH to<br> a more<br> restrictive value than the default, which is to forward the<br> local PATH</li> <li>It's not allowed anymore to compare objects of different types<br> (i.e. a string to an integer) and objects for which comparison<br> rules are not<br> defined (i.e. a dict to another dict) using order operators.</li> </ul> <p>New features:</p> <ul> <li>environ parameter to the repository_rule function let<br> defines a list of environment variables for which a change of<br> value<br> will trigger a repository refetching.</li> </ul> <p>Important changes:</p> <ul> <li>android_ndk_repository now supports Android NDK R13.</li> <li>Android resource shrinking is now available for android_binary<br> rules. To enable, set the attribute 'shrink_resources = 1'. See<br> <a href="https://bazel.build/versions/master/docs/be/android.html#android_b" rel="nofollow">https://bazel.build/versions/master/docs/be/android.html#android_b</a><br> inary.shrink_resources.</li> <li>resolve_command/action's input_manifest return/parameter is now<br> list</li> <li>For increased compatibility with environments where UTS<br> namespaces are not available, the Linux sandbox no longer hides<br> the hostname of the local machine by default. Use<br> --sandbox_fake_hostname to re-enable this feature.</li> <li>proto_library: alias libraries produce empty files for descriptor<br> sets.</li> <li>Adds pkg_rpm rule for generating RPM packages.</li> <li>Allow CROSSTOOL files to have linker flags specific to static<br> shared libraries.</li> <li>Make it mandatory for Java test suites in bazel codebase, to<br> contain at least one test.</li> <li>Support for Java 8 lambdas, method references, type annotations<br> and repeated annotations in Android builds with<br> --experimental_desugar_for_android.</li> <li>Removed .xcodeproj automatic output from objc rules. It can still<br> be generated by requesting it explicitly on the command line.</li> <li>Flips --explicit_jre_deps flag on by default.</li> <li>Activate the "dbg", "fastbuild", and "opt" features in the objc<br> CROSSTOOL.</li> <li>Remove support for configuring JDKs with filegroups; use<br> java_runtime and java_runtime_suite instead</li> <li>android_ndk_repository api_level attribute is now optional. If not<br> specified, the highest api level in the ndk/platforms directory<br> is used.</li> </ul> a-googler