Releases: Archomeda/Gw2Sharp
v0.9.4
Fixes
- Add missing skill fact type
StunBreak
asGw2Sharp.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
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
Fixes
- Setting a custom user agent now properly sets a space inbetween that and the one set by Gw2Sharp
v0.9.1
v0.9.0
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 implementsGw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient
and supports requestingGetAsync
andManyAsync
withGw2Sharp.Models.LegendType
as id typeGw2Sharp.WebApi.V2.Clients.IProfessionClient
now implementsGw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient
and supports requestingGetAsync
andManyAsync
withGw2Sharp.Models.ProfessionType
as id typeGw2Sharp.WebApi.V2.Clients.IRaceClient
now implementsGw2Sharp.WebApi.V2.Clients.IBulkAliasExpandableClient
and supports requestingGetAsync
andManyAsync
withGw2Sharp.Models.RaceType
as id type
- To support this, the interface
- Breaking: The
Race
property in the Mumble Client is now of typeRaceType
instead ofstring
(#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 toGw2Sharp.Models.LegendType
(#40, #41) - Breaking:
Gw2Sharp.Models.Profession
has been renamed toGw2Sharp.Models.ProfessionType
(#40, #41) Gw2Sharp.Mumble.Models.Race
has been renamed toGw2Sharp.Models.RaceType
and is now public instead of internal (#40, #41)
Miscellaneous
- Source Link is now supported (#46)
Deprecation removals
v0.8.2
v0.8.1
v0.8.0
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
andBuildTabs
properties to/v2/characters/:id
- Add
EquipmentTabsUnlocked
,ActiveEquipmentTab
andEquipmentTabs
properties to/v2/characters/:id
- Add
Equipment[i].Location
andEquipment[i].Tabs
properties to/v2/characters/:id
- Add
Code
property to/v2/legends
- Add
Code
andSkillsByPalette
properties to/v2/professions
- Marked
/v2/characters/:id/skills
as deprecated - Marked
/v2/characters/:id/specializations
as deprecated - Marked
Skills
andSpecializations
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 fornull
when deserializing JSON objects (#28)- Breaking: Also changes the property
Guild
inGw2Sharp.WebApi.V2.Models.Character
to be nullable
- Breaking: Also changes the property
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 toClearAsync
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
v0.7.3
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 implementsIDisposable
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)