Skip to content

Releases: mozilla/web-ext

7.5.0

24 Jan 13:44
fa989f7
Compare
Choose a tag to compare

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
  • 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:
    • sign-addon to v5.2.0 (#2584)
    • camelcase to v7.0.1 (#2574)
    • eslint to v8.29.0 (#2569)
    • mocha to v10.2.0 (#2572)
    • prettier to v2.8.1 (#2571)
    • ... and some other dev dependencies

See all changes: 7.4.0...7.5.0

7.4.0

24 Nov 08:27
e975ab9
Compare
Choose a tag to compare

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

18 Oct 14:38
b6a546a
Compare
Choose a tag to compare

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

14 Oct 14:00
3d2486d
Compare
Choose a tag to compare

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:
    • jose to v4.10.0 (#2496)
    • sign-addon to v5.1.0 (#2522)
    • ws to v8.9.0 (#2519)
    • yargs to v17.6.0 (#2520)

See all changes 7.2.0...7.3.0

7.2.0

12 Aug 19:26
@rpl rpl
Compare
Choose a tag to compare

Features

  • web-ext run: Added support for flatpak packaged Firefox builds (#2477), as an example web-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

08 Jul 14:59
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • web-ext run: Fixed issue related to the "extensions.manifestV3.enabled" custom pref being set to true 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

21 Jun 12:32
@rpl rpl
Compare
Choose a tag to compare

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 for manifest_version: 3 extensions when used with Firefox versions >= 101 (#2436).

Bug Fixes

  • Other dependencies updated:

See all changes 7.0.0...7.1.0

7.0.0

09 Jun 09:51
@rpl rpl
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES ⚠️

  • web-ext npm package is now a pure ESM package (#2405), and so it breaks backward compatibility for requiring web-ext from nodejs CommonJS modules. See Using 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 enable privileged extensions linting mode (#2398)

Bug Fixes

See all changes 6.8.0...7.0.0

6.8.0

25 Mar 12:27
@rpl rpl
Compare
Choose a tag to compare

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:
    • Improved debounce to prevent multiple extension reloads on consecutive file changes (#2385) (6c53a01)
  • Replaced deprecated dependency event-to-promise with promise-toolbox/fromEvent (#2367) (2cfd843)

See all changes 6.7.0...6.8.0

6.7.0

08 Feb 12:34
@rpl rpl
Compare
Choose a tag to compare

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