Releases: mozilla/web-ext
5.3.0
Feature
web-ext lint
: updated to use addons-linter v2.9.0 (#2043):- Imported Firefox 82 APIs Schema (mozilla-addons-linter/addons-linter#3385)
- Prevented .eslintignore files in the current working directory to be loaded and used by
web-ext lint
(mozilla/addons-linter#3390) - See all addons-linter changes: 2.7.0...2.9.0
Bug Fixes
web-ext run -t firefox-android
: improved visibility of the message that remind the user to enable "Remote Debugging via USB" to successfully install and reload the extension on the target application (Firefox for Android or other GeckoView-based android application) (#2038)
See all changes: 5.2.0...5.3.0
5.2.0
Feature
web-ext lint
: updated to use addons-linter v2.7.0 (#2032):- Updated banned libraries and versions (DOMPurify <= v2.1.0)
- Updated Firefox for Android WebExtensions API compat data
- See all addons-linter changes: 2.5.0...2.7.0
Bug Fixes
Various dependencies updated to their last released versions:
- Updated
firefox-profile
to v4 (#2030)- the new version does also include a fix for a security advisory related to one of the
firefox-profile
dependencies (#2026)
- the new version does also include a fix for a security advisory related to one of the
- Updated
open
to v7.3.0 (#2004) - Updated
update-notifier
to v5 (#2036) - Switched from
adbkit
to@devicefarmer/adbkit
(#2039)- the new package does also include a fix for a security advisory related to one of the
adbkit
dependencies (#2025)
- the new package does also include a fix for a security advisory related to one of the
See all changes: 5.1.0...5.2.0
5.1.0
Features
-
web-ext run
: Android build variants do not require anymore a fully qualified apk component value in the--apk-component
flag (#1935, #1941) (c083c07), as an example the following command can now be used to run an extension on the Fenix performancetest build variant:web-ext run -t firefox-android ... --firefox-apk=org.mozilla.fenix.performancetest --firefox-apk-component=HomeActivity
(instead of... --firefox-apk-component=org.mozilla.fenix.HomeActivity
) -
web-ext lint
: updated to use addons-linter v2.5.0 (#2019 and #2028):- Imported Firefox 80 and Firefox 81 APIs Schema
- Fixed optional_permissions validations to match the validation rules already applied to the manifest permissions (#3060)
- Added new banned libraries and versions (e.g. DOMPurify <= 2.0.16) due to security vulnerabilities (#3336, #3347 and 5c7dc87)
- See all addons-linter changes: 2.1.0...2.5.0
Bug Fixes
- Various dependencies updated to their last released versions: @babel/runtime to v7.11.2 (#1989), node-notifier to v8 (#1997), sign-addon updated to v3.1.0 (5cf782b, 05dd260) update-notifier updated to v4.1.1 (#2001)
See all changes: 5.0.0...5.1.0
5.0.0
⚠ BREAKING CHANGES ⚠
In previous web-ext
versions, the directory passed to --chromium-profile
would be modified while using web-ext run
.
As of 5.0.0, a copy of the profile is used instead, unless --keep-profile-changes
is passed.
Features
-
web-ext run
: -
web-ext lint
: updated to use addons-linter v2.1.0 (#1946, #1967):- Imported firefox 79 APIs Schema
- New JS syntax supported: optional chaining, BigInt, and dynamic imports (closes #1770)
- See all addons-linter changes: 1.26.0...2.1.0
Bug Fixes
-
web-ext run
/web-ext sign
/web-ext build
: -
web-ext run
:web-ext run -t firefox-android
is now detecting (and warning the user) if old artifacts dirs are being left on the target adb device, using the new--adb-remove-old-artifacts
will remove them automatically (#1965), closes #1591- Fixed
--firefox-binary firefoxdeveloperedition
alias resolution on macOS, fixed by updating fx-runner to v1.0.13 (#1962), closes #1960
-
Fixed node v14 warnings by lazily import git-rev-sync only in non-production mode (#1972), closes #1916
-
web-ext is now providing explicit ESM exports in its package.json file (#1934)
-
Various dependencies updated to their last released versions: bunyan to v1.8.14 (#1940), camelcase to v6 (#1879), chrome-launcher to v0.13.4 (#1953), decamelize to v4 (#1829), firefox-profile to v2 (#1861), node-notifier to v7.0.2 (#1881, #1968), open to v7.1.0 (#1831, #1964), parse-json to v5.0.1 (#1971), watchpack to v1.7.4 (#1908, #1973), sign-addon to v2.0.6 (#1939), strip-json-comments to v3.1.1 (#1954), tmp to v0.2.1 (#1896), update-notifier to v4.1.0 (#1839), ws to v7.3.1 (#1897), yargs to v15.4.1 (#1948)
See all changes: 4.3.0...5.0.0
4.3.0
Bug Fixes
web-ext run
:- Fixed bug on using
web-ext run --arg
with values that start with--
(e.g. Chrome's--no-default-browser-check
or Firefox's--search=...
options) (fixed by updating yargs dependency to v15.3.1, #1902) - Added support for running extensions on android build variants by specify the fully qualified android component as
--firefox-apk-component
(#1891, #1918), e.g.:
web-ext run --firefox-apk=org.mozilla.fenix.performancetest --firefox-apk-component=org.mozilla.fenix.HomeActivity
- Fixed bug on using
web-ext sign
:- Fixed
npm audit
errors detected when using web-ext as an npm dependency (#1913, #1902)
Features
web-ext run
:--firefox-binary "firefoxdeveloperedition"/"deved"
can now be used as shortcut aliases for running an extension on a Firefox Developer Edition instance (#1929)
web-ext lint
: updated to use addons-linter v1.26.0 (#1887):- Imported firefox 76/77/78 APIs Schema
- See all addons-linter changes: 1.23.0...1.26.0
web-ext build
:
See all changes: 4.2.0...4.3.0
4.2.0
Bug Fixes
web-ext run
:
Features
web-ext run
:web-ext lint
: updated to use addons-linter v1.23.0:- Imported Firefox 73/74/75 APIs Schema
- Improved mdn-browser-compat-data linting warning based on the details available about Firefox supported versions and flags associated with the API compatibility metadata (mozilla/addons-linter#2944)
- Support validating manifest CSP properties in v3 format (mozilla/addons-linter#3053)
- See all addons-linter changes: 1.20.0...1.23.0
See all changes: 4.1.0...4.2.0
4.1.0
Bug Fixes
WEB_EXT_*
environment variables are not detected anymore as unsupported options for the current web-ext command (#793, #1812)web-ext run
: Firewall applications are not being triggered anymore by running an extension on Chromium or Firefox for Android (#1833)web-ext lint
: Updated dependency addons-linter to v1.20.0 (#1809)web-ext sign
: Updated dependency sign-addon to v2.0.5 (#1825)
Features
web-ext run -t firefox-android
can now be used to run WebExtensions on GeckoView-based browser, like Firefox for Android Preview (also known as Fenix) (#1834)web-ext run ... --firefox-apk-component ComponentName
to run a specific Android Component (#1834)web-ext run --watch-file path/to/file
can now be used to only reload the extension when the given file has been updated (#1784)
See all changes: 4.0.0...4.1.0
4.0.0
⚠ BREAKING CHANGES ⚠
- Dropped support for node.js 8 👋
Features
- Suggest matching commands (#1763)
- Updated
web-ext lint
to use addons-linter v1.19.0:- Imported Firefox 71 APIs schema (#2892)
- Imported Firefox 72 APIs schema (#2964)
- Updated list of known libraries
- See all addons-linter changes: 1.14.0...1.19.0
Bug Fixes
web-ext sign
:- Fixed command timeout (fixed upstream in sign-addon v2) (#1773)
web-ext run
:- Fixed --start-url regression on multiple urls (#1707)
web-ext run
Firefox Desktop:web-ext run
Chromium Desktop:
See all changes: 3.2.0...4.0.0
3.2.1
3.2.0
Features
web-ext run --target chromium
can now be used to run a WebExtension on Chromium-based browsers (by default web-ext will search and run Google Chrome,--chromium-binary BINARY_PATH
can be used to run a specific Chromium-based browser, including Brave, Edge, Opera or Vivaldi) (#1392)web-ext
commands are now showing a code frame when parsing manifest.json or messages.json files fails (thanks to parse-json dependency updated to v5)- Updated
web-ext lint
to use addons-linter version 1.14.0:- Imported Firefox 70 APIs schema
- Imported Firefox 69 APIs schema
- Updated mdn-browser-compat-data to v.0.0.94
- Support linting for all icons in manifest.json (#2677)
- Support linting CRX3 files (#2621)
- Limit extension id to 255 chars max to match AMO limit on submissions (#2643)
- See all addons-linter changes: 1.10.0...1.14.0
Bug Fixes
web-ext
now strips the UTF-8 BOM before parsing manifest.json/messages.json (#1712, closes #1013)web-ext run
is now choosing a random free tcp port for the Firefox Desktop remote debugging server (#1669, closes #1509), useweb-ext run --verbose ...
if you need to know which port Firefox Desktop is listening on- Updated dependencies:
See all changes: 3.1.1...3.2.0