Skip to content

v1.32.0: Host-supplied node for embedded lifecycle scripts

Latest

Choose a tag to compare

@jdx jdx released this 22 Jul 01:37
Immutable release. Only release title and notes can be modified.
9f2f5f8

A small release that continues the library-embedding work from v1.30.0/v1.31.0, letting hosts embedding aube::embed::add tell aube which node to run dependency lifecycle scripts on. Standalone aube behavior is unchanged.

Added

  • Embedders can supply the node runtime for lifecycle scripts (#1079 by @jdx) — Hosts like mise that manage node as a dependency rather than on the process PATH can now point aube at the right binary. embed::InstallOptions and AddToProjectOptions gain a node_bin_dir: Option<PathBuf>; when set, aube seeds its per-install runtime slot with the host's node (prepending that dir to the script PATH and probing --version so engine checks match) instead of resolving its own runtime or falling back to an ambient node PATH lookup. This restores the behavior the old aube add --global subprocess path had for in-process embedders such as mise's npm: tool support. The runtime slot is a per-install tokio::task_local, so concurrent installs are safe, and leaving node_bin_dir unset (the default for all CLI, CI, deploy, and FFI paths) preserves normal runtime switching.

Full Changelog: v1.31.0...v1.32.0

💚 Sponsor aube

aube is maintained by @jdx, an open source developer for entire.io, the title sponsor of the jdx.dev open source tools including mise. Work on aube is funded by sponsors.

If aube is saving your team install time or CI minutes, please consider sponsoring at jdx.dev. Individual and company sponsorships are what keep the project fast, free, and independent.