Skip to content

Releases: prismicio-community/php-kit

2.0.0-beta1

01 Mar 10:44

Choose a tag to compare

2.0.0-beta1 Pre-release
Pre-release

Changes

  • Added support for PHP7.0
  • Dropped support for PHP5.4 (end of life)
  • Switch to Guzzle, because the http adapter we were using is no longer maintained and the proposed alternative is not ready
  • Switch from APC to APCu (PHP7.0 no longer have compatibility functions)

Upgrade guide

  • Make sure you're using PHP5.5 or higher
  • If you were passing a custom configuration or custom adapter for the http client, you need to switch to a custom Guzzle client

1.7.1

25 Jan 11:00

Choose a tag to compare

Simplified API helpers

23 Nov 12:52

Choose a tag to compare

Queries can now be done more easily, without having to pass a form and ref. Defaults to master if no preview or experiment cookie is present:

  • $api->getByID("xxx");
  • $api->query("[...]");

1.5.10

16 Jun 14:25

Choose a tag to compare

New feature

  • [#85] Make API object TTL configurable

1.5.9

27 May 15:02

Choose a tag to compare

New features

  • Possibility to make several queries simultaneously with Api::submit(query1, query2...)

1.4.0

02 Feb 14:57

Choose a tag to compare

Fallback to NoCache when APC is missing

1.3.2: Merge pull request #95 from cliffom/master

02 Feb 09:43

Choose a tag to compare

Adds UTF-8 encoding to htmlentities for Text fragments

1.3.0

22 Jan 10:14

Choose a tag to compare

  • Use a generic http client interface to avoid conflicts with other Guzzle versions

1.2.0

22 Jan 10:14

Choose a tag to compare

  • No longer md5 cache keys

1.1.0

09 Jan 09:45

Choose a tag to compare

Breaking changes

  • Cache: get should no longer returns false, but returns null when the key is not found

New features

  • [#88] Add SearchForm::isCached helper