Releases: arokettu/bencode
Releases · arokettu/bencode
4.3.0
- BcMath\Number support for encoding and decoding
- Encoder now throws instances of
ValueNotSerializableException
(subclass of UnexpectedValueException
)
4.2.1
- Exception fixes:
- Using $options array now throws
BadFunctionCallException
ParseErrorException
reclassified to UnexpectedValueException
(runtime instead of logic)
4.1.0
- Removed implicit conversion of floats to strings.
Since it was unreliable, it's not considered a BC break.
3.1.1
sandfoxme/bencode
is now provided by the package
2.8.1
sandfoxme/bencode
is now provided by the package
1.8.1
sandfoxme/bencode
is now provided by the package
4.0.0
- The package is now
arokettu/bencode
- The namespace is now
Arokettu\Bencode\
- New class names can be used with old branches (1.8+, 2.8+, 3.1+)
- $options arrays now generate an exception if they are not empty
- The parameters are kept for param order compatibility
- Passing class names to
listType
, dictType
, and bigInt
generates a TypeError
listType
, dictType
, and bigInt
callbacks receive iterable
instead of array
- Dictionaries are converted to ArrayObject by default
3.1.0
- $options arrays are deprecated
- Passing class names to
listType
, dictType
, and bigInt
is deprecated
- Aliased all classes in
SandFox\Bencode\*
to Arokettu\Bencode\*
in preparation for 4.0
2.8.0
- Alias all classes in
SandFox\Bencode\*
to Arokettu\Bencode\*
in preparation for 4.0