chore(deps): update aube to 2.11.0
| Package | Change | Type | File |
|---|---|---|---|
| aube | 2.9.0 → 2.11.0 | minor | crates/tools/src/lockfiles/defaults.tomltasks.toml |
Release notes · 2.9.0 → 2.11.0 (2 releases)
2.11.0
aube can now read and write pnpm's experimental lockfileVersion: '13.0' lockfile, so it can share a v13 lockfile with pnpm. This release also fixes git and remote-tarball dependencies (peer linking and prepare scripts) and Windows .cmd bin shims.
Added
- pnpm v13 lockfile support (#1977, #1979, @jdx): pnpm 12.19 added an experimental lockfile format, which a project turns on in
pnpm-workspace.yaml. aube can now read v13 lockfiles in both JSON and YAML form and can write them. The output matches pnpm 12.21 byte for byte. Before, aube failed on these lockfiles withinvalid type: map, expected a stringorimporter . is missing, or it quietly rewrote them as version 9.# pnpm-workspace.yaml lockfile: format: v13- An existing
pnpm-lock.yamlkeeps its current format, v9 or v13. The newlockfile.formatsetting (v9orv13, alsoAUBE_LOCKFILE_FORMAT) overrides this when aube writes the lockfile. It also picks the format of a newpnpm-lock.yaml.aube-lock.yamlis always written at version 9. --frozen-lockfileaccepts either format. An install that changes nothing leaves the file untouched.- If aube can't write a graph at v13 without losing data, it stops with
ERR_AUBE_PNPM_LOCKFILE_V13_NOT_REPRESENTABLE(exit 17) and leaves the file unchanged. Setlockfile.format: v9to write version 9 instead. - pnpm still treats v13 as experimental, so the format may change.
- An existing
Changed
- pnpm lockfile version check (#1977, @jdx): aube now refuses a
pnpm-lock.yamlwhoselockfileVersionis not 9 or 13 and reportsERR_AUBE_UNSUPPORTED_PNPM_LOCKFILE_VERSION(exit 16). Before, it read any version 9 or higher as v9. - Lockfile write errors keep their error code (#1977, @jdx): when writing the lockfile fails during
install,addor a workspace install, aube now reports the specificERR_AUBE_*code, help text and exit code. Before, these errors exited with code 1.
Fixed
- Peer dependencies of git and remote-tarball deps (#1983, @jdx): aube now links the
peerDependenciesof packages installed from git or tarball URLs, as it already does for registry packages. Before, these peers were not linked. With the global virtual store, this could load two copies of a peer such asvite. The lockfile entry now has the usual(peer@version)suffix. preparefor git-hosted tarball deps (#1984, @jdx): GitHub, GitLab and Bitbucket dependencies that the lockfile records asgitHosted: truetarballs now run theirpreparescript, astype: gitentries already did. Before, a package that buildsdist/inpreparewas installed without it.--ignore-scriptsstill skips the script.- Windows
.cmdbin shims (#1986, @jdx): a shim started by a quoted name found throughPATH, such ascmd /d /s /c ""npm" -v", now finds its target. Before, it looked in the current folder and failed withCannot find module. aube still recognizes shims written by earlier versions and replaces them with the new form the next time it rewrites them.
Security
- Updated the Rust
urlcrate to 2.5.9 to address RUSTSEC-2026-0592 (#1988, @jdx).
Full Changelog: https://github.com/aubepkg/aube/compare/v2.10.1...v2.11.0
💚 Sponsor aube
aube is built and maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.
If aube saves your team install time or CI minutes, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep aube fast, free, and independent.
2.10.1
v2.10.1 fixes several workspace bugs in aube update, aube remove, aube audit and aube sbom, closes more pnpm compatibility gaps, and makes network access more reliable on VPN/split-DNS setups and unstable connections.
Changed
- Smaller, faster store compression on APFS (#1930, @jdalton): on macOS, aube now tries LZFSE before LZVN and compresses blocks in parallel. On three ARM64 native addons (Oxlint, Rolldown, Lightning CSS), this used 5% less disk space, compressed 23% faster, and used up to 6.4 MB less memory. Decoding of zstd-packed napi addons is now bounded. File contents and store keys do not change.
- System CA store is authoritative (#1932, @jdx): aube no longer adds its bundled Mozilla root certificates on top of the OS trust store. A CA that an OS update or enterprise policy removes is now also distrusted by aube. On Linux and other Unix systems, aube uses the bundled roots only when it cannot load any system roots, for example in a minimal container without
ca-certificates. It then printsWARN_AUBE_BUNDLED_ROOTS_FALLBACK.SSL_CERT_FILE,SSL_CERT_DIR,NODE_EXTRA_CA_CERTS,cafileandcawork as before.
Fixed
Workspaces
aube removewith a shared lockfile (#1952, @jdx): removals now go through the workspace install. Before, removing a dependency from a member with aworkspace:dependency failed withno version of lib matches range workspace:*afterpackage.jsonhad already been rewritten. Removing from other members wrote a stray member lockfile, and removing a root dependency re-resolved every member's locked versions.workspace:links afteraube update(#1969, @jdx, with @ruandre): a member'sworkspace:dependency was written relative to the workspace root, which left itsnode_modulessymlink broken. The path also grew longer with each update. This affected bothaube-lock.yamlandpnpm-lock.yaml. To repair a lockfile that an earlier version already broke, runaube install --fix-lockfile.- Optional peer bindings in the lockfile (#1941, #1970, @jdx, with @ruandre): an unrelated
aube add(a regression in 2.10.0) oraube update --no-save <pkg>no longer drops locked optional-peer bindings. For example,fdir@6.5.0(picomatch@4.0.4)no longer turns into a barefdir@6.5.0. This also covers a peer that only a different workspace member provides. - Peers provided by
workspace:dependencies (#1954, @jdx): a registry package whose peer comes from aworkspace:*orworkspace:^dependency is now linked to that workspace package. Before, the install failed understrictPeerDependencies, orrequire()threwMODULE_NOT_FOUNDat runtime. aube now also reads pnpm lockfiles that record these peers aslink:.aube updatecan still drop this link in some cases. aube audit --fix=update(#1968, @jdx, with @ruandre): an advisory now stays reported, and the command exits 1, while a workspace member still uses the vulnerable version, even if the root uses a safe one.aube sbom(#1967, @jdx, with @ruandre): the SBOM now includes packages that only workspace members depend on, including with--exclude-peers.
Resolution and lockfiles
aube update <transitive-dep>(#1976, @jdx): updating a package that is only a transitive dependency now moves it to the newest version its parents' ranges allow. Before, the command printedUpdating: <name>but left the locked version unchanged.- pnpm
settings:header (#1953, @jdx): aube now writes thepnpm-lock.yamlsettings header from the current configuration. Before, it copied old values, which could makepnpm install --frozen-lockfilefail withERR_PNPM_LOCKFILE_CONFIG_MISMATCH. aube now writesaddMissingPeerTypes,dedupePeers,injectWorkspacePackagesandpeersSuffixMaxLengthwhere pnpm does. Withlockfile.includeResolutionSettings: true, it also writes the resolution settings. aube now recognizesaddMissingPeerTypes,injectWorkspacePackages,autoDedupeanddedupeInjectedDeps, but only records them in the lockfile for pnpm compatibility. Changing only these settings now refreshes the lockfile onaube install.aube-lock.yamloutput is unchanged. strictPeerDependenciesmatches pnpm (#1940, @jdx): a prerelease now satisfies a range that its base release satisfies, soreact@19.0.0-rc.1satisfies^19.0.0.peerDependencyRules.allowedVersionsnow acceptsparent@range>peerkeys, and a*value allows prereleases.peerDependencyRules: allowedVersions: use-sync-external-store@1>react: "19"- Patches with stripped trailing whitespace (#1939, @jdx): a
patchedDependenciespatch failed witherror applying hunkafter an editor or hook removed trailing whitespace from a context line. When an exact match fails, aube now uses pnpm's looser matching, which ignores trailing whitespace and searches up to 20 lines around the recorded position. Patches whose content really differs still fail. useDefaultTrustedDependenciesinpnpm-workspace.yaml(#1965, @jdx, with @ruandre): aube ignored this setting when it was in the workspace YAML. It is now read from there, as pnpm does. Use an unquoted YAML boolean.
trustPolicy=no-downgrade
- Staged publish to trusted publishing (#1957, @jdx): a version with a trusted publisher and provenance is no longer rejected as a downgrade from an earlier staged-publish release. Unlike pnpm, aube accepts this switch. Switching from staged publish to provenance only, or to no trust evidence, is still rejected.
- Vercel CLI (#1933, @shawnyeager): the default exclusions now cover the
@vercel/*packages in theverceldependency tree that publish without provenance. Releases before each cutoff version are still checked.
Commands and networking
aube execruns commands fromPATH(#1950, @jdx):aube exec node ...andaube exec bash ...no longer fail withbinary not foundwhen no project bin provides the command. Project bins still take precedence. This also applies to-r,--filterand--parallel.
The Count left some release notes out to keep this description short — read all releases.
Count Patchula opened this PR
The Count keeps watch over this repo. He works for free, but if you find him helpful, consider supporting his development.
- Re-check this PR now
- Add to the batch PR (closes this PR and moves the update there)