Releases
0.6.0
Added
The Container
, MemberList
, MemberOrderedMap
, ParameterAccess
interfaces.
OrderedList
and InnerList
implement the MemberList
interface.
Parameters
and Dictionnary
implement the MemberOrderedMap
interface.
The InvalidArgument
exception.
Token::value
is a readonly property.
Item::value
method returns the decoded value of an Item (returns value can be float|int|string|bool
).
Item::fromToken
, Item::fromDecodedByteSequence
, Item::fromEncodedByteSequence
to ease Item
creation.
Item::withValue
to ease Item
value update.
Parser
methods also accepts Stringable
objects.
Fixed
Deprecated
Removed
[BC Break] __set_state
implementation in all objects.
[BC Break] Token
no longer implements the StructuredField
interface.
[BC Break] Token::toHttpValue
is removed; use the Item
class to serialize a Token
.
[BC Break] Token::toString
is removed use its readonly property instead Token::value
.
[BC Break] ByteSequence
no longer implements the StructuredField
interface.
[BC Break] ByteSequence::toHttpValue
is removed; use the Item
class to serialize a ByteSequence
.
[BC Break] ::sanitize
method is removed use Parameters::clear
method instead if needed.
[BC Break] isEmpty
method is removed use hasMembers
method instead.
[BC Break] Parameters::value
use Item::value
method instead.
[BC Break] Parameters::values
use Parameters::getIterator
instead.
[BC Break] Item::value
public readonly property use Item::value
method instead.
[BC Break] Item::parameters
public readonly property use Item::parameters
method instead.
[BC Break] InnerList::parameters
public readonly property use InnerList::parameters
method instead.
You can’t perform that action at this time.