Skip to content

v0.2

Compare
Choose a tag to compare
@nuzzy nuzzy released this 01 Sep 11:39
· 3 commits to master since this release
18e90cf

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 constant TENANT_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 to Frontegg\Error\ApiError.

Updates in Frontegg\Audits

  • Adjusted the Audits client class - added usage of the ApiJsonTrait trait, cleanups were made.

Updates in Frontegg\Events

  • Adjusted the Events client class - added usage of the ApiJsonTrait 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 use Frontegg\Http\Response constants and methods.
  • Adjusted the FronteggSendRequestResolver to use Frontegg\Http\Response constants and methods.

Updates in Frontegg\Http

  • Removed the ResponseInterface because all constants had been migrated to the new Response class.
  • Added the Response class instead of the removed ResponseInterface.

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.