Skip to content

Releases: intuit/oauth-jsclient

Release 4.1.3

06 Nov 05:22
caf8831
Compare
Choose a tag to compare

Release 4.1.3 Latest

New Release Candidate: 4.1.3

Features

Notes on Migration documentation (Moving from 4.1.2 to 4.1.3):

Issues Fixed
#171

Releae 4.1.2

28 Mar 00:05
7f7a3a3
Compare
Choose a tag to compare

Release 4.1.2 Latest

New Release Candidate: 4.1.2

Features

Notes on Migration documentation (Moving from 4.0 to 4.1.2):

Stop using Popsicle and start using Axios
• Axios is not a drop-in replacement for Popsicle. Here are a few of the API differences:

Request config:
Axios uses data instead of body.
Axios.get() will override the the method option.
There is no transport option.

Response schema:
Headers are turned into an object with lower cased names.
Response data is atomically parsed and can be accessed with res.data.
The response can't be stringified using JSON.stringify() because of res.request.

Breaking Changes:
• getJson() function is now not available, while making the makeApiCall() function. Instead response.json is used.
• JSON.stringify(authResponse.getJson()) ==> should now been changed to JSON.stringify(authResponse.json)
• getting the error message/code. Before, it was under this path: authResponse.json.Fault.Error
Now it's under this path: response.data.Fault.Error

• Given the transport changes, please note that transport needs to be replaced with responseType:
e.g. Users that receive a PDF will have to change their code from this:

oauthClient.makeApiCall({
url: ${url}v3/company/${companyID}/invoice/${invoiceNumber}/pdf?minorversion=59,
headers:{'Content-Type': 'application/pdf','Accept':'application/pdf'},
transport: popsicle.createTransport({type: 'buffer'})
})

To this:
oauthClient.makeApiCall({
url: ${url}v3/company/${companyID}/invoice/${invoiceNumber}/pdf?minorversion=59,
headers:{'Content-Type': 'application/pdf','Accept':'application/pdf'},
responseType: 'arraybuffer'

})

Issues Fixed
#168

Release 4.1.1

13 Mar 18:08
3698874
Compare
Choose a tag to compare

Release 4.1.1 Latest
New Release Candidate: 4.1.1
Features

Stop using Popsicle and start using Axios

Issues Fixed
#160

Release 4.1.0

08 Mar 22:06
Compare
Choose a tag to compare

Release 4.1.0 Latest

New Release Candidate: 4.1.0
Features

Stop using Popsicle and start using Axios

Issues Fixed

#157

Release 4.0.0 : Node version support 10 and higher

27 May 20:25
02e940b
Compare
Choose a tag to compare

New Release Candidate: 4.0.0

Breaking Changes

  • Minimum Node Version >= 10

Features

  • Supports Minimum Node version 10 and newer ( not backward compatible )
  • Moved lower node versions ( node 8,9, node 7, node 6 to 3.x.x. , 2.x.x and 1.x.x release respectively )
    • node version 8,9 and higher refer to 3.x.x
    • node version 7 and higher refer to 2.x.x
    • node version 6 and higher refer to 1.x.x

Issues Fixed

References

Adding support for custom authorize Endpoints

10 Jul 01:04
43a597b
Compare
Choose a tag to compare

New Release Candidate: 3.0.2 🎉

Features :

Added support for passing custom authorize URL's: #92

Dependency Fix : Remove unwanted packages

13 May 21:10
c959ed5
Compare
Choose a tag to compare

New Release Candidate: 3.0.1 🎉

Features :

  • Same as 3.0.0

Issues Fixed :

  • Move snyk package as devDependency . Ref #88

Support for Node v8 LTS and newer

13 May 00:40
e38c095
Compare
Choose a tag to compare

New Release Candidate: 3.0.0 🎉

Features :

Supports Minimum Node version 8 LTS and newer ( not backward compatible )
Moved lower node versions ( node 7, node 6 to 2.x.x and 1.x.x release respectively )
Enhanced Code Coverage
Issues Fixed :

ES Lint issues fixed.
Vulnerabilities fixed.
Ensure headers are valid object #70

Accept Full Range of HTTP Success Codes

10 Apr 23:33
714078d
Compare
Choose a tag to compare

New Release Candidate: 2.1.0 🎉

Features :
1.) Accept Full Range of HTTP Success Codes #78
2.) Handle not JSON content in response parsing #59
3.) Dependency cleanup ( still pending. Opening an issue )

Fixed NPM Package issue in 2.0.1

03 Jan 18:55
Compare
Choose a tag to compare

New Release Candidate: 2.0.2 🎉

Features :
1.) Improved Code Coverage
2.) README Corrections
3.) Fixed npm package issues in 2.0.1