Skip to content

Releases: weapnl/js-junction

v0.3.0

17 Feb 10:41
e2b9077

Choose a tag to compare

  • Added chunkUploadsBySize option on the Api class to automatically chunk file uploads across multiple requests when the total size exceeds the configured size.

v0.2.0

15 Dec 14:02
707d02f

Choose a tag to compare

  • Added data propery to delete function of a Request to allow sending json data in the delete request.
  • Added extraData property to destroy function of a Model to allow sending extra json data in the delete request.
  • Now also sending custom parameters of a request in the store, update and destroy functions of a Model.

v0.1.4

24 Apr 07:23

Choose a tag to compare

  • Added response in onSuccess and onValidationError callbacks.

v0.1.2

17 Oct 08:41

Choose a tag to compare

  • Fixed a bug where not all subsequent requests would be cancelled.

v0.1.1

15 Oct 13:44

Choose a tag to compare

  • Added functionality to add the same callback on a request multiple times.
    • ⚠️ With the old functionality setting a callback on a request would overwrite the globally defined callback. This is no longer the case, as both the global and request callbacks will be executed.
  • Improved how axios responses are handled.
    • ⚠️ Deprecated failed getter on the Response class in favor of a new isFailed getter.
  • Added onCancelled method on Api and Response classes.
  • Updated the docker-compose.yml file to use the node:22 image.

v0.1.0

05 Sep 13:00

Choose a tag to compare

  • Added the Temporary Media Upload functionality.

v0.0.9

27 Mar 13:12

Choose a tag to compare

  • Added option to override the config of an request.
  • Added the body parameters to the post request.
  • Updated the requests variable from a object to an array.

v0.0.8

13 Mar 13:07
65f7100

Choose a tag to compare

Merge pull request #19 from weapnl/version

Version

v0.0.7

04 Mar 13:39
147376c

Choose a tag to compare

  • Request cancel improvements.

v0.0.6

22 Feb 11:34

Choose a tag to compare

  • Added support for request cancellation by key.