Skip to content

Releases: gotenberg/gotenberg-php

v2.4.0

25 Apr 16:39
Compare
Choose a tag to compare

This release brings the client up-to-date with the lastest Gotenberg version.

New methods:

  • $chromium->width
  • $chromium->height
  • $chromium->clip

See https://github.com/gotenberg/gotenberg/releases/tag/v8.5.0 for more details.

v2.3.1

11 Apr 15:30
Compare
Choose a tag to compare

ChromiumCookie does not serialize null for optional values anymore. Thanks a lot @yanbuatois for the quick fix!

v2.3.0

11 Apr 13:28
Compare
Choose a tag to compare

This release brings the client up-to-date with the lastest Gotenberg version.

New methods:

  • $chromium->cookies
  • $libreOffice->singlePageSheets

See https://github.com/gotenberg/gotenberg/releases/tag/v8.4.0 for more details.

v2.2.0

23 Mar 20:29
Compare
Choose a tag to compare

This release brings the client up-to-date with the lastest Gotenberg version.

New methods:

  • $chromium->metadata
  • $libreOffice->metadata
  • $libreOffice->exportFormFields
  • $pdfEngines->metadata
  • $pdfEngines->readMetadata
  • $pdfEngines->writeMetadata

See https://github.com/gotenberg/gotenberg/releases/tag/v8.3.0 for more details.

v2.1.0

23 Feb 21:44
Compare
Choose a tag to compare

This release adds the method singlePage to Chromium PDF conversions, which defines whether to print the entire content in one single page.

v2.0.0

04 Jan 20:00
Compare
Choose a tag to compare

This release brings the client up-to-date with the Gotenberg 8 version.

See https://github.com/gotenberg/gotenberg/releases/tag/v8.0.0 for more details.

Breaking Changes

  • Minimum PHP version is now PHP 8.1.
  • GotenbergApiErroed exception has been renamed GotenbergApiErrored - thanks @marlonbasten!
  • NativeFunctionErroed exception has been renamed NativeFunctionErrored - thanks @marlonbasten!
  • The PDF / Screenshot features are now available via Gotenberg::chromium($apiUrl)->pdf()->... and Gotenberg::chromium($apiUrl)->screenshot()->...

New Chromium Methods

  • You can capture full-page screenshots using the following three methods, which function similarly to their PDF equivalents:
    • $chromium->screenshot()->url(...)
    • $chromium->screenshot()->html(...)
    • $chromium->screenshot()->markdown(...)
    • You may use the following new methods with them: $chromium->screenshot()->png()->optimizeForSpeed()->..., $chromium->screenshot()->jpeg()->quality(100)->..., $chromium->screenshot()->webp()->....
  • $chromium->pdf()/->screenshot()->failOnHttpStatusCodes(...)->...: force Gotenberg to return a 409 Conflict response if the HTTP status code from the main page is not acceptable.
  • $chromium->pdf()/->screenshot()->skipNetworkIdleEvent()->...: do not wait for Chromium network to be idle, allowing for faster conversions - thanks @rreynier!

v1.1.8

16 Dec 13:56
33298eb
Compare
Choose a tag to compare

This release makes the method formValue public - thanks @rreynier!

v1.1.7

22 Nov 19:49
cfe70a9
Compare
Choose a tag to compare

This release brings the client up-to-date with the lastest Gotenberg version.

New methods:

  • $chromium->pdfa
  • $chromium->pdfua
  • $libreOffice->pdfa
  • $libreOffice->pdfua
  • $pdfEngines->pdfa
  • $pdfEngines->pdfua

Deprecated classes/methods:

  • $chromium->userAgent
  • $chromium->pdfFormat
  • ChromiumExtraLinkTag
  • ChromiumExtraScriptTag
  • $libreOffice->nativePdfFormat
  • $libreOffice->pdfFormat
  • $pdfEngines->pdfFormat

See https://github.com/gotenberg/gotenberg/releases/tag/v7.10.0 for more details.

v1.1.6

03 Nov 14:45
Compare
Choose a tag to compare

Adds PHP 8.3 support.

v.1.1.5

07 Sep 15:07
aff1f17
Compare
Choose a tag to compare

The version constraint for psr/http-message dependency in composer.json has been expanded to include version 2.0. This change will ensure compatibility with projects that require this newer version. Thanks @dontfreakout!