Skip to content

Version v0.6.6

Compare
Choose a tag to compare
@Sammyjo20 Sammyjo20 released this 05 Feb 15:26
69e2bff

New Features

Introducing a new way to use Saloon! You can now register your requests within your connector to use it just like an SDK. Take a look:

// Currently, the only way to make requests...

$request = new GetForgeServerRequest(serverId: 123456);
$response = $request->send();

// Introducing the new "SDK" API!

$connector = new ForgeConnector();
$request = $connector->getForgeServerRequest(serverId: 123456);
$response = $request->send();

// You can even use static methods...

$request = ForgeConnector::getForgeServerRequest(serverId: 123456);
$response = $request->send();

Click here to read more

What's Changed

Full Changelog: v0.6.5...v0.6.6