aube 1.27.0 - #293151
Merged
Merged
Conversation
chenrui333
approved these changes
Jul 14, 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 access(#1012 by @jdx) — Manage registry package permissions from the CLI, modeled on npm and compatible with pnpm's forms. Subcommands coverget status,list packages/list collaborators,ls packages [entity](pnpm-compatible),set status=public|private,set mfa=none|publish|automation,grant <permission> <team> <package>, andrevoke <team> <package>. Requests use scoped-registry auth, honor--otpfor MFA-protected mutations, cap response bodies, and produce distinct errors (ERR_AUBE_ACCESS_ENTITY_NOT_FOUNDvs. plain 404). Supports--jsonfor scripting alongside the human-readable default.Git-repository build approvals (#1010 by @jdx) —
allowBuildsrules can now be keyed by a package plus a normalized Git repository URL (for example,native-addon@git+<https repo url>). The commit is intentionally omitted from the key so audited repositories can advance to new SHAs without re-approving each one. Exact per-source approvals and name-only registry approvals still work as before, and deny rules continue to win over allows. Repository rules are applied consistently across lifecycle execution, script jailing, ignored-build reporting, and install graph hashes.aube add --dangerously-allow-all-builds(#1016 by @risu729) — The broad build-approval flag was previously only accepted oninstall, soaube add --global <pkg> --dangerously-allow-all-builds(as used by mise) was rejected at parse time. The flag now works onadd, is forwarded through local, filtered, and global add paths into the shared install pipeline, and conflicts explicitly with--deny-build=<pkg>. The override is invocation-scoped — it does not persistdangerouslyAllowAllBuilds=trueto project config.Fixed
Redact inline registry credentials in publish output (#1009 by @jdx) — When a registry URL embeds credentials in the
user:secret@hostform, publish no longer echoes them raw. The "already published" error, the OIDC token-exchange failure wrapper, and the--dry-run"would PUT to …" line now pass URLs throughaube_util::url::redact_url. Dry-run output is centralized indry_run_outcome_line, with test coverage confirming scoped package targets redact inline auth while preserving the encoded path.Ignore stale pnpm patch entries after re-resolve (#1022 by @jdx, fixes #1019) — On a non-frozen install that had to re-resolve,
overlay_metadata_fromwas copyingpatchedDependenciesfrom the previouspnpm-lock.yaml, so removed or wrong-version patches were still being applied and written back. Fresh-resolve now replacesgraph.patched_dependencieswith the workspace's currentread_patched_dependencies, and the pnpm 11 hash-only scalar form is no longer misread as a file path. Bats coverage was added for both the pnpm 10 object form and the pnpm 11 hash-only form.Changed
Reentrant explicit-directory installs (#1026 by @jdx) — Removes the process-wide project-lock reentrancy flag that could let an install for project B skip its filesystem lock just because project A was already installing in the same process. Commands that chain into install (
add,remove,update, filtered add,ci,dedupe) now hold an explicitProjectLockguard and callinstall::run_with_project_lock. Dependency-chain diagnostics move from a global mutex to Tokio task-local state and propagate into spawned fetch and lifecycle tasks, so parallel installs no longer clobber each other's transitive error chains.configure_script_settingsalso only mutates global script config when scripts aren't disabled.Per-install runtime and script-settings isolation (#1027 by @jdx) — Building on #1026, Node runtime selection and lifecycle-script settings are now scoped to each explicit install via nested task-local scopes (
runtime,aube_scripts) instead of process-wide snapshots. Spawned fetch and dependency-lifecycle tasks inherit the owning install's context viascope_current. The install entry usesrun_scopedandBox::pinsrun_innerto avoid Tokio worker stack overflow when scopes stack, andaube runtime setnow re-readspackage.jsonand the lockfile-pinned runtime for its status line rather than trusting a possibly stale process cache. Non-install CLI commands continue to use the process-wide fallbacks. Together with #1026, this is prerequisite groundwork for concurrent embedded installs to drop their addon-wide serialization mutex.Refreshed benchmarks for v1.26.0 (#1002 by @jdx) —
benchmarks/results.jsonand the READMEBENCH_RATIOSblock regenerated on the hermetic Verdaccio registry against aube 1.26.0 and pnpm 11.10.0. Public ratios shift to ~3× Bun / ~6× pnpm on warm installs and ~3× Bun / ~28× pnpm on the repeatinstall && testcase.New Contributors
Full Changelog: jdx/aube@v1.26.0...v1.27.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.27.0.