Releases: Archomeda/Gw2Sharp
Releases · Archomeda/Gw2Sharp
v2.0.0-preview.1
This version includes breaking changes.
Fixes
- Breaking: The custom exceptions thrown from Gw2Sharp have been simplified (#96, #104)
- Previously there were generic and non-generic variants of
UnexpectedStatusException
andRequestException
. When designing these exceptions, the idea was to have the response type included in the exception. However, it turned out that only theErrorObject
was used, making it redundant. And on top of that, it made catching the exceptions unnecessarily difficult. - So in order to simplify this, the generic type variants have been removed, while the non-generic variants are now linked directly to
ErrorObject
- You may have to update your try-catch statements if you have been using the generic variants
- Previously there were generic and non-generic variants of
- Breaking: The following enums have moved namespaces from the root Gw2Sharp into their proper namespaces (#92):
Gw2Sharp.WebApi.Caching.CacheItemStatus
Gw2Sharp.WebApi.Caching.CacheItemType
Gw2Sharp.WebApi.Models.ComboFieldType
Gw2Sharp.WebApi.Models.ComboFinisherType
Gw2Sharp.WebApi.Models.ItemEquipmentLocationType
Gw2Sharp.WebApi.Models.ProfessionFlag
Gw2Sharp.WebApi.Models.ProfessionTrainingCategory
Gw2Sharp.WebApi.Models.ProfessionTrainingTrackStepType
Gw2Sharp.WebApi.Models.ProfessionWeaponFlag
Gw2Sharp.WebApi.Models.PvpSeasonDivisionFlag
Gw2Sharp.WebApi.Models.PvpSeasonLeaderboardScoringOrder
Gw2Sharp.WebApi.Models.PvpSeasonLeaderboardScoringType
Gw2Sharp.WebApi.Models.PvpSeasonLeaderboardSettingsTierType
Gw2Sharp.WebApi.Models.RaidWingEventType
Gw2Sharp.WebApi.Models.SkillFlag
Gw2Sharp.WebApi.Models.SkillType
Gw2Sharp.WebApi.Models.SkinFlag
Gw2Sharp.WebApi.Models.StoryFlag
Deprecation removals
- Following up on version 1.1.0,
EquipmentPvp
has been removed fromGw2Sharp.WebApi.V2.Models.Character
(#93) - Following up on version 1.4.0,
Luck
has been removed fromGw2Sharp.WebApi.V2.Clients.IAccountClient
, including all related references to this endpoint
v1.7.4
This release fixes some of the high priority bugs.
Endpoints
- Add missing End of Dragons item type
JadeTechModule
asGw2Sharp.WebApi.V2.Models.ItemJadeTechModule
for pattern matching (#127 by @dlamkins) - Add missing End of Dragons item type
PowerCore
asGw2Sharp.WebApi.V2.Models.ItemPowerCore
for pattern matching (#127 by @dlamkins)
Miscellaneous
- Fix an ArgumentException when embedding Gw2Sharp in a single executable (#125 by @Taschenbuch)
- Fix docs to clarify that the
/v2/account/progression
endpoint also requires the unlocks permission (#124 by @Taschenbuch) - From now on, every missing class type that's used for polymorphic deserializing will not throw a JsonException with the message "Unsupported type <type>" anymore (for example with item types) (#120, #128)
v1.7.3
v1.7.2
v1.7.1
v1.7.0
This release is a small feature update for End of Dragons and a forgotten name property in the equipment tab response.
Endpoints
- Add
Name
property toGw2Sharp.WebApi.V2.Models.CharacterEquipmentTabSlot
(#115)
Mumble Link
- Add support for the Skiff and the Siege Turtle mount enums (#114 by @TheMrMilchmann)
Miscellaneous
- Testing against .NET Core 2.1 has been removed as this version has been end of life for quite some time now. Instead, testing against .NET 6 has now been added. This doesn't have any impact for any consumers of Gw2Sharp. (#111)
v1.6.1
This release includes support for a couple of additional customizations:
- Ability to change the API hostname(s) in case you want to run a proxy API server (see the documentation for more information)
- Ability to change the Mumble Link reader for mocking, or to use a different method and/or source for Mumble Link
HTTP
Mumble Link
- Add support for custom Mumble Link readers (#110)
- Add
MumbleClientReaderFactory
property toGw2Sharp.IConnection
that constructs a new Mumble Link reader that implementsGw2Sharp.Mumble.IGw2MumbleClientReader
- .NET 5 and up:
SupportedOSPlatformAttribute
s have been moved around to support these changes - The following structs that are used in the reader have been made public:
Gw2Sharp.Mumble.Gw2LinkedMem
,Gw2Sharp.Mumble.Gw2Context
andGw2Sharp.Mumble.Models.UiState
- Add
v1.5.0
v1.4.0
This release focuses on the new account progression addition, introduced on 28 September 2021.
Endpoints
- Add
/v2/account/progression
(#101, #103) - Mark
/v2/account/luck
as deprecated (progression is the replacement) (#102, #103)
Note: All deprecations in version 1.x will be removed in version 2.0. Make sure that you update the references.
v1.3.0
This release includes a single addition to the WvW match endpoints, which is the ability to request a match by world id for the following endpoints:
/v2/wvw/matches
/v2/wvw/matches/overview
/v2/wvw/matches/scores
/v2/wvw/matches/stats