@@ -9,15 +9,15 @@ All Notable changes to `bakame/http-strucured-fields` will be documented in this
99- Support for ` Stringable ` instances added to ` Item::from ` , the instances will be converted to the string data type.
1010- Support for the upcoming ` Date ` data type in ` Item ` . (see https://httpwg.org/http-extensions/draft-ietf-httpbis-sfbis.html )
1111 - date type is represented as a ` DateTimeImmutable ` object.
12- - ` Item::isDate ` tells whether the instance represents a ` Date ` DataType.
13- - ` ParameterAccess ` interface updated with 4 new methods to ease parameter members modification.
12+ - ` ParameterAccess ` interface updated with new methods to ease parameter members modification.
1413- ` Parameter::create ` named constructor to create a new instance without any parameter.
1514- ` Dictionnary::create ` named constructor to create a new instance without any parameter.
1615- ` Type ` Enum to list all possible Item Type supported.
1716- ` Value ` Interface is introduced with ` Item ` being the only available implementation.
1817- ` MemberOrderedMap::add ` and ` MemberOrderedMap::remove ` methods
1918- ` ByteSequence::equals ` and ` Token::equals ` to easily compare type instances.
2019- ` StructuredField ` extends the ` Stringable ` interface
20+ - ` ForbiddenOperation ` exception to reports invalid operation on immutable value objects.
2121
2222### Fixed
2323
@@ -26,7 +26,7 @@ All Notable changes to `bakame/http-strucured-fields` will be documented in this
2626- ** [ BC Break] ** ` ::fromAssociative ` , ` ::fromList ` , ` ::fromPairs ` methods require iterable arguments without default value.
2727- ** [ BC Break] ** ` Item::value ` method returns the Item (returns value can be ` float|int|string|bool|ByteSequence|DateTimeImmutable|Token ` ).
2828- ** [ BC Break] ** ` InnerList::parameters ` is no longer accessible as a public readonly property.
29- - ** [ BC Break] ** Modifying container instances with ` ArrayAccess ` modifying methods is forbidden and will trigger a ` LogicException ` exception.
29+ - ** [ BC Break] ** Modifying container instances with ` ArrayAccess ` modifying methods is forbidden and will trigger a ` ForbiddenOperation ` exception.
3030
3131### Deprecated
3232
0 commit comments