changelogs.md


particle-iot/particle-api-js

Repository  -  API  -  Source

7.2.3

August 4, 2018
  • Add sendOtp method to allow users enrolled in MFA/Two-Step Auth to login PR #92

7.2.2

July 23, 2018
  • Fix npm api key for publishing to registry

7.2.1

July 23, 2018
  • Support enrolling user in MFA/Two-step authentication

7.2.0

March 22, 2018
  • Support changing user's username(i.e., email) and password PR #84

7.1.1

February 13, 2018
  • Fix country parameter for activate sim PR #81

7.1.0

January 17, 2018
  • Update jsDelivr link PR #66. Thanks @LukasDrgon!
  • Stop auto reconnecting when event stream is intentionally disconnected PR #69. Thanks @spacetc62!
  • Add createCustomer PR #78. Thanks @monkeytronics!
  • Fix event stream exception when it is an HTML response PR #64. Thanks @spacetc62!
  • Update links after GitHub organization rename to particle-iot PR #79

7.0.1

November 16, 2017
  • Add loginAsClientOwner method

7.0.0

November 7, 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

September 15, 2017
  • Fix nested directories bug

6.6.1

September 14, 2017
  • Update form-data to v1.0.0-relativepath.2

6.6.0

September 12, 2017
  • Add support for deleting current token

6.5.0

May 2, 2017
  • Add support for all product API endpoints.
  • Add support for sending additional context with each call.

6.4.3

February 15, 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

January 5, 2017
  • Create a wrapper for listDevices in Client.js.

6.4.1

December 15, 2016
  • Add scopes to library listing

6.4.0

November 9, 2016
  • Create a wrapper for signalDevice in Client.js.

6.3.0

October 31, 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

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

6.1.0

October 19, 2016
  • Add library publish

6.0.8

October 17, 2016
  • Rename library publish to library contribute

6.0.7

September 29, 2016
  • Add library versions endpoint

6.0.6

September 19, 2016
  • Add library delete

6.0.5

September 8, 2016
  • Add library publish

6.0.4

August 30, 2016
  • Use only HTTP dependencies to be able to install on computers without git

6.0.3

August 25, 2016
  • Support nested directories when compiling sources

6.0.2

August 23, 2016
  • Add compile code to client

6.0.1

August 22, 2016
  • Fix the login method content type

6.0.0

August 17, 2016
  • Add libraries endpoints
  • Add stateful client
  • Add object interface for libraries

5.3.1

August 2, 2016
  • Handle empty event names in the event stream.

5.3.0

June 8, 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

May 2, 2016
  • Fix files parameter default name to be file and not file1.

5.2.6

March 25, 2016
  • Don't double publish event stream events if the event is named event.

5.2.5

March 21, 2016
  • Handle JSON.parse exceptions when parsing event stream

5.2.4

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

5.2.3

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

5.2.2

March 3, 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

March 3, 2016
  • Improve cleanup on abort.

5.2.0

March 3, 2016
  • Add support for organization and product slugs to getEventStream.

5.1.1

February 26, 2016
  • JSON.parse HTTP response body for getEventStream error case.

5.1.0

February 26, 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

February 24, 2016
  • Remove trailing slash from baseUrl. #7

5.0.1

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

5.0.0

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

4.2.1

February 8, 2016
  • Update contributors.

4.2.0

February 8, 2016
  • Add downloadFirmwareBinary.

4.1.0

January 14, 2016
  • Add validatePromoCode.
  • activateSIM now requires promo_code and action.

4.0.2

November 16, 2015
  • Fix old code reference.

4.0.1

November 16, 2015
  • Change code to statusCode in rejection.

4.0.0

November 16, 2015
  • Add statusCode to Promise fulfillment.

3.0.3

November 6, 2015
  • Add listBuildTargets.

3.0.2

November 5, 2015
  • Add countryCode to activateSIM.

3.0.1

October 26, 2015
  • Fix activateSIM.

3.0.0

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

2.0.1

October 23, 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

October 20, 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

September 24, 2015

1.0.0

September 24, 2015