Skip to content

Latest commit

 

History

History
82 lines (71 loc) · 4.66 KB

changes.md

File metadata and controls

82 lines (71 loc) · 4.66 KB

Changes

中文 | English

What changed in each release, as a user notices it. GitHub's release pages list the releases.

0.1.3 (2026-11-10)

  • vfox link --detect gradle finds the Gradle installations vfox did not install and links what you confirm: SDKMAN!, Homebrew, mise and asdf candidates, system and manual installs (including Chocolatey, Scoop and WinGet on Windows), and the distributions a Gradle wrapper downloaded (finished ones only). Needs vfox 1.1.0 or later, which brings the Detect hook; older vfox ignores the hook file. See the README and development.md.
  • When another gradle shadows the one vfox selected, vfox 1.1.0 and later prints the plugin's hint with it: SDKMAN!, Homebrew, mise, asdf, Chocolatey, Scoop, WinGet, or a manual install, and how to get vfox first. Older vfox prints nothing here. See troubleshooting.md.
  • vfox use and vfox doctor warn when an install changed in place: the Fingerprint hook records the launcher jar after each install or link. Needs vfox 1.1.0 or later; older vfox ignores the hook file.
  • In a wrapper project directory, gradle follows the wrapper's distributionUrl when that release is installed (ParseLegacyFile; a version named in .vfox.toml wins). See versions.md.
  • The hook tests run on vfox 1.1.0: the Test Plugin workflow and the dev container pin 1.1.0, which brings the Detect and Fingerprint hooks. detect_test.lua and fingerprint_test.lua still pass on 1.0.13 by loading the hook file directly.

0.1.2 (2026-11-04)

  • VFOX_GRADLE_MIRRORS works with a value that ends in a slash, as the README wrote it. Release 0.1.1 asks for <mirror>//gradle-8.7-bin.zip, which a mirror on nginx takes for the same file and others answer 404. See mirror.md.
  • Huawei Cloud's mirror works. Release 0.1.1 leaves the download to vfox, which asks with the User-Agent of Go's HTTP client, Go-http-client/1.1, and Huawei Cloud answers that with a 403 and a page of HTML in place of the zip. vfox saves the page and the install ends in Checksum error. Now the download is made as vfox/<vfox version> vfox-gradle/<plugin version>, like the requests of the plugin itself. See mirror.md and vfox#746.
  • A .sha256 file that holds more than the digest alone works: the format of sha256sum (<digest> <file>), a newline after the digest, capitals. Release 0.1.1 gives vfox the text as it is, and vfox compares it as it is, so a good download ends in Checksum error. A 200 that holds no digest, such as the page of a portal, stops the install with no SHA-256 digest in <address>.
  • A mirror, or a firewall in front of one, that answers the request for the sum with something else than 200 or 404 stops the install with checksum request failed: HTTP <status> from <address>. Release 0.1.1 prints only no installable runtime provided. See troubleshooting.md.
  • A mirror that keeps no .sha256 files is verified against the sum of services.gradle.org. Release 0.1.1 asks only the mirror, so for such a mirror vfox prints WARNING: Checksum is not provided, skip verify... and trusts the download, whatever it is. Tencent Cloud's mirror is one: it has no .sha256 for any zip it added after 2023-02-22, 8.7 and 9.8.2 among them. Now the zip of the mirror has to be the one Gradle published, or the install ends in Checksum error. If services.gradle.org gives no sum either, such as on a network that blocks it, the install goes on with the warning as before. See mirror.md.
  • The notes printed by vfox add gradle and vfox info gradle say that Gradle needs a JDK and link to the README.

The rest is not in the plugin that vfox installs: the tests, the lint and license checks, a dev container, and the documentation in English and Chinese, which includes a page on Java toolchains.

0.1.1 (2024-04-01)

The description of the plugin, which vfox info gradle prints, reads "Gradle runtime environment." in place of "gradle". The rest is the release workflow.

0.1.0 (2024-03-27)

The first release. vfox search gradle lists the releases of gradle.org, vfox install downloads a release from services.gradle.org, or from the mirror that VFOX_GRADLE_MIRRORS names, and verifies its SHA-256 sum, and vfox use sets GRADLE_HOME and PATH.