Skip to content

docs(README): install snippets pin = "0.3" but current crate is 0.4.4 #336

@skyc1e

Description

@skyc1e

Summary

README.md tells users to depend on polymarket-client-sdk = "0.3" in three places, but the crate shipped 0.4.0 earlier this year and is now at 0.4.4 (released 2026-03-17). Because Cargo treats "0.3" as ^0.3, users copy-pasting from the README are silently pinned to the 0.3.x line and never resolve to any 0.4.x release.

Affected lines

  • L51polymarket-client-sdk = "0.3" in the Getting started snippet
  • L86polymarket-client-sdk = { version = "0.3", features = ["ws", "data"] }
  • L352polymarket-client-sdk = { version = "0.3", features = ["ws"] }

Evidence

Impact

  • New users following the Getting Started section get a version that is several minor releases behind, missing every API/fix added in 0.4.x (tracked in CHANGELOG.md).
  • cargo add polymarket-client-sdk (also shown in the README) resolves to 0.4.4, so users get inconsistent behavior depending on whether they follow the TOML snippet or the cargo add line.

Suggested fix

Bump the three snippets to "0.4", and consider wiring the README version into release-plz so it bumps automatically with each release. I'm happy to send the README-only PR if you'd like.

Checklist

  • Searched open + closed issues and PRs for README 0.3 / version bump / README 0.4 — no duplicates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions