Skip to content

v0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Mar 20:08
· 258 commits to master since this release
2483aa5

For this release, Gw2Sharp has swapped its JSON dependency from Newtonsoft.Json to System.Text.Json. This means that you can expect a performance increase (#48).

Services

  • Various web API endpoints have been extended to support enums as ids with automatic conversion to their API id type (#40, #41)
    • To support this, the interface Gw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient has been added
    • Gw2Sharp.WebApi.V2.Clients.ILegendsClient now implements Gw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient and supports requesting GetAsync and ManyAsync with Gw2Sharp.Models.LegendType as id type
    • Gw2Sharp.WebApi.V2.Clients.IProfessionClient now implements Gw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient and supports requesting GetAsync and ManyAsync with Gw2Sharp.Models.ProfessionType as id type
    • Gw2Sharp.WebApi.V2.Clients.IRaceClient now implements Gw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient and supports requesting GetAsync and ManyAsync with Gw2Sharp.Models.RaceType as id type
  • Breaking: The Race property in the Mumble Client is now of type RaceType instead of string (#40, #41)
  • Repeatedly requesting Mumble identity fields (or just requesting multiple) should be a bit faster now (#39, #42, #48, #50)

Refactoring

  • Breaking: Gw2Sharp.Models.Legend has been renamed to Gw2Sharp.Models.LegendType (#40, #41)
  • Breaking: Gw2Sharp.Models.Profession has been renamed to Gw2Sharp.Models.ProfessionType (#40, #41)
  • Gw2Sharp.Mumble.Models.Race has been renamed to Gw2Sharp.Models.RaceType and is now public instead of internal (#40, #41)

Miscellaneous

  • Source Link is now supported (#46)

Deprecation removals

  • Following up on version 0.8.0, the method Gw2Sharp.WebApi.Caching.ICacheMethod.FlushAsync has been removed in favor of ClearAsync (#31, #44)
  • Following up on version 0.8.0, the following pre-template APIs have been removed (#45):
    • /v2/characters/:id/skills
    • /v2/characters/:id/specializations