Skip to content

Releases: ConvertAPI/convertapi-library-php

v3.0.1

Choose a tag to compare

@tomasr78 tomasr78 released this 20 Oct 07:54
eb7bc07

Fixed

  • No more curl_close() is deprecated notices on PHP 8.5. The client no longer calls curl_close(),
    which has done nothing since PHP 8.0; cURL handles are freed when they go out of scope.
  • ResultFile::getContents() is documented as returning false|string, as file_get_contents() does
    (#65).

Changed

  • ConvertApi::VERSION, sent in the User-Agent, is 3.0.1.
  • Added examples/vanilla_php.php, a conversion with plain PHP cURL and no client library.
  • The default branch is main (was master). Composer users requiring dev-master should require
    dev-main or a tagged version.
  • Releases are now cut from a GitHub Release v{version} on main, checked by release.yml. Every pull
    request is built on PHP 8.1, 8.2, 8.3, 8.4 and 8.5.

Full Changelog: v3.0.0...v3.0.1

v3.0.0

Choose a tag to compare

@laurynas-convertapi laurynas-convertapi released this 14 Sep 08:53

What's Changed

API secret or token is now set as API credentials:

ConvertApi::setApiCredentials('your-api-secret-or-token');

Full Changelog: v2.0.1...v3.0.0

v2.0.1

Choose a tag to compare

@laurynas-convertapi laurynas-convertapi released this 24 Jun 18:20

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@laurynas-convertapi laurynas-convertapi released this 16 Feb 14:34
a4c67b1

What's Changed

  • Upgrade to php 8 by @laurynas-baltsoft in #50
  • Fix php8 deprecations by @laurynas-baltsoft in #51
  • Fix manual installation example by @laurynas-baltsoft in #52
  • fix(params): Allow StoreFile param to be overridden by @mijohen in #41

New Contributors

Full Changelog: v1.7.0...v2.0.0

v1.7.0

Choose a tag to compare

@laurynas-convertapi laurynas-convertapi released this 19 Jul 15:45
72dc773

What's Changed

  • Make converter param name case insensitive by @laurynas-baltsoft in #43
  • Handle multiple file params by @laurynas-baltsoft in #44

Full Changelog: v1.6.1...v1.7.0

v1.6.1

Choose a tag to compare

@laurynas-convertapi laurynas-convertapi released this 18 Sep 20:53

What's Changed

  • Change default read timeout to 1800 seconds by @laurynas-baltsoft in #37

Full Changelog: v1.6.0...v1.6.1

v1.6.0

Choose a tag to compare

@laurynas-convertapi laurynas-convertapi released this 26 Jun 19:26

What's Changed

  • Add error handling example by @laurynas-baltsoft in #25
  • Add getter and setter for $apiBase by @DanielGSoftware in #28
  • Fix specs by specifying formats by @laurynas-baltsoft in #32
  • Fix API base setting spec by @laurynas-baltsoft in #33
  • Replace Travis with GitHub actions by @laurynas-baltsoft in #34
  • Handle empty API response by @laurynas-baltsoft in #36
  • Fix filename with spaces encoding in file uploads by @laurynas-baltsoft in #31

New Contributors

Full Changelog: v1.5.0...v1.6.0