Releases: teamleadercrm/sdk-js
Releases · teamleadercrm/sdk-js
[6.1.2] - 2024-07-12
[6.1.0] - 2022-05-10
[6.0.2] - 2022-08-31
Changed
- Allow overwriting action endpoints. This is useful for mocking the API. (@lowiebenoot in #334)
[6.0.1] - 2022-08-30
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
Changed
- Converted the codebase to TypeScript. (@lowiebenoot in #329)
Deprecated
- [BREAKING] The
additionalActions
configuration option is removed, and is replaced by aProxy
implementation. Any domain and action will be possible, as long as you use theAPI.<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
Added
- Added
fetchOptions
object to global and local configuration (@ArnaudWeyts in #322)
Removed
- [BREAKING]
additionalHeaders
configuration object, use the newfetchOptions
configuration with aheaders
property instead (@ArnaudWeyts in #322) - [BREAKING] The
customActions
configuration object, useadditionalActions
instead (@ArnaudWeyts in #323) - [BREAKING] The
createDomainWithActions
function, useadditionalActions
instead (@ArnaudWeyts in #323)
[4.1.0] - 2021-04-28
Added
- Possibility to add additionalHeaders to global and local configuration (@JorenSaeyTL in #314)
[4.0.2] - 2020-01-14
Fixed
- A bug with the fetchAll option for empty responses (@ArnaudWeyts in #196)
[4.0.1] - 2020-01-13
Fixed
- A bug with the fetchAll option doing the wrong requests (@ArnaudWeyts in #196)
v4.0.0: Update the normalize plugin
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.