Skip to content

Commit

Permalink
Bump version and update README and CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyK committed Oct 12, 2016
1 parent dfbd470 commit c69c3c0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Starting with version 5, the Facebook PHP SDK follows [SemVer](http://semver.org
## 5.x

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.

- 5.4.0 (2016-10-12)
- Bump Graph API version to v2.8.
- Auto-cast `cover` field to `GraphCoverPhoto` and `picture` field to `GraphPicture` in `GraphPage`. (#655)
- Added `getCover()` and `getPicture()` to `GraphPage`. (#655)
- 5.3.1
- Fixed a bug where the `polyfills.php` file wasn't being included properly when using the built-in auto loader (#633)
- 5.3.0
Expand All @@ -26,7 +31,7 @@ Version 5 of the Facebook PHP SDK is a complete refactor of version 4. It comes
- Changes the serialization method of FacebookApp
- FacebookApps serialized by versions prior 5.1.4 cannot be unserialized by this version
- Fixed redirect_uri injection vulnerability
- 5.0 (2015-??-??)
- 5.0 (2015-07-09)
- New features
- Added the `Facebook\Facebook` super service for an easier API
- Improved "reauthentication" and "rerequest" support
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Facebook SDK for PHP (v5)

[![Build Status](https://img.shields.io/travis/facebook/php-graph-sdk/5.3.svg)](https://travis-ci.org/facebook/php-graph-sdk)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/facebook/facebook-php-sdk-v4/badges/quality-score.png?b=5.3)](https://scrutinizer-ci.com/g/facebook/facebook-php-sdk-v4/?branch=5.3)
[![Latest Stable Version](http://img.shields.io/badge/Latest%20Stable-5.3.1-blue.svg)](https://packagist.org/packages/facebook/graph-sdk)
[![Build Status](https://img.shields.io/travis/facebook/php-graph-sdk/5.4.svg)](https://travis-ci.org/facebook/php-graph-sdk)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/facebook/facebook-php-sdk-v4/badges/quality-score.png?b=5.4)](https://scrutinizer-ci.com/g/facebook/facebook-php-sdk-v4/?branch=5.4)
[![Latest Stable Version](http://img.shields.io/badge/Latest%20Stable-5.4.0-blue.svg)](https://packagist.org/packages/facebook/graph-sdk)


This repository contains the open source PHP SDK that allows you to access the Facebook Platform from your PHP app.
Expand Down Expand Up @@ -31,7 +31,7 @@ Simple GET example of a user's profile.
$fb = new \Facebook\Facebook([
'app_id' => '{app-id}',
'app_secret' => '{app-secret}',
'default_graph_version' => 'v2.7',
'default_graph_version' => 'v2.8',
//'default_access_token' => '{access-token}', // optional
]);

Expand Down
2 changes: 1 addition & 1 deletion src/Facebook/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Facebook
/**
* @const string Version number of the Facebook PHP SDK.
*/
const VERSION = '5.3.1';
const VERSION = '5.4.0';

/**
* @const string Default Graph API version for requests.
Expand Down

0 comments on commit c69c3c0

Please sign in to comment.