- Added
getAppUsageAPI - New minimum API version
v2.5(v2.4 is no longer available) - Debug headers are now logged with DEBUG=fb:fbdebug
- Log messages to stderr using console.warn instead of console.log
- BREAKING CHANGE: Switched from the
requestlibrary toneedle - BREAKING CHANGE: Passing invalid methods or arguments to
FB.apinow throws a TypeError instead of logging and returning undefined - Use of the function-bind operator has been removed
- BREAKING CHANGE: Raised the minimum supported version of Node to
6.x - BREAKING CHANGE:
any-promisehas been removed, native promises are now returned by default. If you wish to use a 3rd party promise library likebluebirdyou must explicitly set thePromiseoption instead of relying onany-promise's behaviour -
- BREAKING CHANGE: CommonJS
require('fb')must now use the.defaultor.FBexport
- BREAKING CHANGE: CommonJS
- BREAKING CHANGE: Dropped support for FQL and Legacy REST Api
- BREAKING CHANGE: New minimum API version
v2.3 - BREAKING CHANGE:
FacebookApiExceptionandversionare no longer available onFacebookinstances.- This means
FB.FacebookApiExceptioncannot be used when doingimport FB from 'fb';orvar {FB} = require('fb');you must importFacebookApiExceptionseparately.
- This means
- BREAKING CHANGE: Drop support for node
0.10and0.12, node4is the new minimum - BREAKING CHANGE: The old broken samples/ directory has been removed
FB.apinow supports usage with promises- Update deps
- Migrate to babel-preset-env
- Fix #54: FB methods should be bound
- Update deps:
request:^2.62.0->^2.67.0chai:^3.2.0->^3.4.1lodash.omit:^3.1.0->^4.0.1mocha:^2.3.2->^2.3.4nock:^2.12.0->^5.2.1
- Explicitly support ES2015
importin Babel - Add
new Facebook(options)for library usage - Add
FB.extendfor multi-app usage - Add
FB.withAccessTokenfor alternate multi-user usage - Support file uploads using Buffers and read streams
- #22 Fix accidental global / strict mode bug
1.0.0was accidentally tagged asnextinstead oflatest, making1.0.1the first official1.0.xversion.
- Add
betaoption - Update dep:
request - Remove unused dependency on
cryptopackage - BREAKING CHANGE: Drop support for node
0.6and0.8 - Fix __dirname relative required that breaks browserify builds
- Add
userAgentoption - Add
versionoption - Fix incorrect merging of string and object query params
- Add
DEBUG=fb:req,fb:sigsupport pingFacebookremoved
Versions before 1.0.0 were maintained by Thuzi and were never given an official changelog.