Releases: cashapp/hermit
Releases · cashapp/hermit
v0.44.7
fix: Improve error message when binaries are missing (#476) If the required binaries are missing it indicates there was a problem with the installation of the package being used. Updates the error messages so that it's clearer how the user can potentially remedy the situation.
v0.44.6
What's Changed
- chore(deps): update all non-major dependencies by @renovate in #469
- refactor: Refactor Hermit to support reporting different exit codes by @wsutina in #471
- perf(manifest): speed up ParseVersion by @nickajacks1 in #472
- fix: skipping activation when already activated should exit cleanly by @mpeyper in #474
New Contributors
Full Changelog: v0.44.5...v0.44.6
v0.44.5
v0.44.4
perf(exec): improve performance (#448) The previous attempt in 9a9737ec668f5aa01cb8a2b83d5832654d6e4997 (#433) had an invalid method of detecting when environment variables needed to be parsed, so it was reverted in cc90510721cc58923414ce1efd339b3e2ffb20b8 (#442). This attempt takes the approach of instead checking if the binary being executed is inside the currently activated environment. If not, then we load the environment variables of all packages in the exec'd binary's environment. It may be possible to get away with only parsing the package's dependencies, but I'm not confident that would correctly handle all present use cases.
v0.44.3
chore(deps): Update to kong@1.9.0 (#450) This pull request has 3 commits. Kong v0.9.0 has a couple of breaking changes for `hermit`, so: 1. The first commit updates from Kong 0.5.0 → 0.8.1 safely 2. The second commit updates to Kong 0.9.0 and sorts out the changes 3. The third commit updates from Kong 0.9.0 → 1.9.0 safely - [x] (Ideally I'd merge https://github.com/alecthomas/kong/pull/507 and then bump this to the next version) fixes #444
v0.44.2
fix: --prompt always overrode value from config (#445)
v0.44.1
fix: Revert "perf(exec): improve performance" (#442) ## 📝 Description In a nested environment, Hermit fails to set the correct environment for the target binary. For example, given the following directory structure: ``` repo-root/ ├── bin/ │ ├── java@17 │ ├── gradle ├── foo/ │ ├── bin/ │ │ ├── java@21 ``` When navigating to `repo-root/foo` and running `gradle`, Hermit installs Java 17 but sets `JAVA_HOME` to Java 21, resulting in the following error: ``` JAVA_HOME is set to an invalid directory: /root/.cache/hermit/pkg/openjdk@21 ``` This issue leads to unexpected failures in internal builds. ## Revert Reason This commit reverts cashapp/hermit#433 because it introduces a regression in environment resolution. Until a proper fix is found, reverting ensures stability for existing builds.
v0.44.0
What's Changed
- perf: speedup hermit exec by @nickajacks1 in #431
- install.sh: Support opting out of system install by @abhinav in #432
- perf(exec): improve performance by @nickajacks1 in #433
- chore: add integration test for missing activate-hermit.fish by @mightyguava in #428
Full Changelog: v0.43.0...v0.44.0
v0.43.0
Full Changelog: v0.42.1...v0.43.0
v0.42.1
chore: add trailing newline to activate-hermit.fish (#429) Because there are uses of `hermit init` in CI that then run opinionated precommit hooks on them 🤦