Skip to content

chore(deps): update aube to 2.8.4 - #131

Closed
sweepies-ops[bot] wants to merge 1 commit into
mainfrom
patchula/aube-2.x
Closed

sweepies-ops[bot] wants to merge 1 commit into
mainfrom
patchula/aube-2.x

Conversation

@sweepies-ops

@sweepies-ops sweepies-ops Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor
Package Change Type File
aube 2.8.1 → 2.8.4 patch crates/update/src/lockfiles/defaults.toml
aube 2.8.1 → 2.8.4 patch tasks.toml

aube

Source · Compare changes

Release notes: 2.8.1 → 2.8.4 (3 releases)

2.8.4

Lockfiles that aube rewrites now pass npm ci, pnpm install --frozen-lockfile, Bun frozen installs and yarn install --immutable in many more cases. This release also fixes --lockfile-dir with workspaces, fixes how bins of link: and workspace dependencies are linked, and puts workspace root bins on PATH for member scripts.

Fixed
npm package-lock.json
  • npm ci no longer fails after an unrelated aube add (#1851, #1863): aube no longer drops or changes entries npm already wrote. It keeps auto-installed peer entries ("peer": true), hoisted required peers such as @emnapi/*, bundleDependencies and their nested placements, workspaces and engines on existing entries, and leftover nested optional entries. Before this fix, npm ci could fail with errors like Missing: @emnapi/[email protected] from lock file.
  • New entries match what npm writes: hasInstallScript is now recorded, so npm ci runs the package's install scripts (#1846). deprecated is written and kept on rewrite, and a scoped package's string bin uses the unscoped command name (#1858). libc is written only if the lockfile already uses it or packageManager is [email protected] or later, which stops churn for teams on older npm (#1874).
  • Workspace members with no dependencies are recorded (#1876): before this fix, aube reported "Already up to date" and npm ci failed with Missing: <member> from lock file. Member entries also now copy os/cpu from the member's package.json and omit name when it matches the folder name, as npm does.
  • Local dependencies: when a local package declares its own file: dependencies, aube now writes the declared spec instead of an internal file+<hash> key, so the next clean --frozen-lockfile install no longer fails (#1855). Absolute file: directory targets are written as root-relative keys with "link": true, which fixes an EUSAGE error from npm ci (#1853).
  • Lockfiles with entries outside node_modules can be read again (#1878): this covers a symlinked member's real path or an extraneous deleted member. Before this fix, aube failed with ERR_AUBE_LOCKFILE_PARSE ... could not determine package name. aube still drops these entries when it rewrites the lockfile.
pnpm pnpm-lock.yaml
  • pnpm metadata is kept on rewrite: aube now keeps the leading packageManagerDependencies/configDependencies document that pnpm 12 writes (#1842). It also keeps settings entries it doesn't model, such as peersSuffixMaxLength, and local tarball version, integrity and bundledDependencies (#1857). Bundled children of a local tarball are no longer resolved from the registry. Together these fix ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE and ERR_PNPM_LOCKFILE_CONFIG_MISMATCH errors after aube add.
  • Peer keys match pnpm, so pnpm and aube stop rewriting each other's lockfiles: peer suffixes now use the registry name of aliased providers, and an optional peer that is actually provided is included even when its version is out of range (#1849). Peer-cycle providers are written bare (#1859). A package's own declared peers are left out of its transitivePeerDependencies (#1860).
Bun bun.lock
  • When the root and a member need different versions of a peer provider, the member keeps its own version after a clean --frozen-lockfile install. For example, a member on React 19 no longer loads the root's React 18 (#1847).
  • Hoisted local tarballs whose paths are relative to the member that declares them now resolve from that member, not from the project root (#1844).
  • Folder identifiers for absolute file: directories inside the project are written relative to the lockfile (child@file:assets/child), which Bun's frozen install accepts (#1854).
Yarn Berry yarn.lock
  • Rewritten Yarn 4 lockfiles now pass yarn install --immutable (no more YN0028 error) (#1862). Block headers list only the descriptors that are actually requested, peerDependencies ranges are quoted only when YAML requires it, and optional dependencies keep their dependenciesMeta: optional: true flags.
Install, linking and scripts
  • --lockfile-dir works with workspaces (#1856): before this fix, a clean --frozen-lockfile install failed with lockfile already records importers from other projects, and a relocated package-lock.json or bun.lock was rejected. aube and pnpm lockfiles now record every importer relative to the lockfile directory, as pnpm does.
    • Upgrade note: the next normal install migrates relocated workspace lockfiles written by older aube versions. A --frozen-lockfile install that would need this migration fails and asks you to run aube install --no-frozen-lockfile once.
  • Workspace root bins are on PATH in member scripts (#1845): <root>/node_modules/.bin is now added after the member's own .bin, as pnpm does. This applies to aube run (including -r, --filter and --parallel), the test/start shortcuts and aube exec.
  • Bin changes in link: and workspace dependencies are picked up (#1839, @‍JamBalaya56562): before this fix, aube reported "Already up to date" and kept old commands in node_modules/.bin until --force. aube now checks bin and directories for changes, and a link: target that gains a package.json is linked on the next install.
  • A dependency's link: deps get their bins linked into its .bin (#1873, @‍JamBalaya56562): the dependency's lifecycle scripts can now call those commands.
  • file: dependencies:
    • A peer satisfied by a file: dependency now links to the directory aube actually creates, instead of a link that points nowhere. With the global virtual store, dependents of file: packages now stay in the project's virtual store instead of the shared one (#1850).
    • A file:-linked directory in a package-lock.json project can now require its own dependencies (#1848).
    • Absolute file:/link: children of local tarballs now resolve when block-exotic-subdeps=false (#1852).
Registry
  • No more false "0 downloads last week" warnings (#1881): if npm's downloads API returns a stats window that is more than 7 days old, aube treats the count as unknown. Before this fix, aube add flagged legitimate new packages as suspicious during npm's stats outage.

Full Changelog: aubepkg/aube@v2.8.3...v2.8.4

💚 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.8.3

aube now reads the npm global config file set by NPM_CONFIG_GLOBALCONFIG, so a registry and auth configured only there are used for installs, as npm does.

Fixed
  • NPM_CONFIG_GLOBALCONFIG is now read (#1818, @‍jdx): before this fix, if the internal registry was set only through NPM_CONFIG_GLOBALCONFIG, with no ~/.npmrc or NPM_CONFIG_USERCONFIG, aube ignored it and fetched packages from registry.npmjs.org. aube now reads the file that NPM_CONFIG_GLOBALCONFIG or npm_config_globalconfig points to, including registry, scoped registry and auth token settings.

    • As in npm, the global file has the lowest precedence. Project .npmrc overrides user config, and user config overrides the global file. npm_config_* environment variables override all of them.
    • If both casings are set, the upper-case variable wins. A leading ~ in the path is expanded.
    • aube reads the global file only when one of these variables is set. It does not look in npm's default $PREFIX/etc/npmrc location.
    # file pointed to by $NPM_CONFIG_GLOBALCONFIG
    registry=<your internal registry URL>
    //<your registry host>/:_authToken=...

Full Changelog: aubepkg/aube@v2.8.2...v2.8.3

💚 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.8.2

v2.8.2 brings aube's rewrites of Yarn Classic, npm and pnpm lockfiles closer to each tool's own output. It also stops large tarball downloads from failing after 5 minutes while data is still arriving, and fixes several install and resolution differences from pnpm.

Fixed
Lockfiles
  • Yarn Classic yarn.lock (#1802): re-resolving no longer rewrites every entry. aube now keeps resolved URLs, including the #sha1 fragment, and quotes keys only where Yarn does. Block headers list only the ranges that consumers declare, and blocks are sorted the way Yarn sorts them. As a result, bumping one dependency changes only that package's entries:
    -"[email protected]", "accepts@~1.3.8":
    +accepts@~1.3.8:
       version "1.3.8"
    +  resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e"

The Count left some release notes out to keep this description short; read them all.

  • Tick to re-check this PR on the next run.
  • Add to the batch PR. This one closes and the update moves there.

View guided diff Turn on auto-fix

@deepsource-io

deepsource-io Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 66b4e56...f3b7573 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Rust Oct 31, 2026 7:25a.m. Review ↗
JavaScript Oct 31, 2026 7:25a.m. Review ↗
Shell Oct 31, 2026 7:25a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Patchula: v1
Patchula-Branch: 01ffdbbc12eb9bcb3750f192201358277aa4875cc7b22f89101f78e72dc1a91a
Patchula-Base: 66b4e56
Patchula-Plan: 442244feb03e9b11bce3af4f2e27dda085e76b610655d4107a9894063374b211
@sweepies-ops
sweepies-ops Bot force-pushed the patchula/aube-2.x branch from e20a2a6 to f3b7573 Compare October 31, 2026 07:25
@sweepies-ops sweepies-ops Bot mentioned this pull request Oct 31, 2026
8 tasks
@sweepies-ops

sweepies-ops Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Moved to the batch PR #145. Tick this update's box there to bring it back.

@sweepies-ops sweepies-ops Bot closed this Oct 31, 2026
@sweepies-ops
sweepies-ops Bot deleted the patchula/aube-2.x branch October 31, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants