|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
3 |
| -As you may have already noticed, the Facebook SDK v4 does not follow strict [semver](http://semver.org/). The versioning format used for this SDK follows `4.MAJOR.(MINOR|PATCH)`. The `MINOR` and `PATCH` versions are squashed together but there shouldn't be any breaking changes between `MINOR|PATCH` releases. |
| 3 | +Starting with version 5, the Facebook PHP SDK follows [SemVer](http://semver.org/). |
4 | 4 |
|
5 | 5 |
|
6 |
| -## 4.1.x |
| 6 | +## 5.0.x |
7 | 7 |
|
8 |
| -- 4.1.0 (2015-??-??) |
9 |
| - - Added batch support |
10 |
| - - Added `graph.beta.facebook.com` support |
11 |
| - - Moved exception classes to `Exception\*` directory |
12 |
| - - Moved response collection objects to `GraphNodes\*` directory |
13 |
| - - Moved helpers to `Helpers\*` directory |
14 |
| - - Moved `FacebookRequest` and `FacebookResponse` to `Entities\*` directory |
15 |
| - - Killed `FacebookSession` in favor of `Facebook\AccessToken` |
16 |
| - - Added `FacebookClient` service |
17 |
| - - Renamed `FacebookRequestException` to `FacebookResponseException` |
18 |
| - - Renamed `FacebookHttpable` to `FacebookHttpClientInterface` |
19 |
| - - Updated the API for the helpers. |
20 |
| - - Refactored request/response handling |
21 |
| - - Added support for "rerequest" authorization |
22 |
| - - [`AccessToken`] Added serialization support |
23 |
| - - Added `ext-mbstring` to composer require |
24 |
| - - Added `Facebook\FacebookApp` entity |
25 |
| - - Namespaced tests |
26 |
| - - Grouped functional tests under `functional` group |
27 |
| - - Added `Facebook\Facebook` super service |
28 |
| - - Added this CHANGELOG. Hi! :) |
| 8 | +Version 5 of the Facebook PHP SDK is a complete refactor of version 4. It comes loaded with lots of new features and a friendlier API. |
| 9 | + |
| 10 | +- 5.0 (2015-??-??) |
| 11 | + - New features |
| 12 | + - Added the `Facebook\Facebook` super service for an easier API |
| 13 | + - Improved "reauthentication" and "rerequest" support |
| 14 | + - Requests/Responses |
| 15 | + - Added full batch support |
| 16 | + - Added full file upload support for videos & photos |
| 17 | + - Added methods to make pagination easier |
| 18 | + - Added "deep" pagination support so that Graph edges embedded in a Graph node can be paginated over easily |
| 19 | + - Beta support at `graph.beta.facebook.com` |
| 20 | + - Added `getMetaData()` to `GraphList` to obtain all the metadata associated with a list of Graph nodes |
| 21 | + - Full nested param support |
| 22 | + - Many improvements to the Graph node subtypes |
| 23 | + - New injectable interfaces |
| 24 | + - Added a `PersistentDataInterface` for custom persistent data handling |
| 25 | + - Added a `PseudoRandomStringGeneratorInterface` for customizable CSPRNG's |
| 26 | + - Added a `UrlDetectionInterface` for custom URL-detection logic |
| 27 | + - Codebase changes |
| 28 | + - Moved exception classes to `Exception\*` directory |
| 29 | + - Moved response collection objects to `GraphNodes\*` directory |
| 30 | + - Moved helpers to `Helpers\*` directory |
| 31 | + - Killed `FacebookSession` in favor of the `AccessToken` entity |
| 32 | + - Added `FacebookClient` service |
| 33 | + - Renamed `FacebookRequestException` to `FacebookResponseException` |
| 34 | + - Renamed `FacebookHttpable` to `FacebookHttpClientInterface` |
| 35 | + - Added `FacebookApp` entity that contains info about the Facebook app |
| 36 | + - Updated the API for the helpers |
| 37 | + - Tests |
| 38 | + - Added namespaces to the tests |
| 39 | + - Grouped functional tests under `functional` group |
| 40 | + - Other changes |
| 41 | + - Made PSR-2 compliant |
| 42 | + - Adopted SemVer |
| 43 | + - Completely refactored request/response handling |
| 44 | + - Refactored the OAuth 2.0 logic |
| 45 | + - Added `ext-mbstring` to composer require |
| 46 | + - Added this CHANGELOG. Hi! :) |
| 47 | + |
| 48 | + |
| 49 | +## 4.1-dev |
| 50 | + |
| 51 | +Since the Facebook PHP SDK didn't follow SemVer in version 4.x, the master branch was going to be released as 4.1. However, the SDK switched to SemVer in v5.0. So any references on the internet to version 4.1 can be assumed to be an alias to version `5.0.0` |
29 | 52 |
|
30 | 53 |
|
31 | 54 | ## 4.0.x
|
32 | 55 |
|
| 56 | +Version 4.0 of the Facebook PHP SDK did not follow [SemVer](http://semver.org/). The versioning format used was as follows: `4.MAJOR.(MINOR|PATCH)`. The `MINOR` and `PATCH` versions were squashed together. |
| 57 | + |
| 58 | +- 4.0.23 (2015-04-03) |
| 59 | + - Added support for new JSON response types in Graph v2.3 when requesting access tokens |
| 60 | +- 4.0.22 (2015-04-02) |
| 61 | + - Fixed issues related to multidimensional params |
| 62 | + - **Bumped default fallback Graph version to `v2.3`** |
| 63 | +- 4.0.21 (2015-03-31) |
| 64 | + - Added a `FacebookPermissions` class to reference all the Facebook permissions |
| 65 | +- 4.0.20 (2015-03-02) |
| 66 | + - Fixed a bug introduced in `4.0.19` related to CSRF comparisons |
| 67 | +- 4.0.19 (2015-03-02) |
| 68 | + - Added stricter CSRF comparison checks to `SignedRequest` and `FacebookRedirectLoginHelper` |
| 69 | +- 4.0.18 (2015-02-24) |
| 70 | + - [`FacebookHttpable`] Reverted a breaking change from `4.0.17` that changed the method signatures |
| 71 | +- 4.0.17 (2015-02-19) |
| 72 | + - [`FacebookRedirectLoginHelper`] Added multiple auth types to `getLoginUrl()` |
| 73 | + - [`GraphUser`] Added `getTimezone()` |
| 74 | + - [`FacebookCurl`] Additional fix for `curl_init()` handling |
| 75 | + - Added support for https://graph-video.facebook.com when path ends with `/videos` |
| 76 | +- 4.0.16 (2015-02-03) |
| 77 | + - [`FacebookRedirectLoginHelper`] Added "reauthenticate" functionality to `getLoginUrl()` |
| 78 | + - [`FacebookCurl`] Fixed `curl_init()` issue |
| 79 | +- 4.0.15 (2015-01-06) |
| 80 | + - [`FacebookRedirectLoginHelper`] Added guard against accidental exposure of app secret via the logout link |
| 81 | +- 4.0.14 (2014-12-29) |
| 82 | + - [`GraphUser`] Added `getGender()` |
| 83 | + - [`FacebookRedirectLoginHelper`] Added CSRF protection for rerequest links |
| 84 | + - [`GraphAlbum`] Fixed bugs in getter methods |
| 85 | +- 4.0.13 (2014-12-12) |
| 86 | + - [`FacebookRedirectLoginHelper`] Added `$displayAsPopup` param to `getLoginUrl()` |
| 87 | + - [`FacebookResponse`] Fixed minor pagination bug |
| 88 | + - Removed massive cert bundle and replaced with `DigiCertHighAssuranceEVRootCA` for peer verification |
33 | 89 | - 4.0.12 (2014-10-30)
|
34 |
| - - Added Graph v2.2 support |
| 90 | + - **Updated default fallback Graph version to `v2.2`** |
35 | 91 | - Fixed potential duplicate `type` param in URL's
|
36 | 92 | - [`FacebookRedirectLoginHelper`] Added `getReRequestUrl()`
|
37 | 93 | - [`GraphUser`] Added `getEmail()`
|
|
0 commit comments