This changelog is the PokeApi Changelog
- Updated
PokemonSpecies
model to include new properties:IsLegendary
,IsMythical
- Code cleanup and small performance improvements
PokeApiClient
constructor that accepts anHttpClient
instance; for use with theIHttpClientFactory
interface- Updated test dependencies
- All classes under the
PokeApiNet.Models
namespace were moved toPokeApiNet
- Namespace
PokeApiNet.Models
has been removed
- Support for .Net Standard 2.1
- Updated dependencies
- Class
PokeApiClient
moved namespace; wasPokeApiNet.Data
nowPokeApiNet
- Namespace
PokeApiNet.Data
has been removed - Method
PokeApiClient.ClearCache<T>
was renamed toPokeApiClient.ClearResourceCache<T>
- Stricter constraints on type parameters for
PokeApiClient.GetResourceAsync<T>(string)
andPokeApiClient.GetResourceAsync<T>(string, CancellationToken)
- Resource lists are now cached automatically (closes #10)
- Resource list caches can be cleared via
PokeApiClient.ClearResourceListCache
and typed overload for more granular clearing