Skip to content

v0.3.0

Choose a tag to compare

@addon-owner addon-owner released this 24 Sep 10:14
· 250 commits to main since this release

πŸš€ adnbn v0.3.0 Release

Compare: v0.2.9...v0.3.0


✨ New features

  • Storage: added MonoStorage provider with tests.
  • Relay: optional permissions and permission prompts on method calls; support for scripting and messaging methods; improved initialization.
  • Manifest/Content: support for optional_permissions, host_permissions, optional_host_permissions (including for background); optional host-permissions for content scripts; improved handling of declarative.
  • CLI/Entrypoint: added options mode, debug, manifestVersion.

πŸ› οΈ Improvements and refactoring

  • Storage: moved factory methods to AbstractStorage, strengthened types, improved SecureStorage logic, and overall readability.
  • Relay: unified and improved permission checks, typing, and code structure; added hasMethod.
  • Manifest builders: reworked merging of web_accessible_resources, normalization and accumulation of changes; simplified function splitting logic.
  • CLI: modular utilities for files and path resolution; ordered imports for content resolvers.
  • Code style: consistent quotes/semicolons and formatting.

🐞 Fixes

  • Relay: warning for misconfiguration with scripting; default method in options if not specified; stabilized tests.

πŸ“š Documentation

  • Added SECURITY.md, contribution guide, and code of conduct; updated meta information.

Other

  • package.json: reorganized fields and export structure.
  • Cleanup: removed unused Jest TypeScript config.

Migration notes

  • If you use Relay, review the permission flow: calling methods may now trigger a permission request.
  • When building the manifest, account for new fields for optional/host permissions and the updated web_accessible_resources logic.