Skip to content

Releases: Archomeda/Gw2Sharp

v0.9.4

17 Apr 22:59
v0.9.4
7aa5edd
Compare
Choose a tag to compare
v0.9.4 Pre-release
Pre-release

Fixes

  • Add missing skill fact type StunBreak as Gw2Sharp.WebApi.V2.Models.SkillFactStunBreak for pattern matching
  • Fix parsing Cache-Control response headers where it would fail if the value is surrounded with quotes

v0.9.3

29 Mar 18:05
v0.9.3
90b3f81
Compare
Choose a tag to compare
v0.9.3 Pre-release
Pre-release

Services

  • Exposed the raw JSON Mumble Link identity as IGw2MumbleClient.RawIdentity

Fixes

  • When the Mumble Link identity contains an invalid JSON, it will no longer cause Gw2Sharp to throw a JsonException (this can happen when running multiple instances of Guild Wars 2 at the same time)

v0.9.2

26 Mar 09:27
v0.9.2
c6f953f
Compare
Choose a tag to compare
v0.9.2 Pre-release
Pre-release

Fixes

  • Setting a custom user agent now properly sets a space inbetween that and the one set by Gw2Sharp

v0.9.1

23 Mar 23:10
45468f6
Compare
Choose a tag to compare
v0.9.1 Pre-release
Pre-release

Endpoints

  • Add missing enum 2v2Ranked (as TwoVTwoRanked) in Gw2Sharp.WebApi.V2.Models.PvpRatingType (#53)

Fixes

  • Improve enum deserialization performance (#52, #54)

v0.9.0

21 Mar 20:08
2483aa5
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

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

v0.8.2

24 Feb 20:21
a970a21
Compare
Choose a tag to compare
v0.8.2 Pre-release
Pre-release

Fixes

  • Fix API enum comparison with different character casings (#36)

v0.8.1

20 Feb 02:24
eedca61
Compare
Choose a tag to compare
v0.8.1 Pre-release
Pre-release

Fixes

  • Fix struct size when creating the Mumble Link memory mapped file (#35)
    • It was initialized with a struct size that was too small for Guild Wars 2 to write to, causing funky stuff

v0.8.0

20 Feb 01:52
1452f12
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

This release applies the schema changes of 2019-12-19, which includes the build and equipment template update from October 2019.

Endpoints

  • Add /v2/account/buildstorage
  • Add /v2/account/buildstorage/active
  • Add /v2/characters/:id/buildtabs
  • Add /v2/characters/:id/buildtabs/active
  • Add /v2/characters/:id/equipmenttabs
  • Add /v2/characters/:id/equipmenttabs/active
  • Add BuildStorageSlots property to /v2/account
  • Add BuildTabsUnlocked, ActiveBuildTab and BuildTabs properties to /v2/characters/:id
  • Add EquipmentTabsUnlocked, ActiveEquipmentTab and EquipmentTabs properties to /v2/characters/:id
  • Add Equipment[i].Location and Equipment[i].Tabs properties to /v2/characters/:id
  • Add Code property to /v2/legends
  • Add Code and SkillsByPalette properties to /v2/professions
  • Marked /v2/characters/:id/skills as deprecated
  • Marked /v2/characters/:id/specializations as deprecated
  • Marked Skills and Specializations properties as deprecated

Services

  • Update MumbleLink to support new features (#33):
    • UI states: DoesGameHaveFocus, IsCompetitiveMode, DoesAnyInputHaveFocus (not yet implemented in GW2)

Fixes

  • GuidConverter now checks for null when deserializing JSON objects (#28)
    • Breaking: Also changes the property Guild in Gw2Sharp.WebApi.V2.Models.Character to be nullable

Refactoring

  • Breaking: Gw2Sharp.WebApi.V2.Clients.IAuthenticatedClient no longer accepts the object type as generic type parameter; it's now just an interface without any type parameters
  • Breaking: Gw2Sharp.WebApi.Caching.ICacheMethod.FlushAsync has been renamed to ClearAsync to better indicate its purpose (#34) (all deprecations will be fully removed in 0.9.0+):
    • FlushAsync is marked as deprecated and is unused in Gw2Sharp from now on

Deprecation notes

The deprecated endpoints and properties can still be used for now.
The API still provides the endpoints, and the properties have been implemented with backwards compatibility code on Gw2Sharp's end.
However, it's advised to update as soon as possible, as these deprecations will be fully removed starting with the next major prerelease version 0.9.0.

v0.7.4

06 Nov 22:23
07e225f
Compare
Choose a tag to compare
v0.7.4 Pre-release
Pre-release

Services

  • Chat link parsing and rendering is now supported (#23, #24)

v0.7.3

21 Oct 19:43
1f12818
Compare
Choose a tag to compare
v0.7.3 Pre-release
Pre-release

Gw2Sharp has moved to the release version of .NET Core 3.0.
This only means that .NET Core 3.0 is used for compiling, while .NET Standard 2.0 is still targeted.
From now on, at least Visual Studio 2019 16.3 is required when working with the source code.
This shouldn't impact any NuGet package users.

Dependencies

  • System.IO.Compression has been removed as explicit dependency as it's already referenced from the framework

Endpoints

  • Add /v2/account/emotes
  • Add /v2/emotes
  • Add /v2/skills

Services

  • Update MumbleLink to support new features (#18):
    • Current character selected specialization
    • UI states: IsMapOpen, IsCompassTopRight, IsCompassRotationEnabled
    • Compass size
    • Compass rotation
    • Player location map
    • Map center
    • Map scale

Fixes

  • IHttpResponseStream now implements IDisposable because it's assumed that it owns the stream that's passed in the constructor
  • GUID ids are converted to uppercase before being used in API request URLs (#22)