v0.2
Release Notes
The stability and durability of the current PHP SDK were increased for Events and Proxy clients.
The code cleaning was made.
Updates in Frontegg
- Adjusted the
Frontegg
class - added new constantTENANT_ID_ENV_NAME
to get the tenant ID from the env, cleanups were made.
Updates in Frontegg\Authenticator
- Adjusted the
Authenticator class - added usage of the
ApiJsonTrait` trait, cleanups were made. - Moved the
Frontegg\Authenticator\ApiError
class toFrontegg\Error\ApiError
.
Updates in Frontegg\Audits
- Adjusted the
Audits
client class - added usage of theApiJsonTrait
trait, cleanups were made.
Updates in Frontegg\Events
- Adjusted the
Events
client class - added usage of theApiJsonTrait
trait, cleanups were made. - Adjusted other classes in this namespace.
- Changed directory structure where Event type classes are stored.
Updates in Frontegg\Proxy\Filters
- Adjusted the
FronteggResponseErrorResolver
to useFrontegg\Http\Response
constants and methods. - Adjusted the
FronteggSendRequestResolver
to useFrontegg\Http\Response
constants and methods.
Updates in Frontegg\Http
- Removed the
ResponseInterface
because all constants had been migrated to the newResponse
class. - Added the
Response
class instead of the removedResponseInterface
.
Updates in Frontegg\Error
- Added the
ApiErrorTrait
trait to provide API error handling logic.
Updates in Frontegg\Json
- Added the
ApiJsonTrait
trait to provide JSON data manipulations logic.
Github Actions
- Added Github Actions config for running Unit tests on push action.
- Added
phpunit.xml
for running Unit tests with Github Actions.
Demo
- Added demo integration for Vanilla (raw) PHP with a Docker environment.
Tests
- Updated tests.