Releases: mozilla/web-ext
7.6.1
7.6.0
Features
- web-ext lint: updated to use
addons-linter
v5.32.0 (#2680) - web-ext sign: add a CLI option to disable the progress bar (#2625)
Bug Fixes
- web-ext run: fix help message to mention "deved" alias for "firefoxdeveloperedition" (#2637)
- Other dependencies updated:
See all changes: 7.5.0...7.6.0
Note: this will very likely be the last web-ext
version that officially supports Node 14.
7.5.0
Features
- web-ext lint: updated to use addons-linter v5.27.0 (#2573, #2583, #2602, #2619)
- import Firefox
109.0b9
API schema - ensure empty ZIP files will output results when auto-close feature is disabled
- switch to vendored
ajv-merge-patch
library to fix a potential security issue - prevent errors when
permissions
in manifest.json isn't an array
- import Firefox
- web-ext sign: send user agent header with signing requests (#2540)
Bug Fixes
- web-ext sign: added missing type for
channel
parameter (#2546) - web-ext sign: fixed the default AMO API base URL used by the experimental
--use-submission-api
CLI flag (#2621) - Other dependencies updated:
See all changes: 7.4.0...7.5.0
7.4.0
Features
web-ext lint
: enabled MV3 by default (#2557)web-ext lint
: updated to use addons-linter v5.23.0 (#2537) (#2561)- Firefox 108.0b5 schema has been imported
- MV3 event pages are now fully supported by the linter
- Various fixes related to CSP have been made in the linter
Bug Fixes
- Other dependencies updated:
See all changes 7.3.1...7.4.0
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