Skip to content

v1.1.0: Faster cold installs, Windows fixes, and lifecycle hooks

Choose a tag to compare

@jdx jdx released this 24 Apr 17:58
· 1409 commits to main since this release
Immutable release. Only release title and notes can be modified.
3466eab

A point release focused on cold-install speed, Windows correctness, and lifecycle-hook parity with pnpm.

Highlights

  • Faster cold installs. aube-store was calling sync_all() on every content-addressed file during tarball import — ~33k fsyncs on a cold Babylon install. CAS entries now persist via no-clobber sibling-temp-file rename, and the linker's per-package .aube-initialized sentinels (each an atomic fsynced write) are gone. On the hermetic benchmark, cold GVS installs land at 1.35s vs pnpm's 1.58s. (#267)
  • Registry + parser perf wave. reqwest now negotiates brotli and zstd, flate2 switched to zlib-ng (2–3× faster gzip decode than miniz_oxide), every hot JSON path (packuments, lockfiles, tarball package.json, store index) went through simd_json, and the HTTP/2 client now uses 16 MiB stream/connection windows with TCP keepalive. Resolver BFS visited set switched to FxHashSet<u64> to drop per-insert String::clone. (#254)
  • Warm-install state is split. .aube-state/ is now a directory holding a small fresh.json (hot-path freshness check) next to the heavier state.json, so warm/auto-install checks parse only what they need. Old file-shaped .aube-state gets migrated on first read. (#271, #266)
  • Warm path works in frozen mode. CI installs default to frozen, but a state-verified tree can still skip resolve/fetch/link. A second frozen install in CI now reports Already up to date. (#264)
  • Windows bin-shim path correctness. Two paths where \\?\ verbatim drive prefixes from std::fs::canonicalize leaked into shim .cmd files are fixed — both surfaced via mise's npm backend routing aube add -g for prettier on windows-latest. A new aube::dirs::canonicalize helper strips verbatim drive prefixes while preserving real \\?\UNC\… shares. (#243, #275)
  • pack / publish / version run lifecycle hooks. aube pack runs prepack → prepare → (archive) → postpack. aube publish runs prepublishOnly → prepublish → pack chain → (PUT) → publish → postpublish; --ignore-scripts is no longer a no-op. aube version runs preversion → version → postversion. Ordering mirrors pnpm so projects migrating don't silently skip build/test gates at publish time. (#262)
  • --frozen-lockfile handles catalog: in overrides. pnpm-workspace.yaml's overrides: { lodash: "catalog:" } no longer trips drift detection against the catalog-resolved value pnpm writes into the lockfile; importer-spec drift is also now override-aware. (#249)

Added

  • aube approve-builds -g and aube ignored-builds -g now scan and write across all global install directories. (#274)
  • Resolver, lockfile, and installer support pnpm's &path:/<sub> git dep selector — two deps from the same repo+commit but different subdirs get distinct dep_path hashes. (#273)

Fixed

  • aube publish --json now reports the post-hook name/version so tarball metadata and user-facing output agree when prepublishOnly mutates package.json. (#272)
  • Root and workspace-member self-bin entries always write a POSIX shim instead of a symlink, so actions/upload-artifact + download-artifact round-trips (which strip the exec bit) don't break node_modules/.bin/<self> on the next CI stage. (#259)

Changed

  • aube-util absorbs the package-spec classifiers (is_workspace_spec, is_catalog_spec, split_name_spec, …) and xdg_{config,data,cache}_home helpers; callers across resolver, registry, store, and commands now share one implementation. (#254)
  • Shared helpers + migration of hardcoded sites across the workspace. (#245)

Full Changelog: v1.0.0...v1.1.0

💚 Sponsor aube

aube is part of en.dev — an independent developer-tooling studio run by @jdx, also behind mise. Work on aube is funded entirely by sponsors. If aube is saving your team time, please consider sponsoring at en.dev.