Skip to content

Releases: mozilla/web-ext

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

6.6.0

26 Nov 18:05
@rpl rpl
Compare
Choose a tag to compare

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 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

12 Oct 10:00
@rpl rpl
Compare
Choose a tag to compare

Features

Bug Fixes

  • Updated dependencies:
    • sign-addon to v3.9.0 (#2327)
    • firefox-profile to v4.2.1 (#2317)
    • source-map-support to v0.5.20 (#2316)

See all changes: 6.4.0...6.5.0