Releases: MitjaBezensek/SharpBucket
Release 0.17.0
- Implements POST/GET/DELETE operations on tags as requested in #151
- breaking change:
Tag
class has been completed and the type of some existing properties has been changed fromobject
to the right type (string
,Commit
, etc.) - breaking change: all methods and classes declared as obsolete in V0.14.0 and v0.15.0 are now removed. So we recommend to upgrade to v0.16 and follow warning messages produced by the obsolete attributes to fix your code before upgrading to v0.17.0.
Release 0.16.1
- Fix naming of property Reviewers and Participants in PullRequest. Thanks to @Bjorn1976 in #150
Release 0.16.0
- Implement environments and environment variables endpoints thanks to @GetoXs in #148
- XML documentation is now published in the package so it will appear in IntelliSense when available (all public types and members are not commented)
Release 0.15.0
- Implement /2.0/workspaces/* endpoints corresponding to deprecated /2.0/teams/* endpoints that are deprecating by bitbucket. More info here
TeamsEndPoint
and underlying resources have been tag as obsolete with message that should guide you to the equivalent methods inWorspacesEndPoint
and underlying resources.- Implement Post Branch. Done by @sjroesink in #142
- Add support of branching model through
BranchingModelResource
class. Done by @alexhiggins732 in #144
(was also proposed by @shalakolee in #143. Thanks you even if your branch has not been selected.) - A lot of grammar and typos fix thanks to @alexhiggins732 in #145
- Bump RestSharp from 106.3.1 to 106.12.0
- Breaking:
UserShort
class has been replaced byUserInfo
to match naming of other classes. - Breaking: Remove obsolete authentication methods that were obsolete since v0.9.0
- Breaking: Remove obsolete methods and properties that were obsolete since v0.11.0 (GDPR)
Release 0.14.0
-
Provide a full support of
async
. If previous version already provided some async overloads, there were multiple cases that were not covered:- A lot of simple Get, Put, Post and Delete methods hadn't async overload. They have been covered by @Casualrobin and @wbratz in #132 and #133
- Obtention of the main branch revision which was hidden in the
SrcResource
constructor, and which is now exposed inRepositoryResource
through theGetMainBranchRevision()
andGetMainBranchRevisionAsync()
methods - Enumeration of resources which is now provided through methods names
EnumerateXxxAsync
, available to *netstandard2.1 consumers
-
Expose public interfaces:
ISharpBucket
,ISharpBucketRequester
,ISharpBucketV2
andISharpBucketRequesterV2
that should help consumers to mock the requests done by the library.
A work started long time ago by @anh-duc-le which has been finally achieved after multiple tries to find a pattern that should not break with new releases. -
A basic support of Issues Resource mostly done by @penev92 through #136
-
A lot of methods have been deprecated, to provide a cleaner API. The multiplication of overloads in particular for listing methods (List, Enumerate, EnumerateAsync), has forced us to be more strict in the location and naming of all methods. Warning message should guide you to the right method to use.
-
breaking change :
PullRequest
POCO has been improved which has changed the type of thelinks
,created_on
andupdated_on
properties. -
Comment
POCO has been completed with aninline
and atype
property. It should also be considered as abstract since it will probably be changed like that in a future release. Methods that still use it directly are now tagged as obsolete, so if you fix the warnings you should by transitivity also move toCommitComment
orPullRequestComment
type instead of Comment type.
Release 0.13.0
- Add an
EnumerateSearchCodeSearchResults
method in TeamResource #123 (and thanks to @starkmsu for is pre-version #122)- Note that is also the open door to provide alternatives to the List methods (see #124)
- Breaking: Fix signature of
RepositoryResource.DeleteRepository()
andRepositoryResource.DeleteBranchRestriction(int)
methods. They now return void, instead of a typed value which was always null. - Fix an issue in exception handling that probably cause timeout exceptions to not be properly thrown
- Add support of async requests (#126)
- For all methods of
ProjectResource
- For Get, Post and Delete methods of
RepositoryResource
- Potential Breaking:
Authenticate
expose now two new public async methods that should be overloaded in all implementations ofAuthenticate
that were overloading the existing non async methods. - Potential Breaking: The client property in
Authenticate
is now virtual instead of abstract - Potential Breaking: All our implementations of
Authenticate
are now sealed
- For all methods of
note: All potential breaking are real breaking changes for the assembly binding, but that are expected to have no impacts on consumers after a simple re-build since consumers are not really expected to implement the Authenticate
classe
Release 0.12.0
That version improved multiple entities and return types so typing is more accurate.
Those type changes are breaking changes, but the property name remain the same. So if you intensively use the var
keyword in your code base it could be transparent for you.
- Add the approval property to the
Activity
entity #116 PullRequestResource.RemovePullRequestApproval()
now returns void instead of a nullPullRequestInfo
PullRequestResource.GetDiffForPullRequest()
now clearly return string instead of object (which was a string)UserShort
entity has been completed with the new properties introduced with GDPR (account_id, nickname, ...)Repository
entity has been deeply reviewed to match more Bitbucket responsesComment
entity has been deeply reviewed to match more Bitbucket responsesOwner
andWatcher
entities have been dropped, replaced byUserShort
Fork
entity has been dropped, replaced byRepository
Parent
entity has been dropped, replaced byCommitInfo
,RepositoryInfo
orCommentInfo
in function of the caseLink
entity has no more a name property, instead, aNamedLink
entity is now exposed when neededContent
andSummary
entities have been dropped, replaced byRendered
Release 0.11.0
Major Changes
- Remove support of API V1
- Update and flag as obsolete some entities and methods to match changes related to GDPR.
For more details see https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/
Other Changes
- Expose the OAuth2TokenProvider to public so it can be reused in scenarios like repository cloning (need a git client not provided by this project) #111
- Add new overloads of the ListCommits method to support filtering #114
- Add DeleteBranch method in BranchResource #112 (thanks to @rickschott)
Release 0.10.0
- Add
BitbucketException
andBitbucketV2Exception
classes - All calls to BitBucket API that fail now return a
BitbucketException
(orBitbucketV2Exception
on API V2) that provide all possible information on the failure (HTTP error code, error message, and so on)
Release 0.9.0
Major Changes
- Suport of netstandard 2.0 #94 (thanks to @Tanzy who has started that in #67)
- .Net Framework 4.0 is no more supported, minimal supported version is now .Net Framework 4.5.2
- RestSharp dependency has been upgraded from 105.2.3 to 106.3.1 (warning: higher versions are known to be incompatible)
Other Changes
- Abstract class
Authenticate
has a new overload for theGetResponse
method that allow to get a raw string response - Teach
FilterBuilder.ParseSingleQuotedString()
how to handle double quotes #96 (thanks to @asherber) - API calls work with no authentication by default (can acess only public resources) #95 (thanks to @asherber)
- Many parameters named
repository
have been renamedrepoSlugOrName
to make intent clearer, and support of UUIDs has been extended to all that parameters and to teamName parameters #90 #97 (thanks to @asherber) - Many methods of
TeamsEndPoint
are now obsolete and have been moved inTeamResource
GetDiff
andGetPatch
methods inRepositoryResource
have been fixed, and the signatures have slightly changed #98 (thanks to @asherber)- Authentication classes and methods have been renamed and reworked to improve clarity and usability. Follow Obsolete message to find your way #102 #103. By the way Oauth2.0 support has been improved with a support of the refresh token exchange when needed.
- Browsing the content of a repository through the Src resource is now implemented on API V2 #104
- Manipulating team's projects is now implemented on API V2 #80 #106