Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 2.62 KB

CHANGELOG.md

File metadata and controls

72 lines (56 loc) · 2.62 KB

Changelog

4.0.0

Breaking Changes

  • Switched from Newtonsoft.Json to System.Text.Json for serialization

Added

  • IAsyncEnumerable support for paging available in methods GetAllNamedResourcesAsync<T> and GetAllApiResourcesAsync<T>
  • Updated Move model to include new property: learned_by_pokemon: #43

3.0.10

Added

  • Updated Pokemon model to include new property: front_shiny: #41

3.0.9

Fix

  • Add support for endpoints respecting case sensitivity for named parameters: #39

3.0.8

Added

  • Made property PokemonSpecies.CaptureRate and PokemonSpecies.BaseHappiness nullable

3.0.7

Added

  • Made property Pokemon.BaseExperience nullable: #37

3.0.6

This is the same release as 3.0.5. Use 3.0.7 instead.

3.0.5

Added

  • Updated Pokemon model to include new properties for historical and alternate form sprites: #33

3.0.4

Fix

  • Ensure HTTP responses are only processed after the content of the request has been read, instead of just the headers: #29
  • Updated dependencies
  • Bump test project to .Net 6.0

3.0.3

Added

  • Updated Pokemon model to include new property: past_types

3.0.2

Added

  • Updated PokemonSpecies model to include new properties: IsLegendary, IsMythical
  • Code cleanup and small performance improvements

3.0.1

Added

  • PokeApiClient constructor that accepts an HttpClient instance; for use with the IHttpClientFactory interface
  • Updated test dependencies

3.0.0

Breaking Changes

  • All classes under the PokeApiNet.Models namespace were moved to PokeApiNet
  • Namespace PokeApiNet.Models has been removed

Added

  • Support for .Net Standard 2.1
  • Updated dependencies

2.0.0

Breaking Changes

  • Class PokeApiClient moved namespace; was PokeApiNet.Data now PokeApiNet
  • Namespace PokeApiNet.Data has been removed
  • Method PokeApiClient.ClearCache<T> was renamed to PokeApiClient.ClearResourceCache<T>
  • Stricter constraints on type parameters for PokeApiClient.GetResourceAsync<T>(string) and PokeApiClient.GetResourceAsync<T>(string, CancellationToken)

Added

  • Resource lists are now cached automatically (closes #10)
  • Resource list caches can be cleared via PokeApiClient.ClearResourceListCache and typed overload for more granular clearing