What changed in each release, as a user notices it.
- With
VFOX_ELIXIR_MIRROR=hex, vfox checks the zip against the SHA-256 thatbuilds.txtpublishes for the build, before it unpacks the zip (Verifying checksum ...). Before, the plugin passed no checksum to vfox, so the install printedChecksum is not providedeven when the index had one. A build whose line inbuilds.txthas no SHA-256 still installs, with that warning. Ifbuilds.txtcannot be read, the install stops before the download (#44).
vfox link --detectno longer lists an installation whosebin/elixirhas no execute bit. vfox cannot link such an installation:vfox link --detect -yfailed on it and exited with status 1, even when the other installations were linked (#41).
- When a source build fails in
make, the message no longer prints an exit code. The number it printed was the value ofos.execute, which is not the exit status ofmake. The message now says thatmakestopped with an error and points to the output above (#37). - On Windows, when the official installer fails, the message no longer prints an exit code. The number it printed was the value of
os.execute, which is not the exit status of the installer. The message now says that the installer stopped with an error and points to the output above (#37).
- With
VFOX_ELIXIR_MIRROR=hex,vfox install elixir@latestno longer prints the hint aboutvfox search elixir hex. vfox calls the same hook forvfox search elixirand forlatest, so the hook cannot print the hint for the search alone, and the search no longer prints it either.vfox search elixir hexstill lists the hex.pm builds (#35). - With
VFOX_ELIXIR_MIRROR=hex, the warning about a name without an-otp-Nsuffix is printed after the build is downloaded, not before. A name that hex.pm does not have gets only the download error (#35).
- Linux and macOS: a source build stops before
makewhen the vfox home path holds a space or another character that the shell reads. Elixir's Makefile cannot build in such a path, and the build used to fail insidemake. The docs said that Elixir's installs handle a space in the vfox home on every platform; that was not true for source builds (#31). - With
VFOX_ELIXIR_MIRROR=hex,latestresolved to1.20-latest, which has no pre-built build, and the install failed on the download. The install now stops before the download and names a build to install instead (#27). vfox search elixir hexlists only the builds whose name has an OTP suffix, such as1.16.2-otp-26. A build without one, such as1.20.5, can refuse to run under another Erlang/OTP, so it is no longer listed (#28).- With
VFOX_ELIXIR_MIRROR=hex, the hint aboutvfox search elixir hexgoes to standard error, not into the version list (#29). - A version list that a server sends as plain text with status 200, such as
Error code: 404, is no longer listed or cached as versions. The search and the install stop with the same message as for an error page (#30). - The README said that the plugin manages the Erlang/OTP that each version needs. The plugin does not install Erlang/OTP, and the README now says so (#32).
- With
VFOX_ELIXIR_MIRROR=hex,vfox installprints the Erlang/OTP that a build needs. It warns when the name has no OTP suffix, because the build may then refuse to run under another Erlang/OTP (#28).
vfox link --detect elixirfinds the Elixir already installed by the system, asdf, mise, Homebrew, Scoop or the official installer, and links it instead of installing another copy. It needs vfox 1.1.0 or later. See link.md.- Documentation in English and Chinese: versions, platforms, Erlang/OTP, hex prebuilt packages, linking, troubleshooting, development and the E2E tests.
- Offline hook tests, and checks of the Lua, Go and Python code, of the license headers and of the workflow files.
- E2E tests for Linux, macOS and Windows, and a development container (
.devcontainer). - The repository's
opencode.jsoncadds allow rules forgit push,gh pr createandgh pr commentfor OpenCode sessions in this repository.
- Windows: an install failed when the vfox home path contains a space, because the installer path was not quoted.
- Windows: a release candidate such as
1.19.0-rc.2-elixir-otp-28downloaded from a wrong address. - Windows: the installer ran from a fixed relative path inside the plugin directory. It now runs against the install directory that vfox provides.
- Windows: a failed installer run reported
Erlang/OTP install failed. The message now says Elixir. - Windows: the installer file was left in the plugin directory after the install. It is now removed after the installer runs.
- Windows: the installer command passed PowerShell-only options (
-Wait -PassThru) to the installer. They are removed. - Linux and macOS: a source build failed when the install path contains a space, or ran
makein the wrong directory and reported success (#20). - A network failure while the version list was fetched crashed the plugin. It now reports the error. An error page or an empty answer from the server was listed as versions and cached; the plugin now stops with the status or a message instead (#22).
- The version-list script of the update workflow exited successfully when the GitHub API failed, which kept stale data. It now fails.
- The update workflow set a malformed git user name (
github-actions[bot]written twice). - Removed code that could never run: a check against a variable that vfox does not set, and an unused helper function.
- The plugin description shown by
vfox addsaid "Uinx-like"; it now says "Unix-like". - The website's and the docs'
vfox execexamples ranelixirwithout Erlang/OTP, which failed withexec: erl: not found. They name Erlang/OTP now (#24).
- Windows:
VFOX_ELIXIR_MIRROR=hexstops with an error that Windows is not supported, before anything is downloaded. Before, the plugin tried to download the installer and failed. - Windows: a version name that does not end in
-elixir-otp-<N>is refused before anything is downloaded, with a hint to runvfox search elixir. vfox usefor a version that is not installed reportsis not installed. Before, it stopped with a Lua error (#21).- A name without an OTP suffix selects the installed build with the highest OTP number.
vfox use elixir@1.16.2selects1.16.2-otp-26over1.16.2-otp-25, andvfox use elixir@mainselectsmain-otp-26when it is installed. - Source builds look for
erlcin vfox's own Erlang cache too, and report what to install when noerlcis found (#23). vfox search elixir hexlists the hex.pm builds.VFOX_ELIXIR_MIRRORno longer changes the search list, only the install: vfox keeps each search result by its argument, so the hex.pm builds and the releases no longer show for each other (#22).