Skip to content

chore(native-hid): bump @openmouse/protocol to v0.42.2 - #24

Merged
snekxs merged 1 commit into
mainfrom
chore/native-hid-protocol-0.42.2
Oct 15, 2026
Merged

snekxs merged 1 commit into
mainfrom
chore/native-hid-protocol-0.42.2

Conversation

@snekxs

@snekxs snekxs commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Bump @openmouse/protocol in native-hid from v0.42.1 to v0.42.2.
  • v0.42.2 carries the wireless Viper V3 Pro polling commit from mouse-protocol #228 / #229: the extended polling write now follows selector 0x00 with selector 0x01, so the rate is stored and survives a mouse power cycle.
  • allowScripts gains the new tag and resolved commit (e53af6d…), keeping the existing historical commit keys.

This mirrors the previous bump (47a230f, v0.42.1).

Test plan

  • npm ci --prefix native-hid --omit=dev resolves the new tag and installs cleanly
  • npm test in native-hid (4 pass)
  • Installed dist/razer/devices.js carries the 0x00c1 commit write (extendedPollingCommitTransactionId: RAZER_TRANSACTION_ID_1F)
  • Cut the next Bridge release (v* tag) so the bundled helper ships it

Summary by CodeRabbit

  • Chores
    • Updated native HID setup to recognize mouse protocol revision 0.42.2 and allow its associated setup scripts. No changes to user-facing functionality or public APIs are included.

Bridge's native helper should track the current mouse-protocol release,
which carries the Viper V3 Pro wireless polling commit (mouse-protocol
#228/#229): selector 0x01 reaches the mouse's store, so a polling-rate
change no longer reverts after the mouse powers off.

Verified with `npm ci --prefix native-hid --omit=dev` and the native-hid
tests; the installed dist carries the 0x00c1 commit write.
@github-actions github-actions Bot added type: maintenance PR title category: maintenance area: devices HID access and device drivers area: dependencies Dependency manifests and lockfiles labels Oct 15, 2026
@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: OpenMouse-Project/OpenMouse-Bridge/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89f76be5-3008-4df8-afdd-71fd537706c4
📥 Commits

Reviewing files that changed from the base of the PR and between 8209243 and 23cd402.

⛔ Files ignored due to path filters: 1
  • native-hid/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 1
  • native-hid/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The native HID package updates @openmouse/protocol from v0.42.1 to v0.42.2. Its script allowlist now includes two additional mouse-protocol commit hashes.

Changes: Protocol dependency update

Layer / File(s) Summary
Update protocol dependency and script allowlist
native-hid/package.json
The package dependency and allowed script entry move to v0.42.2. The allowlist adds two mouse-protocol commit hashes.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: jazzstack

Merge Risk: ⚪ Minimal · up to 23cd4

The dependency update includes the Viper V3 Pro wireless polling persistence change and is ready to merge; users will receive it with the next Bridge release tag.

### Architecture Summary

Architecture risk: 🔵 Low · up to 23cd4

The change affects 1 system.

Changed systems: native-hid

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — native-hid (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in native-hid/package.json: The @openmouse/protocol dependency and its allowed script entry are updated from v0.42.1 to v0.42.2; two additional mouse-protocol commit hashes are allowed to run scripts.
Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating @openmouse/protocol in native-hid to v0.42.2.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@snekxs
snekxs merged commit 9eff168 into main Oct 15, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dependencies Dependency manifests and lockfiles area: devices HID access and device drivers type: maintenance PR title category: maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant