Update your version of this library using Composer and its composer update
or composer require
commands [?].
- The Internationalization extension (
intl
) for PHP is now required. - The method
setLastUpdated
from classPrivacyPolicy
has been renamed tosetPublishedAt
. - The method
hasLastUpdated
from classPrivacyPolicy
has been removed. - The method
setExpiration
from classPrivacyPolicy
has been renamed tosetExpiresAt
. - The method
hasExpiration
from classPrivacyPolicy
has been removed. - For method
addDataGroup
from classPrivacyPolicy
, between the second parameter (named “description”) and the former third parameter (named “purposes”), two new parameters (named “bases” and “specialConditions”) have been added. - For the constructor of class
DataGroup
, between the second parameter (named “description”) and the former third parameter (named “purposes”), two new parameters (named “bases” and “specialConditions”) have been added. - For method
addElement
from classDataGroup
, the fourth parameter (named “viewable”) and the fifth parameter (named “deletable”) have been removed. - For the constructor of class
DataElement
, the fourth parameter (named “viewable”) and the fifth parameter (named “deletable”) have been removed. - The methods
isViewable
andisDeletable
from classDataElement
have been removed. - The method
setRightToInformation
from classPrivacyPolicy
has been replaced by the five separate methodssetRightOfAccess
,setRightToRectification
,setRightToErasure
,setRightToRestrictProcessing
andsetRightToObject
. - The method
hasRightToInformation
from classPrivacyPolicy
has been removed. - The key
meta.updated
in the JSON output has been renamed tometa.published
. - The attributes
viewable
anddeletable
indata[*].elements[*]
in the JSON output have been removed. - For
data[*].requirement
anddata[*].elements[*].requirement
in the JSON output, all occurrences of the valueopt_in
have been replaced withoptIn
, and all occurrences ofopt_out
have been replaced withoptOut
. - The key
choices.information.request
in the JSON output has been renamed tochoices.data.access
. - The key
choices.information.update
in the JSON output has been renamed tochoices.data.rectification
. - The key
choices.information.delete
in the JSON output has been renamed tochoices.data.erasure
.