Open keithx2 opened 7 months ago
This bug with management.onInstalled is placed under the following bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1700797#c8
So there is the possibility that this issue will get fixed in a later version of Firefox...
An extension may listen to runtime.onUpdateAvailable and then it may delay an update until the browser restarts. The management.onInstalled event won't fire in these cases when the browser restarts, so Changelogger does not log the version change. Changelogger could compare the installed versions of extensions when it starts up (management.getAll) with the previous versions of extensions stored in storage.local to see if the versions differ and update the changelog if necessary.
Here is a link to uBlock Origin that delays updates until the browser restarts:
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/versions/