Releases
0.2.0
Added
Item::value
is a public readonly property that gives access to the item value
Item::parameters
is a public readonly property that gives access to the item parameters
InnerList::parameters
is a public readonly property that gives access to the list parameters
OrderedList::from
named constructor which accepts a variadic list of members items
Token::fromString
named constructor which accepts string
and Stringable
object
Parameter::values
returns an array of all the values contained inside the Parameters
instance
[BC Break] ForbiddenStateError
to replace SerializationError
[BC Break] InnerList::fromList
to replace InnerList::fromMembers
[BC Break] OrderedList::fromList
to replace OrderedList::fromMembers
[BC Break] Parameter::value
to replace InnerList::parameter
and Item::parameter
Fixed
ByteSequence::fromDecoded
named constructor also accepts a Stringable
object
ByteSequence::fromEncoded
named constructor also accepts a Stringable
object
Dictionary::merge
accepts any iterable that can be accepted by Dictionary::fromAssociative
as variadic parameter
Parameter::merge
accepts any iterable that can be accepted by Parameter::fromAssociative
as variadic parameter
[BC Break] OrderedList::__construct
is made private use OrderedList::from
instead
[BC Break] InnerList::__construct
is made private use InnerList::fromList
instead
[BC Break] Token::__construct
is made private use Token::fromString
instead
[BC Break] Parameter::get
, Parameter::value
, Parameter::pair
will throw ForbiddenStateError
if the BareItem is in invalid state.
Deprecated
Removed
[BC Break] InnerList::fromMembers
replaced by InnerList::fromList
[BC Break] OrderedList::fromMembers
replaced by OrderedList::fromList
[BC Break] Item::parameter
replaced by Parameter::value
[BC Break] InnerList::parameter
replaced by Parameter::value
[BC Break] SupportsParameters
interface is removed without replacement
[BC Break] Item::value()
replaced by Item::value
public readonly property
[BC Break] Item::parameters()
replaced by Item::parameters
public readonly property
[BC Break] InnerList::parameters()
replaced by InnerList::parameters
public readonly property
[BC Break] InnerList::merge()
use InnerList::push()
or InnerList::unshift()
instead
[BC Break] OrderedList::merge()
use OrderedList::push()
or OrderedList::unshift()
instead
[BC Break] SerializationError
use ForbiddenStateError
instead
You can’t perform that action at this time.