Releases: mozilla/web-ext
7.3.1
Bug Fixes
web-ext sign
: fixed a bug that caused the experimental CLI flag--use-submission-api
to use an invalid URL (#2531)
See all changes 7.3.0...7.3.1
7.3.0
Features
web-ext lint
: added support for the--firefox-preview
option (#2505)web-ext lint
: updated to use addons-linter v5.18.0 (#2500, #2518, #2524, #2526)- Firefox 106.0b10 schema has been imported
- The linter now verifies that all locale directories have
messages.json
files - The linter now validates CSP values set for the new script-src-elem/script-src-attr directives
web-ext run
: added new CLI flag--devtools
to open DevTools for the installed add-on right away. (#2488) (requires Firefox 106 and above)web-ext sign
: added new experimental CLI flag--use-submission-api
to use the new AMO add-on submission API (#2489). See also: #2503
Bug Fixes
- Other dependencies updated:
See all changes 7.2.0...7.3.0
7.2.0
Features
-
web-ext run
: Added support for flatpak packaged Firefox builds (#2477), as an exampleweb-ext run --firefox flatpak:org.mozilla.firefox
will now run the target extension on the org.mozilla.firefox flatpak package. -
web-ex lint
: Updated to use addons-linter v5.14.0 (#2457, #2463, #2479):- Imported Firefox 104.0b8 API Schema data
- Fixed parsing error on
import.meta
uses from.js
files - Updated @mdn/browser-compat-data to v5.1.8
- Updated eslint to v8.21.0
- Updated espree to v9.3.3
- See all addons-linter changes: 5.10.0...5.14.0
See all changes 7.1.1...7.2.0
7.1.1
Bug Fixes
-
web-ext run
: Fixed issue related to the"extensions.manifestV3.enabled"
custom pref being set totrue
by default even when no--firefox-preview
option was explicitly part of the command line options or config file. (#2454) -
web-ext lint
: Updated to use addons-linter v5.10.0 (#2448)- transitive peer dependencies inherited through addons-linter are now all marked as optional
- See all addons-linter changes: 5.9.0...5.10.0
-
updated dependency update-notifier to v6 (#2444)
(fixes CVE-2022-33987 sec advisory)
See all changes 7.1.0...7.1.1
7.1.0
Features
-
web-ext lint
: Updated to use addons-linter v5.9.0 (#2435, #2441)- Imported Firefox 102.0b8 API Schema data
- Updated @mdn/browser-compat-data to v5.1.1
- See all addons-linter changes: 5.7.0...5.9.0
-
web-ext run
: Introduced a new--firefox-preview
option to enable experimental features
currently locked behind about:config prefs, in particular it enabled the experimental
support formanifest_version: 3
extensions when used with Firefox versions >= 101 (#2436).
Bug Fixes
- Other dependencies updated:
- ws to v8.8.0 (#2430)
See all changes 7.0.0...7.1.0
7.0.0
⚠️ BREAKING CHANGES ⚠️
-
web-ext
npm package is now a pure ESM package (#2405), and so it breaks backward compatibility for requiringweb-ext
from nodejs CommonJS modules. SeeUsing web-ext in NodeJS code
README section for some more updated details about the web-ext APIs exported as web-ext ES Modules. -
Dropped support for NodeJS 12 👋
Features
web-ext lint
: Updated to use addons-linter v5.7.0 (#2400, #2404, #2425)- Imported Firefox 99.0b8, Firefox 100 and Firefox 101.0b6 API Schema data
- Updated @mdn/browser-compat-data to v5
- Added detection and reporting of privileged permissions and properties based on the extension manifest.json file
- Allow
wasm-unsafe-eval
keyword in the custom extension CSP - See all addons-linter changes: 4.14.0...5.7.0
web-ext lint
: Added a new--privileged
CLI flag to enableprivileged extensions
linting mode (#2398)
Bug Fixes
- Dependencies updates:
- camelcase to v7 (#2414, #2419)
- chrome-launcher to v0.15.1 (#2410)
- debounce to v1.2.1 (#2190)
- decamelize to v6 (#2325, #2420)
- fs-extra to v10 (#2237)
- multimatch to v6 (#2421)
- node-notifier to v10 (#2194, #2255)
- open to v8 (#2175)
- parse-json to v6 (#2422)
- promise-toolbox to v0.21.0 (#2415)
- sign-addon to v5 (#2423, #2426)
- source-map-support to v0.5.21 (#2411)
- strip-bom to v5 (#2224)
- strip-json-comments to v4 (#2301)
- watchpack to v2.4.0 (#2253)
- ws to v8 (#2270, #2288)
- yargs to v17 (#2235)
- @devicefarmer/adbkit to v3.2.3 (#2397)
See all changes 6.8.0...7.0.0
6.8.0
Features
web-ext lint
: Updated to use addons-linter v4.14.0 (#2386)- Imported Firefox 98.0b10 API schema
- Updated browser-compat-data
- Fixed TypeError raised in opendialog-remote-uri rule
- See all addons-linter changes: 4.9.0...4.14.0
Bug Fixes
web-ext run
:- Replaced deprecated dependency event-to-promise with promise-toolbox/fromEvent (#2367) (2cfd843)
See all changes 6.7.0...6.8.0
6.7.0
Features
web-ext lint
: Updated to use addons-linter v4.9.0 (#2374, #2376)- Imported Firefox 96.0b7 and 97.0b8 API schema
- Updated known libraries hashes (added new DOMPurify versions)
- Updated browser-compat-data
- Improved memory usage and performance on linting big js files
- See all addons-linter changes: 4.4.0...4.9.0
Bug Fixes
web-ext lint
: Fixed unexpected linting failures triggered by conflicting eslint versions
when web-ext is included as a dev dependency (#2245, fixed in #2374)web-ext run -t chromium
: Applied fix to reload extensions already enabled (#2365)web-ext sign
: Updated dependency sign-addon to v3.11.0 (#2377)
See all changes 6.6.0...6.7.0
6.6.0
Features
web-ext lint
: updated to use addons-linter v4.4.0 (#2346, #2350)- Imported Firefox 94.0b8 and Firefox 95.0b8 API schema
- Updated browser-compat-data
- Updated to use eslint v8, which enables ECMAScript 2022 syntax (e.g. public field declaration and top-level await)
- See all addons-linter changes: 3.20.0...4.4.0
Bug Fixes
web-ext run
:- fixed issues related to the nodejs 17 dns resolution behavior on systems where
localhost
is resolved to an ipv6 address (#2337) - fixed issue with removing temporary profile on nodejs <= 14.4 (#2344, saadtazi/firefox-profile-js#128)
- deps: update dependency fx-runner to v1.2.0 (#2351)
- fixed issues related to the nodejs 17 dns resolution behavior on systems where
- Fixed yargs module resolution issue on yarn 3.x + pnp (#2348)
- Wrap web-ext usage output at terminal width (#2329)
See all changes: 6.5.0...6.6.0
6.5.0
Features
web-ext lint
: Updated to use addons-linter v3.20.0 (#2318)- Imported Firefox 93.0b7 API schema (mozilla/addons-linter#3919)
- Updated browser compat data (mozilla/addons-linter#3918, mozilla/addons-linter#3930)
- Detect and report
INVALID_ZIPFILE
linting error on zip files with invalid chars in filenames (mozilla/addons-linter#3940) - Report
RESTRICTED_PERMISSION
linting error on permissions that requiresstrict_min_version
set to a specific Firefox version
(e.g.proxy
permissions requiresstrict_min_version
set to 91.1.0 or above) - See all addons-linter changes: 3.14.0...3.20.0
Bug Fixes
- Updated dependencies:
See all changes: 6.4.0...6.5.0