Skip to content

Releases: addon-stack/inject-script

v0.3.1

21 Oct 09:11

Choose a tag to compare

🚀 Release @addon-core/inject-script v0.3.1 (2025-10-21)

🐛 Bug Fixed

  • handle exceptions when checking for Firefox compatibility (4a1c250)

🙌 Contributors

v0.3.0

08 Oct 16:26

Choose a tag to compare

🚀 Release @addon-core/inject-script v0.3.0 (2025-10-08)

✨ Features

  • update dependencies and package metadata (413b15e)

    • Rename @adnbn scope to @addon-core
    • Add new dev dependencies including Jest, CommitLint, ReleaseIt, and others

📝 Documentation

  • update README and documentation files for rebranding and improved clarity (481e1a1)

    • Update scope from @adnbn to @addon-core across 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.

🤖 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 .mailmap and 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 ExecutionWorld type to accept string literals for flexibility.
    • Simplify release script by removing unused release:preview from package.json.
    • Add overrides for glob and source-map packages, ensuring compatibility.
    • Bump esbuild-related dependencies to version 0.25.10 for enhanced features and fixes.

🛠️ Refactoring

  • add robust message handling for InjectScriptV2 (246fdeb)

    • Introduce getBrowser utility to determine runtime environment (Chrome/Firefox API).
    • Add sendMessage helper function for safe and consistent message dispatching.
    • Replace direct chrome.runtime.sendMessage calls with sendMessage for error resilience.
    • Improve error handling with detailed console logs for runtime and unexpected exceptions.
  • improve target resolution and script execution handling (1e488e5)

    • Simplify target() method logic in InjectScriptV3 for clarity and edge case handling.
    • Refactor run() method across InjectScriptV2 and InjectScriptV3 for streamlined execution.
    • Adjust imports to use standard and renamed modules from @addon-core/browser.
    • Add more robust error-handling in InjectScriptV2 execution flow.
    • Use TS type imports to improve code clarity and type inference.
  • simplify run method type definition in InjectScriptContract (bcce7fd)

    • Remove redundant type constraint on R in run method to streamline type definition.
    • Ensure easier maintenance and improved type inference consistency.
  • split tsup config for ESM and CJS builds (ccd9725)

    • Extract shared options into a common configuration object.
    • Separate ESM and CJS configurations for better customization and clarity.
    • Adjust dts and clean options for respective build formats.

🙌 Contributors

v0.2.2

11 Aug 13:37

Choose a tag to compare

v0.2.2 v0.2.2

v0.2.1

17 Jul 13:42

Choose a tag to compare

v0.2.1 v0.2.1

v0.2.0

26 Jun 12:58

Choose a tag to compare

v0.2.0 v0.2.0

v0.1.1

23 Jun 21:18

Choose a tag to compare

v0.1.1 v0.1.1