Buttercms Js Versions Save

Node/JS API client for ButterCMS (https://buttercms.com)

v2.0.1

1 month ago

2.0.1 (2024-04-10)

Bug Fixes

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

v2.0.0

3 months ago

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

3 months ago

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

v1.2.15

7 months ago

1.2.15 (2023-10-23)

Bug Fixes

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

v1.2.14

8 months ago

1.2.14 (2023-09-19)

Bug Fixes

v1.2.13

8 months ago

1.2.13 (2023-09-15)

Bug Fixes

  • issue calling axios.create undefined (0cc86c9)

v1.2.12

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ButterCMS/buttercms-js/compare/v1.2.11...v1.2.12

v1.2.11

1 year ago

What's Changed

1.1.0

6 years ago