2.3 KiB
CHANGELOG
0.4.0
-
dropped suppport for PHP < 5.6 and HHVM
-
made the package compatible with
3.xreleases oframsey/uuid -
allow
2.xand3.xreleases of thephp-xapi/modelpackage too -
added an
ActivityRepositoryInterfacethat defines the public API of an activity repository
0.3.1
- allow
3.xreleases oframsey/uuid - fix compatibility with PHPUnit 6+
0.3.0
-
Removed the
MappedStatementandMappedVerbclasses. They are needed for Doctrine based implementations and thus have been moved to thephp-xapi/repository-doctrinepackage. Consequently, theStatementRepositoryclass has been removed too. You now have to implement theStatementRepositoryInterfaceand handleStatementclasses directly instead. -
Removed the
NotFoundExceptionin favor of the exception with the same name from thephp-xapi/exceptionpackage. -
The public API now uses
StatementIdinstances instead of strings to carry information about statement ids. This means changes to the following methods:-
StatementRepositoryInterface::findStatementById(): The$statementIdargument is now type hinted withStatementId. -
StatementRepositoryInterface::findVoidedStatementById(): The$voidedStatementIdargument is now type hinted withStatementId. -
StatementRepositoryInterface::storeStatement(): The method returns aStatementIdinstance instead of a string.
-
-
Added a
StatementRepositoryInterfacethat defines the public API of a statement repository. You can still extend the baseStatementRepositoryclass or provide your own implementation of this new interface. -
The requirements for
php-xapi/modelandphp-xapi/test-fixtureshave been bumped to^1.0to make use of their stable releases.
0.2.0
- changed base namespace of all classes from
Xabbuh\XApi\Storage\ApitoXApi\Repository\Api
0.1.2
Do not allow to pull in packages that could potentially break backwards compatibility.
0.1.1
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.
0.1.0
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.