Skip to content

Releases: mozilla/web-ext

5.1.0

21 Sep 12:47
@rpl rpl
Compare
Choose a tag to compare

Features

  • web-ext run: Android build variants do not require anymore a fully qualified apk component value in the --apk-component flag (#1935, #1941) (c083c07), as an example the following command can now be used to run an extension on the Fenix performancetest build variant: web-ext run -t firefox-android ... --firefox-apk=org.mozilla.fenix.performancetest --firefox-apk-component=HomeActivity (instead of ... --firefox-apk-component=org.mozilla.fenix.HomeActivity)

  • web-ext lint: updated to use addons-linter v2.5.0 (#2019 and #2028):

    • Imported Firefox 80 and Firefox 81 APIs Schema
    • Fixed optional_permissions validations to match the validation rules already applied to the manifest permissions (#3060)
    • Added new banned libraries and versions (e.g. DOMPurify <= 2.0.16) due to security vulnerabilities (#3336, #3347 and 5c7dc87)
    • See all addons-linter changes: 2.1.0...2.5.0

Bug Fixes

  • Various dependencies updated to their last released versions: @babel/runtime to v7.11.2 (#1989), node-notifier to v8 (#1997), sign-addon updated to v3.1.0 (5cf782b, 05dd260) update-notifier updated to v4.1.1 (#2001)

See all changes: 5.0.0...5.1.0

5.0.0

27 Jul 12:48
@rpl rpl
Compare
Choose a tag to compare

⚠ BREAKING CHANGES ⚠

In previous web-ext versions, the directory passed to --chromium-profile would be modified while using web-ext run.
As of 5.0.0, a copy of the profile is used instead, unless --keep-profile-changes is passed.

Features

  • web-ext run:

    • Support keep profile changes while running Chrome on an existing profile-directory and fixed selection of non-Default chrome profiles (#1920), closes #1909
  • web-ext lint: updated to use addons-linter v2.1.0 (#1946, #1967):

    • Imported firefox 79 APIs Schema
    • New JS syntax supported: optional chaining, BigInt, and dynamic imports (closes #1770)
    • See all addons-linter changes: 1.26.0...2.1.0

Bug Fixes

  • web-ext run / web-ext sign / web-ext build:

    • web-ext does now look for the extension id in the manifest.json browser_specific_settings, and fallback to the applications if no browser_specific_settings is being used or if it does not include a gecko property (#1974), closes #1901
  • web-ext run:

    • web-ext run -t firefox-android is now detecting (and warning the user) if old artifacts dirs are being left on the target adb device, using the new --adb-remove-old-artifacts will remove them automatically (#1965), closes #1591
    • Fixed --firefox-binary firefoxdeveloperedition alias resolution on macOS, fixed by updating fx-runner to v1.0.13 (#1962), closes #1960
  • Fixed node v14 warnings by lazily import git-rev-sync only in non-production mode (#1972), closes #1916

  • web-ext is now providing explicit ESM exports in its package.json file (#1934)

  • Various dependencies updated to their last released versions: bunyan to v1.8.14 (#1940), camelcase to v6 (#1879), chrome-launcher to v0.13.4 (#1953), decamelize to v4 (#1829), firefox-profile to v2 (#1861), node-notifier to v7.0.2 (#1881, #1968), open to v7.1.0 (#1831, #1964), parse-json to v5.0.1 (#1971), watchpack to v1.7.4 (#1908, #1973), sign-addon to v2.0.6 (#1939), strip-json-comments to v3.1.1 (#1954), tmp to v0.2.1 (#1896), update-notifier to v4.1.0 (#1839), ws to v7.3.1 (#1897), yargs to v15.4.1 (#1948)

See all changes: 4.3.0...5.0.0

4.3.0

22 Jun 19:46
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • web-ext run:
    • Fixed bug on using web-ext run --arg with values that start with -- (e.g. Chrome's --no-default-browser-check or Firefox's --search=... options) (fixed by updating yargs dependency to v15.3.1, #1902)
    • Added support for running extensions on android build variants by specify the fully qualified android component as --firefox-apk-component (#1891, #1918), e.g.:
      web-ext run --firefox-apk=org.mozilla.fenix.performancetest --firefox-apk-component=org.mozilla.fenix.HomeActivity
  • web-ext sign:
    • Fixed bug on setting web-ext sign apiKey and apiSecret options into a web-ext config file (#1327, #1928)
  • Fixed npm audit errors detected when using web-ext as an npm dependency (#1913, #1902)

Features

  • web-ext run:
    • --firefox-binary "firefoxdeveloperedition"/"deved" can now be used as shortcut aliases for running an extension on a Firefox Developer Edition instance (#1929)
  • web-ext lint: updated to use addons-linter v1.26.0 (#1887):
    • Imported firefox 76/77/78 APIs Schema
    • See all addons-linter changes: 1.23.0...1.26.0
  • web-ext build:
    • Add --filename option to web-ext build command (#1335, #1900)

See all changes: 4.2.0...4.3.0

4.2.0

22 Apr 14:13
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • web-ext run:

Features

  • web-ext run:
    • Added support for the Reference Browser to the firefox-android extension runner (#1870) (#1871) (e604112)
    • Disabled data reporting and “Choose what I share” notification by default (#1883) (4af120f)
  • web-ext lint: updated to use addons-linter v1.23.0:

See all changes: 4.1.0...4.2.0

4.1.0

12 Feb 15:13
@rpl rpl
b27863d
Compare
Choose a tag to compare

Bug Fixes

  • WEB_EXT_* environment variables are not detected anymore as unsupported options for the current web-ext command (#793, #1812)
  • web-ext run: Firewall applications are not being triggered anymore by running an extension on Chromium or Firefox for Android (#1833)
  • web-ext lint: Updated dependency addons-linter to v1.20.0 (#1809)
  • web-ext sign: Updated dependency sign-addon to v2.0.5 (#1825)

Features

  • web-ext run -t firefox-android can now be used to run WebExtensions on GeckoView-based browser, like Firefox for Android Preview (also known as Fenix) (#1834)
  • web-ext run ... --firefox-apk-component ComponentName to run a specific Android Component (#1834)
  • web-ext run --watch-file path/to/file can now be used to only reload the extension when the given file has been updated (#1784)

See all changes: 4.0.0...4.1.0

4.0.0

24 Dec 14:04
@rpl rpl
Compare
Choose a tag to compare

⚠ BREAKING CHANGES ⚠

  • Dropped support for node.js 8 👋

Features

  • Suggest matching commands (#1763)
  • Updated web-ext lint to use addons-linter v1.19.0:
    • Imported Firefox 71 APIs schema (#2892)
    • Imported Firefox 72 APIs schema (#2964)
    • Updated list of known libraries
    • See all addons-linter changes: 1.14.0...1.19.0

Bug Fixes

  • web-ext sign:
    • Fixed command timeout (fixed upstream in sign-addon v2) (#1773)
  • web-ext run:
    • Fixed --start-url regression on multiple urls (#1707)
  • web-ext run Firefox Desktop:
    • Enabled by default visibility of extension pages and content scripts logs in the BrowserConsole (#1725)
    • Reset browser.link.open_newwindow when running Firefox desktop (#1766)
  • web-ext run Chromium Desktop:
    • Fixed intermittent Chromium extension runner startup failure on MacOS (#1779, #1796)
    • Removed default '--mute-audio' flag for chromium (#1775)

See all changes: 3.2.0...4.0.0

3.2.1

05 Nov 17:04
@rpl rpl
97670ad
Compare
Choose a tag to compare

Bug Fixes

  • Increased web-ext sign default timeout (#1748)

See all changes: 3.2.0...3.2.1

3.2.0

27 Sep 17:16
@rpl rpl
Compare
Choose a tag to compare

Features

  • web-ext run --target chromium can now be used to run a WebExtension on Chromium-based browsers (by default web-ext will search and run Google Chrome, --chromium-binary BINARY_PATH can be used to run a specific Chromium-based browser, including Brave, Edge, Opera or Vivaldi) (#1392)
  • web-ext commands are now showing a code frame when parsing manifest.json or messages.json files fails (thanks to parse-json dependency updated to v5)
  • Updated web-ext lint to use addons-linter version 1.14.0:
    • Imported Firefox 70 APIs schema
    • Imported Firefox 69 APIs schema
    • Updated mdn-browser-compat-data to v.0.0.94
    • Support linting for all icons in manifest.json (#2677)
    • Support linting CRX3 files (#2621)
    • Limit extension id to 255 chars max to match AMO limit on submissions (#2643)
    • See all addons-linter changes: 1.10.0...1.14.0

Bug Fixes

  • web-ext now strips the UTF-8 BOM before parsing manifest.json/messages.json (#1712, closes #1013)
  • web-ext run is now choosing a random free tcp port for the Firefox Desktop remote debugging server (#1669, closes #1509), use web-ext run --verbose ... if you need to know which port Firefox Desktop is listening on
  • Updated dependencies:
    • yargs v13.3.0 (#1658)
    • Changed npm dependency from opn to open (#1715)
    • Changed npm dependency from require-uncached to import-fresh (#1691)
    • node-notifier v6 (#1710)
    • source-map-support v0.5.13 (#1671)

See all changes: 3.1.1...3.2.0

3.1.1

19 Jul 15:25
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • Added explicit validation of the choices supported by the --target option (#1644) (739aa52)
  • Fixed regression on supporting multiple values after --ignore-files/-i (#1652) (ff0ffa5)
  • Updated dependencis:
    • fx-runner to v1.0.11 (e2537d9), fixes #1659 (npm audit failure, security advisor related lodash dependency)
    • update-notifier to v3.0.1 (#1646) (72bb28c)

See all changes: 3.1.0...3.1.1

3.1.0

27 Jun 13:43
@rpl rpl
Compare
Choose a tag to compare

Features

Bug Fixes

  • Fixed incompatibility with some old android versions, by allowing comma as separator when checking permissions via adb (f187d76)
  • Normalized default_locale before use (#1637) (805b617), closes 1632
  • Restored default value for "browser.link.open_newwindow" about:config pref on Firefox for Android (b2aed74), closes #1592
  • Stop bundling dependencies with slashes (#1634) (fd336bb), closes #1629
  • Updated dependencies: adbkit to v2.11.1, camelcase to version 5.3.1, debounce to version 1.2.0, decamelize to version 3.2.0, git-rev-sync to version 1.12.0, multimatch to version 4, node-notifier to version 5.4.0, opn to version 5.5.0, require-uncached to version 2.0.0, source-map-support to version 0.5.11, update-notifier to version 3, watchpack to version 1.6.0, yargs to v13.2.4, source-map-support to v0.5.12, strip-json-comments to v3, tmp to v0.1.0

See all changes: 3.0.0...3.1.0