What's Changed
- Added support for v2 API by @carapidev in #15
Users who are upgrading from version 1 the SDK to version 2 of the SDK but staying on version 1 of the API will need to tell the SDK client to make requests to the v1 api:
$sdk = \CarApiSdk\CarApi::build([
'token' => getenv('CARAPI_TOKEN'),
'secret' => getenv('CARAPI_SECRET'),
'apiVersion' => 'v1' // <------ the default is v2
]);Open an issue or contact support if you have questions, thanks!
Full Changelog: v1.4.0...v2.0.0