Skip to content

v0.9 release

Compare
Choose a tag to compare
@Kelin2025 Kelin2025 released this 30 Mar 22:06
· 279 commits to master since this release
4c6c10a

New features

  • none

Bug fixes

Payload normalisation

You probably could get unexpected behaviour with no headers in request or smth else
It was happening because adapter.convert was being called before calling before hooks.
Now adapter.convert is called only inside adapter request.
You can see new behaviour here

Note that payload.headers.token = token in hook will cause error if you don't pass headers (no adapter.convert called).
Use payload.headers = { ...payload.headers, token } instead

Other changes

  • none