Bazel

Bazel·Bazel.Bazel

a fast, scalable, multi-language and extensible build system

winget install --id Bazel.Bazel --exact --source winget

Latest 9.2.0·July 13, 2026

Release Notes

Release 9.2.0 (2026-07-13) Release Notes: Configurability:

  • The new refines_constraint_value attribute on constraint_setting can be used to indicate that any non-default value for that setting specified on a platform requires the refined value to also be specified. (#29727)
  • Bazel no longer crashes when a label_list_dict attribute is used in a split transition (#29830). (#29856)
  • Modifying environment variables no longer causes spurious reloading of packages in external repositories. (#30194) Core:
  • External repos are no longer refetched whenever they contribute inputs to an action using the hermetic Linux sandbox. (#29889)
  • Source directories in external repositories are temporarily allowed to cross package boundaries. This will be disallowed in the future, gated by the new --incompatible_check_external_repo_source_dir_package_boundary flag. (#30040)
  • Windows launcher stubs now embed an asInvoker UAC manifest, preventing "The requested operation requires elevation. (error: 740)" for targets whose name matches the installer-detection heuristic. (#30182) ExternalDeps:
  • Added SOCKS proxy support. Bazel now accepts socks://, socks4://, and socks5:// URLs in HTTPS_PROXY/HTTP_PROXY environment variables and related system properties. (#29364)
  • Adds the strip_components attribute to extract/download_and_extract/http_archive to allow stripping of path components when extracting files. (#29369)
  • Added the module_ctx.tag_sort_key(tag) method, which returns an opaque object for the given tag that can be compared to derive the order in which tags from different classes appear in the MODULE.bazel file. (#29484)
  • module_extension(...) now accepts a facts_version integer parameter. Bumping it invalidates the facts persisted in MODULE.bazel.lock for that extension, allowing extension authors to make breaking changes to the facts schema without risking misinterpretation by older code paths. (#29871)
  • The remote repo contents cache now correctly materializes chains of symlinks as action inputs, but no longer supports symlinks into the main repository. (#29959)
  • Fixed spurious "No such file" errors with the remote repo contents cache when a repo contains a symlink to a .bzl file. (#30037)
  • Fixed a crash with --experimental_remote_repo_contents_cache when running without a remote or disk cache. (#30060)
  • The remote repo contents cache no longer caches or restores repos with cross-repo symlinks, thus avoiding a large surface area for bugs. The effort to reenable this support is tracked by #30160. (#30190) OSS:
  • Fixed Bazel being unable to run a Windows executable whose path is too long to shorten under MAX_PATH, e.g. when 8dot3 short names are disabled (microsoft/Windows-Containers#507). (#29984) Performance:
  • Fixed a performance regression in Bazel 9 that causes RepoMappingManifest actions to consume a lot of CPU time. (#29807) Remote-Exec:
  • Enable TCP keepalive by default for gRPC connections with reasonable defaults (#29898)
  • Fixed repo content caching for non-gRPC cache backends. (#29869)
  • Fixed a spurious remote-execution failure with --experimental_output_paths=strip where a lost input in a tree artifact shared between actions could not be recovered by action rewinding. (#30193) Starlark-Integration:
  • create --incompatible_remove_ctx_android_fragment for Starlark Flags migration (#29884) Acknowledgements: This release contains contributions from many people at Google, as well as Alexey Tereshenkov, Ara Nguyen, Ashutosh0x, bazel.build machine account, Bryce Lampe, Chi Wang, Fabian Meumertzheim, Fredrik Medley, gaurav0107, Greg, Grzegorz Lukasik, Jacob Nowjack, Jasmine Tang, John Cater, JonathanPerry651, Keith Smiley, peakschris, Rgis Desgroppes, Richard Lavoie, Sarad, Son Luong Ngoc, Tamir Duberstein, Tyler French, vadim, Will Stranton, Xudong Yang, Xùdōng Yáng, Yonatan Goldschmidt. Notice: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers should always be redistributed along with the source code. Some versions of Bazel contain a bundled version of OpenJDK. The license of the bundled OpenJDK and other open-source components can be displayed by running the command bazel license. The vendor and version information of the bundled OpenJDK can be displayed by running the command bazel info java-runtime. The binaries and source-code of the bundled OpenJDK can be downloaded from our mirror server. Security: All our binaries are signed with our public key 3D5919B448457EE0.

Installer type: portable

x64—5FC2F2805B8C697A54732558576938D06BAB63AA0F9B6610CC01D2CAE0388705
arm64—A63EB0C625F7ED958BDC43CE583593D97E67C9CA1432DC6E463535C5AAE5FFD2

Details

Homepage
https://github.com/bazelbuild/bazel
License
Apache-2.0
Publisher
Bazel
Support
https://github.com/bazelbuild/bazel/issues

Tags

bazelbuildbuild-systemcorrectfastmulti-languagescalabletest

Older versions (25)

9.1.1
x64—65F3484025C95A9F93647FD6EDB84B19C15C67D5265D364F17843FD12C5D28FE
arm64—8A630C28F6C9A0CE2737035A27C7C908454F8FB057F573044F0588CFEEAD120B
9.1.0
x64—B457DCCD36A9BB9BE01326CC1D069A201BB50B4B94562A652AFB6F43C5148D42
arm64—5B84F5BB819A2D36499FFE71CC85401E3968B31943F8B0ABFE1B45ED52BC7054
9.0.2
x64—E45277210DA3FC1999E474EDCE5D9E73B37A6FDC0B78418880D9ADAD12276C4E
arm64—81DCE50FAF8D9060BF3C7B294704031A02306254F0DDF9854BA89B99F80F2010
9.0.1
x64—481DA3CC9EBF0DD58139B1875319D9C8A0169D14F4C590CE27629C593001E85E
arm64—6C28A907B2E185DDB4AD366F76746B9581192FB2AE8396AF641085D6BE44F28B
9.0.0
x64—463FAEE497DF2913854D80776784137CB47F42960B4EF4E4F85068C8DA4849A8
arm64—AB3DB0B1F129436180927BAA0F1F38E6D86A88FC9EE802572A76C9519A06F550
8.7.0
x64—29F1796F57379933340AFA135F02703FFA21DD30135754BEA695F8FD15103420
arm64—DE94507A266DA65F60C1067A77717DBF39C77FD20EA8FD0A5DE33D660E809F41
8.6.0
x64—461125DD78DD8C3C27EAF7CAACF1C28B3E14062E1A42765C865738209DC820D0
arm64—1A62B206C6B8BF8DA38F353E2C60C21941834BB46DD4073DE0BA6F9837A68D38
8.5.1
x64—9A601CB16C254B77A220A1FA04B520B87D2E4539AF26BE33837322CDCFABDB68
arm64—BE1A0262C6E2303C2EDE01945368C6B54EE3947060F2253E41C00937A2E16BC4
8.5.0
x64—4937970115A2117CFC7288C4776354EA80A666856DBA7C2D6FBA55DE3CD4BDF7
arm64—4A149C4CD9069036B77471B4B8B86DE79D9447AA916B84DC470D8A0EB3DE39C7
8.4.2
x64—17D2A181C8D9054495095456BA53E8DC36B9E35DAA30B462D22BB959475FD9CC
arm64—2B33DAAF3EAFEA82D1497A9188224054783E06DD71E91C5AD8D4D1E0D73DE0ED
8.4.1
x64—2DB62663B47EB90143932CD553F66840DC03DA8E7CE0A23A1302E63FDC234254
arm64—E547D311EE3B993AAFB1BF996DB6B8A4104DB6515C46CE9898154044DC695564
8.4.0
x64—23FAD3BD056C4BA13ECE505EEE41420D673AEF8B1C3841F15B37CA8A0C4D409F
arm64—E4BC2FDB4731FB2FC8BB02794FAF753BB4A4F3CDE2C233C93EAD7DDB0C75AC9E
8.3.1
x64—A3349D1D9E2327E03344C47244D4832AB14FC78142D050AA5599D85EE26B5F79
arm64—2667E1839206E113407930D60603DA1C83FB354F3214D22148CE6F122F5BA26E
8.3.0
x64—3378FECC272E3524E8CCA24CEA852BE28EB9EB9B4F602B7C95F560AF2A2DE7B4
arm64—29AA8D48C8D912113DF338A70D3B75EEF781D2F3BC6B1A52FAD8A52BA40FA8D3
8.2.1
x64—94D3463F990601C2561A2904C0622205C51E4BC100783C77D6D13E720A540CB8
arm64—446CD50E212F1464B08FA8AAF430C39E6DB65AA7CDD8D4A1AE9F37FF1F68DEA5
8.1.1
x64—095B026EDB1282A20FBF873E43EE9AEA43E0845A79C55A1ABD5B22BB165D74B4
8.1.0
x64—77AC76C4BB71947D73259BE60CFB3C83AC4BABB1625119B043EFFC61C945AC18
7.7.1
x64—6D9FB21E806CF4F4E61BFA2BC865DF4900FFDC1E9EA90CA1016BA70367EF0DE4
arm64—703ED39497EE3F054C0700439B65AA28C8B6E6F2C39624B52A5C648F9FE83105
7.7.0
x64—36F82B752D59948A9B839738D7C96F1BCCA384154619B3CDB041CABDBF105AE1
arm64—33FF045B25BFCCFDB060A320F71764BBB74B2D4D167ECBB9B7938E265C08E951
7.6.2
x64—AA0B459E5EE8C03B9271E3CA7FBDEB2482AF7A31CE883FC2CAC024493AE25A27
arm64—54DF0ADA22C8CA346CC72D14FA04FE028DDBA1043C9E4A14616788888CA37765
7.3.1
x64—ADF73D3264A9F96122FB6EF56E7BF1B5084EF795C9404C41D424474FA91B05C3
7.1.0
x64—F3E01EFFD7674364EF2D7539D5ECE6CD2F68D212EE94652623AE2405B53FEEAF
7.0.2
x64—63EA61E5DCDD3090FF0BCCB73C9293ED787705C6D46850DB24F9BD8281E1F687
6.6.0
x64—D3377DC5C01A9A8466AACE17B5730A4DF8BACF8C43A489F5DEE2E2A6BD3B1F13
arm64—5D293B187A91F647069A7717D2ADC8CBCC97D85CF009A618FCF103CD63ECFE19
6.2.1
x64—11C5007500897F376D29524233193CB36549EF5B3D7F24AD22743A47E938C0AB