Skip to content

Commit 7153101

Browse files
committed
Added changelog
1 parent 51ba284 commit 7153101

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
55

66
## 2.0.0-rc5 (UNRELEASED)
77

8+
### Changed
9+
10+
First parameter of `Github\Client` has changed type from `\Http\Client\HttpClient` to
11+
`Github\HttpClient\Builder`. To upgrade you need to change:
12+
13+
```php
14+
// Old way does not work:
15+
$github = new Github\Client($httpClient);
16+
17+
// New way will work:
18+
$github = new Github\Client(new Github\HttpClient\Builder($httpClient));
19+
20+
```
21+
22+
823
### Added
924

1025
- Support for JWT authentication

0 commit comments

Comments
 (0)