Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
1.4 KiB
UPGRADE
Upgrading from 0.2 to 0.3
-
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.
-
-
The requirements for
php-xapi/modelandphp-xapi/test-fixtureshave been bumped to^1.0to make use of their stable releases.
Upgrading from 0.1 to 0.2
The base namespace of all classes was changed from Xabbuh\XApi\Storage\Api to
XApi\Repository\Api.