Files
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
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.
2026-08-06 17:59:45 +02:00

36 lines
1.4 KiB
Markdown

UPGRADE
=======
Upgrading from 0.2 to 0.3
-------------------------
* 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.
* The requirements for `php-xapi/model` and `php-xapi/test-fixtures` have
been bumped to `^1.0` to 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`.