Skip to content

v0.11.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Mar 15:21
· 28 commits to main since this release

[0.11.0] - 2026-03-05

πŸš€ Features

  • (gamma) Complete UserResponse with profile, bio, and badge fields
  • (data) Add trader leaderboard endpoint and move TimePeriod to types
  • (gamma) Add public search endpoint for profiles, events, and tags
  • (clob) Add ListClobTrades request builder with filter methods
  • (clob) Add batch order operations and single order lookup
  • (clob) Add auth namespace for API key management
  • (clob) Add batch pricing endpoints for books, prices, midpoints, spreads, and last trades
  • (clob) Add single pricing, live activity, calculate price, and server time endpoints
  • (clob) Add heartbeat, notifications, order scoring, and ban status endpoints
  • (clob) Add rewards namespace for liquidity reward tracking
  • (clob) Add simplified/sampling market lists and builder trades endpoint
  • (clob) Add RFQ namespace for request-for-quote trading
  • (gamma) Add missing endpoints and query params across all namespaces

πŸ› Bug Fixes

  • (core) Replace silent epoch fallback with explicit panic in current_timestamp
  • (clob,gamma) Align SDK types with real Polymarket API responses
  • (gamma) Correct 6 serde renames and expand SeriesInfo to match live API
  • (clob) Fix 5 critical deserialization crashes against live API
  • (clob) Add missing fields to OpenOrder, OrderResponse, and Trade types
  • (clob,data) Add missing fields to OrderBook and Holder types
  • (clob) Add #[serde(default)] to all Option fields in response types
  • (data) Add #[serde(default)] to all Option fields in response types
  • (cli) Use floor_char_boundary for safe UTF-8 string truncation

🚜 Refactor

  • (clob) Make gamma dependency optional behind feature flag
  • (relay) Extract retry helper, named constants, and module-level types
  • (clob) Deduplicate EIP-712 order conversion and digest computation
  • (core) Simplify rate limiter config with endpoint_limit helper
  • (clob) Extract WebSocket subscription validation helper

πŸ“š Documentation

  • Add docstrings across workspace, complete relay crate coverage
  • Fix incorrect API examples and update project documentation

🎨 Styling

  • Apply rustfmt to gamma and data

πŸ§ͺ Testing

  • (clob) Add authenticated read-only live tests for account and orders
  • Add mockito HTTP mock tests for core, gamma, and clob
  • (core) Fix retry mock strictness and add 401/403/408 error tests
  • (gamma) Add open(false) inversion, volume serde renames, and events namespace tests
  • (clob) Add 401 authentication error and DELETE cancel order mock tests
  • (data) Add 12 mock HTTP tests bootstrapping polyoxide-data coverage
  • (cli) Add multibyte and emoji edge case tests for truncate
  • (clob) Add 12 mock tests for order book, orders, pricing, and cancel endpoints
  • (clob) Add 26 unit tests for WebSocket message type deserialization
  • (clob) Add unit tests for utils and error modules
  • (clob) Add mock tests for 429 retry behavior and non-retriable errors
  • (clob) Add mock tests for error scenarios and edge cases
  • (clob) Add mock tests for order creation flows
  • (clob) Add rejection, edge case, and output validation tests

πŸ”§ Build

  • Specify per-crate tokio features instead of workspace-wide
  • Move futures-util from workspace deps to per-crate
  • Add mockito workspace dev-dependency for HTTP mock tests