Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 06 Oct 21:44
· 94 commits to main since this release

🚀 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