Skip to content

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Releases after 0.1.0 are prepared automatically by release-please from Conventional Commits. Do not edit the generated sections by hand.

0.1.2 (2026-11-12)

Bug Fixes

  • tags: actionable message for invalid tags (bd8c510)
  • tags: return an actionable message for invalid tags (43d454c)

0.1.1 (2026-11-12)

Documentation

  • add issue templates for bug reports and feature requests (2e39efc)

0.1.0 - 2026-11-12

Added

  • ClashRoyaleAPI and AsyncClashRoyaleAPI clients with a shared transport.
  • Resource wrappers for clans, players, cards, events, tournaments, global tournaments, locations, leaderboards, and a raw escape hatch.
  • Pydantic v2 models for every endpoint, with snake_case fields, retained extra fields, and a .raw dict view.
  • Iterable Page / AsyncPage pagination with cursor support.
  • Tag normalization: 2PP, #2PP, %232PP, and padded input are accepted.
  • Exception hierarchy mapped to HTTP status codes, including GoneError for the retired currentwar endpoint.
  • Automatic retries with exponential backoff and jitter for 429 and 5xx, honoring Retry-After.
  • Token resolution from CLASH_ROYALE_API_TOKEN or CLASH_ROYALE_TOKEN_API.
  • Support for custom httpx clients and proxy base URLs.
  • Documentation site covering configuration, resources, models, and errors.