Skip to content

Releases: ButterCMS/buttercms-js

Fix Timeout Issues

06 Aug 11:24
45f8e5b
Compare
Choose a tag to compare

What's Changed

  • Fixes timeout handling for wider compatibility by @courcelan in #124
  • Simplifies Butter instantiation.
  • Uses setTimeout as a fallback when AbortSignal.timeout is unavailable (e.g., React Native, Node.js)
  • Ensures proper cleanup of the timeout when using setTimeout by clearing the timeout ID.
    Full Changelog: v3.0.2...v3.1.0

v3.0.2

16 Apr 11:31
ba50d3e
Compare
Choose a tag to compare

3.0.2 (2025-04-16)

Bug Fixes

  • add missing page params in typings (d84eed0)

v3.0.1

08 Apr 14:07
9f8f06d
Compare
Choose a tag to compare

3.0.1 (2025-04-08)

Bug Fixes

  • 3154 remove importing unused AxiosInstance, modify config (10439bb)

v3.0.0

19 Dec 14:15
fd98185
Compare
Choose a tag to compare

3.0.0 (2024-12-19)

⚠ BREAKING CHANGES

  • upgrade to node 20

Features

v2.3.1

06 Dec 13:09
db68033
Compare
Choose a tag to compare

2.3.1 (2024-12-06)

Bug Fixes

  • Exports types for resolution in ESM Modules (7f3dbaa)

v2.3.0

13 Nov 15:59
7865edc
Compare
Choose a tag to compare

2.3.0 (2024-11-13)

Features

  • add status and scheduled to pages and blog posts (dbe43c4)
  • add V2 Typings to JS SDK (41e2fe8)

v2.2.0

11 Nov 11:03
f5910de
Compare
Choose a tag to compare

2.2.0 (2024-11-11)

Features

  • update builds to include dev builds (3488632)

Bug Fixes

  • split production builds (1205812)

This PR resolves #97 and resolves #105.

It split builds into UMD and ES module builds which ensures import Butter from "buttercms" works.

It also adds development builds and leverages Tenser plugin for webpack instead of uglify.

Along this, it updates dependencies, as shown in table bellow:

Overview of version changes:

Dependency Old version New version
webpack 5.89.0 5.95.0
msw 2.0.11 2.6.0
uglify 3.17.4 none
terser-webpack-plugin none 5.3.10

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)