Skip to content

Releases

4.4.2 (November 30, 2026)

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:28
Also in 4.4.2 (11)
  • import url from 'pkg?url' now resolves a package that has an exports map, where it failed with Package subpath './?url' is not defined.
  • An import of a file a package's exports field hides now says what to do: the name the package exports that file under, query kept, or an alias written for the module type of your extension.config.js.
  • import(url) with a URL only known at run time stays a native import, in your code and inside packages such as @ffmpeg/ffmpeg, where it compiled into a call that always threw "Cannot find module".
  • A service worker that imports from a folder by name, as in import(`./locales/${name}.js`), builds again with those files inside the worker. Since 4.2.0 it crashed the build.
  • new Worker(new URL(url, import.meta.url)) with a URL only known at run time builds that URL, in your code and inside packages, so @ffmpeg/ffmpeg's load({classWorkerURL}) starts its worker. It compiled into a call that always threw "Cannot find module".
  • A JavaScript module imported with ?url ships with the files it imports beside it, so @ffmpeg/ffmpeg/worker?url works as classWorkerURL. It shipped alone and failed silently in the browser. When a file cannot be shipped, the build says which.
  • A warning about a file shipped under a content hash names the file as the output holds it.
  • A worker your code starts with new Worker(new URL('./file', import.meta.url)) gets a file named after it in a production build, such as sqlite-worker.da2b9732.js. Two worker files could swap their numbered names when the same project was built in another folder, so a rebuild did not match byte for byte.
  • A build stops when two modules shipped through ?url each import a different file with the same name, since one would run the other's code.
  • The alias hint for a hidden package file fits the extension.config.js you already have: only the lines to add, and every alias of one build in one block.
  • A package file imported with ?url no longer draws a "file isn't in the output" warning for what it reads beside itself.

