From 571dc7903f62a91896b058994740299fe7e5fd8a Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 12 Dec 2017 20:29:35 +0100 Subject: [PATCH 1/5] Prepare for 2.7 release --- CHANGELOG.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4174969f087..1d442a4df98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,25 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release. -## 2.7.0 (Unreleased) +## 2.7.0 -### Removed +### Added -- Dropped support for php 5.5 +- Phpunit 6 compatibility +- `AbstractApi::setPage()` to allow you to set the page on all endpoints. +- Support for query parameters and request headers on `User::following` and `User::followers` -### +### Fixed -- Phpunit 6 compatibility +- Fixed bug in `PathPrepend` where "api/vX" could be duplicated. + +### Changed + +- Improved documentation and doc blocks + +### Removed + +- Dropped support for php 5.5 ## 2.6.0 From 6cd7aab1a727b122a424b58ba7099e9243d2bc2d Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 12 Dec 2017 20:41:30 +0100 Subject: [PATCH 2/5] Updated for new PRs --- CHANGELOG.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d442a4df98..ab19db11622 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,15 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee ### Added - Phpunit 6 compatibility -- `AbstractApi::setPage()` to allow you to set the page on all endpoints. -- Support for query parameters and request headers on `User::following` and `User::followers` +- `Github\Api\AbstractApi::setPage()` to allow you to set the page on all endpoints. +- Support for query parameters and request headers on `Github\Api\User::following` and `Github\Api\User::followers` +- API endpoint `Github\Api\CurrentUser\Emails::allPublic()` +- API endpoint `Github\Api\Search::commits()` +- API endpoint `Github\Api\Miscellaneous\CodeOfConduct` ### Fixed -- Fixed bug in `PathPrepend` where "api/vX" could be duplicated. +- Fixed bug in `PathPrepend` plugin where "api/vX" could be duplicated. ### Changed @@ -22,6 +25,14 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee - Dropped support for php 5.5 +### Deprecated + +The following classes and endpoints were deprecated by Github and are also deprecated in the client: + +- `Github\Api\Repo` +- `Github\Api\User` +- `Github\Api\Issue::all()` + ## 2.6.0 ### Added From 2f55276b9c5735ab57fd79bab98af0acb22e0269 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 12 Dec 2017 20:48:27 +0100 Subject: [PATCH 3/5] Add methods on deprecated classes --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab19db11622..73e3421a565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,10 +27,10 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee ### Deprecated -The following classes and endpoints were deprecated by Github and are also deprecated in the client: +The following endpoints were deprecated by Github and are also deprecated in the client: -- `Github\Api\Repo` -- `Github\Api\User` +- `Github\Api\Repo::find()` +- `Github\Api\User::find()` - `Github\Api\Issue::all()` ## 2.6.0 From 18669d437c5389f05d940fc8fe02fac696ab1f9d Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 12 Dec 2017 21:04:35 +0100 Subject: [PATCH 4/5] Adding Repo endpoints --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73e3421a565..d42801c4eb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee - API endpoint `Github\Api\CurrentUser\Emails::allPublic()` - API endpoint `Github\Api\Search::commits()` - API endpoint `Github\Api\Miscellaneous\CodeOfConduct` +- API endpoint `Github\Api\Repo::topics()` +- API endpoint `Github\Api\Repo::replaceTopics()` ### Fixed From 0dd8a073ee3265f39ca05d02ba78f2fc2bdd9684 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 12 Dec 2017 21:05:18 +0100 Subject: [PATCH 5/5] typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d42801c4eb0..8ad5da91b84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ The following endpoints were deprecated by Github and are also deprecated in the - `Github\Api\Repo::find()` - `Github\Api\User::find()` -- `Github\Api\Issue::all()` +- `Github\Api\Issue::find()` ## 2.6.0