1.49.2

gorhill/uBlock1.49.2Apr 26, 2023by github-actions[bot]

AI Summary

A hotfix release primarily addressing issues with browser alarms and promise handling within the storage APIs to improve stability.

Key Highlights

  • Reversed usage of browser.alarms
  • Fixed handling of rejected promises from storage APIs
  • Added more checks against unexpected conditions in assets.json

Full Release Notes

[Commits to master since this release](https://github.com/gorhill/uBlock/compare/1.49.2...master)
[Commits since last release](https://github.com/gorhill/uBlock/compare/1.49.0...1.49.2)

To install the stable build:

- **Firefox**: Click [uBlock0_1.49.2.firefox.signed.xpi](https://addons.mozilla.org/firefox/downloads/file/4103048/ublock_origin-1.49.2.xpi)
    - [uBO works best on Firefox](https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox).
- **Chromium**: Install from the Chrome store (CWS): <https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm>
- **Edge**: Install from Microsoft Store: <https://microsoftedge.microsoft.com/addons/detail/odfafepnkmbhccpbejgmiehpchacaeak>
    - The Microsoft Store version of uBO is published by [Nicole Rolls](https://github.com/nicole-ashley/uBlock-Edge)
- **Opera**: Install from Opera addons: <https://addons.opera.com/en/extensions/details/ublock/>

## Fixes

- [Reverse usage of browser.alarms](https://github.com/gorhill/uBlock/commit/348f75af7fdb8ede8ea09735e854b35a5162040a)
- [Mind rejected promises from vAPI.storage API](https://github.com/gorhill/uBlock/commit/98d4d24f9b784294bde0db4dd7a1dbed021f2c83)
- [Properly handle promise rejection from webext.storage.local API](https://github.com/gorhill/uBlock/commit/54cb5e22329aec4883c61af3a27f5d3c7ae9d74d)
- [Add more checks against unexpected conditions re. assets.json](https://github.com/gorhill/uBlock/commit/6294829e68b2f6eb2afe133205a36cbc8bb529ed)