Skip to content

Latest commit

 

History

History
222 lines (126 loc) · 5.44 KB

CHANGELOG.md

File metadata and controls

222 lines (126 loc) · 5.44 KB

changelog

7.0.1 - 16 Nov 2017

  • Add loginAsClientOwner method

7.0.0 - 7 Nov 2017

  • Update to latest superagent with support for nested directory. Drops support for Node versions earlier than 4.
  • Add serial number endpoint

6.6.2 - 15 Sep 2017

  • Fix nested directories bug

6.6.1 - 14 Sep 2017

  • Update form-data to v1.0.0-relativepath.2

6.6.0 - 12 Sep 2017

  • Add support for deleting current token

6.5.0 - 02 May 2017

  • Add support for all product API endpoints.
  • Add support for sending additional context with each call.

6.4.3 - 15 Feb 2017

  • Create a wrapper for listBuildTargets in Client.js.
  • Marked compileCode, signalDevice, listDevices and listBuildTargets as deprecated. Those methods will be removed in 6.5

6.4.2 - 05 Jan 2017

  • Create a wrapper for listDevices in Client.js.

6.4.1 - 15 Dec 2016

  • Add scopes to library listing

6.4.0 - 09 Nov 2016

  • Create a wrapper for signalDevice in Client.js.

6.3.0 - 31 Oct 2016

  • Add support for account verification endpoint via verifyUser function
  • Change account_info input parameter in createUser and setUserInfo to be camel case - accountInfo

6.2.0 - 19 Oct 2016

  • Add support for account information fields in createUser and setUserInfo
  • Add "shortErrorDescription" in response body to contain English description only

6.1.0 - 19 Oct 2016

  • Add library publish

6.0.8 - 17 Oct 2016

  • Rename library publish to library contribute

6.0.7 - 29 Sept 2016

  • Add library versions endpoint

6.0.6 - 19 Sept 2016

  • Add library delete

6.0.5 - 8 Sept 2016

  • Add library publish

6.0.4 - 30 Aug 2016

  • Use only HTTP dependencies to be able to install on computers without git

6.0.3 - 25 Aug 2016

  • Support nested directories when compiling sources

6.0.2 - 23 Aug 2016

  • Add compile code to client

6.0.1 - 22 Aug 2016

  • Fix the login method content type

6.0.0 - 17 Aug 2016

  • Add libraries endpoints
  • Add stateful client
  • Add object interface for libraries

5.3.1 - 2 Aug 2016

  • Handle empty event names in the event stream.

5.3.0 - 8 June 2016

  • Add details to README
  • Adding responseTemplate and responseTopic to webhook creation. Thanks @acasas! #20
  • Add password reset route #27
  • Make event stream compatible with new product routes #28

5.2.7 - 2 May 2016

  • Fix files parameter default name to be file and not file1.

5.2.6 - 25 Mar 2016

  • Don't double publish event stream events if the event is named event.

5.2.5 - 21 Mar 2016

  • Handle JSON.parse exceptions when parsing event stream

5.2.4 - 21 Mar 2016

  • flashDevice latest also needs to be a string, not a boolean. #12

5.2.3 - 11 Mar 2016

  • Remove setting of User-Agent header because that is not allowed in browsers. #10

5.2.2 - 3 Mar 2016

  • Fix named event streams by encoding event name.
  • Move access token to query string to eliminate preflight CORS request.
  • Use fork of stream-http that prevents usage of fetch because it does not abort.
  • Use correct streaming mode of stream-http.

5.2.1 - 3 Mar 2016

  • Improve cleanup on abort.

5.2.0 - 3 Mar 2016

  • Add support for organization and product slugs to getEventStream.

5.1.1 - 26 Feb 2016

  • JSON.parse HTTP response body for getEventStream error case.

5.1.0 - 26 Feb 2016

  • Fix event stream. #8
  • Add downloadFirmwareBinary
  • Add ability to intercept requests for debugging
  • Use library version for User-Agent
  • Allow request transfer for claimDevice
  • signalDevice needs to use strings, not numbers.
  • compileCode latest should be a string, not a boolean.

5.0.2 - 24 Feb 2016

  • Remove trailing slash from baseUrl. #7

5.0.1 - 18 Feb 2016

  • Remove need for require('particle-api-js').default in CommonJS usage. It is now just require('particle-api-js').

5.0.0 - 18 Feb 2016

  • Removed need for babel-runtime.
  • Add flashDevice, compileCode, and listAccessTokens.
  • Add missing options to createWebhook.
  • Remove downloadFirmwareBinary.

4.2.1 - 8 Feb 2016

  • Update contributors.

4.2.0 - 8 Feb 2016

  • Add downloadFirmwareBinary.

4.1.0 - 14 Jan 2016

  • Add validatePromoCode.
  • activateSIM now requires promo_code and action.

4.0.2 - 16 Nov 2015

  • Fix old code reference.

4.0.1 - 16 Nov 2015

  • Change code to statusCode in rejection.

4.0.0 - 16 Nov 2015

  • Add statusCode to Promise fulfillment.

3.0.3 - 6 Nov 2015

  • Add listBuildTargets.

3.0.2 - 5 Nov 2015

  • Add countryCode to activateSIM.

3.0.1 - 26 Oct 2015

  • Fix activateSIM.

3.0.0 - 26 Oct 2015

  • Replace request with superagent.
  • Add iccid to getClaimCode.
  • Only use form encoding on login and signup.

2.0.1 - 23 Oct 2015

  • Removed browser entry in package.json. This makes it possible to bundle the module with other apps that use browserify without causing relative pathing issues.

2.0.0 - 20 Oct 2015

  • Improved error handling and reporting. Network errors and HTTP errors now both return code property that can be more easily used to programmatically detect error types.

1.0.1 - 24 Sep 2015

1.0.0 - 24 Sep 2015