Repository navigation
v1.0.0
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[1.0.0] - 2026-04-03
Added
- Initial release of PokeApiSharp.
IPokeApiClientandPokeApiClientproviding full coverage of the PokéAPI v2 endpoints.- Support for fetching resources by name, ID,
ApiResource<T>, andNamedApiResource<T>. ListAsync<T>for paginated resource listings.GetAsync<T>()(no parameters) for automatically paginating through all resources of a type.GetPokemonLocationAreasAsyncfor the/pokemon/{id}/encountersendpoint.- Built-in
IMemoryCache-backed caching with a configurable TTL (cacheDuration, defaulting to one hour). - Unmapped JSON property detection via
ILogger<PokeApiClient>warnings to surface API schema drift. IPokeApiClientextendsIDisposable;PokeApiClientdisposes its ownedHttpClientand cache.- Multi-target support:
net8.0,net9.0, andnet10.0. - Symbol package (
.snupkg) published alongside the main package for source debugging. - Strongly typed, record-based models with snake_case → PascalCase mapping via
System.Text.Json. Either<TSuccess, TFailure>monad used internally for cache hit/miss signalling.