Skip to content

Releases: php-xapi/repository-api

0.3.0

05 Oct 20:55
v0.3.0

Choose a tag to compare

0.3.0 Pre-release
Pre-release
  • Removed the MappedStatement and MappedVerb classes. They are needed for Doctrine based implementations and thus have been moved to the php-xapi/repository-doctrine package. Consequently, the StatementRepository class has been removed too. You now have to implement the StatementRepositoryInterface and handle Statement classes directly instead.
  • Removed the NotFoundException in favor of the exception with the same name from the php-xapi/exception package.
  • The public API now uses StatementId instances instead of strings to carry information about statement ids. This means changes to the following methods:
    • StatementRepositoryInterface::findStatementById(): The $statementId argument is now type hinted with StatementId.
    • StatementRepositoryInterface::findVoidedStatementById(): The $voidedStatementId argument is now type hinted with StatementId.
    • StatementRepositoryInterface::storeStatement(): The method returns a StatementId instance instead of a string.
  • Added a StatementRepositoryInterface that defines the public API of a statement repository. You can still extend the base StatementRepository class or provide your own implementation of this new interface.
  • The requirements for php-xapi/model and php-xapi/test-fixtures have been bumped to ^1.0 to make use of their stable releases.

v0.2.0

21 Mar 17:23
v0.2.0

Choose a tag to compare

v0.2.0 Pre-release
Pre-release
  • changed base namespace of all classes from Xabbuh\XApi\Storage\Api to XApi\Repository\Api

v0.1.2

21 Mar 16:19
v0.1.2

Choose a tag to compare

v0.1.2 Pre-release
Pre-release

Do not allow to pull in packages that could potentially break backwards compatibility.

v0.1.1

21 Mar 12:00
v0.1.1

Choose a tag to compare

v0.1.1 Pre-release
Pre-release

Moved php-xapi/test-fixtures package to the require section as the package is required by other packages that make use of the base test class.

v0.1.0

21 Mar 10:12
v0.1.0

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

First release defining a common interface for LRS repository backends.

This package replaces the xabbuh/xapi-storage-api package which is now deprecated and should no longer be used.