aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/blog
diff options
context:
space:
mode:
authorGravatar steren <steren@google.com>2017-05-29 11:10:48 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-05-29 14:08:44 +0200
commit43170513a406405322cc0606dcbf82ed942ae480 (patch)
treea522b7fccd67d2a059f291bd479d70ffa442df6c /site/blog
parentbf6ef0f6051e7c8d9e87c42dd55b8a3a36044a78 (diff)
Replace list of changes in 0.5 announcement by a link to GitHub release page.
In previous annoucenment, we did not copy the full list of changes in the blog post: https://bazel.build/blog/2016/11/02/0.4.0-release.html Here they were copies because they were temporary added to the blog post draft, but should have ultimately be removed. RELNOTES: None PiperOrigin-RevId: 157378942
Diffstat (limited to 'site/blog')
-rw-r--r--site/blog/_posts/2017-05-26-Bazel-0-5-0-release.md150
1 files changed, 1 insertions, 149 deletions
diff --git a/site/blog/_posts/2017-05-26-Bazel-0-5-0-release.md b/site/blog/_posts/2017-05-26-Bazel-0-5-0-release.md
index 6bd934d675..8b01088477 100644
--- a/site/blog/_posts/2017-05-26-Bazel-0-5-0-release.md
+++ b/site/blog/_posts/2017-05-26-Bazel-0-5-0-release.md
@@ -113,152 +113,4 @@ Thank you all, keep the
[questions](http://stackoverflow.com/questions/tagged/bazel) and [bug
reports](https://github.com/bazelbuild/bazel/issues) coming!
-\---
-
-## FULL RELEASE NOTES:
-
-### Incompatible changes:
-
-- Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
- instead the existing /tmp is mounted read-write. If you prefer
- to have a tmpfs on /tmp for sandboxed actions for increased
- hermeticity, please use the flag --sandbox\_tmpfs\_path=/tmp.
-- Converting artifacts to strings and printing them now return
- "File" instead of "Artifact" to be consistent with the type name.
-- The return type of depset.to\_list() is now a list rather than a
- frozen list. (Modifying the list has no effect on the depset.)
-- Bazel now prints logs in single lines to java.log
-- --use\_dash, --dash\_url and --dash\_secret are removed.
-- Remote repositories must define any remote repositories they
- themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
- defined
- in @x's WORKSPACE file).
-- Remote repositories must define any remote repositories they
- themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
- defined
- in @x's WORKSPACE file).
-- objc\_xcodeproj has been removed, use tulsi.bazel.build instead.
-
-### New features:
-
-- If grte\_top is a label, it can now follow non-configurable
- redirects.
-- Optional coverage\_files attribute to cc\_toolchain
-- "query --output=build" now includes select()s
-- Raw LLVM profiles are now supported.
-
-### Important changes:
-
-- Automatically generate Proguard mapping when resource shrinking
- and Proguard are enabled.
-- New rules in Bazel: proto\_library, java\_lite\_proto\_library,
- java\_proto\_library and cc\_proto\_library
-- Activate the "dead\_strip" feature if objc binary stripping is
- enabled.
-- More stable naming scheme for lambda classes in desugared android
- code
-- Convert --use\_action\_cache to a regular option
-- Per-architecture dSYM binaries are now propagated by
- apple\_binary's AppleDebugOutputsProvider.
-- Avoid factory methods when desugaring stateless lambdas for
- Android
-- desugar calls to Objects.requireNonNull(Object o) with
- o.getClass() for android
-- Add an --copy\_bridges\_from\_classpath argument to android
- desugaring tool
-- Change how desugar finds desugared classes to have it working on
- Windows
-- Evaluation of commands on TargetsBelowDirectory patterns
- (e.g. //foo/...) matching packages that fail to load now report
- more
- detailed error messages in keep\_going mode.
-- Allow to have several inputs and outputs
-- Repository context's execute() function can print stdout/stderr
- while running. To enable, pass quiet=False.
-- Bazel can now be built with a bundled version of the OpenJDK.
- This makes it possible to use Bazel on systems without a JDK, or
- where
- the installed JDK is too old.
-- The --jobs flag now defaults to "auto", which causes Bazel to
- use a reasonable degree of parallelism based on the local
- machine's
- capacity.
-- Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
-- no factory methods generated for lambda expressions on android
-- The Linux sandbox no longer changes the user to 'nobody' by
- default, instead the current user is used as is. The old behavior
- can be
- restored via the --sandbox\_fake\_username flag.
-- /tmp and /dev/shm are now writable by default inside the
- Linux sandbox.
-- Bazel can now use the process-wrapper + symlink tree based
- sandbox implementation in FreeBSD.
-- turn on --experimental\_incremental\_dexing\_error\_on\_missed\_jars by
- default.
-- All android\_binarys are now signed with both Apk Signature V1 and
- V2. See https://source.android.com/security/apksigning/v2.html
- for more details.
-- Windows MSVC wrappers: Not filtering warning messages anymore,
- use --copt=-w and --host\_copt=-w to suppress them.
-- A downloader bug was fixed that prevented RFC 7233 Range
- connection resumes from working with certain HTTP servers
-- Introduces experimental android\_device rule for configuring and
- launching Android emulators.
-- For boolean flags, setting them to false using --no\_<flag\_name>
- is deprecated. Use --no<flag\_name> without the underscore, or
- --<flag\_name>=false instead.
-- Add --experimental\_android\_compress\_java\_resources flag to store
- java
- resources as compressed inside the APK.
-- Removed --experimental\_use\_jack\_for\_dexing and libname.jack
- output of
- android\_library.
-- blaze canonicalize-flags now takes a --show\_warnings flag
-- Changing --invocation\_policy will no longer force a server
- restart.
-- Bazel now supports Android NDK14.
-- android\_binary multidex should now work without additional flags.
-- Use action\_config in crosstool for static library archiving,
- remove ar\_flag.
-- new option for bazel canonicalize-flags, --canonicalize\_policy
-- Use action\_config in crosstool for static library archiving,
- remove ar\_flag.
-- android\_library exports\_manifest now defaults to True.
-- Fix select condition intersections.
-- Adds a --override\_repository option that takes a repository
- name and path. This forces Bazel to use the directory at that path
- for the repository. Example usage:
- `--override_repository=foo=/home/user/gitroot/foo`.
-- fix idempotency issue with desugaring lambdas in interface
- initializers for android
-- --experimental\_android\_use\_singlejar\_for\_multidex is now a no-op
- and will eventually be removed.
-- Every local\_repository now requires a WORKSPACE file.
-- Remove jack and jill attributes of the android\_sdk rule.
-- Add Skylark stubs needed to remove sysroot from CppConfiguration.
-- Desugar try-with-resources so that this language feature is
- available
- to deveces with API level under 19.
-- The flag --worker\_max\_retries was removed. The
- WorkerSpawnStrategy no longer retries execution of failed Spawns,
- the reason being that this just masks compiler bugs and isn't
- done for any other execution strategy either.
-- Bazel will no longer gracefully restart workers that crashed /
- quit, instead this triggers a build failure.
-- All java resources are now compressed in android\_binary APKs by
- default.
-- All java resources are now compressed in android\_binary APKs by
- default.
-- android\_ndk\_repository now creates a cc\_library
- (@androidndk//:cpufeatures) for the cpufeatures library that is
- bundled in the Android NDK. See
- https://developer.android.com/ndk/guides/cpu-features.html for
- more details.
-- 'output\_groups' and 'instrumented\_files' cannot be specified in
- DefaultInfo.
-- You can increase the CPU reservation for tests by adding a
- "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
- BUILD file. This can be used if tests would otherwise overwhelm
- your system if there's too much parallelism.
-- Deprecate use\_singlejar\_for\_proguard\_libraryjars and force
- behavior to always on.
+See the full list of changes on [GitHub](https://github.com/bazelbuild/bazel/releases/tag/0.5.0).