Skip to content

Latest commit

 

History

History
400 lines (174 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

400 lines (174 loc) · 15.4 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

2.4.0 (2024-10-08)

Features

  • supporting new globalThis.ecomClientAxiosMidd for mannual middleware/cache handling (c38ba20)

2.3.1 (2024-03-22)

2.3.0 (2024-03-22)

Features

  • support new optional ECOMCLIENT_API_PASSPORT_IDENTITY env for passport on identity endpoints (9363e7c)

Bug Fixes

  • deps: edit axios semver to also be satisfied with v0 (c1b4ec6)
  • deps: update all non-major dependencies (#134) (d86b1eb)
  • deps: update dependency axios to v1 (#210) (f959399)
  • deps: update dependency axios to v1.6.0 [security] (#262) (d6579b6)

2.2.1 (2021-03-10)

Bug Fixes

  • axios-instance: ensure defaults.headers[method] is defined (39b6c24)
  • axios-instance: prevent 'Uncaught TypeError: instance.defaults.headers is undefined' error (a1b1605)

2.2.0 (2021-01-24)

Features

  • apis-base-urls: support customizind default apis with env vars (4d91564)

Bug Fixes

  • env: syntax fix, must export default (687e449)
  • request: properlly checking '.json' extensions (7b26cf0)

2.1.4 (2021-01-07)

Bug Fixes

  • deps: update dependency axios to v0.21.1 [security] (#82) (43b92ce)

2.1.3 (2020-10-29)

2.1.2 (2020-10-23)

Bug Fixes

  • request-timeout: increase cache api timeout on node (dd48406)

2.1.1 (2020-09-10)

2.1.0 (2020-07-28)

Features

  • request: retry server errors for requests without timeout (d991312)

2.0.4 (2020-03-03)

Bug Fixes

  • request: also handle cuncorrent request, always shedule (ed3a656)

2.0.3 (2020-03-03)

Bug Fixes

  • request: add 50ms delay to search and cache api to prevent 503 (c0eb251)

2.0.2 (2020-01-05)

2.0.1 (2020-01-02)

2.0.0 (2019-12-22)

Build System

  • babel: remove babel runtime plugin (2ba8dd4)
  • bin: fix webpack externals for node (ecomplus/utils,axios) (4ef168c)
  • bin: fix webpack externals for node target (peer deps only) (ceca7f6)
  • bin: fix webpack externals for node target (peer deps only) (10b1166)

BREAKING CHANGES

  • bin: ecomplus/utils still not shipped but is no more direct dep

1.1.3 (2019-09-04)

1.1.2 (2019-08-28)

Build System

  • bin: fix node.js output config (1a51a5c)

1.1.1 (2019-08-28)

Build System

  • webpack: add Node.js target output (20d0f3d)

1.1.0 (2019-08-28)

Features

  • no-timeout: check env.ECOMCLIENT_NOTIMEOUT to reset req timeout (86ef913)

1.0.3 (2019-08-20)

1.0.2 (2019-08-20)

Bug Fixes

  • passport: accessToken and customerId optinals (#2) (bbbb77f)

1.0.1 (2019-08-12)

1.0.0 (2019-08-12)

Bug Fixes

  • export: exporting both named methods and default with all (3da37b2)

0.8.0 (2019-07-25)

chore

  • methods: using always a config object as method unique param (e9a4e09)

BREAKING CHANGES

  • methods: all methods params edited, old calls will no more work

0.7.1 (2019-07-24)

0.7.0 (2019-07-24)

Bug Fixes

  • request: all APIs endpoints have JSON extension (f945c1a)

chore

  • methods: removing 'getStoreId' and 'mapBySlug' (5012ae1)

Features

  • method: new 'storefront' method (Storefront API) (2e15e05)

BREAKING CHANGES

  • methods: 'getStoreId' and 'mapBySlug' will no more work

0.6.0 (2019-07-21)

Bug Fixes

  • constants: removing ':id' from API_PASSPORT (1741906)
  • get-store-id: also sets channel ID on config (2bf6f9e)
  • get-store-id: returns channel info object on promise chain (c5c3a50)
  • methods: renaming request methods with prefix 'api' (f36f02e)

Features

  • method: new 'apiPassport' method (c510b5c)
  • method: new 'getStoreId' method (7c89bc8)
  • method: new 'mapBySlug' method (9596528)

BREAKING CHANGES

  • get-store-id: changed returned object on 'getStoreId' resolve
  • methods: old request methods will not work (renamed)

0.5.1 (2019-07-19)

Bug Fixes

  • request: complete absolute URI, check for debug option (72909e3)
  • request: fix exported request function (4a7d3bb)

Tests

  • debug: set window.ECOMCLIENT_DEBUG = true (d4e9d19)

0.5.0 (2019-07-19)

Bug Fixes

  • methods: renaming all client methods (4fda72e)

BREAKING CHANGES

  • methods: all methods will no more work with old names

0.4.3 (2019-07-17)

Build System

  • bin: fix handling ecomplus/utils external dependency with webpack (418f583)

0.4.2 (2019-07-17)

Build System

  • bin: fix webpack config, using 'config.externals' (436817f)

0.4.1 (2019-07-16)

Build System

  • bin: fix output filenames (cf27d8f)

0.4.0 (2019-07-11)

Bug Fixes

  • lib: importing request function from lib properly (1f381f3)
  • request: fix importing api constants (5c39a82)
  • request-store-api: fix handling request error (c8b89e4)
  • request-store-api: store id only on url when using cache api (761e278)

Build System

  • bin: setup config for multiple webpack outputs (2e24605)
  • webpack: edit default webpack output filename (c7a33c0)

Features

  • constants: add API_PASSPORT to constants (1ad714b)
  • method: new 'requestModulesApi' method (ae12547)
  • methods: add 'requestGraphsApi' and 'requestPlatformApi' methods (3cc269c)
  • request: add request function to lib, handle 503 errors and queue (86c2f8c)

Tests

  • fix: update script src to new webpack output filename (4fcd915)

0.3.0 (2019-07-10)

Bug Fixes

  • request-store-api: default 5s timeout for live api on browser only (8894f01)

Features

  • constant: add IS_BROWSER boolean (b10fc39)
  • method: new 'requestSearchApi' method (119b0f4)

0.2.1 (2019-07-10)

Bug Fixes

  • request-store-api: fix handling chosing cache or live api host (4553d64)
  • request-store-api: fix some fuction params default values (2fc15b8)
  • request-store-api: revert 'requestStoreApi' params order (9310837)

Build System

  • bin: don't include dependencies to lib production output (4a84564)

0.2.0 (2019-07-09)

Build System

  • babel: default settings for babel traspilation (e184387)
  • bin: setup binary build (to production) script (bafbcbd)
  • webpack: fix output library global object (56284aa)
  • webpack: fixes for webpack default settings (2ddea0c)
  • webpack: setup webpack default settings (09ada09)

Features

  • axios: create custom axios instance (46b6ef9)
  • constants: defining api base urls with consts (c78db76)
  • method: new 'requestStoreApi' method (6ef943b)
  • self: info about package on '_self' property (b7d2dcb)

Tests

0.1.0 (2019-07-09)

Build System

  • babel: default settings for babel traspilation (e184387)
  • bin: setup binary build (to production) script (bafbcbd)
  • webpack: fix output library global object (56284aa)
  • webpack: fixes for webpack default settings (2ddea0c)
  • webpack: setup webpack default settings (09ada09)

Features

  • axios: create custom axios instance (46b6ef9)
  • constants: defining api base urls with consts (c78db76)
  • method: new 'requestStoreApi' method (6ef943b)
  • self: info about package on '_self' property (b7d2dcb)

Tests