Releases: FamilySearch/fs-js-lite
Releases · FamilySearch/fs-js-lite
2.2.0
2.1.0
2.0.0
Add support for Node.js
Breaking Changes
- The
getHeader()
andgetAllHeaders()
response methods were replaced with theheaders
object. saveAccessToken
now defaults tofalse
instead oftrue
.- The signature of response callbacks changed from
function(response)
tofunction(error, response)
. - In v1 response middleware was called even when a network error occurred. In v2 the response middleware is only called when a response is actually recieved.
- Redirects are not automatically followed. Use the
followRedirect: true
request option to have the SDK automatically follow a redirect response.
1.3.0
1.2.0 - Middleware
#2 Support middleware