Skip to content

v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 May 12:02

πŸš€ Release adnbn v0.7.0 (2026-05-25)

✨ Features

  • csp: add CSP builder layer for extension entrypoints (66a7e77)

    • Add typed CSP configs for view entrypoints and sandbox pages
    • Merge per-entrypoint CSP options into MV2 and MV3 manifest output
    • Wire page, popup, sidebar, and offscreen CSP into extension-pages CSP
    • Keep sandbox CSP generation browser-aware
    • Cover CSP builders and manifest merge behavior with tests
  • manifest: add sandbox and content security policy support for MV2 and MV3 (2fb3e62)

    • Add addSandbox, appendSandboxes, and setSandboxContentSecurityPolicy methods
    • Implement builders for sandbox pages and content security policies in MV2 and MV3
    • Update tests for manifest sandbox functionality
  • sandbox: introduce sandbox message system and host/iframe communication support (7350888)

    • Add SandboxMessage, SandboxHost, SandboxInner, and SandboxMemory classes.
    • Implement in-memory and iframe-based sandbox communication.
    • Add ReadyFrame utility for iframe readiness handling.
    • Extend tests to cover sandbox message system, frame initialization, and transport.

πŸ› Bug Fixed

  • page: add sandbox entrypoint support to PageFinder (8de9e0a)

  • style: add support for merging Sass and CSS with PostCSS and improve style handling (1db73c9)

πŸ§ͺ Tests

  • add unit tests for locale validation and name generator refactor (b7695da)

🧹 Chores

  • enhance type handling and add multiline union alias support in tests (2e385a1)

πŸ› οΈ Refactoring

  • csp: add sandbox CSP support and integrate with view finders (06f2a3b)

    • Implement SandboxViewFinder extending ViewCspFinder to handle sandbox CSPs.
    • Add sandbox.ts fixture to define sandbox CSP configurations.
    • Update Sandbox to fetch CSPs using view-based methods.
    • Adjust manifest to include sandbox CSPs via updated view logic.
    • Add tests to validate sandbox CSP collection and integration.
  • message: extract error handling into dedicated utility module (2ea2fb0)

    • Move serializeError and restoreError from MessageManager to error.ts
    • Replace inline error handling with shared utility functions across the message layer
    • Add comprehensive tests for error serialization and restoration logic
  • transport: refactor transport interfaces and add sandbox registry support (26f8099)

    • Split TransportMessage into TransportSender and TransportReceiver
    • Add TransportMessage implementation combining sender and receiver
    • Introduce TransportDeclarationLayer.Sandbox and sandbox.d.ts handling
    • Implement TransportBuilder for sandbox transport initialization
    • Add destroy method and cleanup mechanism to RegisterTransport

πŸ™Œ Contributors