Skip to content

Releases: commercetools/sphere-stock-import

v1.3.2

21 Nov 11:50
Compare
Choose a tag to compare

Fix:

  • Updates vulnerable dependencies (#82)

v1.3.1

22 Dec 14:25
Compare
Choose a tag to compare

Fix:

  • Escape quotes and backslashes in SKUs when querying for existing inventoryEntries (#71)

v1.3.0

14 Nov 16:15
6007644
Compare
Choose a tag to compare

Feat

  • handle case when create and delete executes at same time (#68)

v1.2.0

16 Oct 09:50
Compare
Choose a tag to compare

Feat

  • client: add repeater on 409 errors (#66)

v1.1.0

11 Jul 09:05
Compare
Choose a tag to compare

Feat

  • client: set page limit to 500 for fetch all method (#63)

Custom field support

16 Nov 13:23
Compare
Choose a tag to compare

The biggest change is adding support for custom fields in the inventory. Rewrite the transformation function to be promise based because of async fetching the correct custom field type from the API. When the same type of custom field is being used multiple times it is only fetched once using memorisation.

Secondly the stock fields now have the same name as the API, "quantity" > "quantityOnStock" because header fields are no longer ignored but used to map the correct values. - Selwyn :)
Refactor and update mappings and CSV data handling.

The header row is not static anymore and thus includes a major breaking change, in both the naming of the fields as in the removed static header option.

Better querying for better performance

27 Apr 23:32
Compare
Choose a tag to compare

With this release we use an in query instead of an or query to achieve up to 100 times better performance. From almost 2 seconds a query can be executed in less than 20 ms.

v0.6.3

04 Mar 12:32
Compare
Choose a tag to compare

New:

  • expose StockImport when require('sphere-stock-import') module
  • add performStream method
# chunk: a list of stock objects
# callback: a function called when the given chunk has been processed
performStream(chunk, callback)

v0.6.2

04 Mar 12:26
Compare
Choose a tag to compare

Fixes:

v0.6.1

24 Oct 10:53
Compare
Choose a tag to compare
  • upgrade deps