bitbucket-v2
Advanced tools
Changelog
0.6.0
Thanks to @andrewyalung for authoring most of this version!
requesterFn
has been added as an option. When requesterFn
is provided, all request will be processed by that function.useXhr
has been removed and replaced with requesterFn
.port
being ignored in default request implementation.Changelog
0.5.2
0.4.x
. They also still accept just the response's body
property, as in 0.5.1
. Affected functions: hasNextPage
, hasPreviousPage
, getNextPage
, getPreviousPage
, repositories.getForksFromResponse
, repositories.hasParent
, repositories.getParentFromResponse
.Changelog
0.5.1
This version is targeted at two main goals:
Due to the aforementioned breaking changes on Bitbucket's end, usage of previous versions of this package will stop working in general after 2020-04-29, except for a few basic uses like getting the authenticated user.
body
property, and it now has a sibling statusCode
property.body
(instead of msg
), and status
has been renamed to statusCode
.useXhr
is enabled, the entire XHR response will now be provided on both success and failure. Note that this is consistent with the body
and statusCode
properties previously described.repositories.getByUser
and repositories.getByTeam
have been merged to repositories.getByWorkspace
.teams.get
has been removed.workspaces.get
has been added.