Skip to content

Releases: teamleadercrm/sdk-js

[6.1.2] - 2024-07-12

12 Jul 14:43
9e9f652
Compare
Choose a tag to compare

Added

  • Merge included when using fetchAll so it can be used in combination with sideloading. (@lorgan3 in #341)

[6.1.0] - 2022-05-10

10 May 13:30
1f84c5d
Compare
Choose a tag to compare

Added

  • Merge included when using fetchAll so it can be used in combination with sideloading. (@lorgan3 in #341)

[6.0.2] - 2022-08-31

31 Aug 12:43
6fe4c28
Compare
Choose a tag to compare

Changed

  • Allow overwriting action endpoints. This is useful for mocking the API. (@lowiebenoot in #334)

[6.0.1] - 2022-08-30

30 Aug 12:38
71945b2
Compare
Choose a tag to compare

Changed

  • Cache the values that are created by the proxy. So if you call an endpoint 2 times, it will call the same function 2 times. This makes testing easier. (@lowiebenoot in #332)

[6.0.0] - 2022-08-23

23 Aug 12:38
24f20d4
Compare
Choose a tag to compare

Changed

Deprecated

  • [BREAKING] The additionalActions configuration option is removed, and is replaced by a Proxy implementation. Any domain and action will be possible, as long as you use the API.<domain>.<action>() format (which is our API format anyway). Proxy is not supported by IE, so you will need to polyfill that if you need to support IE. (@lowiebenoot in #322)

[5.0.0] - 2021-12-23

23 Dec 14:51
17c47e1
Compare
Choose a tag to compare

Added

  • Added fetchOptions object to global and local configuration (@ArnaudWeyts in #322)

Removed

  • [BREAKING] additionalHeaders configuration object, use the new fetchOptions configuration with a headers property instead (@ArnaudWeyts in #322)
  • [BREAKING] The customActions configuration object, use additionalActions instead (@ArnaudWeyts in #323)
  • [BREAKING] The createDomainWithActions function, use additionalActions instead (@ArnaudWeyts in #323)

[4.1.0] - 2021-04-28

28 Apr 08:48
5810db4
Compare
Choose a tag to compare

Added

  • Possibility to add additionalHeaders to global and local configuration (@JorenSaeyTL in #314)

[4.0.2] - 2020-01-14

14 Jan 09:35
Compare
Choose a tag to compare

Fixed

[4.0.1] - 2020-01-13

13 Jan 12:49
Compare
Choose a tag to compare

Fixed

  • A bug with the fetchAll option doing the wrong requests (@ArnaudWeyts in #196)

v4.0.0: Update the normalize plugin

07 Aug 12:57
7b90494
Compare
Choose a tag to compare

Breaking changes

  • Changed the normalize plugin so it now normalizes any entities in the response and returns those normalized entities under their respective domain name. [#85]

Other

  • Upgraded various dependencies.