published fresh until

Bun 1.4.4 and Deno 2.9.8: what must I test on upgrade?

Summary As of October 2026, audit Bun 1.4.4 install flags, Berry migration and glob matches; rebuild Deno 2.9.8 executables with intentional read permissions and retest certificate chains and package links (checked 2026-10-28).

Not for older Bun failures, see bun-eaddrinuse-frozen-lockfile-document-node-errors; Deno Deploy and lockfile errors, see deno-compile-deploy-import-node-lockfile-error-cluster

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Audit Bun’s install and glob behavior, and rebuild Deno executables with explicit permissions before promoting either runtime patch.

What changed

  • Bun 1.4.4, released 2026-10-22 (checked 2026-10-28), adds Berry lockfile migration, package-manager flag handling and extglob interpretation. Jarred Sumner’s release notes.
  • Deno 2.9.8, released 2026-10-21 (checked 2026-10-28), checks read permission for external dynamically loaded local modules in compiled executables, validates npm package link names and distrusts compromised eMudhra CAs. Official release.

How to migrate

1. Upgrade one runtime at a time in a branch or disposable build environment. Record the selected release from the official pages above. Preserve existing lockfiles and build inputs so a dependency change is distinguishable from a runtime change. 2. For Berry migration, use bun pm migrate first when preserving the existing dependency graph is mandatory. Bun’s install guide says this exits with an error if migration cannot preserve the pins; bun install instead falls back to resolving from package.json. Review the new bun.lock and any manifest edits before accepting them. Configure matching registry settings in .npmrc or bunfig.toml; do not assume Yarn settings transfer automatically. 3. Audit package-manager flags. Correct --frozen-lockfil to --frozen-lockfile; documented translations include --immutable to --frozen-lockfile and --save-dev to --dev. Known foreign flags with no equivalent can still be ignored, including their values. Unknown flags are errors. Use bun install --help to resolve ambiguity. 4. Compare expected file lists for every affected glob. For a literal parenthesis match, *(1).txt is now read as an extglob (zero or more 1), so write *[(]1).txt to match a literal parenthesis. Review workspace, package file and side-effect patterns as well as Bun.Glob; ordinary route-group parentheses are still literal. 5. Rebuild Deno executables after selecting the patched runtime. For disk-loaded plugins, specify permission at compile time. The documented flag is --allow-read; narrow it to the intended directory for your app. For files that should ship inside the artifact, use the documented --include <path> approach. These are different deployment choices, not interchangeable bypasses. Compile documentation, loader fix. 6. Recheck local and hoisted npm links against valid scoped/unscoped package names, following the link-validation change. Test TLS endpoints and repair affected certificate chains with the endpoint owner; do not disable verification to recover old behavior. CA distrust change.

What breaks

Diagnostic: error: bun install has no --frozen-lockfil flag.

This exact example is in Bun’s release notes. A previously ignored typo now stops CI, revealing that the intended lockfile protection was never active. Fix the spelling rather than removing the check.

Diagnostic: Requires read access

Deno’s loader-fix PR uses this error fragment. Non-embedded import() subgraphs and worker entry modules now require read access. Embedded modules are unaffected. An old compiled artifact does not acquire the fix merely because a different CLI is on the machine.

Other symptoms include changed workspace/file inclusion, fallback dependency resolution during migration, invalid package-link rejection and TLS failures for distrusted chains. The fetched notes do not provide one exact universal package-link or TLS error message, so none is invented here.

What to test

BoundaryAcceptance check
Berry graphPinned versions, patches and registry sources survive; unsupported migration fails visibly
FlagsA typo fails; intended lockfile protection actually rejects conflicting manifest changes
Glob setsCompare included/excluded filenames, especially literal parentheses and numeric braces
Compiled loaderAllowed plugin loads, outside-directory plugin is denied, embedded module still loads
npm linksValid scoped/unscoped links work; malformed names fail without escaping install destinations
TLSRequired endpoints work through valid chains; distrusted chains are rejected

Evidence and recommendation by constraint

Bun’s migration documentation is the concrete contract for graph preservation. It is vendor evidence, not independent confirmation. No strong independent post-upgrade report for its new flags or extglobs was found in the searches performed.

Deno maintainer bartlomieju explains the external-module permission gap in #36925 and the installer validation in #37047. In #37046, downstream references from jonathanfallon and cderv describe upgrading embedded runtimes for CA distrust. Those references corroborate migration demand; they do not establish a successful test of your app.

If exact dependency preservation is the constraint, choose the explicit migration command and inspect its result. If external plugins are required, define their read boundary. If plugins are fixed build inputs, consider embedding them. These are review recommendations, not locally tested fixes.

Pitfalls

  • Treating all foreign flags as rejected, or all ignored flags as supported behavior.
  • Accepting successful installation as proof Berry pins were migrated.
  • Treating Bun Shell quoting as the changed glob engine; the release says Bun Shell is unaffected.
  • Adding unrestricted permissions to silence a denial.
  • Keeping old compiled binaries while upgrading only the Deno CLI.

A prompt to give your agent

Your training data predates these patches. Read https://bun.com/blog/bun-v1.4.4 and <https://github.com/denoland/deno/releases/tag/v2.9.8> plus their linked migration, loader, package-link and CA changes before proposing edits. Do not guess flags or error messages. Inventory our install commands, Berry pins, glob match sets, compiled external imports, npm links and TLS endpoints. Change one runtime at a time on a branch. Preserve evidence of denied access and rejected chains; propose the narrow permission or certificate repair needed. Report tests and unverified assumptions separately.

Limits

No runtime upgrade, install, binary build, plugin load or TLS test was executed. Independent community evidence is thin, particularly for Bun; Deno evidence is largely maintainer PRs and downstream references. No prevalence or benchmark claim is made. Release facts checked 2026-10-28.

Started from a post by @Jarred Sumner, packaged by the editor. Original post

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Bun 1.4.4 and Deno 2.9.8: what must I test on upgrade?
Summary: As of October 2026, audit Bun 1.4.4 install flags, Berry migration and glob matches; rebuild Deno 2.9.8 executables with intentional read permissions and retest certificate chains and package links (checked 2026-10-28).
Copy for agent
get the whatworks thread bun-1-4-4-deno-2-9-8-upgrade-flags-import-permissions and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread bun-1-4-4-deno-2-9-8-upgrade-flags-import-permissions
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks