Skip to content

Releases: addon-stack/browser

v0.4.1

19 Feb 13:09

Choose a tag to compare

🚀 Release @addon-core/browser v0.4.1 (2026-02-19)

✨ Features

  • sidebar: enhance API support and add error handling for unsupported features (f2b1658)

  • sidebar: improve isOpenSidebar for available in Chrome (2cfbe44)

📝 Documentation

  • sidebar: update API details and improve documentation structure (654275d)

🧹 Chores

  • biome: exclude addon folder from linting (645b47c)

🙌 Contributors

v0.3.0

15 Feb 20:47

Choose a tag to compare

🚀 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

v0.2.3

13 Oct 22:25

Choose a tag to compare

🚀 Release @addon-core/browser v0.2.3 (2025-10-13)

🐛 Bug Fixed

  • windows: handle optional filter parameter in event listeners (b5ce785)

🧹 Chores

  • config: remove duplicate "test" entry from commit type mapping (5a98228)

  • mailmap: update email mappings for contributor aliases (a609811)

🙌 Contributors

v0.2.2

11 Oct 11:34

Choose a tag to compare

🚀 Release @addon-core/browser v0.2.2 (2025-10-11)

🐛 Bug Fixed

  • sidebar: address incorrect type for ColorArray and document Opera API issue (272b151)

    • Updated ColorArray to use chrome.extensionTypes.ColorArray for correct type reference.
    • Documented known Opera issue with opr.sidebarAction.setIcon API in code and docs/sidebar.md.

