v0.2.3
π adnbn v0.2.3 Release
We are excited to present a new version of the Addon Bone framework for cross-browser extension development!
β¨ Key Improvements
π Offscreen API Improvements
- β
Added validation of the
urlparameter inProxyOffscreenfor proper reuse of instances - β Extended tests to verify validation and reuse based on URL
- β Improved formatting of test files
π Node Lifecycle Management in Content Scripts
- β
Implemented an event-based lifecycle management system via
EventEmitterin content scripts - β
Added boolean return semantics for
mountandunmountmethods - β Optimized lifecycle methods and container resolver
π Type and Expression Handling in Entrypoint Parsing
- β
Improved type assertion handling in
unwrapExpressionandgetTypeFromInitializermethods - β
Extended support for
browser.*namespaces inTypeResolver - β Excluded members with underscore prefixes from type generation
π Message Handling
- β
Refactored
MessageSenderAware: updatedsenderproperty to use theMessageSenderPropertyconstant - β
Introduced
MessageSenderandMessageSenderAwarein transport modules
π Localization
- β
Added Edge browser support in minimum version handling in
LocaleValidator
π Refactoring and Code Improvements
- β
Refactored
MemberFilterutility: replaced class with a separate function - β
Improved imports using
typefor better type specificity - β
Removed redundant
//@ts-ignorecomments - β Added missing type definitions
- β
Updated default values for
config
π Resource Handling
- β
Extended the resource loader
testregular expression to support additional image formats (svg, avif, tiff, bmp, ico) - β
Updated
styleMergerLoaderto properly handle relative URLs - β
Added verification for
HtmlRspackPluginpresence before applying HTML plugin configuration