Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 16:56
· 11 commits to main since this release

🚀 Release @addon-core/browser v0.10.0 (2026-10-11)

💥 Breaking Changes

  • getSidebarPath now returns extension-local paths without a
    leading slash and preserves query parameters and fragments. isOpenSidebar
    without a window ID checks the last focused window and returns false when
    its state cannot be confirmed. isDownloadExists returns false for missing
    records and failed checks instead of undefined or a rejected Promise.

✨ Features

  • api: add sidebar states and safe custom predicates (ad9ba40)

    Expose SidebarState and getSidebarState for open, closed, and unknown results.
    Normalize extension-local sidebar paths while preserving query and fragment.
    Make custom predicates return false when a condition cannot be confirmed.
    Preserve native proxy errors and strict lookups used by Action and downloads.

    Cover failure paths, browser profiles, public types, and ESM/CJS consumers.
    Document predicate contracts and reserve changelog updates for release-it.

  • api: generate availability checks for all API modules (d997cad)

    Generate synchronous namespace checks for 27 browser APIs, deriving each
    export name from its namespace and returning false on unavailable globals
    or access errors. Preserve the three existing public availability names
    and share Action and Sidebar selectors with their methods.

    Encapsulate API descriptions behind default-export codegen entrypoints.
    Move event descriptions into events/apis and keep rendering algorithms
    separate from the common validation and file-writing runner.

    Cover availability behavior, generator entrypoints, public types, ESM/CJS
    consumers, and tree shaking. Update API documentation, contributor
    guidance, generation commands, and watch paths.

  • api: generate event wrappers and standardize API modules (83f24a4)

    Move production APIs into src/api with separate method, event, and custom
    listener modules while preserving published package entrypoints.

    Generate 71 native event wrappers across 19 namespaces from shared and
    specialized templates. Check generated sources in CI and verify tree
    shaking against built-package consumers.

    Add onSpecificAlarms and onSpecificCommands map-based subscriptions.
    Subscribe notification listeners directly and retain an explicit
    availability check for callers.

    Fix sidebar capability detection, asynchronous error propagation, and
    window filtering. Align Opera setIcon declarations and the test harness
    with its optional callback signature.

    Cover methods, events, custom listeners, and consumer types, and update
    API documentation and contributor guidance for the new structure.

  • bookmarks: add native methods and generated events (8dc0860)

  • dnr: add native methods and generated event (d682a84)

    Add thirteen Dnr method wrappers, generated availability and debug subscriptions,
    and browser-specific types. Document native permissions and compatibility.
    Cover real network effects in Chromium and Firefox.

  • search: add search API and browser integration tests (1b6a183)

    Add search helpers, capability checks, public types, and documentation.
    Verify native behavior in isolated Chromium and Firefox extensions.

    Run the browser suites in CI before publishing releases.

  • tab-groups: add native methods and generated events (c89015a)

    Add four methods, generated subscriptions and availability, portable types,
    documentation and consumer checks. Cover the lifecycle and browser-specific
    payloads in Chromium and Firefox, including permission-denied profiles.

    Fix ungroupTab to use Firefox's Promise-only invocation while retaining
    callback support for the chrome facade.

  • top-sites: add API wrappers and browser integration tests (887302b)

    Add getTopSites with Firefox options and generated availability checks.
    Cover native behavior, permissions, installed consumers, and tree shaking.
    Document the API using the shared reference format.

🐛 Bug Fixed

  • api: normalize native calls and verify identity browser flows (2e9b1df)

  • build: clean output before parallel tsup builds (8259d25)

🙌 Contributors