Skip to content

Tags: bazelbuild/bazelisk

Tags

v1.29.0

Toggle v1.29.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump github.com/hashicorp/go-version from 1.7.0 to 1.9.0 (#782)

Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](hashicorp/go-version@v1.7.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Weikert <fwe@google.com>

v1.28.1

Toggle v1.28.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix wrappers issues in Bazelisk 1.28.0 on Windows (#762)

* Rework wrappers probation order according to #761:
* probe tools/bazel.exe on Windows after platform-specific executables and before Windows-specific scripts
* probe tools/bazel on Windows with lowest priority (for backward compatibility only)

Update core_test.go and README.md to reflect the changes.

* Bazel 8.4.2 is absent on https://downloads.sourceforge.net/project/bazel.mirror, use Bazel 8.5.1 instead in the test `test_path_is_consistent_regardless_of_base_url` from bazelisk_test.sh

v1.28.0

Toggle v1.28.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Report a proper exit code when Bazel is terminated by signal and use …

…`exec` on Unix in the case of `bazelisk run` (#757)

* Better handle Bazel process termination caused by signals on POSIX-compatible systems

* Use `exec` for running bazel on Unix instead of starting it as a child process in the case of `run` command

Fixes #512 and #556

v1.27.0

Toggle v1.27.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump golang.org/x/term from 0.32.0 to 0.33.0 (#712)

Bumps [golang.org/x/term](https://github.com/golang/term) from 0.32.0 to 0.33.0.
- [Commits](golang/term@v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-version: 0.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v1.26.0

Toggle v1.26.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve --migrate feature (#678)

* Improve --migrate feature

* Improve --migrate feature

v1.25.0

Toggle v1.25.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Print Bazelisk version when startup flags are set. (#646)

When invoking Bazelisk with the `version` command, the output should always start with the Bazelisk version followed by the output of `bazel version`.
However, previously this was not the case when startup flags were set,
e.g. when calling `bazelisk --nosystem_rc version`.

v1.24.1

Toggle v1.24.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Avoid unnecessary HTTP requests for latest/last_rc (#641)

* Avoid unnecessary HTTP requests for latest/last_rc

The refactoring in #631 introduced a severe performance regression: With latest and last_rc the code traversed *all* GCS buckets for *every* existing Bazel version.
Since we send one HTTP request per bucket, this behavior led to a significant increase in HTTP requests ( >140 instead of 2-3 requests).

This commit restores the previous, correct behavior: Traversal will be stopped as soon as a matching version has been found.

Moreover, this commit adds a test to prevent similar regressions in the future.

Fixes #640

Drive-by fix: Replaced \"%s\" with %q.

* Apply minimal indentation principle

v1.24.0

Toggle v1.24.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement wildcard version identifier "N.*" (#636)

* Implement wildcard version identifier "N.*"

Unlike the floating version identifier "N.x", "N.*" can also return release candidates.

Fixes #630

* Fix inconsistent test name

v1.23.0

Toggle v1.23.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: improve httputil error messages (#624)

* add attempt count to the timeout error message so it's clear the
  timeout is due to the total time accumulated during retries.

* add lastFailure to the timeout error message so we can get a clear
  reason for the retries (or, at the very least, the last retry).
  Otherwise, the error message obscures the real reason(s) for the
  retries and potentially misleads users into thinking that the errors
  could be e.g. network related (more typical of a timeout) rather than
  other types of errors (e.g. "tls: failed to verify certificate", etc.)

v1.22.1

Toggle v1.22.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix races on temporary file copies (#616)

* Fix races on temporary file copies

* Appease Windows

* Fix ordering