Skip to content

Releases: elasticio/component-commons-library

4.0.0

08 Aug 13:22
da108ac
Compare
Choose a tag to compare
  • BREAKING CHANGE – All clients named *RestClient have been removed except for PlatformApiRestClient. Any removed client logic should now be implemented within components.
  • PlatformApiRestClient has been migrated from the request library to axios.
  • The following libraries have been removed from the main dependencies:
    • @elastic.io/ntlm-client
    • async
    • bunyan-serializers
    • elasticio-node
    • better-npm-audit
    • remove-leading-slash
    • remove-trailing-slash
    • request
  • The axiosReqWithRetryOnServerError function can now operate without requiring a context.

3.2.2

21 Mar 13:46
8463a01
Compare
Choose a tag to compare
  • Updated maester-client to 6.0.0

3.2.1

11 Sep 18:03
148de1f
Compare
Choose a tag to compare
  • Updated maester-client and other dependencies

3.2.0

22 Mar 14:24
93cd06c
Compare
Choose a tag to compare
  • Added new functions:
    • isNumberNaN(number)
    • timestamp(date)
    • isDateValid(date)
    • timeToString(date)
  • Updated @elastic.io/jsonata-moment to 1.1.6 to fix a vulnerability found in jsonata 1.8.6

3.1.6

23 Jan 16:11
189e4fb
Compare
Choose a tag to compare
  • Changed environment variable API_REQUEST_TIMEOUT maxValue to 120 sec (used to be 20 sec)

3.1.5

12 Jan 11:34
10f6dbb
Compare
Choose a tag to compare
  • Updated @elasticio/maester-client to v5.0.1

3.1.4

30 Nov 08:41
85e6b45
Compare
Choose a tag to compare

Add possibility to set RetryOptions for methods getAttachment and uploadAttachment on AttachmentProcessor class.

3.1.2

31 Oct 07:37
e6813e5
Compare
Choose a tag to compare

Update jsonata-moment to 1.1.5 to support Jsonata 1.8.6

3.1.0

09 Sep 11:43
4899aed
Compare
Choose a tag to compare
  • Added method fetchSecretById for PlatformApiLogicClient
  • Added method refreshTokenBySecretId for PlatformApiLogicClient
  • Added User-Agent headers to PlatformApiRestClient
  • Added new REST client FacelessRestClient

2.0.2

28 Sep 11:21
1eca4d7
Compare
Choose a tag to compare
  • Fix dependencies