Skip to content

Releases: php-xapi/model

3.2.0

Choose a tag to compare

@xabbuh xabbuh released this 26 Mar 18:03
v3.2.0
  • Added support for PHP 8.

3.1.0

Choose a tag to compare

@xabbuh xabbuh released this 23 Apr 17:15
v3.1.0
  • Introduce a new Person class.
  • Constructing a State object with an instance of any child class of Actor
    other than Agent as the second argument is deprecated. Starting with 4.0,
    only instances of Agent will be accepted.
  • The State::getActor() method is deprecated and will be removed in 4.0.
    Use State::getAgent() instead.
  • Added a StateDocumentsFilter class that allows to draft filters for
    StateDocument objects.

2.2.0

Choose a tag to compare

@xabbuh xabbuh released this 23 Apr 16:33
v2.2.0
  • Introduce a new Person class.
  • Constructing a State object with an instance of any child class of Actor
    other than Agent as the second argument is deprecated. Starting with 4.0,
    only instances of Agent will be accepted.
  • The State::getActor() method is deprecated and will be removed in 4.0.
    Use State::getAgent() instead.
  • Added a StateDocumentsFilter class that allows to draft filters for
    StateDocument objects.

1.2.0

Choose a tag to compare

@xabbuh xabbuh released this 23 Apr 16:31
v1.2.0
  • The Statement::getTimestamp() method is deprecated and will be removed in
    3.0. Use Statement::getCreated() instead.
  • The Statement::withTimestamp() method is deprecated and will be removed in
    3.0. Use Statement::withCreated() instead.
  • The SubStatement::getTimestamp() method is deprecated and will be removed in
    3.0. Use SubStatement::getCreated() instead.
  • The SubStatement::withTimestamp() method is deprecated and will be removed in
    3.0. Use SubStatement::withCreated() instead.
  • Introduce a new Person class.
  • Constructing a State object with an instance of any child class of Actor
    other than Agent as the second argument is deprecated. Starting with 4.0,
    only instances of Agent will be accepted.
  • The State::getActor() method is deprecated and will be removed in 4.0.
    Use State::getAgent() instead.
  • Added a StateDocumentsFilter class that allows to draft filters for
    StateDocument objects.

3.0.0

Choose a tag to compare

@xabbuh xabbuh released this 18 Apr 17:09
v3.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 to StatementObject for compatibility with PHP
    7.2.

2.1.0

Choose a tag to compare

@xabbuh xabbuh released this 18 Apr 17:08
v2.1.0
  • The Statement::getTimestamp() method is deprecated and will be removed in
    3.0. Use Statement::getCreated() instead.
  • The Statement::withTimestamp() method is deprecated and will be removed in
    3.0. Use Statement::withCreated() instead.
  • The SubStatement::getTimestamp() method is deprecated and will be removed in
    3.0. Use SubStatement::getCreated() instead.
  • The SubStatement::withTimestamp() method is deprecated and will be removed in
    3.0. Use SubStatement::withCreated() instead.
  • Added missing $version attribute to the Statement class which defaults to
    null.

2.0.0

Choose a tag to compare

@xabbuh xabbuh released this 10 Jan 07:58
v2.0.0
  • Introducing a new Uuid class that supports both ramsey/uuid 2.x and 3.x. Applications and packages using this library should not longer refer to the Uuid class from the ramsey/uuid package, but should always use the Uuid class from the this package instead.
  • The type of the StatemendId::$id property has been changed from an instance of Rhumsaa\Uuid\Uuid to an instance of the added Uuid class.

1.1.0

Choose a tag to compare

@xabbuh xabbuh released this 12 Oct 17:11
v1.1.0
  • The StatementsFilter::format(), StatementsFilter::includeAttachments(), and StatementsFilter::excludeAttachments() methods are deprecated and will be removed in 2.0.
  • Added a $content attribute to the Attachment class to make it possible to attach the raw content to an attachment.

1.0.1

Choose a tag to compare

@xabbuh xabbuh released this 05 Oct 20:58
v1.0.1
  • Added missing $timestamp and $attachments properties to the SubStatement class.
  • Fixed comparing scores where some values are integers instead of floats.

1.0.0

Choose a tag to compare

@xabbuh xabbuh released this 28 Sep 14:25
v1.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.