Skip to content

Releases: ButterCMS/buttercms-php

Better boolean handling for Pages

08 Nov 02:38
e3a38d4
Compare
Choose a tag to compare
Merge pull request #5 from ButterCMS/content-field-bool-tweak

Content Field Bool Behavior Tweak

Pages

06 Nov 22:54
b6abd7e
Compare
Choose a tag to compare

Adding Pages Support

Adds localization support

06 May 05:18
Compare
Choose a tag to compare

Adds ability to pass params to fetchContentFields including locale:

$butter = new ButterCMS("your_api_key");
$fields = $butter->fetchContentFields(['homepage_headline', 'faq'], ['locale' => 'es']);

Adds trailing slashes to endpoint URLs

24 Apr 04:09
Compare
Choose a tag to compare

The ButterCMS API expects all endpoints to include trailing slashes. When there's no trailing slash, the API returns a 301 redirect to the URL with a trailing slash, resulting in two requests to get data. This update fixes the client to include trailing slashes in all requests.

Version 2.0.0

21 Mar 15:41
Compare
Choose a tag to compare
  • Breaking change: Renames methods to use fetchXXX() for API calls and getXXX() for accessors
  • Adds auto-retry for failed API requests

Adds support for tags

08 Nov 16:49
Compare
Choose a tag to compare
1.0.3

adds support for tags

v1.0.0

08 Jul 01:59
Compare
Choose a tag to compare

version 1