Skip to content

Commit cf4a70b

Browse files
committed
Merge branch 'release/0.6.0'
2 parents 961b24a + 4fced2c commit cf4a70b

40 files changed

+852
-701
lines changed

CHANGELOG.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
## 0.6.0 / 2014-10-21
5+
6+
- Added Changelog
7+
- Added `Api::api()*` as a single entry point for concrete apis ( *thanks to @digitalkaoz* )
8+
- Fixed `Privileges::grant()` parameters format ( [Fixes #22] )
9+
- Marked `eabay/bitbucket-repo-sync` as conflict in composer.json
10+
- CS fixes
11+
12+
[Fixes #22]: https://bitbucket.org/gentlero/bitbucket-api/issue/22/grant-account-privileges-to-repo
13+
14+
## 0.5.2 / 2014-07-09
15+
16+
- Make tests go green again. ( *My bad and I'm sorry* ).
17+
18+
## 0.5.1 / 2014-07-08
19+
20+
- Bug: A default content-type is added for POST and PUT, if none was given. ( [Fixes #19] )
21+
22+
[Fixes #19]: https://bitbucket.org/gentlero/bitbucket-api/issue/19
23+
24+
## 0.5.0 / 2014-06-09
25+
26+
- Allow setting custom `Request` and `Response` inside HTTP client, which should facilitate integration in 3rd party software.
27+
- Implemented basic prioriy for listeners.
28+
- Bug: Missing content-type made `PullRequests::merge` and `PullRequests::declined` unusable.
29+
30+
## 0.4.1 / 2014-06-01
31+
32+
- Bug: OAuthListener: Parameters may be included from the body if the content-type is urlencoded. ( [Fixes #18] )
33+
34+
[Fixes #18]: https://bitbucket.org/gentlero/bitbucket-api/issue/18
35+
36+
## 0.4.0 / 2014-05-14
37+
38+
- Added API 2.0 endpoints for `Users` ( *get, followers, following, repositories* )
39+
- Added API 2.0 endpoints for `Teams`. ( *profile, members, followers, following, repositories* )
40+
- Added API 2.0 endpoints for `BranchRestrictions`. ( *all, create, get, update, delete* )
41+
- Added `delListener()` method for `ClientInterface`.
42+
- Bug: Mandatory parameters inside PullRequest's methods were not checked.
43+
- Documentation updated.
44+
45+
## 0.3.0 / 2014-05-12
46+
47+
Started to implement version 2.0 of the API.
48+
- All 1.0 endpoints that have a "twin" in version 2.0 will be updated to use the never version.
49+
- All specific 2.0 endpoints will be added gradual.
50+
51+
- Implemented `Commits` and `Commits::Comments` endpoints for API 2.0
52+
- Updated `Repository` to use API 2.0 (create, delete) and implemented endpoints specific to API 2.0 ( *watchers, forks* )
53+
- Added `Repository::get()` ( *API 2.0* )
54+
- Updated `PullRequests::all()` to API 2.0
55+
- Updated `PullRequests::Comments::get()` and `PullRequests::Comments::all()` to API 2.0
56+
- Added all endpoints for PullRequests ( *API 2.0* )
57+
- Added repositories endpoint ( *API 2.0* )
58+
- Updated `Repositories::PullRequests::all()` to allow `state` param.
59+
- CS fixes.
60+
61+
62+
## 0.2.1 / 2014-04-21
63+
64+
- Added `Repositories::PullRequests::all()` method to get a list of all pull requests.
65+
66+
67+
## 0.2.0 / 2014-02-24
68+
69+
- Bug: group privileges returned 400 error ( [Fixes #14] )
70+
- Implemented HttpClient which abstracts HTTP layer from base clases and allows custom HTTP libraries to be used.
71+
- Implemented simple EventListener which can be used to change request before and after its executed.
72+
- Updated `Api::setCredentials()` to use our new EventListener.
73+
74+
[Fixes #14]: https://bitbucket.org/gentlero/bitbucket-api/issue/14
75+
76+
## 0.1.2 / 2013-12-24
77+
78+
- Bug: Duplicate array keys in groups filters. ( [Fixes #12] )
79+
80+
[Fixes #12]: https://bitbucket.org/gentlero/bitbucket-api/issue/12
81+
82+
83+
## 0.1.1 / 2013-11-26
84+
85+
- Removed `newuser` endpoint. ( [Fixes #10] )
86+
- Removed `repositories/changesets/likes` endpoint. ( [ref #1] )
87+
- Code clean, fixed typos.
88+
89+
[Fixes #10]: https://bitbucket.org/gentlero/bitbucket-api/issue/10
90+
[ref #1]: https://bitbucket.org/gentlero/bitbucket-api/issue/1
91+
92+
93+
## 0.1.0 / 2013-06-09
94+
95+
- First public release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PHP Bitbucket API [![Build Status](https://travis-ci.org/gentlero/bitbucket-api.png?branch=develop)](https://travis-ci.org/gentlero/bitbucket-api) [![Coverage Status](https://coveralls.io/repos/gentlero/bitbucket-api/badge.png?branch=develop)](https://coveralls.io/r/gentlero/bitbucket-api?branch=develop) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/gentlero/bitbucket-api/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
1+
# PHP Bitbucket API [![Build Status](https://travis-ci.org/gentlero/bitbucket-api.png?branch=develop)](https://travis-ci.org/gentlero/bitbucket-api) [![Coverage Status](https://coveralls.io/repos/gentlero/bitbucket-api/badge.png?branch=develop)](https://coveralls.io/r/gentlero/bitbucket-api?branch=develop)
22

33
Simple Bitbucket API wrapper for PHP >= 5.3.2.
44

composer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
}
1515
],
1616
"require": {
17-
"php": ">=5.3",
18-
"kriswallsmith/buzz": "0.10",
19-
"jacobkiers/oauth": "1.0.10"
17+
"php": "~5.3",
18+
"kriswallsmith/buzz": "~0.10",
19+
"jacobkiers/oauth": "~1.0.10"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "~3.7",
23-
"satooshi/php-coveralls": "~0.6"
22+
"phpunit/phpunit": "3.7.*",
23+
"satooshi/php-coveralls": "0.6.*"
24+
},
25+
"conflict": {
26+
"eabay/bitbucket-repo-sync": "*"
2427
},
2528
"suggest": {
2629
"ext-curl": "*"

0 commit comments

Comments
 (0)