Releases: addon-stack/inject-script
Releases · addon-stack/inject-script
v0.3.1
🚀 Release @addon-core/inject-script v0.3.1 (2025-10-21)
🐛 Bug Fixed
- handle exceptions when checking for Firefox compatibility (4a1c250)
🙌 Contributors
- Addon Stack — 2 commits
- Rostyslav Nihrutsa — 1 commits
v0.3.0
🚀 Release @addon-core/inject-script v0.3.0 (2025-10-08)
✨ Features
-
update dependencies and package metadata (413b15e)
- Rename
@adnbnscope to@addon-core - Add new dev dependencies including Jest, CommitLint, ReleaseIt, and others
- Rename
📝 Documentation
-
update README and documentation files for rebranding and improved clarity (481e1a1)
- Update scope from
@adnbnto@addon-coreacross entire README and docs. - Add badges for license, CI/CD status, and npm stats to README.
- Expand usage examples with clear MV2/MV3 distinctions and advanced scenarios.
- Introduce sections for features, compatibility, and troubleshooting.
- Revise CONTRIBUTING.md with a detailed branching model, workflow, and quality gates.
- Add SECURITY.md with vulnerability reporting guidelines and support policy.
- Include MIT License file with detailed permissions and conditions.
- Update scope from
🤖 CI
-
set up robust CI/CD pipelines and automated releases (756401e)
- Add CI workflow for linting, testing, and coverage reporting using GitHub Actions.
- Introduce matrix builds for OS (Ubuntu, Windows) and Node.js versions (18, 20, 22).
- Create a release workflow for version bumping, publishing, and main-to-develop sync.
- Configure release-it for automated changelog generation and semantic releases.
- Improve contributor tracking with custom
.mailmapand release-it configuration.
🧹 Chores
-
configure project with Husky, CommitLint, and Biome (b4234ba)
- Add Husky hooks for pre-commit, commit-msg, and pre-push validations.
- Introduce CommitLint with conventional commit style configuration.
- Replace Prettier with Biome for formatting and linting, with detailed configuration.
- Enforce consistent line endings using
.gitattributes.
-
update dependencies and adjust configurations (7251e7e)
- Expand
ExecutionWorldtype to accept string literals for flexibility. - Simplify
releasescript by removing unusedrelease:previewfrompackage.json. - Add overrides for
globandsource-mappackages, ensuring compatibility. - Bump esbuild-related dependencies to version 0.25.10 for enhanced features and fixes.
- Expand
🛠️ Refactoring
-
add robust message handling for
InjectScriptV2(246fdeb)- Introduce
getBrowserutility to determine runtime environment (Chrome/Firefox API). - Add
sendMessagehelper function for safe and consistent message dispatching. - Replace direct
chrome.runtime.sendMessagecalls withsendMessagefor error resilience. - Improve error handling with detailed console logs for runtime and unexpected exceptions.
- Introduce
-
improve target resolution and script execution handling (1e488e5)
- Simplify
target()method logic inInjectScriptV3for clarity and edge case handling. - Refactor
run()method acrossInjectScriptV2andInjectScriptV3for streamlined execution. - Adjust imports to use standard and renamed modules from
@addon-core/browser. - Add more robust error-handling in
InjectScriptV2execution flow. - Use TS
typeimports to improve code clarity and type inference.
- Simplify
-
simplify
runmethod type definition inInjectScriptContract(bcce7fd)- Remove redundant type constraint on
Rinrunmethod to streamline type definition. - Ensure easier maintenance and improved type inference consistency.
- Remove redundant type constraint on
-
split
tsupconfig for ESM and CJS builds (ccd9725)- Extract shared options into a
commonconfiguration object. - Separate ESM and CJS configurations for better customization and clarity.
- Adjust
dtsandcleanoptions for respective build formats.
- Extract shared options into a
🙌 Contributors
- Addon Bone — 12 commits
v0.2.2
v0.2.2 v0.2.2
v0.2.1
v0.2.1 v0.2.1
v0.2.0
v0.2.0 v0.2.0
v0.1.1
v0.1.1 v0.1.1