v0.5.0
Pre-release
Pre-release
Endpoints
- Add render service which can be found under
IGw2WebApiClient.Render
(right next toIGw2WebApiClient.V2
) (#6) - Add
RenderUrl
type to directly access download methods from the render client - Add
/v2/novelties
- Add
/v2/outfits
- Add
/v2/pets
- Add
/v2/professions
Caching
- Add
ArchiveCacheMethod
to support caching large blobs of data in a ZIP archive on disk (e.g. images from render)
Fixes
- Breaking: Fix types of
Coordinates2.X
andCoordinates2.Y
from int to double
Refactoring
- Breaking: All web API v2 properties that are URLs have been changed from type
string
to typeGw2Sharp.WebApi.RenderUrl
- Breaking:
Gw2Sharp.WebApi.Gw2WebApiClient
can no longer be instantiated directly; useGw2Sharp.Gw2Client
instead - Breaking:
Gw2Sharp.WebApi.IConnection
andGw2Sharp.WebApi.Connection
have been moved into the rootGw2Sharp
namespace - Breaking:
Gw2Sharp.WebApi.V2.Models.Maps.MapType
andGw2Sharp.WebApi.V2.Models.Coordinates2
have been moved into theGw2Sharp.Models
namespace - Breaking: A bunch of overloaded constructors of
Gw2Sharp.Connection
have been simplified into one constructor with optional parameters - Breaking:
Gw2Sharp.IConnection.RequestAsync
has its signature changed to include a parameter of typeGw2Sharp.IGw2Client
- Breaking: All custom JSON converters inside the
Gw2Sharp.WebApi.V2.Models.Converters
namespace have been moved into theGw2Sharp.Json.Converters
namespace - Breaking: All web API clients no longer have public constructors; access them through
Gw2Sharp.Gw2Client
instead
Deprecation removals
- Following up on version 0.4.0, the methods
ICacheMethod.HasAsync
,ICacheMethod.GetAsync
andICacheMethod.GetOrNullAsync
have been removed