Fixes

  • Stop the build when two ?url modules need different files of one name (#1491) (05c393899)
  • Resolve a package root with a query, say how to reach a hidden file (#1484) (82599b8f6)
Other changes (8)
  • Name the final file in a collision error, order alias errors by line (#1495) (48b4532ff)
  • Name a project worker's file so a rebuild in another folder matches (#1494) (77e2ffafa)
  • Read a lock refusal that outlasts the wait as held, not as a fault (#1492) (6b0b94d5c)
  • Ship what a ?url module imports beside it, count static imports only (#1490) (568c5cf9d)
  • Warn when a ?url module ships without its imports, name final files (#1489) (aeda1f0bf)
  • Time a Windows quit from the Ctrl+C, not from the sender's compile (#1488) (b798b81d7)
  • Build a run-time new URL as written, fit the alias hint to the config (#1486) (e5f8eb33a)
  • Keep unplaceable imports native, fix the worker panic and alias hint (#1485) (93cd555fc)

Validated before publishing: extension@4.4.2-canary.493.48b4532, cut from the same commit, built every buildable sample of extension-js/corpus on Chrome, Firefox, Edge and Safari, and passed the extension-js/templates suite (run).

4.4.1 (November 29, 2026)

Choose a tag to compare

@github-actions github-actions released this 29 Nov 04:27
  • Chrome keeps your extension on: a session on a kept profile no longer ends with the extension turned off, because developer mode is now switched on in the live browser, and the warning names the reason when Chrome itself turned the extension off.
  • Ctrl+C answers at once: preview and start quit as the browser process ends, in well under a second where it took five, and on Windows a quit in the first seconds of a session no longer waits on a process table read.
  • A clean window on Edge and Chromium: no "Installed theme, Undo" bar on Edge, also when Edge is launched through --chromium-binary, and no "unsupported command-line flag" bar on the extensions tab or the --starting-url tab.
  • Installs that pass on pnpm 11: with EXTENSION_ALLOW_INSTALL_SCRIPTS=true an install no longer fails on a build script nobody approved, and a first build in a folder with no node_modules works when extension.config.js resolves a declared package.
  • --no-open on the browser's own profile: dev --no-open --profile false no longer ends with the browser quitting on its first run.
Also in 4.4.1 (9)
  • extension install edge on Linux runs without a terminal when sudo asks for no password, as on a CI runner or in a container.
  • A second extension install on Windows no longer fails with a raw EPERM while another install is removing the lock folder.
  • Edge opens the welcome page when it starts offline, and when it is launched through --chromium-binary.
  • extension build --mode development and a session with EXTENSION_NO_RELOAD=true no longer compile in the React Refresh runtime or Svelte hot reload code.
  • An extension that takes a few seconds to start its service worker is no longer loaded a second time over the debugger, which restarted it and cleared its session storage.
  • The extensions tab opens again when the one found at launch closes, and a start tab that reports no address in the first moments is read again.
  • A CSS file the parser rejects keeps its own warning code on newer Rspack versions.
  • The STORE.md starter names the ## Listing (pt-BR) form for an extension that ships more than one language.
  • The browser that extension.config.js names is kept when the config is loaded again after an install.
Upgrade notes (2)
  • --starting-url now opens in a new tab and the launch tab closes, so a tool that held the launch tab's target id finds it gone.
  • On Windows, ready.json can name browserPid for about a second before browserStartedAt appears.

Features

  • Add the Windows Firefox quit line to the release notes (#1473) (d52b6849d)
  • Add a Windows hunt that loops the interrupt spec for quit times (#1469) (15be5009f)

Fixes

  • Fix CSS parse warning codes after Rspack stack cleanup (#1451) (b54df4ec1)
Other changes (29)
  • Write the 4.4.1 highlights, retry a test folder removal on Windows (#1483) (64abab056)
  • Keep the extension the switch loaded, never load it again over CDP (#1482) (97fcaae9a)
  • Hand --no-open to the companion in a session with no profile (#1480) (8d58fa463)
  • Move the templates pins to the head with the listing language hint (#1479) (4dee78b34)
  • Date a launched pid on Windows without holding the session (#1476) (adec8f2d7)
  • Retry an install lock Windows refuses mid-removal, prove taskkill (#1478) (46988515a)
  • Leave the theme out for an Edge binary pinned by path (#1477) (267bebe29)
  • Ask Chrome for developer mode live and name why a guest is off (#1475) (187717766)
  • Quit as the browser process ends, not when its helpers let go (#1474) (932e1f426)
  • Read the process table without blocking Ctrl+C at Firefox launch (#1472) (6b62602b9)
  • Bump the codeql-action group with 3 updates (#1449) (d34126433)
  • Make the Windows quit hunt compile all and loop in PowerShell (#1471) (2767e9c49)
  • Run the packed engine under pnpm dlx, not the published copy (#1468) (43cf088bf)
  • Run a failed Windows taskkill again, not after the 5 s grace (#1467) (703a5ee7e)
  • Keep one copy of five helpers the develop plugins each carried (#1466) (09c0be835)
  • Leave React Refresh and Svelte hot reload out of unreloaded builds (#1464) (2df5d9a52)
  • Read the start tab again when it reports no url at launch (#1463) (f35dddee1)
  • Check only the pids the probe stand-in wrote before it was ended (#1462) (d75ec11e5)
  • Reopen the extensions tab when the one the companion found closes (#1460) (421fe23e0)
  • Wait for the probe stand-in to write its child pid (#1459) (4f6609816)
  • Open the starting URL in a new tab so the flag bar leaves (#1458) (3b942e743)
  • Swap the Chromium start tab so the flag warning bar leaves (#1457) (af3ba1e2f)
  • Open the welcome page on Edge offline and via --chromium-binary (#1456) (4248f9bd3)
  • Let an allowed-scripts install pass pnpm 11 unapproved builds (#1454) (f420b16ce)
  • Load the config again after the install, drop the Edge theme bar (#1453) (cdc141b49)
  • Link the README to the templates page, add package manager logos (#1452) (67685be88)
  • Move the templates gate pin to the head (#1448) (f634d765e)
  • Refuse notes with an unclosed comment, restore 4.4.0 highlights (#1447) (a3872a403)
  • Re-run release jobs that GitHub never gave a runner (#1445) (1b40b2133)

Validated before publishing: extension@4.4.1-canary.485.64abab0, cut from the same commit, built every buildable sample of extension-js/corpus on Chrome, Firefox, Edge and Safari, and passed the extension-js/templates suite (run).

4.4.0 (November 24, 2026)

Choose a tag to compare

@github-actions github-actions released this 24 Nov 18:35
  • Faster dev rebuilds, two steps that ran on every rebuild went from about 155 ms to under 30 ms on a large project.
  • A pinned browser binary is never ignored, --gecko-binary alone runs a Gecko browser, and a failed launch names the binary and what pinned it. Docs
  • JSON errors say where, a file that fails to parse is reported by line and column, never by quoting its text. Docs
  • A missing file that comes back rebuilds, creating or restoring a file a page or worker names rebuilds without a second save.
  • Windows sessions stop and recover cleanly, Ctrl+C closes the browser at once, and a Firefox session follows the browser through a self-update.
Also in 4.4.0 (6)
  • A binary set in the config file is named by its key and file, for example browser.chrome.chromiumBinary in extension.config.js.
  • On Windows, a pinned binary's version is read in a fraction of a second, where each read could take 20 s or more.
  • On Windows, a pinned binary that never answers its version probe is stopped with its child processes, and a Firefox profile path with accented or CJK characters works.
  • Stopping preview, start or dev while the browser is still starting ends as stopped with exit 0, and ready.json says stopped.
  • extension create scaffolds the examples with exact dependency versions, and on Windows waits for a timed-out install to end before it removes the folder.
  • The manifest is read 4 times on a first build and once per rebuild, down from 51 and 14.
Upgrade notes (4)
  • A binary flag for the engine you did not pick, such as --browser firefox --chromium-binary <path>, was ignored and is now refused with E_INVALID_OPTION.
  • With no --browser, a binary flag picks its engine (--gecko-binary alone runs gecko-based), and both flags together are refused. Pass --browser chromium-based,gecko-based to run both.
  • A script that matched the runtime's JSON wording, such as Unexpected token, now reads unexpected character at line 1 column 1.
  • binaryPinnedBy in ready.json can hold a config key and file, not only a flag or variable name.

Features

  • Add the Windows quit line to the release notes (#1441) (cdbcf8ef8)
  • Add the interrupt and install timeout lines to the release notes (#1439) (f07d836e0)
  • Add the Windows teardown and path lines to the release notes (#1436) (1beb85ba2)
  • Add the Windows version read to the next release notes (#1428) (75ceff6f3)

Fixes

  • Stop ignoring the bundled create template in the release commit (#1444) (00e7626a3)
  • Stop the browser at once when a Windows session quits (#1440) (ba951bab3)
Other changes (32)
  • Tighten the next release notes (#1443) (7ea86a4c3)
  • Name a system sleep in failed rows, isolate exec runner caches (#1442) (b2520077b)
  • Record an interrupted run as stopped and end a timed-out install (#1438) (f66aba453)
  • End an interrupted browser launch on one stopped frame (#1437) (24c9345a0)
  • Read the Windows process table as UTF-8 and prove Ctrl+C teardown (#1434) (335f42fd4)
  • Clear the Biome warnings and fail lint on new ones (#1435) (96ec1417f)
  • Strip nested comment markers from the release highlights (#1433) (c1e640cec)
  • End a probed binary's whole tree before the CLI exits on Windows (#1430) (31dbaa31c)
  • Bump Svelte to 5.59.1 (#1432) (ef0981a2c)
  • Follow the declaration plugin to its parser in all four programs (#1431) (93f0b4c92)
  • Run the create and install tool stand-in specs on Windows (#1429) (16d98a625)
  • Read a Windows browser version fast and run pin specs there (#1423) (983b16115)
  • Write the highlights and upgrade notes for the next release (#1427) (b4de645c9)
  • Reuse traced child compiles in dev and rebuild when a file returns (#1426) (02a25ccf3)
  • Say when a config file pinned the browser binary, name its key (#1422) (8ce934d92)
  • Resync the bundled template when a release moves the pin (#1420) (8c53b1454)
  • Move the templates pins to the head with the docs site blue (#1419) (3bf01b16e)
  • Count what an env save asks for, not how many watcher events came (#1418) (9adfec925)
  • Say where a JSON file fails without quoting its text (#1416) (31c40a0ea)
  • Keep a Firefox session through a self-update restart on Windows (#1412) (880ec764b)
  • Keep release highlights short and fold the rest in the notes (#1415) (9d478bdee)
  • Scan only changed scripts in the runtime trace on dev rebuilds (#1414) (021c2a9ac)
  • Name the pinned binary on a failed launch, keep binary flags (#1411) (27b9ac104)
  • Reuse a compiled root-absolute ref across unrelated dev rebuilds (#1410) (33dd32d7f)
  • Move the templates gate pin to the head with pinned examples (#1413) (b63f0b1e6)
  • Read the source manifest once per compilation in develop (#1409) (a259a4baf)
  • Move js-yaml to 5 in the scripts and keep 4 for transitive deps (#1407) (6eae4eff5)
  • Give each run of main its own concurrency group (#1408) (7f381c49e)
  • Accept the renamed Rspack dynamic path diagnostic in a spec (#1403) (4075475d2)
  • Hide the renamed Dynamic module path warning from node_modules (#1405) (802d73a72)
  • Say how to create without the network in the AI help (#1404) (04ee4cc4c)
  • Never cancel a run of main and close the gates issue when current (#1402) (92fa191df)

Validated before publishing: extension@4.3.1-canary.476.00e7626, cut from the same commit, built every buildable sample of extension-js/corpus on Chrome, Firefox, Edge and Safari, and passed the extension-js/templates suite (run).

4.3.0 (November 21, 2026)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 16:08
  • Reloads only when they are needed, saving a file the build never read no longer reloads the extension, and saving a page reloads only the tabs that show it. Docs
  • A reload that did not land says so, --output json and events.ndjson report a warning with W_RELOAD_NOT_APPLIED, and the reload messages in the browser console carry a code. Docs
  • Each browser is built for itself, Firefox output targets firefox >= 98, Safari output targets safari >= 15.4, and a prefixed permission such as "gecko:tabs" stays with its browser. Docs
  • Your Babel config and tsconfig are followed, a Babel config runs before SWC, tsconfig jsxImportSource and useDefineForClassFields apply, and extension.config.js sees the mode and browser of the command.
  • A broken package.json stops with one clear error, build, dev, start and preview stop with E_PACKAGE_JSON_INVALID and say what they found. Docs
Also in 4.3.0 (13)
  • The reload codes in the browser console are W_RELOAD_NOT_APPLIED, W_CONTENT_SCRIPT_NOT_INJECTED, W_CONTENT_SCRIPT_CLEANUP, W_CONTENT_SCRIPT_MOUNT and W_DEV_SERVER_SOCKET.
  • The Firefox and Safari targets apply when the project declares no floor, Safari drops minimum_chrome_version, and a prefixed permission left out for the other browsers gets one W_MANIFEST_COMPAT warning.
  • .vue files inside node_modules compile, and .env.<browser> values reach extension.config.js in dev.
  • E_PACKAGE_JSON_INVALID covers a package.json that is not valid JSON, has a byte order mark, is saved as UTF-16, cannot be opened or is a folder. A config file that fails to load is named by its real file name.
  • Only the project manifest and its _locales force a full reload, and a rebuild waits while the browser is still launching or the previous reload is still landing.
  • A dev restart that failed is retried on the next save of any project file, and quitting dev on macOS is prompt.
  • A --output json run interrupted by Ctrl+C or a termination signal ends with one stopped frame with E_INTERRUPTED, and a signal that arrives after the build succeeded exits 0. Docs
  • ready.json keeps what the launcher recorded across rebuilds and drops cdpPort and rdpPort once the browser exits.
  • $EXTENSION_* placeholders are filled in copied .json and .html files and escaped for the spot they land in. Docs
  • A page that declares another charset is converted to UTF-8 with a W_HTML_NOT_UTF8 warning, and a web_accessible_resources file that does not exist warns in dev too.
  • build --zip no longer packages the previous build after compile errors.
  • extension create picks a name npm accepts while the folder keeps the name you typed, its failures carry real error codes, and a pinned template is cached for the next run.
  • extension install edge no longer hangs on an unanswered sudo prompt, a timed-out install on Windows is ended even when taskkill fails, and the CLI starts under Yarn PnP on Node 22.
Upgrade notes (16)
  • Save package.json as UTF-8 without a byte order mark. A file with one, or saved as UTF-16, built before and now stops with E_PACKAGE_JSON_INVALID.
  • A leftover Babel config now runs in the build and needs babel-loader and @babel/core installed.
  • Pages/, Scripts/ and Public/ must be lowercase, and a script entry with an uppercase extension such as .JS is no longer an entry.
  • When two files claim one entry name, the last one in sort order wins with a warning.
  • The dev reload socket moved from /ws to /ws/<instance id>, so a proxy rule that matches the exact path /ws must allow the longer one.
  • $NAME$ tokens in _locales messages are left for the browser, and an unquoted placeholder that breaks an inline script stops the build with E_INLINE_SCRIPT_SYNTAX.
  • A Svelte project whose svelte differs from the bundled compiler runs on the compiler's runtime and warns once.
  • The update notice shows only when stderr is a terminal.
  • TypeScript callers of extensionDev can no longer pass mode, sourceMaps or the zip fields, which dev never read.
  • The extension-develop/manifest entry, deprecated in 4.2, is removed.
  • Renamed codes: an unresolved CSS url() is E_CSS_DEAD_REF in place of E_ASSET_MISSING, and a missing new URL() target in a script is E_SCRIPT_DEP_MISSING in place of E_CSS_DEAD_REF.
  • Renamed codes: a missing background file is E_ENTRY_NOT_FOUND in place of E_BACKGROUND_REQUIRED, and an install failure with no known cause is E_INTERNAL in place of E_BROWSER_DOWNLOAD.
  • In --output json, an unbuilt preview reports status not-found with E_PREVIEW_NO_DIST, a missing manifest reports usage, and usage frames no longer carry error.name.
  • build --zip exits 1 with E_ZIP_SKIPPED when the archive step fails, and a mistyped --log-context item exits 1.
  • extension --output json with no command, doctor on a missing folder and an orphaned dev --parent-pid run exit 1.
  • A parser with a fixed list of event types must accept warning and restart_failed.

Features

  • Add the Windows install fix to the release highlights (#1398) (f21c23d0e)
  • Bundle commander so Yarn PnP on Node 22 can start the CLI (#1297) (2d5341487)
  • Add a weekly real browser install run on three systems (#1286) (52ac09987)

Fixes

  • Stop exporting develop names no other file reads and guard it (#1381) (3e8c80244)
  • Resolve a browser prefix on a permission item for each browser (#1384) (d157c18fc)
  • Stop a CLI spec run at once when a sibling package is not built (#1385) (f9a6613ac)
  • Gate page reload on the session and explain every reload catch (#1323) (1e0f1ebd8)
Other changes (114)
  • Remove the deprecated extension-develop/manifest entry (#1401) (df3e2e96e)
  • Move the templates gate pin to the templates head (#1400) (97fd2d7e5)
  • Read compilation warnings and errors without any guard (#1399) (51e531ed7)
  • End the install when taskkill fails, put back only changed files (#1397) (24e331bbb)
  • Push compilation warnings and errors without a dead guard (#1396) (b6e3457cb)
  • Name the types the published declarations expose (#1395) (a3c73a278)
  • Pin the signatures of every published entry in the API report (#1394) (525df13f0)
  • Write the highlights and upgrade notes for the next release (#1392) (92e651dc6)
  • Move the dev manifest defaults from the manifest feature to reload (#1393) (fb9aa0f83)
  • Report the dev content script stubs as a manifest change (#1389) (6696c0aaf)
  • Delete develop code only specs read and pin the seams that stay (#1391) (0d4dbd38f)
  • Refuse a package.json that is not a file at the project root (#1390) (cfc3ee053)
  • Give config and package.json failures one frame on every command (#1388) (0b47c8d7e)
  • Move the client import to reload and name hot update files once (#1386) (3e4c71506)
  • Hand the ready contract and compilation plugins the session record (#1380) (7414cb611)
  • Name the packages Extension.js installs in dev source maps (#1387) (7d828ba10)
  • Say a signal came after the build and name the config file read (#1383) (dddfb7d22)
  • Close the type gaps the spec casts hid (#1382) (674bf9c26)
  • Read the...
Read more

4.2.0 (November 20, 2026)

Choose a tag to compare

@github-actions github-actions released this 20 Nov 02:45
  • A steadier dev loop, a save that fixes a build error rebuilds the page, a content script file deleted and written back is rebuilt, and dev on macOS no longer misses an edit. Docs
  • Private files never ship, files such as .env, .npmrc, .git and .DS_Store are never copied into the build, even from public/. Docs
  • Build diagnostics you can match on, named build warnings and errors carry a stable code, and --output json reports them without terminal layout or paths from your machine. Docs
  • The polyfill stays out of page code, with polyfill: true, MAIN world content scripts and sandboxed pages no longer bundle webextension-polyfill, which threw there.
  • Failures that say so instead of hanging, a browser that does not start within 3 minutes is reported with E_BROWSER_START_TIMEOUT while rebuilds keep running. Docs
Also in 4.2.0 (11)
  • A content script still waiting on the old build retires on reload, and two dev sessions in one process no longer share a host or port.
  • An auto-exit session lets a slow stop finish and exits 0, and after a restart --output json writes ready again with restarted: true.
  • The dev server answers private files as missing, and a page or stylesheet that points at one gets a single warning with a code.
  • Each build issue is said once, and with color off every warning and error line says Warning: or Error:.
  • Scripts the extension registers into the MAIN world at runtime skip the polyfill too, where it threw "This script should only be loaded in a browser extension." Their browser is the page's own global, and extension code keeps the polyfill.
  • A first Safari package that takes more than 10 minutes is reported with E_BROWSER_START_TIMEOUT, and a failed Safari package prints why.
  • A browser log capture failure is a warning and the session still reports ready, a locked browser profile leads with the fix, and a dev session ends when the process that started it is gone.
  • extension create ends a timed-out template clone or install along with everything it started.
  • Outside a content script, import href from './panel.css?url' gives the URL of the compiled sheet under assets/. A PostCSS config keeps its parser, syntax, stringifier and map, and a project rule that sets a stylesheet type gets a warning instead of being replaced without a word.
  • extension install chrome firefox takes more than one browser name. The update check asks the npm registry you configured, caches the answer for an hour and stays quiet in CI, under --output json or with EXTENSION_NO_UPDATE_CHECK=1. Docs
  • Set perfBudgets.onExceed: 'error' and a production build that goes over an asset size budget fails instead of only warning. Docs
Upgrade notes (9)
  • The bundler moves to rspack 2.3.3.
  • Extension.js no longer ships postcss-preset-env. If your PostCSS config names it without installing it, run npm install -D postcss-preset-env, or the build skips that plugin with a warning.
  • A project with no package.json now writes dist/ at the folder you name, not beside a manifest in src/.
  • A perfBudgets value that is not a positive number now stops the build with a clear error.
  • A dev stop that runs past its 10 second bound now ends on failed with E_SHUTDOWN_TIMEOUT in place of E_INTERNAL. The exit code stays 1.
  • A launch with no free debugging port from 9222 to 9271 stops with E_PORT_UNAVAILABLE.
  • The generated extension-env.d.ts names @types/chrome only when your package.json lists it, so a project that relies on those types lists @types/chrome itself.
  • The commands.preview config type no longer accepts polyfill, include or exclude, which preview never applied. Move them to commands.build.
  • Every coded warning now reports a W_ code in --output json details, in warnings and in ready.json cdpFaultCode, while errors and refusals keep their E_ code. A script that matches a warning by code reads W_ in place of E_ for these 30 names: MANAGED_DEP_CONFLICT, TYPES_EMIT, MODULE_NOT_FOUND, ENTRY_NOT_FOUND, ASSET_MISSING, SCRIPT_DEP_MISSING, CSS_PARSE, CSS_PREPROCESSOR_MISSING, CSS_DEAD_REF, POLYFILL_NOT_FOUND, LOCALES_LAYOUT, PROD_LOOPBACK_ORIGIN, NO_ENTRYPOINTS, REMOTE_RESOURCE_BLOCKED, PERF_BUDGET, ENV_NO_MATCH, LAUNCH_SKIPPED_COMPILE_ERRORS, UNINSTALL_NOOP, PORT_IN_USE, LOGS_STREAM_GAP, CDP_NOT_CONNECTED, CDP_TIMEOUT, CDP_OP_FAILED, BROWSER_CONNECTION_CLOSED, EXTENSION_ID_UNKNOWN, MANIFEST_INVALID, WAR_INVALID, RESERVED_FOLDER, INTERNAL, COMPANION_EXTENSION_PATH.

Features

  • Add today's fixes to the 4.2.0 highlights and upgrade notes (#1263) (5aa2d27e6)
  • Add a W_ warning code class and code each warning name (#1230) (82c9742c3)

Fixes

  • Guard what a build deletes and code every build failure (#1156) (b2d1e2478)
  • Guard walked scripts and ship named files from the workspace (#1183) (ab53c96a9)
  • Guard the develop build entries and lean on rslib shims (#1134) (e5f243e9e)
  • Stop hydrate from copying a build script the templates repo lacks (#1103) (331603002)
Other changes (164)
  • Move the templates gate pin to the Windows install fix (#1282) (20ab09164)
  • Write CSS color names in a theme as arrays for Chromium (#1281) (fbbd41063)
  • Move the release gate pins to the pinned corpus and templates (#1280) (4885aabcb)
  • Keep env writes valid and code unreadable env files (#1274) (d41d89f88)
  • Mark refused builds in ready.json, refuse bad perfBudgets in dev (#1278) (752a3a0ae)
  • Name mistyped manifest paths, drop a failed MAIN world bundle (#1272) (81557735b)
  • Keep the AI-help snapshot off the template list the pin moves (#1273) (1b67056f4)
  • Read brackets in resource globs as names, code minifier warning (#1268) (ea7833735)
  • Narrow preview config, code launch errors, map two ready ids (#1266) (2652e07c2)
  • Move the wrapper's reload hints and branches into plugin-reload (#1262) (ab49a8887)
  • Drop the stale chunk loading notes and unused devSession argument (#1265) (0d08be80c)
  • Make plugin-web-extension own the chunk loading target (#1260) (343ed6141)
  • Keep the polyfill out of dev MAIN copies of shared scripts files (#1258) (55f69f714)
  • Run the MAIN world restart from the dev server (#1261) (61f5c00ae)
  • Move reload specs from plugin-browsers to plugin-reload (#1259) (7b7c1dff2)
  • Drop the dev fs patch and keep left-out public files unserved (#1250) (b9cb7738b)
  • Keep left-out public files out of CSS urls (#1257) (5eef0f1c6)
  • Move MAIN world restart holds into the dev server (#1256) (19bc71d74)
  • Keep the polyfill out of sandbox imports and runtime MAIN code (#1255) (19217f163)
  • Code a dev stop that passes its bound as E_SHUTDOWN_TIMEOUT (#1254) (408854ea7)
  • Say when a CSS rule type is replaced and ship css?url as a file (#1253) (228a196f5)
  • Report browser log, Safari package and hung launch failures (#1252) ([69bf46f](https://github.com/extension-js/extension.js/commit...
Read more

4.1.41 (November 16, 2026)

Choose a tag to compare

@github-actions github-actions released this 16 Nov 14:59
  • The default types accept the calls the browser accepts, a callback right after your arguments, as in chrome.tabs.sendMessage(tabId, message, callback), and enum objects such as chrome.runtime.OnInstalledReason.INSTALL now type-check without @types/chrome. Docs
Other changes (2)

Validated before publishing: extension@4.1.41-canary.463.05c2a32, cut from the same commit, built every buildable sample of extension-js/corpus on Chrome, Firefox, Edge and Safari, and passed the extension-js/templates suite (run).

4.1.40 (November 16, 2026)

Choose a tag to compare

@github-actions github-actions released this 16 Nov 04:22
  • Firefox builds fit the store's script size limit, a build for Firefox splits large files so addons.mozilla.org can parse every script, and names any file it cannot split. Docs
  • MAIN world scripts registered at runtime work in dev, a file your background registers or injects into the MAIN world loads its chunks and resolves extension URLs on Chrome and Firefox. Docs
  • Content script styles apply and update in the open tab, component styles, CSS modules and a Vue <style> block now reach the page, and a stylesheet edit lands without a reload.
  • The browser polyfill is off by default on Chromium, Chromium 148 and later ship browser natively, so a build no longer bundles it. Pass --polyfill to keep it for older versions. Docs
  • icon_variants builds for every browser, light and dark icons are emitted and checked, and a browser that does not read the key yet, Safari included, gets icons filled from your variants. Docs

Fixes

  • Stop bundling the browser polyfill by default on Chromium (#1082) (371d33b6d)
  • Gate a stable on corpus and templates and cut its canary in-run (#1079) (b0548f605)
  • Repair manifest keys one engine refuses and name each repair (#1084) (003150b73)
  • Gate a stable release on the corpus reading of its canary (#1072) (4d1de564c)
  • Resolve module folders once per build and cap Firefox shared chunks (#1067) (832edbfaa)
  • Resolve node: built-ins and hand the config hook the bundler (#1066) (edde3288c)
  • Resolve every browser binary in one order and prefer stable Firefox (#1058) (8c837a2ac)
  • Resolve a fetched content sheet url on Firefox (#1049) (ae56c9bf3)
  • Resolve a content script stylesheet url on Chrome (#1045) (fdaad1828)
  • Stop Context7 from serving contributor and internal plugin docs (#1006) (22360ed56)
  • Harden template links, dev bundle reads and the control channel (#993) (5f219a2d2)
Other changes (83)
  • Pin the templates commit that keys the browser cache for gate runs (#1091) (db80646f5)
  • Write the 4.1.40 highlights (#1090) (2c1ba7b79)
  • Type browser from chrome-types and keep @types/chrome if installed (#1089) (8b5e75d19)
  • Fill icons from icon_variants on Safari and show converter reasons (#1087) (62fb16b1a)
  • Name three cross-browser differences and the Firefox 250 cap (#1085) (5ecce26f4)
  • Say what a reload does to the old content script copy per engine (#1086) (dbe973099)
  • Name the Manifest V2 cutoff versions and say it once a session (#1080) (f3399f7e6)
  • Name Safari wherever the READMEs list the supported browsers (#1083) (66bc498b3)
  • Emit and check icon_variants files and keep an icons fallback (#1081) (a06e4776a)
  • Run the canary corpus reading and name canaries for the next patch (#1078) (001a6a0cb)
  • Answer doctor on start and preview, fix refusals, ended sessions (#1077) (704ffc219)
  • Minify kept CSS and included scripts, place the zip, add maps (#1075) (f8f066352)
  • Print each diagnostic once, plain off a terminal, skip unread d.ts (#1076) (0679941bc)
  • Stamp when each pid in ready.json started so a reused pid is caught (#1074) (3c60e20db)
  • Name oversize Firefox scripts when the store check is off (#1073) (598ab2ccc)
  • Cap lazy chunks for Firefox and name oversize scripts (#1071) (2f93b4e0e)
  • Keep rspack identifiers in diagnostics and hold dev ready (#1070) (76b296724)
  • Cap Firefox page entries, list split parts and trim output scans (#1069) (2dac0905f)
  • Sharpen the cross-browser warnings and name what a Firefox build drops (#1068) (16c8cf546)
  • Fit inspect HTML to the cap and correct two worker status lines (#1065) (664173169)
  • Hold the first page of a production run for boot registrations (#1064) (ea2fbdd6e)
  • List the Chrome binary variables in the order they are read (#1063) (2c8ef9733)
  • Answer chrome.scripting in its own form, run edited injected files (#1062) (3cce8fa63)
  • Remove spec temp folders and watch a linked project by one path (#1059) (7f30f1f10)
  • Hold the first page for boot registrations, keep a kept profile calm (#1061) (a10d5b125)
  • Key the Vitest module cache on linked manifests, guard create specs (#1060) (f8c0dc93e)
  • Name the binary source, read extension pages, show the debugger bar (#1055) (6d7870f85)
  • Scan the watched ancestors before ready, lock every package build (#1057) (415f67738)
  • Print plain links and keep each world on its own build after an edit (#1056) (70317f030)
  • Key the extension base on every engine and bind getURL in the bridge (#1054) (bfdba1bbe)
  • Run a file registered in both worlds, read computed registrations (#1053) (06b2486b0)
  • Say what dev adds, keep named pages private, show the debugger bar (#1052) (67e628c02)
  • Steady two dev specs, lock the compile, keep late log rows out (#1051) (103ebbc41)
  • Carry a registered script edit to the tab on Firefox after an idle (#1050) (c9c3df719)
  • Reach copied pages, subframes and repeat saves in dev reloads (#1048) (2bf77181e)
  • Copy public files byte for byte and key the base fallback (#1047) (8a326638f)
  • Print a BigInt alike in eval, load the background once per restart (#1046) ([4ebcd0e](4ebcd0e5...
Read more

4.1.39 (November 6, 2026)

Choose a tag to compare

@github-actions github-actions released this 06 Nov 11:37
  • Safari builds take your own app icon, extension build --browser=safari --app-icon=icon.png uses the PNG as is instead of plating the manifest icon on a white tile. Docs
  • A production build warns when a public env variable is named like a secret, so an EXTENSION_PUBLIC_API_KEY never ships in a bundle unnoticed. Docs
  • SQLite in DevTools, npx extension@latest create my-extension --template=devtools-typescript-sqlite starts a DevTools panel backed by SQLite in the browser.
  • Firefox content scripts run once after a reload, the dev session no longer injects a second copy, and a missing scripting permission is named instead of failing quietly.
  • The Edge store zip leaves the manifest key out, dist/edge keeps it, so an unpacked Edge install keeps the pinned id your OAuth redirects depend on.

Features

  • Add an exclude config key to leave files out of one browser build (#991) (151892d3d)

Fixes

  • Resolve symlinked project paths before naming a reloaded file (#970) (c68fe6349)
Other changes (29)
  • Stamp the Safari app version and sharpen the build's warnings (#992) (0f5b204fd)
  • Keep the controlled preview copy outside the folder it copies (#990) (4fb2e2fb6)
  • Compile a module script on a runtime-opened page as ESM (#989) (20428c462)
  • Drop extension.dev pointers from the CLI, READMEs and templates (#988) (ad5863177)
  • Write the 4.1.39 highlights (#986) (67ae97524)
  • Name an unpruned dist file and clear what the code audit found (#985) (1bd95a428)
  • Give the dev watch specs a 30s rebuild window and a 90s budget (#983) (ec0be495f)
  • Drop the manifest key from the Edge store zip only, not from dist (#982) (c7afecebf)
  • Bound the Playwright install steps and keep lint off worktrees (#984) (44b4959bf)
  • Publish again once when Sigstore's log answers 409 after a 502 (#981) (51583f892)
  • Repin the template catalog to add the SQLite devtools template (#980) (b99353b0b)
  • Warn when a public env variable is named like a secret (#979) (2fa49b40e)
  • Show a public env example that is not a secret in the AI help (#978) (1bec7126c)
  • Let the dependency canary name a known upstream break instead of red (#977) (a4fe2db27)
  • Raise follow-redirects and minimatch to clear two alerts (#976) (282267534)
  • Declare the Safari config keys in the public config types (#975) (0c194e2dd)
  • Hold a Firefox dev session at starting until its RDP port is known (#972) (ebfda7f0f)
  • Name changed files and indexed modules by one project-relative path (#971) (4e405e9fc)
  • Keep emulated Chromium reloads partial and write each content script anew (#969) (6e336f0c4)
  • Build the Safari app icon from a supplied PNG, not a plated tile (#967) (08b683456)
  • Wait for Safari, name what blocks Settings, renew WebDriver (#964) (d584469a3)
  • Give every CI job a timeout and bound the xvfb apt step (#968) (9a240c8ef)
  • Wait for the recompile in the second dev session spec (#966) (7f97862dd)
  • Skip the reinject after a Firefox reload, which injects on its own (#965) (7cf52a56b)
  • Open the starting URL in the Safari automation window, or say why not (#960) (5408ad895)
  • Read the Xcode 26 team key so the Safari remedy lists a known team (#962) (e9fe63a9f)
  • Park every console level before the bridge connects and replay it in order (#961) (f062d1810)
  • Name the missing scripting permission when Firefox cannot inject (#959) (acf885a93)
  • Note a folded sidebar key and hint at a missing default export (#958) (d2160f5be)

4.1.38 (October 31, 2026)

Choose a tag to compare

@github-actions github-actions released this 31 Oct 22:29
  • Emulated Chromium needs no flag, extension dev --browser=chromium-emulator opens the emulated browser on its own now that the engine is public, and names the engine origin when it cannot be reached instead of opening a dead page
  • The wasm budget reads the surface that fetches the file, a .wasm reached only by pages and workers gets the 32 MiB budget while one a content script or the service worker reaches keeps 1 MiB and still warns, and perfBudgets.ignore excuses any asset by its output path or a glob
Other changes (2)
  • Open emulated Chromium from --browser chromium-emulator with no flag (#957) (5aac87619)
  • Budget a wasm runtime by its surfaces and add perfBudgets.ignore (#956) (790cf92bf)

4.1.37 (October 31, 2026)

Choose a tag to compare

@github-actions github-actions released this 31 Oct 02:35
  • Development-only pages and scripts, a player.dev.html in pages/ or a bench.dev.ts in scripts/ runs in extension dev and never reaches a production build, no HTML, no chunk, no manifest entry
  • Extra files in the build with include, map output paths to files or folders in extension.config.js, model weights or an exported tree outside the project included, layered per browser and per command
  • A MAIN-world content script leaves nothing on the page, production builds stop publishing the extension's base URL and the cleanup global to the host page, and the dev browser now passes bot checks and keeps sign-in pop-ups responsive
  • WebAssembly runtimes get their own 32 MiB budget, an on-device ML build with onnxruntime or ffmpeg ends "compiled" instead of a budget warning it could never act on, and perfBudgets.wasm caps it when you want to

Features

  • Add dev-only pages and scripts and an include config key (#951) (cfe62f1f3)
Other changes (13)
  • Give WebAssembly runtimes a 32 MiB budget of their own (#955) (1bd9a73e3)
  • Write the 4.1.37 release highlights (#954) (b612631b0)
  • Refuse a folder of projects and name versions on the build line (#953) (232b1c981)
  • Keep the cleanup registry off the page in a shipped MAIN bundle (#952) (ae7dce445)
  • Keep dev content-script names stable and index worker chunks (#950) (4f7af0f6c)
  • Let a Chromium MAIN-world bundle find its base without the bridge (#949) (44a41ab5a)
  • Drop the MAIN-world bridge in production when nothing reads it (#948) (8a872848b)
  • Transliterate accented letters in the zip file name (#947) (12f42d6d7)
  • Keep a use_dynamic_url resource out of a second static WAR group (#946) (24556bf13)
  • Group CodeQL bumps, patch flagged deps, fix a scanning alert (#945) (092314322)
  • Bump github/codeql-action init and analyze to 4.39.1 (#941) (0f1b34125)
  • Keep a require() aliased to false out of the bundle (#939) (4d6fab5bd)
  • Attach the extension's own CDP targets explicitly, no auto-attach (#938) (ed2d765ec)