Skip to content

chore: bump @dashevo/evo-sdk to 5.1.1 - #129

Merged
thephez merged 4 commits into
mainfrom
chore/evo-sdk-5.1.1
Nov 30, 2026
Merged

thephez merged 4 commits into
mainfrom
chore/evo-sdk-5.1.1

Conversation

@thephez

@thephez thephez commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Bumps @dashevo/evo-sdk from 5.0.1 to 5.1.1 in the root package and every example app. One SDK change broke an app: documents.history() now returns a different result shape, and DashRate's review history panel failed on it. This PR updates DashRate to read the new shape.

Highlights

  • SDK bump: updates package.json, lockfiles and *-lite.html imports in the root and all example apps (dashapps, dashmint-lab, dashnote, dashnote-starter, dashproof-lab, dashrate, token-ops) to 5.1.1.
  • Exact pin at the root: the root package had drifted to a caret range (^5.0.1) in the 5.0 bump. It's now pinned exactly, like the example apps, so every project resolves the same version.
  • DashRate history fix: documents.history() now returns { entries: [{ timeMs, revision, document }] } instead of a Map keyed by block time. The review history panel threw history.entries is not a function until it was changed to read the new shape. The types and tests are updated to match.
  • DashApps test rename: the WASM parser suite is now named for the protocol version (protocol 14) instead of an SDK version, so the name won't go out of date with each SDK bump.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • Dash app examples and Lite demos now use the latest SDK release.
  • Bug Fixes
    • DashRate history is displayed in descending block-time order, with entries sharing a block time ordered by newest revision first.
    • History entries are now processed using their timestamp and revision information.

thephez and others added 4 commits November 30, 2026 19:33
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
documents.history() now returns { entries: [{ timeMs, revision, document }] }
instead of a Map keyed by block time, so the history panel threw
"history.entries is not a function".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The example apps pin the SDK exactly; the root drifted to a caret range
in the 5.0 bump. Pin it the same way so every project resolves one version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Example apps now use EvoSDK 5.1.1. DashRate history handling now reads entries with timestamps and revisions and sorts entries by timestamp, then revision.

Changes: EvoSDK update

Layer / File(s) Summary
Align EvoSDK versions
package.json, example-apps/*/package.json, example-apps/dashmint-lab/public/dashmint-lite.html, example-apps/dashnote/public/dashnote-lite.html, example-apps/dashproof-lab/public/dashproof-lite.html, example-apps/dashrate/public/dashrate-lite.html, example-apps/dashapps/test/contractSchema.test.ts
The EvoSDK dependency and CDN versions change to 5.1.1. The DashApps parser test suite is relabeled for protocol 14; its test cases remain unchanged.
Update DashRate history handling
example-apps/dashrate/src/dash/types.ts, example-apps/dashrate/src/dash/history.ts, example-apps/dashrate/test/history.test.ts
The history response type changes from a map to an object with an entries array. Normalization reads each entry’s timestamp and revision, then sorts by descending timestamp and revision. Tests cover the new response shape and revision ordering.

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

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to ce8e5 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore: bump @dashevo/evo-sdk to 5.1.1" matches the main change. The PR updates the @dashevo/evo-sdk dependency from 5.0.1 to 5.1.1 in the root package.json and across the example apps, incl…
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: Title check

Explanation

The title "chore: bump @dashevo/evo-sdk to 5.1.1" matches the main change. The PR updates the @dashevo/evo-sdk dependency from 5.0.1 to 5.1.1 in the root package.json and across the example apps, including the lite HTML imports. The DashRate history code and test changes follow from the SDK bump, but the title does not mention them. That omission is acceptable because the title names the primary change.

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

Warning

Some tools did not complete. Review the errors below.

ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

example-apps/dashapps/package.json

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

example-apps/dashapps/test/contractSchema.test.ts

ESLint skipped: the matched ESLint configuration already failed (missing-dependency).

example-apps/dashmint-lab/package.json

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

  • 8 others

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 80951f7d-1950-4b6b-ba08-345b99e8aadb
Commits

Reviewing files that changed from the base of the PR and between bc031b2 and ce8e537.

Files ignored due to path filters: 8

  • example-apps/dashapps/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashmint-lab/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashnote-starter/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashnote/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashproof-lab/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashrate/package-lock.json is excluded by !**/package-lock.json
  • example-apps/token-ops/package-lock.json is excluded by !**/package-lock.json
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 16

  • example-apps/dashapps/package.json
  • example-apps/dashapps/test/contractSchema.test.ts
  • example-apps/dashmint-lab/package.json
  • example-apps/dashmint-lab/public/dashmint-lite.html
  • example-apps/dashnote-starter/package.json
  • example-apps/dashnote/package.json
  • example-apps/dashnote/public/dashnote-lite.html
  • example-apps/dashproof-lab/package.json
  • example-apps/dashproof-lab/public/dashproof-lite.html
  • example-apps/dashrate/package.json
  • example-apps/dashrate/public/dashrate-lite.html
  • example-apps/dashrate/src/dash/history.ts
  • example-apps/dashrate/src/dash/types.ts
  • example-apps/dashrate/test/history.test.ts
  • example-apps/token-ops/package.json
  • package.json

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

@thephez
thephez merged commit 7030915 into main Nov 30, 2026
12 checks passed
@thephez
thephez deleted the chore/evo-sdk-5.1.1 branch November 30, 2026 21:39
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.

1 participant