Releases: gotenberg/gotenberg-php
v2.4.0
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
ChromiumCookie
does not serialize null for optional values anymore. Thanks a lot @yanbuatois for the quick fix!
v2.3.0
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
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
v2.0.0
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 renamedGotenbergApiErrored
- thanks @marlonbasten!NativeFunctionErroed
exception has been renamedNativeFunctionErrored
- thanks @marlonbasten!- The PDF / Screenshot features are now available via
Gotenberg::chromium($apiUrl)->pdf()->...
andGotenberg::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
v1.1.7
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
v.1.1.5
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!