Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Releases: sphereio/sphere-node-connect

v0.5.8

02 Oct 11:35
Compare
Choose a tag to compare

Deprecation notice for moving repo into sphere-node-sdk

v0.5.7

26 Aug 20:52
Compare
Choose a tag to compare

v0.5.6

06 Apr 14:43
Compare
Choose a tag to compare

v0.5.5

05 Apr 10:50
Compare
Choose a tag to compare

v0.5.4

25 Mar 07:41
Compare
Choose a tag to compare

Fixes:

  • correctly check as String for limit = 0 param 39a9d5e

v0.5.3

21 Mar 06:46
Compare
Choose a tag to compare

Move repo to sphereio organisation

v0.5.2

19 Mar 10:29
Compare
Choose a tag to compare
  • upgrade dependencies

v0.5.1

19 Mar 10:05
Compare
Choose a tag to compare

Fixes:

  • use correct version v0.3.1 of sphere-node-utils which requires bunyan dependency for Logger

v0.5.0

19 Mar 09:24
Compare
Choose a tag to compare

@deprecated: use version 0.5.1

  • Logger is no longer exposed in this module, instead it's available in the sphere-node-utils package

    Note that the sphere-node-connect still uses internally the logger

  • introduce PAGED request with progress subscription

    A PAGED request is an HTTP GET to one of the API query endpoints. It should be used to retrieve all results of the specified resource. It uses internally a recursive function to accumulate results in chunks.

rest = new Rest options

rest.PAGED '/products', (error, response, body) ->
  # do something

You can subscribe to progress notification by specifying a second callback

rest = new Rest options

rest.PAGED '/products', (error, response, body) ->
  # do something
, (progress) ->
  # progress is an object containing the current progress percentage
  # and the value of the current results (array)
  # {percentage: 20, value: [r1, r2, r3, ...]}

v0.4.5

15 Mar 12:55
Compare
Choose a tag to compare

Fixes:

  • should not fail to log if request times out 62b35d4