Releases: php-xapi/model
Releases · php-xapi/model
3.2.0
3.1.0
- Introduce a new
Personclass. - Constructing a
Stateobject with an instance of any child class ofActor
other thanAgentas the second argument is deprecated. Starting with4.0,
only instances ofAgentwill be accepted. - The
State::getActor()method is deprecated and will be removed in4.0.
UseState::getAgent()instead. - Added a
StateDocumentsFilterclass that allows to draft filters for
StateDocumentobjects.
2.2.0
- Introduce a new
Personclass. - Constructing a
Stateobject with an instance of any child class ofActor
other thanAgentas the second argument is deprecated. Starting with4.0,
only instances ofAgentwill be accepted. - The
State::getActor()method is deprecated and will be removed in4.0.
UseState::getAgent()instead. - Added a
StateDocumentsFilterclass that allows to draft filters for
StateDocumentobjects.
1.2.0
- The
Statement::getTimestamp()method is deprecated and will be removed in
3.0. UseStatement::getCreated()instead. - The
Statement::withTimestamp()method is deprecated and will be removed in
3.0. UseStatement::withCreated()instead. - The
SubStatement::getTimestamp()method is deprecated and will be removed in
3.0. UseSubStatement::getCreated()instead. - The
SubStatement::withTimestamp()method is deprecated and will be removed in
3.0. UseSubStatement::withCreated()instead. - Introduce a new
Personclass. - Constructing a
Stateobject with an instance of any child class ofActor
other thanAgentas the second argument is deprecated. Starting with4.0,
only instances ofAgentwill be accepted. - The
State::getActor()method is deprecated and will be removed in4.0.
UseState::getAgent()instead. - Added a
StateDocumentsFilterclass that allows to draft filters for
StateDocumentobjects.
3.0.0
- The
Statement::getTimestamp()method has been removed. Use
Statement::getCreated()instead. - The
Statement::withTimestamp()method has been removed. Use
Statement::withCreated()instead. - The
SubStatement::getTimestamp()method has been removed. Use
SubStatement::getCreated()instead. - The
SubStatement::withTimestamp()method has been removed. Use
SubStatement::withCreated()instead. - Dropped support for PHP < 7.1 as well as HHVM.
- The
Objectclass was renamed toStatementObjectfor compatibility with PHP
7.2.
2.1.0
- The
Statement::getTimestamp()method is deprecated and will be removed in
3.0. UseStatement::getCreated()instead. - The
Statement::withTimestamp()method is deprecated and will be removed in
3.0. UseStatement::withCreated()instead. - The
SubStatement::getTimestamp()method is deprecated and will be removed in
3.0. UseSubStatement::getCreated()instead. - The
SubStatement::withTimestamp()method is deprecated and will be removed in
3.0. UseSubStatement::withCreated()instead. - Added missing
$versionattribute to theStatementclass which defaults to
null.
2.0.0
- Introducing a new
Uuidclass that supports bothramsey/uuid2.x and 3.x. Applications and packages using this library should not longer refer to theUuidclass from theramsey/uuidpackage, but should always use theUuidclass from the this package instead. - The type of the
StatemendId::$idproperty has been changed from an instance ofRhumsaa\Uuid\Uuidto an instance of the addedUuidclass.
1.1.0
- The
StatementsFilter::format(),StatementsFilter::includeAttachments(), andStatementsFilter::excludeAttachments()methods are deprecated and will be removed in 2.0. - Added a
$contentattribute to theAttachmentclass to make it possible to attach the raw content to an attachment.
1.0.1
1.0.0
This is the first stable release of the 1.x series. All objects that are part of the 1.0.1 Experience API spec have been implemented and the current API is considered to be stable.
In terms of existing classes and methods, there is no difference to the 0.5 release series.