Skip to content

4.1.40 (November 16, 2026)

Choose a tag to compare

@github-actions github-actions released this 16 Nov 04:22
· 14 commits to main since this release
  • 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) (4ebcd0e5b)
  • Key the Firefox base per extension, match native registry errors (#1044) (9938a66a1)
  • Follow more ways a runtime file is named in source (#1043) (31fbb9e30)
  • Reach the page after an idle or an early start in dev (#1042) (258f0b3b6)
  • Place a runtime script's CSS module sheet from the script itself (#1041) (e68a1d790)
  • Pin yarn in the smoke run and write session files whole (#1040) (954a16a02)
  • Hand a MAIN world file its extension base unseen on Firefox (#1039) (9e23105c0)
  • Warn when a content script imports a stylesheet it never places (#1037) (4c61a4331)
  • Carry stylesheet and asset edits to the open tab in dev (#1038) (cf2a3132e)
  • Apply component styles and dev CSS modules in content scripts (#1036) (3ac118296)
  • Restart dev when a MAIN world registration is added or removed (#1034) (f1de26c3d)
  • Keep a new session's control token when the old one exits late (#1035) (7827d4c3b)
  • Name an undeclared surface and return cycles as null in eval (#1032) (729ad2864)
  • Return a scripts file's value from executeScript as native does (#1033) (a004e10e6)
  • Keep the tab an extension opened and drop a stray dev copy (#1030) (b9287fed5)
  • Build a Vue component with a style block in a content script (#1031) (7530c55cc)
  • Say how to reach the devtools page when eval finds it closed (#1029) (54e5e1aa7)
  • Follow build aliases and linked packages to MAIN registrations (#1028) (2d9d287fc)
  • Give an injected MAIN world file its extension base on Firefox (#1027) (4c643900c)
  • Follow imports and constants to a MAIN world registration (#1026) (4bc37b93d)
  • See a MAIN world registration an extension page makes (#1025) (e367e16fa)
  • Open Vivaldi 8.3 on the welcome page and check for load dialogs (#1024) (a2958cabd)
  • Clear the base a runtime MAIN world file reads on Firefox (#1023) (d0c728b72)
  • Carry MAIN world down the import chain of a MAIN world entry (#1022) (18fda77af)
  • Plant nothing on the page from a module a MAIN world entry imports (#1021) (7c3a49cb1)
  • Treat a file executeScript puts in the MAIN world as MAIN world (#1019) (960f03917)
  • Give a runtime MAIN world file its extension base on Firefox (#1020) (8018317fd)
  • Load chunks for a MAIN world file the background registers early (#1018) (00001442f)
  • Say when the extension never comes back after a reload it acked (#1017) (35a6ef0b0)
  • Keep matches absent for a resource group the author gave none (#1016) (819e01bee)
  • Keep an ad-hoc Safari build listed and name an every-site grant (#1014) (9cceb14d1)
  • Put the owner's hidden files back when a create fails partway (#1015) (069456622)
  • Open the Safari WebDriver session before enabling the extension (#1013) (6a0df184c)
  • Wait on Safari's click confirmation and name an open Safari (#1012) (b3a0277ba)
  • Quote Safari's alert message, not only the address it refused (#1011) (078026650)
  • Wait for Safari's unsigned prompt and name an alert that blocks (#1010) (2a192dbf5)
  • Take rslib 1.0.6, name Chromium 148 for browser.* and guard xvfb (#1009) (fa7ec2525)
  • Report when a dev session is ready and the package manager used (#1007) (dfb6f4049)
  • Ship the MCP client file in the bundled template and move the pin (#1008) (7c116c560)
  • Report a dev run that fails after its session started as a failure (#1005) (a02de00a2)
  • Point the CLI, scripts and READMEs at the renamed templates repository (#1003) (31e4fdba0)
  • Use the logo blue as the one brand blue in badges and the devtools (#1004) (358e398ba)
  • Bump the codeql-action group with 3 updates (#999) (58f7a260d)
  • Warn on a store description limit and name a dropped Safari switch (#997) (89365993c)
  • Warn on pages Safari dropped and stamp the Safari enable step (#996) (e1e015e1a)
  • Name the npm stage hold when a publish stays invisible (#995) (7f3242b3f)
  • Skip env files named for another target and print localized names (#994) (40f2949e4)

Validated before publishing: extension@4.1.40-canary.461.db80646, 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).