Skip to content

deps: bump the CLDMV dev tools - #121

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

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

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

🔧 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: config Changes to repository or project configuration files type: dependencies Relates to dependency updates, version bumps, or package management labels Nov 28, 2026
@cldmv-bot cldmv-bot Bot changed the title deps: bump the CLDMV dev tools chore: restamp file headers with fix-headers 2.6.1 Nov 28, 2026
@cldmv-bot

cldmv-bot Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Auto-normalized PR title: rewrote PR title to match the highest-priority commit type (chore).

  • Before: deps: bump the CLDMV dev tools
  • After: chore: restamp file headers with fix-headers 2.6.1

If this isn't what you want, edit the title — the normalizer won't re-fire as long as the title stays conventional.

@cldmv-bot cldmv-bot Bot added area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure type: ci Changes to CI workflows, actions, or build pipelines type: documentation Relates to docs, README updates, guides, or inline code comments labels Nov 28, 2026
Moved @cldmv/vitest-runner to 1.11.4, @cldmv/configs to 1.5.0, @cldmv/fix-headers to 2.6.1 and @cldmv/jsonv and @cldmv/prettier-plugin-jsonv to 1.2.4, with npm update for the rest (eslint-plugin-jsonv stays in range, now 1.1.2). No lint fixes were needed. The CI gate (build:ci, npm test, ci:coverage) matched the baseline in k3s-test: 22 files, 441 passed, 3 skipped.

fix-headers 2.6.1 also restamped the headers of 82 files: @filename is now written without a leading slash.

dependabot.yml takes the npm groups from the CLDMV/.github v4.47.0 template (CLDMV/.github#593).
@Shinrai
Shinrai force-pushed the deps/cldmv-dev-tools branch from 6d659aa to d7c97bb Compare November 28, 2026 18:15
@cldmv-bot cldmv-bot Bot changed the title chore: restamp file headers with fix-headers 2.6.1 deps: bump the CLDMV dev tools Nov 28, 2026
@Shinrai
Shinrai merged commit 3a5b500 into next Nov 28, 2026
34 checks passed
@cldmv-bot
cldmv-bot Bot deleted the deps/cldmv-dev-tools branch November 28, 2026 22:40
@cldmv-bot cldmv-bot Bot mentioned this pull request Nov 28, 2026
Shinrai added a commit that referenced this pull request Nov 28, 2026
Shinrai added a commit that referenced this pull request Nov 29, 2026
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- docs: cover #121 in the v3.0.0 changelog (#120) (fbcbaea)
- docs: drop the vitest-runner line from the v3.0.0 changelog (#120)
(cf13634)
- docs: add the v3.0.0 changelog and promote What's New (#120) (862df1f)



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

- @Shinrai

</details>
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

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! deps → next v4 flow: deps contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: dependencies Relates to dependency updates, version bumps, or package management type: documentation Relates to docs, README updates, guides, or inline code comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant