Rayquaza01 / changelogger

A Firefox extension that gets changelogs for other Firefox extensions.
https://addons.mozilla.org/en-US/firefox/addon/changelogger/
MIT License
9 stars 1 forks source link

Extensions that update after the browser restarts aren't appearing in Changelogger #34

Open keithx2 opened 7 months ago

keithx2 commented 7 months ago

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/

keithx2 commented 1 month 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...