v0.3.0
π adnbn v0.3.0 Release
Compare: v0.2.9...v0.3.0
β¨ New features
- Storage: added
MonoStorageprovider with tests. - Relay: optional permissions and permission prompts on method calls; support for
scriptingandmessagingmethods; improved initialization. - Manifest/Content: support for
optional_permissions,host_permissions,optional_host_permissions(including forbackground); optional host-permissions for content scripts; improved handling ofdeclarative. - CLI/Entrypoint: added options
mode,debug,manifestVersion.
π οΈ Improvements and refactoring
- Storage: moved factory methods to
AbstractStorage, strengthened types, improvedSecureStoragelogic, 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_resourceslogic.