Skip to content

Releases: mozilla/web-ext

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

6.4.0

10 Sep 17:08
@rpl rpl
Compare
Choose a tag to compare

Features

Bug Fixes

  • web-ext run -t firefox-android: Fixed issue on running recent Firefox for Android builds (also known with the internal code name "Fenix") due to the WRITE_EXTERNAL_STORAGE android permission not being granted (#2304)

  • web-ext sign: updated to use sign-addon v3.8.0 (#2313)

See all changes: 6.3.0...6.4.0

6.3.0

16 Aug 11:12
@rpl rpl
Compare
Choose a tag to compare

Features

Bug Fixes

  • web-ext sign: updated to use sign-addon 3.7.0 (#2290)

See all changes: 6.2.0...6.3.0

6.2.0

21 Jun 11:30
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • Removed npm engine compatibility restriction < npm v7 (#2271)

    • Fixes EBADENGINE warning logged when installing web-ext using npm v7
  • Updated dependencies:

    • ws to v7.4.6 (#2250) - ⚠ This update include a fix for a ReDoS vulnerability ⚠
    • chrome-launcher to v0.14.0 (#2252)
    • sign-addon to v3.5.0 (#2233)

Features

See all changes: 6.1.0...6.2.0

6.1.0

19 Apr 20:14
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • web-ext run -t firefox: Fixed installed Firefox lookup on Windows to include both HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE windows registry keys (introduced by updating fx-runner dependency to v1.1.0 - #2227)

  • web-ext run -t firefox-android: Fixed issue when using web-ext to run an extension on Android 11 (#2200)

  • web-ext build: Fixed filename sanitizing issue when using a --filename option including arbitrary manifest property to be interpolated (#2222, fixes #2119)

Features

See all changes: 6.0.0...6.1.0

6.0.0

10 Mar 19:45
@rpl rpl
Compare
Choose a tag to compare

⚠ BREAKING CHANGES ⚠

  • Dropped support for node.js 10 👋

  • The filename option has been moved in the build options (where it does actually belong), if you were setting the filename option value from a config file you'll need to update the config file:

module.exports = {
  build: { filename: "...." },
};

Bug Fixes

  • web-ext build: Moved filename option into the build command options (#2178)

  • web-ext sign: Updated sign-addon to v3.3.0 (#2128 / #2153)

  • Various dependencies updated to their last released versions: bunyan v1.8.15 (#2114), camelcase v6.2.0 (#2046), decamelize v5 (#2117), firefox-profile v4.1.0 (#2170), fs-extra v9.1.0 (#2132), multimatch v5 (#2048), node-notifier v9 (#2103), open v7.4.2 (#2111 / #2140 / #2158 / #2161), parse-json v5.2.0 (#2005), update-notifier to v5.1.0 (#2063 / #2139), watchpack v2 (#2024), ws v7.4.3 (#2141), yargs v16 (#2015), zip-dir v2 (#2080)

Features

See all changes: 5.5.0...6.0.0