Skip to content

4.4.3 (December 5, 2026)

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 19:54
· 4 commits to main since this release

Upgrade notes

  • A production build that passed on 4.4.2 with a "shipped uncompiled" Sass warning, or with a Tailwind PostCSS plugin that could not be resolved, now fails. Install the package the error names. extension dev still warns and keeps running.

  • An env file value that holds $NAME or ${NAME} of a variable that is set is now replaced by that variable's value, and \$ becomes a literal $. Write \$ or use single quotes to keep a dollar sign as written. A reference nothing sets stays as written, and a public value that holds one warns with the new code W_ENV_REFERENCE_UNRESOLVED.

  • Every command except dev, start and preview exits as soon as its work is done. A config file that relied on an open handle to keep build alive no longer does.

  • events.ndjson can carry a new browser_reopened event after browser_exited, and ready.json then describes the new browser.

  • Under --output json, each zip_artifacts entry gains files_count, and the source entry gains files.

  • On Linux with neither DISPLAY nor WAYLAND_DISPLAY set, start and preview exit 1 with the new code E_NO_DISPLAY before any browser is started, unless the launch is headless. Set EXTENSION_HEADLESS=1 or run under a display server.

  • Under WSL, --chromium-binary or --gecko-binary pointing at a Windows .exe is refused with E_BROWSER_BINARY_INVALID. Install a Linux browser in the distribution.

  • --silent together with --debug is now an error. Pass one, or --verbosity.

  • The zip file name keeps a hyphen or underscore the extension name has: tab-manager now gives tab-manager-1.0.0-chrome.zip where it gave tabmanager-1.0.0-chrome.zip. Update a script that reads the old name.

  • Tailwind v4 renders in a content script shadow root: shadows, rings, gradients, transforms and borders that depend on @property rules work inside a shadow root, where they computed to nothing. Docs

  • Press Enter to reopen a closed browser: when the browser that extension dev opened closes, Enter in the terminal launches it again with the current build and reload attached, where the whole command had to be restarted.

  • extension dev works under WSL: a Linux browser inside the distribution is launched with WSLg or headless, where the CLI started a Windows browser it could not control and the session crashed or sat silent.

  • A source zip a reviewer can rebuild: build --zip-source in a workspace packs the workspace packages, the root manifest and the lockfile the build needs, and --zip-source-include and --zip-source-exclude control the rest. Docs

  • Security: cross-spawn 7.1.2: closes a command injection on Windows when a batch file such as npm.cmd is run with crafted arguments.

Also in 4.4.3 (23)
  • extension build stops when sass or the Tailwind PostCSS plugin is missing and names the package to install, where it shipped the file uncompiled or without Tailwind's styles and only warned.
  • A production build no longer emits a script or stylesheet that Chrome refuses with "It isn't UTF-8 encoded" when a string holds an escape such as "\uFFFF".
  • A value in an env file can refer to another variable with ${NAME}, $NAME or ${NAME:-fallback}.
  • extension build ends when the build is done even when extension.config.js leaves a timer or a server open, where it never exited.
  • A project that installs @types/chrome 0.3 type checks with skipLibCheck off, where browser was declared twice.
  • extension create --no-git leaves git alone, and create inside an existing repository never makes a nested one.
  • extension dev --strict-port fails with E_PORT_TAKEN when the port is in use, for setups that depend on the exact port.
  • Safari builds take --app-category, --uses-non-exempt-encryption and --build-number for App Store submission.
  • --zip-filename takes the tokens {name}, {version}, {versionName} and {browser}, and the "Packaged" line gives the file count.
  • Stable Google Chrome launched through --chromium-binary shows no "unsupported command-line flag" bar.
  • Two saves in quick succession can no longer leave an older content script registered in dev.
  • A Safari build keeps a page that a script opens when the manifest key that named it is one Safari drops.
  • The welcome page updates when your extension is reloaded, turned on or off, or removed.
  • A failed build prints a loader's report without the loader's file path and without a second "Warning" or "Error" label.
  • A .svelte or .vue file in a project without svelte or vue fails the build with "The svelte package isn't installed" and the command to install it, where it failed with "JavaScript parse error: Unexpected token '<'".
  • --verbosity <silent|error|warn|info|debug> on every command that prints chooses how much it prints, and verbosity in extension.config.js sets the default.
  • On Linux with no display, a headed launch ends with E_NO_DISPLAY and how to continue, where the browser crashed. extension dev keeps its server running.
  • A Snap Firefox or Chromium loads the extension when the CLI runs through npx, and a project outside the home folder or in a hidden folder of it is refused with one message that names the cause.
  • A Snap browser asked to run a project under /mnt, /media or /run/media without its removable-media plug is refused with the sudo snap connect command that fixes it.
  • Under WSL1, a Chrome or Edge that dies at startup is reported with the cause and the command that moves the distribution to WSL2.
  • Stable Google Chrome launched through --chromium-binary opens the welcome page and loads the developer tools companion, like the managed browser.
  • A Safari conversion that fails with "Error opening project" is retried once.
  • extension docs saves the Extension.js docs into the project, with an index and a section in AGENTS.md that points a coding agent at them. A second run on the same version needs no network.

Dependencies: cross-spawn 7.0.6 to 7.1.2, ws 8.20.1 to 8.23.0.

All commits since 4.4.2

Tested before publishing on Chrome, Firefox, Edge and Safari: this build compiled every buildable sample of extension-js/corpus and passed the extension-js/templates suite (run).