Skip to content

Releases: ButterCMS/buttercms-js

v2.1.4

04 Sep 15:27
88734fd
Compare
Choose a tag to compare

2.1.4 (2024-09-04)

Bug Fixes

  • update cdn link in readme (d2be0db)

v2.1.3

25 Aug 03:25
eb0931b
Compare
Choose a tag to compare

2.1.3 (2024-08-25)

Bug Fixes

  • update main mount in package, configure npm to see minified file output (18731dd)

v2.1.2

22 Aug 13:25
274d1c9
Compare
Choose a tag to compare

2.1.2 (2024-08-22)

Bug Fixes

  • error in test action (b0867ca)
  • update actions for publishing to npm (b0867ca)

v2.1.1

13 Aug 13:23
e7ab17b
Compare
Choose a tag to compare

2.1.1 (2024-08-12)

Bug Fixes

  • add in full cause to thrown errors (6ede5e4)
  • update abortcontroller/abortSignal for use in Reactive Native (758172b)
  • update error catching to catch all produced errors (d91d47f)

v2.1.0

29 Jul 14:24
b0a08ae
Compare
Choose a tag to compare

2.1.0 (2024-07-29)

Features

  • update response structure to echo schema expected from TS defs and v1 (1a748fa)

v2.0.3

14 Jun 13:30
7f9b5a4
Compare
Choose a tag to compare

2.0.3 (2024-06-14)

Bug Fixes

v2.0.2

13 Jun 14:17
3351012
Compare
Choose a tag to compare

2.0.2 (2024-06-13)

Bug Fixes

  • enhanced garbage collection on fetch aborts & error messaging (14e97e3)

v2.0.1

10 Apr 14:04
d84a9bf
Compare
Choose a tag to compare

2.0.1 (2024-04-10)

Bug Fixes

  • update readme re: support and use of native fetch (b193bca)

v2.0.0

05 Feb 19:05
Compare
Choose a tag to compare

Now supporting Node 18.17.1+ with native fetch support.

We have removed the Axios dependencies and support for Node prior to version 18.17.1.

This release is a breaking change from ButterCMS-js version v1.2.16. If you need to continue to use Node prior to version 18, please use our v1.2.16 release.

New configuration options include the use of lifecycle hooks in our requests for onError, onRequest, and onResponse. Additionally you are able to cancel a fetch request via .cancelRequest for all resource types: butter.<resource>.cancelRequest().cancelRequest is also available in each onRequest hook.

Error reporting has been refined for use with rejecting the request and is returned via a Promise.reject. You can now tap into the returned error lifecycle using onError before the Promise is fully rejected. onError will run before an onResponse and will ensure that no onResponse is run.

Please see our updated ReadMe for updated functionality, installation, and structure.

Thank you!

v1.2.16

05 Feb 18:32
f20b14b
Compare
Choose a tag to compare

Final release supporting Node v14 and v16. Final release supporting Axios