π 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, andsetSandboxContentSecurityPolicymethods - Implement builders for sandbox pages and content security policies in MV2 and MV3
- Update tests for manifest sandbox functionality
- Add
-
sandbox: introduce sandbox message system and host/iframe communication support (7350888)
- Add
SandboxMessage,SandboxHost,SandboxInner, andSandboxMemoryclasses. - Implement in-memory and iframe-based sandbox communication.
- Add
ReadyFrameutility for iframe readiness handling. - Extend tests to cover sandbox message system, frame initialization, and transport.
- Add
π 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
SandboxViewFinderextendingViewCspFinderto handle sandbox CSPs. - Add
sandbox.tsfixture to define sandbox CSP configurations. - Update
Sandboxto 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.
- Implement
-
message: extract error handling into dedicated utility module (2ea2fb0)
- Move
serializeErrorandrestoreErrorfromMessageManagertoerror.ts - Replace inline error handling with shared utility functions across the message layer
- Add comprehensive tests for error serialization and restoration logic
- Move
-
transport: refactor transport interfaces and add sandbox registry support (26f8099)
- Split
TransportMessageintoTransportSenderandTransportReceiver - Add
TransportMessageimplementation combining sender and receiver - Introduce
TransportDeclarationLayer.Sandboxandsandbox.d.tshandling - Implement
TransportBuilderfor sandbox transport initialization - Add
destroymethod and cleanup mechanism toRegisterTransport
- Split
π Contributors
- Anjey Tsibylskij (@atldays) β commits: 11