Repository navigation
aube 1.35.0 - #295824
Merged
Merged
aube 1.35.0#295824
Conversation
chenrui333
approved these changes
Jul 29, 2026
Contributor
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created by
brew bumpCreated with
brew bump-formula-pr.Details
release notes
aube add— new packages are quarantined for 30 days and requested names are challenged against a top-100,000 npm corpus for close lookalikes, with interactive "did you mean?" prompts and fail-closed behavior in CI (#1157).globalVirtualStoreDirsetting plus fixes to the long-brokencacheDirlet you relocate the global virtual store onto a fast volume without moving all your metadata caches (#1146).aube::embedfacade so embedders can supply their own UI and repo-scoped boundaries (#1154, #1168, #1169).Added
Block new and lookalike package names on
add(#1157 by @jdx) — Two supply-chain reputation gates now run on public npmjs names, alongside the existing OSV and low-download checks. AminimumPackageAgesetting (default 30 days) quarantines newly registered names by checking npmtime.created, raising the cost of registering a plausible AI-hallucinated name right before use. A second gate compares the requested name against an embedded, download-ranked top-100,000 npm corpus using bounded Damerau–Levenshtein distance, with scope-aware rules (basenames compared within a scope, full names across scopes). Interactive sessions get "did you mean?" / new-name confirmations; non-interactive contexts fail closed withERR_AUBE_SIMILAR_PACKAGE_NAME,ERR_AUBE_NEW_PACKAGE_NAME, orERR_AUBE_PACKAGE_AGE_CHECK_FAILED.--allow-low-downloadsnow bypasses all three reputation gates andallowedUnpopularPackagesexempts a name from the similar-name, age, and download checks.# disable the age quarantine for a run AUBE_MINIMUM_PACKAGE_AGE=0 aube add some-fresh-packageaube trust check <package>@<version>(#1144 by @jdx) — Inspect a specific package version's publishing trust status without installing it, with human-readable and JSON reports.--ignore-default-excludesenforces the underlying no-downgrade policy directly. The built-in Hono exception is now scoped to@hono/node-server@1.19.15(trusted publishing resumed in 1.19.17) so it no longer disables protection for future versions.Relocate the global virtual store independently (#1146 by @jdx) — A new
globalVirtualStoreDirsetting moves only the virtual store tree (the part that must sit on thestoreDirvolume for hardlinks), leaving packument/metadata caches where they are. It's available via env,.npmrc, andaube-workspace.yaml, and wins overcacheDirwhen both are set.aube doctorgained aglobal-virtual-storeline, itsstoreline now honorsstoreDir, and cross-volume fallbacks carry aWARN_AUBE_GVS_CROSS_VOLUMEcode.Route embedded confirmations through host handlers (#1154 by @jdx) — Embedding hosts can attach a structured, async
InstallPromptHandlerso aube confirmations (such as low-download warnings) render through the host's own UI instead of reading process stdin. Prompt waits honor the existing install cancellation token, and a missing handler fails closed. Standalone aube keeps its interactive terminal prompts.Configurable workspace discovery for embedders (#1169 by @jdx) —
aube::embednow exposesis_workspace_project_rootanddiscover_workspace_packages, plus an opt-inConfinedToRootboundary that rejects parent-relative/absolute globs and out-of-root symlinks for repository-scoped hosts. Discovery now expands brace alternates (e.g.{apps,packages}/*) in positive and negative patterns and treats an on-disk workspace YAML as authoritative even when its package list is empty. The default remains pnpm-compatible, still allowing../**.Expose package manifest types from
aube::embed(#1168 by @jdx) —PackageJson,Workspaces, andManifestErrorare re-exported from the stable embedding facade so hosts get aube's tolerant real-world manifest parsing without depending onaube-manifestdirectly or duplicating schemas.Fixed
aube exec, the local-bin fallback ofaube run, and non-shellaube dlxnow decode aube-generated POSIX/cmd wrappers, resolve the real target, and launch recognized native binaries (ELF, Mach-O, FAT/FAT64, validated PE, and Windows command suffixes) directly while preserving the wrapper environment,NODE_PATH, arguments, and Unixargv[0]. JavaScript and interpreter-backed bins are unchanged.update --latest(#1166 by @jdx) — Selecting acatalog:dependency in the interactive upgrade picker previously did nothing: resolution reused the unchanged catalog range and reported it as already latest. Catalog entries are now resolved through the registrylatesttag and written back to the highest-precedence source (aube-workspace.yaml,pnpm-workspace.yaml, orpackage.jsoncatalogs), preserving membercatalog:references, range prefixes, and YAML comments.--no-saveleaves on-disk ranges untouched while still refreshing lockfile resolutions.clean(#1163 by @jdx) —aube clean/purgeno longer wipes the wholenode_modules/tree. It now removes only install-managed content (top-level packages plus aube/pnpm-owned hidden entries like.bin,.aube,.pnpm) and leaves unrecognized dotdirs such as Vite's.vite/and.vite-temp/in place, matching pnpm. Symlinked/junctioned module directories are still removed wholesale without walking the target.supportedArchitecturesconfigured, any command that re-resolved the graph could strip optional packages for other platforms out ofpnpm-lock.yaml,aube-lock.yaml,bun.lock, or npm lockfiles, silently making a committed lockfile unusable elsewhere. Portable lockfiles now always resolve every platform variant, while fetch/link still honor the configured architectures so foreign packages stay out ofnode_modules.--lockfile-onlyonaube list(#1161 by @jdx) — pnpm addedlist --lockfile-onlyin v10.23.0 and CI scripts use it, but clap rejected the flag before the command could run. It's now accepted (including thela/llaliases) as a compatibility no-op, since list already reads exclusively from the canonical lockfile and needs nonode_modules.allowBuilds.npmrcvalues (#1159 by @jdx) —allowBuildswas incorrectly advertised as an.npmrcsource, so a user-level.npmrcallowlist appeared inconfig get/config list/config explainwhile install (which reads it only from workspace YAML and the manifest) safely ignored it. Config inspection now filters.npmrcrows to settings that actually declare that source; free-form unknown keys still round-trip.add_to_projectnever reads aube's stdin for confirmation.New Contributors
Full Changelog: aubepkg/aube@v1.34.0...v1.35.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.
View the full release notes at https://github.com/jdx/aube/releases/tag/v1.35.0.