🛠️ Refactoring

  • ci: cleanup husky pre-commit and remove lint-staged configuration (93a1d39)

    • Replaced lint-staged usage in pre-commit with explicit npm run commands.
    • Removed lint-staged and prettier dependencies from package.json.
    • Updated .mailmap for email alias consistency.
    • Bumped dependencies (@biomejs/biome, @commitlint/cli, @octokit/*) to the latest versions.
  • management: use stricter typing for launchType (9f55dc7)

  • sidebar: enhance sidebar API support for Opera and Firefox (cd26f6c)

    • Improved handling of sidebarAction and sidePanel APIs across supported browsers.
    • Added Opera-specific checks like isAvailableOperaSidebar for feature detection.
    • Resolved potential API call issues by properly handling promises and warnings.
    • Updated documentation to reflect accurate cross-browser sidebar feature support.

🙌 Contributors

v0.2.1

06 Oct 21:44

Choose a tag to compare

🚀 Release @addon-core/browser v0.2.1 (2025-10-06)

🐛 Bug Fixed

  • sidebar: update compatibility warnings for Firefox support (8878ec0)

📝 Documentation

  • changelog: update with release v0.4.0 details (fd3b420)

  • README: update browser compatibility details (af86fdc)

  • sidebar: format sidebar links using Markdown syntax (11922cc)

🤖 CI

  • enforce consistent line endings and configure git EOL (0a0e05a)

    • Added .gitattributes to enforce LF line endings for text files while retaining CRLF for scripts.
    • Updated ci.yml to configure git EOL settings explicitly for Windows runners.
    • Modified biome.json to specify LF as the default line ending.
  • improve release workflows with tag detection and npm ci (b58de5f)

    • Added fetch-tags: true for checkout actions to improve tag availability.
    • Updated dependency installation to use npm ci with HUSKY=0 environment variable.
    • Implemented logic to detect the latest tag and include it in release commands.
    • Enhanced release and release:preview steps with conditional latest tag usage.
  • merge release workflows and replace deprecated processes (7c0f4c7)

    • Consolidated release-prepare.yml and release-publish.yml into a unified release.yml.
    • Enhanced CI workflow with dynamic OS/Node matrix computation for efficient testing.
    • Improved test command in package.json to include coverage reporting in CI.
    • Updated .release-it.cjs with enhanced contributor parsing and changelog formatting.
  • simplify release workflows by removing latest tag detection logic (0b96c03)

    • Removed latest tag detection from release-publish.yml and release-prepare.yml workflows.
    • Updated .release-it.cjs to handle tag detection and related logic internally.
    • Improved commit classification and sorting with refined logic in the release configuration.

🧹 Chores

  • release: bump version to 0.4.0 (d38c4f9)

🛠️ Refactoring

  • browser: improve WebExtension API support detection (d00cc3a)

    • Enhanced detection of the WebExtension API by checking runtime.id availability.
    • Added fallback to globalThis.chrome when globalThis.browser is unavailable.
    • Throw an error when no supported WebExtension API is available in the current context.
    • Updated api.d.ts with runtime.id declaration and consistent formatting for parameters.
  • improve code readability and simplify expressions (6a9d820)

    • Replaced require("child_process") with require("node:child_process") for modern module import.
    • Simplified ternary expressions and conditionals to reduce complexity.
    • Used optional chaining and nullish coalescing for safer property access.
    • Adjusted formatting for consistency in object and array handling.
    • Added comments to ignore biome lint warnings for release-it placeholders.

🙌 Contributors

v0.2.0

06 Oct 21:01

Choose a tag to compare

🚀 Release @addon-core/browser v0.4.0 (2025-09-29)

✨ Features

  • commands: add onSpecificCommand listener with tab support (af2aca7)

    • Introduced a new onSpecificCommand method to handle specific command logic.
    • Included optional tab parameter to enhance callback functionality.
  • commands: fix import order and adjust onSpecificCommand typing (a46c703)

    • Reordered handleListener import for consistency across modules.
    • Refined onSpecificCommand type signature for better readability.
  • migrate to Biome formatter, enhance linting, and setup Husky hooks (57cd2f2)

    • Replaced Prettier with Biome for formatting and linting configuration.
    • Added Husky hooks (commit-msg, pre-commit, pre-push) for enhanced Git workflows.
    • Updated project metadata in package.json,
      including repository details, contributors, and scripts.
    • Refined dependencies and updated package-lock.json to reflect changes.
  • sidebar: add setIcon and clearBadgeText methods (eed6b3e)

  • tabs: convert promise chains to async/await and add new helper methods (d678a77)

    • Refactored findTab and findTabById to use async/await syntax for improved readability.
    • Added findTabByUrl to retrieve the first tab matching a specific URL.
    • Introduced openOrCreateTabByUrl to handle opening or creating a tab based on URL presence.
  • userScripts: refine typings and enhance method flexibility (21e4181)

    • Added UserScriptInjection and InjectionResult types for improved type safety.
    • Introduced executeUserScript method to simplify script execution handling.
    • Updated resetUserScriptsWorldConfigs to accept optional worldId for more flexibility.
    • Improved filtering logic in getUserScripts and unregisterUserScripts for better reusability.
    • Added isAvailableUserScripts method for checking userScripts API availability.
  • windows: add windows API (fc64cd1)

🐛 Bug Fixed

  • scripting: remove redundant async keyword in Promise executor (83044d2)

  • update npm publish args for public access (61a0676)

🤖 CI

  • add release-it and release-it/conventional-changelog (9897c56)

    • Introduced release-it for automating versioning and publishing workflows.
    • Added release-it/conventional-changelog for generating changelogs using Conventional Commits.

🛠️ Refactoring

  • alarms: simplify alarms typing and update getAlarm return type (725b5d3)

    • Removed redundant type assertion in alarms function.
    • Updated getAlarm to explicitly return Promise<Alarm | undefined>.
  • downloads: reorder imports and update method typings (dd8c27b)

    • Adjusted handleListener import order for consistency.
    • Updated method return types, including getDownloadFileIcon and openDownload, for better precision.
    • Added typings refinements, such as template literal types for getDownloadState.
    • Reorganized comments to enhance code readability.
  • fileBrowserHandler: rename onExecute to onFileBrowserHandlerExecute (37dcd84)

  • history: reorder imports and update type definitions (37f90b1)

    • Adjusted handleListener import order for better modularity.
    • Renamed Url type to UrlDetails for improved clarity and specificity.
    • Simplified history function by removing redundant type assertion.
  • idle: reorder imports and update method typings (942ce72)

    • Adjusted handleListener import order for consistency.
    • Updated queryIdleState return type to use template literal type for improved precision.
    • Simplified the idle function by removing unnecessary type assertion.
  • notifications: rename isSupportNotifications to isAvailableNotifications (93a962a)

  • notifications: rename methods for consistency (1067e56)

    • Renamed getAllNotification to getAllNotifications.
    • Renamed clearAllNotification to clearAllNotifications.
  • notifications: reorder imports and optimize clearAllNotification (c2ad5c1)

    • Adjusted handleListener import order for consistency across modules.
    • Optimized clearAllNotification logic by using Promise.all to handle asynchronous operations.
  • remove fileBrowserHandler export and related implementation (03fff5c)

  • remove redundant type assertions in API modules (c696ef9)

    • Simplified multiple API modules by removing unnecessary type assertions.
    • Affected modules include documentScan, sidebar, contextMenus, browsingData, and others.
  • reorder imports and refine typings (45de7cc)

    • Adjusted safeListener import order in webNavigation.ts and webRequest.ts for consistency.
    • Updated safeListener return type in utils.ts to use undefined instead of void.
  • replace @ts-ignore with @ts-expect-error and optimize imports (a4df181)

    • Replaced @ts-ignore with @ts-expect-error in env.ts for better type safety.
    • Optimized import order in multiple modules by reordering handleListener.
  • runtime: update import and improve type precision (3363c65)

    • Changed FirefoxRuntime import to use type for better readability and tree-shaking.
    • Refined RequestUpdateCheck.status to use a template literal type for enhanced precision.
  • sidebar: improve type safety and simplify API handling (b95cdc5)

    • Updated imports to use type keyword for better readability and tree-shaking.
    • Introduced sidePanel and sidebarAction helpers to simplify API availability checks.
    • Replaced redundant function calls with variable assignments for reuse.
    • Enhanced error and warning messages for unsupported browser features.
    • Streamlined Promise logic by reducing duplicate statements and improving clarity.
  • tabs: update method typings and reorder imports for consistency (fb8a64a)

v0.1.7

17 Jul 12:49

Choose a tag to compare

v0.1.7 v0.1.7

v0.1.6

01 Jul 16:20

Choose a tag to compare

v0.1.6 v0.1.6

v0.1.5

20 Jun 10:27

Choose a tag to compare

v0.1.5 v0.1.5

v0.1.0

19 Jun 21:45

Choose a tag to compare

v0.1.0 v0.1.0