Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 15 Feb 20:47
· 19 commits to main since this release

πŸš€ Release @addon-core/browser v0.3.0 (2026-02-15)

✨ Features

  • contextMenus: add createOrUpdateContextMenu and refactor promise logic (f177229)

πŸ› Bug Fixed

  • browser: correctly return the appropriate WebExtension API (2a6f8fd)

πŸ€– CI

  • release: update release workflow and npm configuration (4d4cebf)

  • remove redundant NODE_OPTIONS for tests (63252fa)

πŸ§ͺ Tests

  • utils: add comprehensive unit tests for utility functions (2e17708)

🧹 Chores

  • husky: simplify pre-commit hook and refine npm scripts (bd45e51)

  • husky: update pre-push hook to run full tests instead of CI tests (4007f92)

  • package.json: update description and adjust author metadata (d5f9816)

πŸ› οΈ Refactoring

  • replace promise logic with callWithPromise (f7fb1f4)

    Refactored repetitive promise implementations in webNavigation, tabs, sidebar,
    and scripting modules using the callWithPromise utility.
    Removed throwRuntimeError calls where applicable.
    This improves code readability, reduces duplication,
    and aligns with ongoing refactoring efforts.

  • replace promise logic with callWithPromise (fad82e4)

    cookies, downloads, documentScan

  • replace repetitive promise logic with callWithPromise (ffef103)

    Replaced custom promise implementations in offscreen, management, history,
    notifications, i18n, extension, and idle modules with the callWithPromise utility.
    This change reduces redundancy, enhances code maintainability, and aligns with
    recent refactoring efforts.

  • replace repetitive promise logic with callWithPromise (72f8901)

    alarms, browsingData, audio, commands

  • utils: consolidate promise-based utility functions across modules (ae5ca3d)

    Converted repetitive promise logic to a reusable callWithPromise utility,
    reducing redundancy and improving maintainability.
    Replaced scattered throwRuntimeError calls with centralized implementation.
    Updated all affected modules.

  • utils: enhance callWithPromise to support promise-returning executors (f890de4)

πŸ™Œ Contributors