Releases: addon-stack/browser
v0.2.3
🚀 Release @addon-core/browser v0.2.3 (2025-10-13)
🐛 Bug Fixed
- windows: handle optional filter parameter in event listeners (b5ce785)
🧹 Chores
-
config: remove duplicate "test" entry from commit type mapping (5a98228)
-
mailmap: update email mappings for contributor aliases (a609811)
🙌 Contributors
- Addon Stack (@addon-stack) — commits: 5
- Rostyslav Nihrutsa — commits: 1
v0.2.2
🚀 Release @addon-core/browser v0.2.2 (2025-10-11)
🐛 Bug Fixed
-
sidebar: address incorrect type for
ColorArrayand document Opera API issue (272b151)- Updated
ColorArrayto usechrome.extensionTypes.ColorArrayfor correct type reference. - Documented known Opera issue with
opr.sidebarAction.setIcon APIin code anddocs/sidebar.md.
- Updated
🛠️ Refactoring
-
ci: cleanup husky pre-commit and remove lint-staged configuration (93a1d39)
- Replaced
lint-stagedusage in pre-commit with explicitnpm runcommands. - Removed
lint-stagedandprettierdependencies frompackage.json. - Updated
.mailmapfor email alias consistency. - Bumped dependencies (
@biomejs/biome,@commitlint/cli,@octokit/*) to the latest versions.
- Replaced
-
management: use stricter typing for launchType (9f55dc7)
-
sidebar: enhance sidebar API support for Opera and Firefox (cd26f6c)
- Improved handling of
sidebarActionandsidePanelAPIs across supported browsers. - Added Opera-specific checks like
isAvailableOperaSidebarfor feature detection. - Resolved potential API call issues by properly handling promises and warnings.
- Updated documentation to reflect accurate cross-browser sidebar feature support.
- Improved handling of
🙌 Contributors
- Addon Stack — commits: 5
v0.2.1
🚀 Release @addon-core/browser v0.2.1 (2025-10-06)
🐛 Bug Fixed
- sidebar: update compatibility warnings for Firefox support (8878ec0)
📝 Documentation
-
changelog: update with release v0.4.0 details (fd3b420)
-
README: update browser compatibility details (af86fdc)
-
sidebar: format sidebar links using Markdown syntax (11922cc)
🤖 CI
-
enforce consistent line endings and configure git EOL (0a0e05a)
- Added
.gitattributesto enforce LF line endings for text files while retaining CRLF for scripts. - Updated
ci.ymlto configure git EOL settings explicitly for Windows runners. - Modified
biome.jsonto specify LF as the default line ending.
- Added
-
improve release workflows with tag detection and npm ci (b58de5f)
- Added
fetch-tags: trueforcheckoutactions to improve tag availability. - Updated dependency installation to use
npm ciwithHUSKY=0environment variable. - Implemented logic to detect the latest tag and include it in release commands.
- Enhanced
releaseandrelease:previewsteps with conditional latest tag usage.
- Added
-
merge release workflows and replace deprecated processes (7c0f4c7)
- Consolidated
release-prepare.ymlandrelease-publish.ymlinto a unifiedrelease.yml. - Enhanced CI workflow with dynamic OS/Node matrix computation for efficient testing.
- Improved test command in
package.jsonto include coverage reporting in CI. - Updated
.release-it.cjswith enhanced contributor parsing and changelog formatting.
- Consolidated
-
simplify release workflows by removing latest tag detection logic (0b96c03)
- Removed latest tag detection from
release-publish.ymlandrelease-prepare.ymlworkflows. - Updated
.release-it.cjsto handle tag detection and related logic internally. - Improved commit classification and sorting with refined logic in the release configuration.
- Removed latest tag detection from
🧹 Chores
- release: bump version to 0.4.0 (d38c4f9)
🛠️ Refactoring
-
browser: improve WebExtension API support detection (d00cc3a)
- Enhanced detection of the WebExtension API by checking
runtime.idavailability. - Added fallback to
globalThis.chromewhenglobalThis.browseris unavailable. - Throw an error when no supported WebExtension API is available in the current context.
- Updated
api.d.tswithruntime.iddeclaration and consistent formatting for parameters.
- Enhanced detection of the WebExtension API by checking
-
improve code readability and simplify expressions (6a9d820)
- Replaced
require("child_process")withrequire("node:child_process")for modern module import. - Simplified ternary expressions and conditionals to reduce complexity.
- Used optional chaining and nullish coalescing for safer property access.
- Adjusted formatting for consistency in object and array handling.
- Added comments to ignore biome lint warnings for release-it placeholders.
- Replaced
🙌 Contributors
- Addon Bone — 13 commits
- Addon Stack (@addon-stack) — 3 commits
- Rostyslav Nihrutsa — 1 commits
v0.2.0
🚀 Release @addon-core/browser v0.4.0 (2025-09-29)
✨ Features
-
commands: add
onSpecificCommandlistener with tab support (af2aca7)- Introduced a new
onSpecificCommandmethod to handle specific command logic. - Included optional tab parameter to enhance callback functionality.
- Introduced a new
-
commands: fix import order and adjust
onSpecificCommandtyping (a46c703)- Reordered
handleListenerimport for consistency across modules. - Refined
onSpecificCommandtype signature for better readability.
- Reordered
-
migrate to Biome formatter, enhance linting, and setup Husky hooks (57cd2f2)
- Replaced Prettier with Biome for formatting and linting configuration.
- Added Husky hooks (
commit-msg,pre-commit,pre-push) for enhanced Git workflows. - Updated project metadata in
package.json,
including repository details, contributors, and scripts. - Refined dependencies and updated
package-lock.jsonto reflect changes.
-
sidebar: add setIcon and clearBadgeText methods (eed6b3e)
-
tabs: convert promise chains to async/await and add new helper methods (d678a77)
- Refactored
findTabandfindTabByIdto use async/await syntax for improved readability. - Added
findTabByUrlto retrieve the first tab matching a specific URL. - Introduced
openOrCreateTabByUrlto handle opening or creating a tab based on URL presence.
- Refactored
-
userScripts: refine typings and enhance method flexibility (21e4181)
- Added
UserScriptInjectionandInjectionResulttypes for improved type safety. - Introduced
executeUserScriptmethod to simplify script execution handling. - Updated
resetUserScriptsWorldConfigsto accept optionalworldIdfor more flexibility. - Improved filtering logic in
getUserScriptsandunregisterUserScriptsfor better reusability. - Added
isAvailableUserScriptsmethod for checking userScripts API availability.
- Added
-
windows: add windows API (fc64cd1)
🐛 Bug Fixed
-
scripting: remove redundant async keyword in Promise executor (83044d2)
-
update npm publish args for public access (61a0676)
🤖 CI
-
add
release-itandrelease-it/conventional-changelog(9897c56)- Introduced
release-itfor automating versioning and publishing workflows. - Added
release-it/conventional-changelogfor generating changelogs using Conventional Commits.
- Introduced
🛠️ Refactoring
-
alarms: simplify alarms typing and update
getAlarmreturn type (725b5d3)- Removed redundant type assertion in
alarmsfunction. - Updated
getAlarmto explicitly returnPromise<Alarm | undefined>.
- Removed redundant type assertion in
-
downloads: reorder imports and update method typings (dd8c27b)
- Adjusted
handleListenerimport order for consistency. - Updated method return types, including
getDownloadFileIconandopenDownload, for better precision. - Added typings refinements, such as template literal types for
getDownloadState. - Reorganized comments to enhance code readability.
- Adjusted
-
fileBrowserHandler: rename
onExecutetoonFileBrowserHandlerExecute(37dcd84) -
history: reorder imports and update type definitions (37f90b1)
- Adjusted
handleListenerimport order for better modularity. - Renamed
Urltype toUrlDetailsfor improved clarity and specificity. - Simplified
historyfunction by removing redundant type assertion.
- Adjusted
-
idle: reorder imports and update method typings (942ce72)
- Adjusted
handleListenerimport order for consistency. - Updated
queryIdleStatereturn type to use template literal type for improved precision. - Simplified the
idlefunction by removing unnecessary type assertion.
- Adjusted
-
notifications: rename
isSupportNotificationstoisAvailableNotifications(93a962a) -
notifications: rename methods for consistency (1067e56)
- Renamed
getAllNotificationtogetAllNotifications. - Renamed
clearAllNotificationtoclearAllNotifications.
- Renamed
-
notifications: reorder imports and optimize clearAllNotification (c2ad5c1)
- Adjusted
handleListenerimport order for consistency across modules. - Optimized
clearAllNotificationlogic by usingPromise.allto handle asynchronous operations.
- Adjusted
-
remove fileBrowserHandler export and related implementation (03fff5c)
-
remove redundant type assertions in API modules (c696ef9)
- Simplified multiple API modules by removing unnecessary type assertions.
- Affected modules include
documentScan,sidebar,contextMenus,browsingData, and others.
-
reorder imports and refine typings (45de7cc)
- Adjusted
safeListenerimport order inwebNavigation.tsandwebRequest.tsfor consistency. - Updated
safeListenerreturn type inutils.tsto useundefinedinstead ofvoid.
- Adjusted
-
replace
@ts-ignorewith@ts-expect-errorand optimize imports (a4df181)- Replaced
@ts-ignorewith@ts-expect-errorinenv.tsfor better type safety. - Optimized import order in multiple modules by reordering
handleListener.
- Replaced
-
runtime: update import and improve type precision (3363c65)
- Changed
FirefoxRuntimeimport to usetypefor better readability and tree-shaking. - Refined
RequestUpdateCheck.statusto use a template literal type for enhanced precision.
- Changed
-
sidebar: improve type safety and simplify API handling (b95cdc5)
- Updated imports to use
typekeyword for better readability and tree-shaking. - Introduced
sidePanelandsidebarActionhelpers to simplify API availability checks. - Replaced redundant function calls with variable assignments for reuse.
- Enhanced error and warning messages for unsupported browser features.
- Streamlined Promise logic by reducing duplicate statements and improving clarity.
- Updated imports to use
-
tabs: update method typings and reorder imports for consistency (fb8a64a)
v0.1.7
v0.1.7 v0.1.7
v0.1.6
v0.1.6 v0.1.6
v0.1.5
v0.1.5 v0.1.5
v0.1.0
v0.1.0 v0.1.0