Skip to content

Releases: mozilla/web-ext

5.4.1

07 Dec 12:59
@rpl rpl
Compare
Choose a tag to compare

Bug Fixes

  • deps: updated addons-linter dependency to v2.13.1 (#2081, mozilla/addon-scanner-utils#115) to prevent some unnecessary npm packages to be part of the web-ext dependencies tree (express and some other npm package not actually used by web-ext or addons-linter).

Features

See all changes: 5.4.0...5.4.1

5.4.0

20 Nov 13:35
@rpl rpl
Compare
Choose a tag to compare

Features

  • web-ext lint: updated to use addons-linter v2.12.0 (#2059, #2070)

    • Updated denied libraries entries
    • Updated browser compat data (and migrated to the new @mdn/browser-compat-data npm package)
    • Fixed validation of non-square svg icons (now reported as a warning instead of an error)
    • Fixed missing file name in the validation errors related to invalid json files
    • New validation warning when the applications and browser_specific_settings manifest properties are used in the same manifest.json file
    • See all addons-linter changes: 2.9.0...2.12.0
  • web-ext run:

    • Added a new --profile-create-if-missing option (#2058) to be used, combined with the --firefox-profile or --chromium-profile option, to ensure that an empty profile directory will be created if the specified profile path doesn't exist yet.

Bug Fixes

  • web-ext global command line options:

    • Fixed "Unknown argument: input" error raised when --no-input global cli option is used without an explicit boolean value (#1860)
  • web-ext run -t firefox-android:

See all changes: 5.3.0...5.4.0

5.3.0

19 Oct 19:08
@rpl rpl
Compare
Choose a tag to compare

Feature

Bug Fixes

  • web-ext run -t firefox-android: improved visibility of the message that remind the user to enable "Remote Debugging via USB" to successfully install and reload the extension on the target application (Firefox for Android or other GeckoView-based android application) (#2038)

See all changes: 5.2.0...5.3.0

5.2.0

05 Oct 16:11
@rpl rpl
Compare
Choose a tag to compare

Feature

  • web-ext lint: updated to use addons-linter v2.7.0 (#2032):
    • Updated banned libraries and versions (DOMPurify <= v2.1.0)
    • Updated Firefox for Android WebExtensions API compat data
    • See all addons-linter changes: 2.5.0...2.7.0

Bug Fixes

Various dependencies updated to their last released versions:

  • Updated firefox-profile to v4 (#2030)
    • the new version does also include a fix for a security advisory related to one of the firefox-profile dependencies (#2026)
  • Updated open to v7.3.0 (#2004)
  • Updated update-notifier to v5 (#2036)
  • Switched from adbkit to @devicefarmer/adbkit (#2039)
    • the new package does also include a fix for a security advisory related to one of the adbkit dependencies (#2025)

See all changes: 5.1.0...5.2.0

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