Skip to content

4.3.0 (November 21, 2026)

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 16:08
· 29 commits to main since this release
  • 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 smoke templates at the commit the release gates pin (#1378) (45a8b733f)
  • Type plugin and command options in develop specs without casts (#1379) (7a2e5d38c)
  • Move the CSS inliner and the manifest text store to lib (#1377) (16c5a438b)
  • Check import order in lint so it matches the commit hook (#1376) (9b15f91c0)
  • Publish four helpers through shared and shrink the reach list (#1375) (420adca8a)
  • Wait for the build that compiled the save in dev session specs (#1374) (06a3c88df)
  • Pin every reach between plugins and move shared helpers to lib (#1370) (1b5877979)
  • Read ready.json through one module and keep one rename retry (#1373) (2e560345a)
  • Hand each plugin the session record instead of loose coordinates (#1369) (ea4e2560a)
  • Report explicit any in spec files and drop the lint override (#1372) (c9ac8e5ed)
  • Report a reload that did not land to machines when it is known (#1371) (4d2135cdc)
  • Answer git at once in the create package-name rows (#1368) (4ac6029c8)
  • Declare icon_variants and the script loader context types (#1362) (cf819b7d8)
  • Move the special folder scan to lib and off the other plugins (#1366) (40e3d395f)
  • Rename the ready contract plugin and give ready.json one writer (#1356) (7d8d828cf)
  • Skip the update check off a terminal, exit 0 on a signal if built (#1367) (0bf032966)
  • Code the failures the reload clients print in the browser (#1358) (a8b8d977d)
  • Keep the update check answer when a build ends before it arrives (#1364) (220f02fd3)
  • Remove the any ignores from the JSON and engine readers (#1363) (f2d71b8a6)
  • Move the folders config and public folder rules to lib (#1357) (f39f7aa76)
  • Fail the script specs when a repo config names a missing path (#1361) (5e6e1d624)
  • Wait for a rebuild on its way before a watch spec saves (#1359) (b2f66cb99)
  • Finish the spec fixture cleanup with the shared helpers (#1351) (c7bf6307d)
  • Declare the engine option, rule and module types (#1360) (51f64b238)
  • Find the config browser with the env files the engine reads (#1355) (0e8294298)
  • Type the develop engine specs without explicit any (#1354) (bc6e57d7f)
  • Declare and export the launcher option types (#1352) (a5d207043)
  • Make the session record the only place a dev config reads from (#1353) (c0edf0f00)
  • Type the web-extension specs without explicit any (#1350) (5efa70456)
  • Type the Extension.js CLI specs without explicit any (#1349) (ec01f33fb)
  • Print the framework versions the templates resolved in e2e runs (#1346) (6a1c0c337)
  • Pin the exact keys of the browser and template telemetry rows (#1348) (1aa52ebc5)
  • Name the mode and browser on every config load (#1347) (d58b2e557)
  • Run Svelte pages on the runtime of the svelte that compiled them (#1345) (3ff7de54a)
  • Give each dev compiler a typed session record, not env variables (#1344) (6d1f9e29f)
  • End every JSON run with one frame, a stopped build included (#1342) (aa77b9690)
  • Read the browser config of a preview under the production env (#1338) (0b7a01b6b)
  • Wait for the rebuilt worker in the two-session host spec (#1343) (61bbf6adf)
  • Keep lib and the build command from importing the dev server (#1341) (5ca177c2f)
  • Report a deleted web accessible file in dev and unstick rescans (#1340) (83c190f8f)
  • Name a MAIN world script deleted while a build is running (#1337) (6670f2e47)
  • Move companion extension resolution from the folders plugin to lib (#1336) (b2d0ce15c)
  • Steady the create timeout specs on a loaded machine (#1335) (6e826ea34)
  • Keep any folder name and give package.json a name npm takes (#1334) (bc10a908b)
  • Ask for restarts through lib and hold builds while a reload lands (#1330) (e02d88cb6)
  • Trust the Linux process start id and frame preview stops and runs (#1331) (2d499199f)
  • Split the build command into steps shared with dev and preview (#1333) (faf1bd065)
  • Code the inline script error, warn on WAR sheets, order dev setup (#1332) (701603830)
  • Code the build and package failures that print raw (#1329) (5e3aa20cf)
  • Keep the release-age rule in the workspace file and gate the smoke (#1328) (b41528e55)
  • Keep the Firefox session when the browser forks on Linux (#1326) (99b48805c)
  • Run command specs on real projects and keep spec runs out of dist (#1324) (d563ecdd9)
  • Count env preload owners and release preview session holdings (#1313) (5db214abb)
  • Keep store warnings on failed builds and skip the zip after errors (#1320) (bbc4d86c7)
  • Report reload failures that had no fallback and move rules to lib (#1325) (df0c4823d)
  • Hold builds while a browser launches or Safari packages (#1321) (562264b67)
  • Typecheck every repo script, flag explicit any, drop dead ignores (#1318) (26bc15755)
  • Name a broken engine install and list every dev event name (#1322) (05152a68a)
  • Drop the Preact refresh packages nothing loads, create included (#1319) (4be5402b2)
  • Move page reload out of the HTML feature and decode legacy pages (#1315) (35fa8ef2c)
  • Bound the browser exit probe and drop the dead Chromium port wait (#1317) (9128c0f39)
  • Drop nightly suite reruns and cancel superseded lint runs (#1316) (ff4a66070)
  • Code create and install failures and share the cache root rule (#1312) (2a4c2ccea)
  • Compile each engine for itself and code framework setup failures (#1314) (916de393a)
  • Warn on miscased entry folders and entry names two files claim (#1311) (89bd22840)
  • Exit 1 on a lost dev owner and stop spec CLI trees on Windows (#1310) (b2945ff63)
  • Keep untemplated copies byte exact and escape every HTML sink (#1309) (32a8e9d5f)
  • Drop the unused update-check dependency from the CLI (#1308) (f5e878405)
  • Settle the plugin reload leftovers on the unified session (#1302) (dc2edb31f)
  • Reload only the open tabs showing a saved page in dev sessions (#1304) (b1d1de99e)
  • Release the env preload and card keys after a library build (#1299) (7a900bf13)
  • Let the exit drop macOS folder watchers when dev quits (#1305) (5544f0506)
  • Retry a failed dev restart on the next change, steady dev specs (#1303) (9ded605c2)
  • Wait on events in develop specs and compile the package only once (#1306) (e9731f272)
  • Append dev additions and settle the watch-only folders (#1300) (6d06fa8cf)
  • Let a file argument after -- reach vitest in the package tests (#1301) (b864f4411)
  • Give the content script wrapper and bridge one index rule (#1292) (4348a9549)
  • Refuse non-store links in preview, name what ships (#1298) (91d5d86e0)
  • Unify dev reload in one session, name the socket (#1294) (88c6f7826)
  • Template every copied JSON and HTML file, skip asset env names (#1279) (588cc1920)
  • Settle the lib import direction and the build config leftovers (#1277) (2392d26b4)
  • Code the companion entry refusals and watch linked entries (#1289) (7b315d6d6)
  • Warn when a nested page script imports a file that won't ship (#1293) (af88745f2)
  • Read the browser install lane as data like the other lane specs (#1295) (a6e06f842)
  • Tidy browser launch events, runners and the restart hold (#1288) (05296e070)
  • Keep launcher facts in ready.json and guard the writer's stamps (#1271) (1e7bf10bc)
  • Settle CLI parse failures, exit frames and the Windows stops (#1291) (ff36598fa)
  • Trim root CI cost, bound CodeQL caches and test the root scripts (#1290) (4af758a57)
  • Honor project Babel configs and compile Vue files from packages (#1270) (f0b77e87c)
  • Skip the dev reload for files the build never read (#1287) (cdd1ba177)
  • Tighten CLI flag checks, logs and JSON failure frames (#1284) (494de2922)
  • Rewrite pages before minify, say withheld files are not bundled (#1275) (1d9af6caa)
  • Read dev config with browser env files, warn on nested typos (#1269) (e79f1718c)
  • Settle the special folder findings: scan, walk, case, codes (#1276) (19cd5c97c)
  • Fail a skipped zip and tidy compatibility, perf and static assets (#1285) (a7c270b16)
  • Share one fetch policy in create and name install failures plainly (#1267) (9dd084bdf)

Validated before publishing: extension@4.2.1-canary.472.df3e2e9, 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).