Skip to content

Releases: prismicio-community/php-kit

1.0.18

10 Dec 13:03
Compare
Choose a tag to compare

Bug fixes

  • Move array-like behaviour to GroupDoc to avoid impact on Document

1.0.17

05 Dec 15:04
Compare
Choose a tag to compare

New features

  • Now groupdoc behave like Document (with all the helpers). It can possible break some code if it assumes a group value is an array, but the new WithFragments class implements ArrayAccess to limit breakage.

1.0.11: Merge pull request #75 from mhor/patch-2

23 Oct 13:00
Compare
Choose a tag to compare

Bug fixes

  • [#74] Fix UTF-8 bug in span resolving

1.0.10

14 Oct 08:37
Compare
Choose a tag to compare

Bugfixes

  • Added missing support for h5 and h6
  • [#74] Fix WebLink::asHtml()
  • [#70] Fix spans in pre blocks

1.0.9

07 Oct 08:05
Compare
Choose a tag to compare

Bugfixes

  • Fix pure label spans

Features

  • Predicate helpers

1.0.8

25 Sep 08:36
Compare
Choose a tag to compare

Features

  • Labels in spans and blocks
  • Support for Timestamp fragments
  • Support for custom HTML serializer in StructuredText.asHtml

1.0.7

25 Sep 08:36
Compare
Choose a tag to compare

Features

  • Support for GeoPoint fragments
  • Include kit version in user-agent

1.0.5-beta

02 Jul 16:20
Compare
Choose a tag to compare
1.0.5-beta Pre-release
Pre-release

Features

  • linkedDocuments are now exposed.
  • Document.getLink() was missing from the kit

Bugfix

  • APC cache introduced in previous version didn't work (there was no wrong behavior, simply no caching); it does now.
  • Bug with HTML serialization of lists when it was at the beginning of a structured text (the first list's element would be out of the <ul> or <ol> tag).
  • Support for both FileLinks and ImageLinks.
  • Removed the $level attribute in PreformattedBlock, which wasn't used.

Changes

  • When linkResolver returned null, the HTML serialization used to write <a href="">the text</a>; now it returns the text (doesn't include the useless tag). Therefore, if you have a reason to consider your link invalid in your linkResolver, you can make it return null, and the tag won't happen. As a result, we advise that you return null if the link "isBroken" is at true for instance, although you don't have too (you can also choose to throw an error, or link to a page you want instead, etc.)