Skip to content

Releases: Archomeda/Gw2Sharp

v2.0.0-preview.1

12 Mar 15:08
v2.0.0-preview.1
486faf6
Compare
Choose a tag to compare
v2.0.0-preview.1 Pre-release
Pre-release

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 and RequestException. When designing these exceptions, the idea was to have the response type included in the exception. However, it turned out that only the ErrorObject 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
  • 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 from Gw2Sharp.WebApi.V2.Models.Character (#93)
  • Following up on version 1.4.0, Luck has been removed from Gw2Sharp.WebApi.V2.Clients.IAccountClient, including all related references to this endpoint

v1.7.4

28 Feb 23:29
v1.7.4
6152bdd
Compare
Choose a tag to compare

This release fixes some of the high priority bugs.

Endpoints

  • Add missing End of Dragons item type JadeTechModule as Gw2Sharp.WebApi.V2.Models.ItemJadeTechModule for pattern matching (#127 by @dlamkins)
  • Add missing End of Dragons item type PowerCore as Gw2Sharp.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

14 Jul 10:33
v1.7.3
091c1cc
Compare
Choose a tag to compare

This is a small bugfix for a typo in the /v2/raids endpoint, causing a 404.

Endpoints

  • Fix /v2/raids endpoint returning a 404 (#122, #123)

v1.7.2

22 May 15:31
v1.7.2
f8338e0
Compare
Choose a tag to compare

This is a small bugfix for the caching component.

Caching

  • Fix separate item caching for bulk endpoints where the request headers that may produce different responses, were not taken into account (#119, #121)

v1.7.1

09 Apr 13:30
v1.7.1
d175391
Compare
Choose a tag to compare

This includes a small fix for the Icon property on skills, which can be null.

Endpoints

  • Change Icon property on Gw2Sharp.WebApi.V2.Models.Skill to be nullable (#118 by @dlamkins)

v1.7.0

06 Feb 15:26
v1.7.0
1018997
Compare
Choose a tag to compare

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 to Gw2Sharp.WebApi.V2.Models.CharacterEquipmentTabSlot (#115)

Mumble Link

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

30 Dec 20:43
v1.6.1
3c99ca1
Compare
Choose a tag to compare

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

  • Add ApiBaseUrl and RenderBaseUrl properties to Gw2Sharp.IConnection (#108, #109)

Mumble Link

  • Add support for custom Mumble Link readers (#110)
    • Add MumbleClientReaderFactory property to Gw2Sharp.IConnection that constructs a new Mumble Link reader that implements Gw2Sharp.Mumble.IGw2MumbleClientReader
    • .NET 5 and up: SupportedOSPlatformAttributes 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 and Gw2Sharp.Mumble.Models.UiState

v1.5.0

13 Nov 22:59
v1.5.0
1c0d38f
Compare
Choose a tag to compare

This release contains one small addition to make changing the request timeout easier.

Generic

  • Add RequestTimeout property to Gw2Sharp.IConnection (#97, #107)

v1.4.0

28 Sep 18:22
v1.4.0
32a0f41
Compare
Choose a tag to compare

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

04 Sep 17:37
v1.3.0
4d7385f
Compare
Choose a tag to compare

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