Skip to content

Releases: ButterCMS/buttercms-js

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

v1.2.15

23 Oct 15:29
1edbce2
Compare
Choose a tag to compare

1.2.15 (2023-10-23)

Bug Fixes

  • bump @babel/traverse from 7.21.4 to 7.23.2 (8e3fcd5)

v1.2.14

19 Sep 14:52
9cb81a0
Compare
Choose a tag to compare

1.2.14 (2023-09-19)

Bug Fixes

v1.2.13

15 Sep 14:57
35c31b6
Compare
Choose a tag to compare

1.2.13 (2023-09-15)

Bug Fixes

  • issue calling axios.create undefined (0cc86c9)

v1.2.12

05 May 13:17
ecaf5a7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.11...v1.2.12

Bump Axios Version and Fix Axios Bug

25 Apr 13:23
e7b4db9
Compare
Choose a tag to compare

What's Changed

Adding Pages Support

10 Nov 03:36
af053f9
Compare
Choose a tag to compare
1.1.0

README Formatting