Releases: mozilla/web-ext
5.4.1
Bug Fixes
- deps: updated
addons-linter
dependency to v2.13.1 (#2081, mozilla/addon-scanner-utils#115) to prevent some unnecessary npm packages to be part of the web-ext dependencies tree (express
and some other npm package not actually used by web-ext or addons-linter).
Features
web-ext lint
: updated to useaddons-linter
v2.13.1 (#2081):- Imported Firefox 84 APIs schema (mozilla/addons-linter#3471)
- Forbidden "addons.mozilla.org" in
homepage_url
manifest property, to alignweb-ext lint
results to the behavior on addon submittion (mozilla/addons-linter#2253) - See all addons-linter changes: 2.12.0...2.13.1
See all changes: 5.4.0...5.4.1
5.4.0
Features
-
web-ext lint
: updated to use addons-linter v2.12.0 (#2059, #2070)- Updated denied libraries entries
- Updated browser compat data (and migrated to the new @mdn/browser-compat-data npm package)
- Fixed validation of non-square svg icons (now reported as a warning instead of an error)
- Fixed missing file name in the validation errors related to invalid json files
- New validation warning when the
applications
andbrowser_specific_settings
manifest properties are used in the same manifest.json file - See all addons-linter changes: 2.9.0...2.12.0
-
web-ext run
:- Added a new
--profile-create-if-missing
option (#2058) to be used, combined with the--firefox-profile
or--chromium-profile
option, to ensure that an empty profile directory will be created if the specified profile path doesn't exist yet.
- Added a new
Bug Fixes
-
web-ext
global command line options:- Fixed
"Unknown argument: input"
error raised when --no-input global cli option is used without an explicit boolean value (#1860)
- Fixed
-
web-ext run -t firefox-android
:- Support running an extension on the mozilla-mobile/reference-browser android app without an explicit
--firefox-apk-component=BrowserActivity
option (#2041)
- Support running an extension on the mozilla-mobile/reference-browser android app without an explicit
See all changes: 5.3.0...5.4.0
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