Skip to content

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

Merged
JasoonS merged 1 commit into
mainfrom
upgrade-hypersync-client-2
Oct 30, 2026
Merged

JasoonS merged 1 commit into
mainfrom
upgrade-hypersync-client-2

Conversation

@JonoPrest

@JonoPrest JonoPrest commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

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

  • hypersync-client 1.4.1 -> 2.0.0
  • arrow 57 -> 59. This is the arrow crate used to hand record batches to pyarrow over FFI. It has to match the client's arrow version, otherwise the build fails on mismatched RecordBatch types. cargo tree -d now shows a single arrow (59.3.2).
  • Package version 1.2.1 -> 1.3.0, with a CHANGELOG entry.

No source changes. The Python API is unchanged: data still crosses to pyarrow through the Arrow C data interface, which is stable across Arrow versions. So this is a minor release, not a major one.

Testing

  • cargo clippy --all-targets -- -Dwarnings is clean.
  • Built with maturin develop --release. test.py passes against production (all 12 checks, including the pyarrow Table type assertions).
  • Compared against the published hypersync==1.2.1 from PyPI. The same 8 fixed-range scenarios ran through both versions, and every returned pyarrow table was fingerprinted by schema and by every row. All 32 digests are identical. Scenarios:
    • get_arrow with every field
    • collect_arrow with event decoding and Decimal128/Decimal256/IntStr/Float64/Int column mappings, in both hex modes
    • traces with all fields (eth-traces)
    • collect, collect_events
    • a multi-chunk stream_arrow (~88k USDC logs)
    • collect_parquet read back with pyarrow (~92k logs)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • Released version 1.3.0 with updated Arrow compatibility.
    • The Python API remains unchanged, and data continues to be passed to pyarrow through the Arrow C data interface.

hypersync-client 2.0.0 moves to Arrow 59. Bump the arrow dependency used
for the pyarrow FFI handoff from 57 to 59 so both share one arrow version.
The Python API is unchanged.
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Walkthrough

The package version changes to 1.3.0. The hypersync-client dependency changes to 2.0.0, and Arrow changes to 59. The changelog records these updates and states that the Python API and Arrow C data interface remain unchanged.

Changes: Package upgrade

Layer / File(s) Summary
Release version and dependencies
Cargo.toml, CHANGELOG.md
The package version changes from 1.2.1 to 1.3.0. hypersync-client changes from 1.4.1 to 2.0.0, and Arrow changes from 57 to 59 while retaining the ffi feature. The changelog records the upgrade and states that the Python API and Arrow C data interface remain unchanged.

Priority: Low

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

Change: Other

Suggested reviewers: claude

Merge Risk: Minimal · up to 1606a

No material merge-blocking risk is established in the reviewed changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely identifies the main dependency upgrade and the 1.3.0 release.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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

No eligible functions found in the changed files. Skipping docstring coverage check. 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 0 functions across 0 files. (2 skipped: 2 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔇 Additional comments: 1
CHANGELOG.md-8-8: 1

8-8: Minor · Maintainability & Code Quality · Quick win

⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Clarify the Arrow handoff sentence.

The phrase used to hand record batches is grammatically unclear. Rewrite it as used to hand off record batches or used for the hand-off of record batches.

Source: Linters/SAST tools


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: 94ab51ea-00c4-444d-a9d5-cc0a08576a3f
Commits

Reviewing files that changed from the base of the PR and between 35797ae and 1606a0c.

Files ignored due to path filters: 1
  • Cargo.lock is excluded by !**/*.lock
Files selected for processing: 2
  • CHANGELOG.md
  • Cargo.toml

Included review availability: This review used your included allowance. 4 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.

@JonoPrest
JonoPrest requested a review from JasoonS October 29, 2026 16:05
@JasoonS
JasoonS merged commit 6c3e89f 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