Skip to content

Upgrade to hypersync-client 2.0.0 and release 1.5.0 - #67

Merged
JonoPrest merged 2 commits into
mainfrom
upgrade-hypersync-client-2
Oct 30, 2026
Merged

JonoPrest merged 2 commits into
mainfrom
upgrade-hypersync-client-2

Conversation

@JonoPrest

@JonoPrest JonoPrest commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Upgrades the underlying Rust client to hypersync-client 2.0.0, which moves to Arrow 59, and releases 1.5.0.

  • hypersync-client 1.4.1 -> 2.0.0 in Cargo.toml
  • version 1.4.1 -> 1.5.0 in package.json and the five npm/*/package.json platform packages
  • index.js regenerated by yarn build. napi embeds the expected platform package version there. It was still 1.4.0, because 1.4.1 shipped without regenerating it, which only matters when NAPI_RS_ENFORCE_VERSION_CHECK is set.

No source changes. The binding doesn't expose arrow types to JS: it returns plain objects and writes parquet files. The Rust client's major bump only affects Rust consumers of its arrow types, so the JS API is unchanged and this is a minor release.

Testing

  • cargo clippy --all-targets -- -Dwarnings is clean, and yarn build succeeds.
  • yarn test passes (1 passed, 1 skipped as before).
  • Compared against the published @envio-dev/hypersync-client@1.4.1 from npm. The same fixed-range scenarios ran through both versions, and every returned row was fingerprinted. All 19 digests are identical. Scenarios:
    • get
    • collect
    • getEvents
    • a multi-chunk stream (~41k USDC logs)
    • traces (eth-traces)
    • collectParquet

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • The client is now released as version 1.5.0 across supported platforms.
    • Version checks now expect 1.5.0, and mismatches identify the expected and detected versions.

hypersync-client 2.0.0 moves to Arrow 59. The node binding doesn't expose
arrow types, so the JS API is unchanged.
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: f24e4b4a-b8ba-468b-81db-ec3ad13f90f0
Commits

Reviewing files that changed from the base of the PR and between 4352acc and be682f7.

Files selected for processing: 8
  • Cargo.toml
  • index.js
  • npm/darwin-arm64/package.json
  • npm/darwin-x64/package.json
  • npm/linux-arm64-gnu/package.json
  • npm/linux-x64-gnu/package.json
  • npm/linux-x64-musl/package.json
  • package.json

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

Walkthrough

The package version changes from 1.4.1 to 1.5.0. Platform binding checks now expect 1.5.0. The hypersync-client dependency version changes from 1.4.1 to 2.0.0.

Changes: Release Version Updates

Layer / File(s) Summary
Update release versions
Cargo.toml, index.js, npm/*/package.json, package.json
The package metadata versions change to 1.5.0, and platform binding checks expect 1.5.0. The hypersync-client dependency version changes to 2.0.0.

Priority: Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to be682

No actionable release or runtime risk is established; the change is ready to merge.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 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 two primary changes: upgrading hypersync-client to 2.0.0 and releasing version 1.5.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.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files. (7 skipped: 7 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • 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.

napi build embeds the expected platform package version in index.js.
It was still 1.4.0 (not regenerated for 1.4.1), which only surfaces when
NAPI_RS_ENFORCE_VERSION_CHECK is set.
@JonoPrest
JonoPrest requested a review from JasoonS October 29, 2026 16:07
@JonoPrest
JonoPrest merged commit f4c667b into main Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants