Skip to content

deps: bump the CLDMV dev tools to vitest-runner 1.11.5, configs 1.5.1 and fix-headers 2.6.2 - #123

Merged
Shinrai merged 1 commit into
nextfrom
deps/cldmv-dev-tools-r3
Nov 30, 2026
Merged

Shinrai merged 1 commit into
nextfrom
deps/cldmv-dev-tools-r3

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

  • deps: bump the CLDMV dev tools to vitest-runner 1.11.5, configs 1.5.1 and fix-headers 2.6.2 (c6b8760)

🔧 Other Changes

No other changes

👥 Contributors

@cldmv-bot cldmv-bot Bot added ! deps → next v4 flow: deps contributor PR targeting the next integration branch type: dependencies Relates to dependency updates, version bumps, or package management labels Nov 29, 2026
@Shinrai
Shinrai merged commit f5cd292 into next Nov 30, 2026
37 checks passed
@cldmv-bot
cldmv-bot Bot deleted the deps/cldmv-dev-tools-r3 branch November 30, 2026 05:41
@cldmv-bot cldmv-bot Bot mentioned this pull request Nov 30, 2026
cldmv-bot Bot added a commit that referenced this pull request Nov 30, 2026
# DroidSock v2.3.0 Changelog

**Release Date**: November 2026
**Release Type**: Minor
**Branch**: `release/2.3.0`

---

## Overview

v2.3.0 switches the CommonJS entry to the generic `index.cjs` shim used across the CLDMV libraries, and moves the development tools to their latest versions. `require("@cldmv/droidsock")` returns the same function with the same properties as v2.2.1, so this is a drop-in upgrade. The shim also sets `.default` on the result, which the old entry did not.

---

## 🐛 Bug Fixes

### CommonJS entry uses the generic shim ([#118](#118), [#122](#122), fixes [#117](#117))

The hand-written `src/index.cjs` was replaced with the same small file other CLDMV libraries ship (Node version guard, then `require("./index.mjs")`). The ESM entry exports one distinct value, the `createDroidSock` function, under five names (`default`, `createDroidSock`, `DroidSock`, `ADB` and `AndroidDebugBridge`). The first version of the shim returned the bare function with nothing attached; [#122](#122) fixed it so the function carries `.default` and every ESM name again. The build still copies the file unchanged to `dist/index.cjs`, and the CJS tests check the shape against both `src/` and `dist/`.

`require()` result, measured on the published v2.2.1 package and on this build:

| Check                                          | v2.2.1              | v2.3.0     |
| ---------------------------------------------- | ------------------- | ---------- |
| `typeof require(x)`                            | `function`          | `function` |
| `require(x).createDroidSock === require(x)`    | true                | true       |
| `require(x).DroidSock === require(x)`          | true                | true       |
| `require(x).ADB === require(x)`                | true                | true       |
| `require(x).AndroidDebugBridge === require(x)` | true                | true       |
| `const { ADB } = require(x)` is the function   | true                | true       |
| `require(x).default === require(x)`            | false (`undefined`) | true       |

Every alias the old entry had still works. `.default` is new, which is what the CJS convention expects.

## 🔧 CI & tooling

- `ci.yml` adopts the CLDMV/.github v4.46.0 concurrency block, so superseded runs on `next`, `hotfixes` and the release PRs are cancelled instead of filling the org's hosted runner pool ([#119](#119), fixes [#116](#116)).
- `ci.yml` is synced with the v4.43.0 template, so the release PR stops rerunning the matrix on a commit its push run already tested ([#114](#114)).

## 🔧 Dependencies

- The CLDMV dev tools move together: `@cldmv/vitest-runner` 1.5.6 → 1.11.5, `@cldmv/configs` 1.4.0 → 1.5.1, `@cldmv/fix-headers` 2.2.4 → 2.6.2, and `@cldmv/jsonv` and `@cldmv/prettier-plugin-jsonv` 1.1.x → 1.2.4. File headers are restamped (`@Filename` no longer has a leading slash) and `.github/dependabot.yml` is synced to the CLDMV/.github v4.47.0 groups ([#121](#121), [#123](#123)). Development only.
- `@cldmv/slothlet` stays capped at `>=3.22.1 <3.24.0`, because 3.24.0 breaks droidsock ([CLDMV/slothlet#726](CLDMV/slothlet#726)). The range is unchanged from v2.2.1.

## 📚 Documentation

- **NEW:** [docs/changelog/v2/v2.3.0.md](https://github.com/CLDMV/droidsock/blob/v2.3.0/docs/changelog/v2/v2.3.0.md): this changelog.
- README What's New promoted to v2.3.0.

---

## Upgrade notes

- Drop-in for v2.2.1. No code changes needed: `require(x)(...)`, `require(x).ADB`, `const { ADB } = require(x)` and the ESM named exports all work as before.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

---

<!-- coverage-start -->

![coverage](https://img.shields.io/badge/coverage-92.1%25-brightgreen?style=for-the-badge&logo=vitest&logoColor=white)

| Metric | Coverage |
|--------|----------|
| Statements | 93.3% |
| Branches   | 85.7% |
| Functions  | 94.7% |
| Lines      | 95.0% |

*Avg: **92.1%** · `49bed5f` · Node lts/**

<!-- coverage-end -->

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! deps → next v4 flow: deps contributor PR targeting the next integration branch type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant