tag:github.com,2008:https://github.com/sparkcentral/go-bitbucket/releases Release notes from go-bitbucket 2022-03-10T02:40:20Z tag:github.com,2008:Repository/468239126/v0.9.37 2022-03-10T02:40:20Z v0.9.37 <p>Upon receiving unexpected status code, attempt to retrieve the body (…</p> marcinwyszynski tag:github.com,2008:Repository/468239126/v0.9.36 2022-01-28T03:07:24Z v0.9.36: Loop over paginated responses (#183) <p>Co-authored-by: Bill Rich <a href="mailto:bill.rich@trufflesec.com">bill.rich@trufflesec.com</a></p> bill-rich tag:github.com,2008:Repository/468239126/v0.9.35 2022-01-25T09:57:38Z v0.9.35: Deprecate Repositories.ListForTeam (closes #181) (#182) <ul> <li> <p>Add tests for Repositories.GetFor(Account|Team)</p> </li> <li> <p>Deprecate Repositories.GetForTeam (closes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1110880262" data-permission-text="Title is private" data-url="https://github.com/ktrysmt/go-bitbucket/issues/181" data-hovercard-type="issue" data-hovercard-url="/ktrysmt/go-bitbucket/issues/181/hovercard" href="https://github.com/ktrysmt/go-bitbucket/issues/181">ktrysmt#181</a>)</p> </li> </ul> <p>Make Repositories.GetForTeam an alias to Repositories.GetForAccount, and mark<br> the former as deprecated, since they both do the same.</p> soult tag:github.com,2008:Repository/468239126/v0.9.34 2021-12-22T11:56:36Z v0.9.34 <p>fix 202 in http valid response (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1086288892" data-permission-text="Title is private" data-url="https://github.com/ktrysmt/go-bitbucket/issues/178" data-hovercard-type="pull_request" data-hovercard-url="/ktrysmt/go-bitbucket/pull/178/hovercard" href="https://github.com/ktrysmt/go-bitbucket/pull/178">ktrysmt#178</a>)</p> snakeice tag:github.com,2008:Repository/468239126/v0.9.33 2021-12-13T15:00:07Z v0.9.33: Add GetPipelineConfig (closes GH-176) (#177) <ul> <li> <p>Add repository.GetPipelineConfig</p> </li> <li> <p>Add tests for (Get|Update)PipelineConfig</p> </li> </ul> <p>Co-authored-by: David Triendl <a href="mailto:david.triendl@nuvoair.com">david.triendl@nuvoair.com</a></p> soult tag:github.com,2008:Repository/468239126/v0.9.32 2021-12-03T05:08:19Z v0.9.32 <p>Remove usage of os.Exit (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1069737238" data-permission-text="Title is private" data-url="https://github.com/ktrysmt/go-bitbucket/issues/175" data-hovercard-type="pull_request" data-hovercard-url="/ktrysmt/go-bitbucket/pull/175/hovercard" href="https://github.com/ktrysmt/go-bitbucket/pull/175">ktrysmt#175</a>)</p> yahavi tag:github.com,2008:Repository/468239126/v0.9.31 2021-11-25T13:15:20Z v0.9.31 <p>Fix bug with incorrect request payload for groups (Branch Restriction…</p> zahiar tag:github.com,2008:Repository/468239126/v0.9.30 2021-11-17T14:23:17Z v0.9.30: Add `comment` field to Deploy Key response data structure (#169) <p>When you add a deploy key that contains a comment, the Bitbucket API splits out the comment and returns it in a separate <code>comment</code> field in the API.</p> <p>For example,<br> <code>key = "ssh-rsa AAAA...=== my@comment.example"</code></p> <p>API response</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="key = &quot;ssh-rsa AAAA...===&quot; comment = &quot;my@comment.example&quot;"><pre class="notranslate"><code>key = "ssh-rsa AAAA...===" comment = "my@comment.example" </code></pre></div> zahiar tag:github.com,2008:Repository/468239126/v0.9.29 2021-11-14T05:07:45Z v0.9.29: Fix issue with `fork_policy` not being updated (#168) <p>Due to an undocumented quirk in Bitbucket's API, when updating a repository, you have to pass in two additional fields which are then used together, to match the string representation of the fork_policy (which the API returns - the other two fields are not returned).</p> <p>Here is a link to an oustanding bug ticket filed with Atlassian: <a href="https://jira.atlassian.com/browse/BCLOUD-13093" rel="nofollow">https://jira.atlassian.com/browse/BCLOUD-13093</a></p> <p>Also added tests to cover the behaviour above, as well as an additional one for creating a repository, to ensure this functionality was not broken with the changes introduced.</p> zahiar tag:github.com,2008:Repository/468239126/v0.9.28 2021-10-17T01:51:05Z v0.9.28: Add repository.DeleteBranch (#164) <p>Implementing Rest Call :</p> <p><a href="https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/refs/branches/%7Bname%7D#delete" rel="nofollow">https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/refs/branches/%7Bname%7D#delete</a></p> chmouel