Merge pull request #12209 from meteor/feature/facebook-api-15

Update default Facebook API to v15 and fix local changelog
This commit is contained in:
Gabriel Grubba
2022-10-24 10:29:37 -03:00
committed by GitHub
3 changed files with 36 additions and 7 deletions

View File

@@ -1,3 +1,16 @@
## 2.8.1, Unreleased
#### Highlights
#### Breaking Changes
#### Migration Steps
#### Meteor Version Release
* `facebook-oauth@1.12.0`
- Updated default version of Facebook GraphAPI to v15
## v2.8, 2022-10-19
#### Highlights
@@ -77,7 +90,7 @@ Read our [Migration Guide](https://guide.meteor.com/2.8-migration.html) for this
For making this great framework even better!
## v2.7.3, 2022-05-31
## v2.7.3, 2022-05-3
#### Highlights
* `accounts-passwordless@2.1.2`:

View File

@@ -1,10 +1,26 @@
# Changelog
## 1.8.0 - unreleased
### Breaking changes
- N/A
## 1.12.0 - UNRELEASED
### Changes
- Updated default version of Facebook GraphAPI to v15
## 1.11.0 - 2022-03-24
### Changes
- Updated default version of Facebook GraphAPI to v12
## 1.10.0 - 2021-09-14
### Changes
- Added login handler hook, like in the Google package for easier management in React Native and similar apps. [PR](https://github.com/meteor/meteor/pull/11603)
## 1.9.1 - 2021-08-12
### Changes
- Allow usage of `http` package both v1 and v2 for backward compatibility
## 1.9.0 - 2021-06-24
### Changes
- Upgrade default Facebook API to v10 [#11362](https://github.com/meteor/meteor/pull/11362)
## 1.8.0 - 2021-04-15
### Changes
- Updated to use Facebook GraphAPI v10
- You can now override the default API version by setting `Meteor.settings.public.packages.facebook-oauth.apiVersion` to for example `8.0`
## 1.7.3 - 2020-10-05

View File

@@ -30,7 +30,7 @@ Facebook.requestCredential = (options, credentialRequestCompleteCallback) => {
const loginStyle = OAuth._loginStyle('facebook', config, options);
const API_VERSION = Meteor.settings?.public?.packages?.['facebook-oauth']?.apiVersion || '13.0';
const API_VERSION = Meteor.settings?.public?.packages?.['facebook-oauth']?.apiVersion || '15.0';
let loginUrl =
`https://www.facebook.com/v${API_VERSION}/dialog/oauth?client_id=${config.appId}` +