Releases: php-xapi/model
Releases · php-xapi/model
3.2.0
3.1.0
- Introduce a new
Person
class. - Constructing a
State
object with an instance of any child class ofActor
other thanAgent
as the second argument is deprecated. Starting with4.0
,
only instances ofAgent
will be accepted. - The
State::getActor()
method is deprecated and will be removed in4.0
.
UseState::getAgent()
instead. - Added a
StateDocumentsFilter
class that allows to draft filters for
StateDocument
objects.
2.2.0
- Introduce a new
Person
class. - Constructing a
State
object with an instance of any child class ofActor
other thanAgent
as the second argument is deprecated. Starting with4.0
,
only instances ofAgent
will be accepted. - The
State::getActor()
method is deprecated and will be removed in4.0
.
UseState::getAgent()
instead. - Added a
StateDocumentsFilter
class that allows to draft filters for
StateDocument
objects.
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
Person
class. - Constructing a
State
object with an instance of any child class ofActor
other thanAgent
as the second argument is deprecated. Starting with4.0
,
only instances ofAgent
will be accepted. - The
State::getActor()
method is deprecated and will be removed in4.0
.
UseState::getAgent()
instead. - Added a
StateDocumentsFilter
class that allows to draft filters for
StateDocument
objects.
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
Object
class was renamed toStatementObject
for 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
$version
attribute to theStatement
class which defaults to
null
.
2.0.0
- Introducing a new
Uuid
class that supports bothramsey/uuid
2.x and 3.x. Applications and packages using this library should not longer refer to theUuid
class from theramsey/uuid
package, but should always use theUuid
class from the this package instead. - The type of the
StatemendId::$id
property has been changed from an instance ofRhumsaa\Uuid\Uuid
to an instance of the addedUuid
class.
1.1.0
- The
StatementsFilter::format()
,StatementsFilter::includeAttachments()
, andStatementsFilter::excludeAttachments()
methods are deprecated and will be removed in 2.0. - Added a
$content
attribute to theAttachment
class 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.