Skip to content

Releases: arokettu/bencode

4.2.1

28 Jul 12:57
Compare
Choose a tag to compare
  • Exception fixes:
    • Using $options array now throws BadFunctionCallException
    • ParseErrorException reclassified to UnexpectedValueException (runtime instead of logic)

4.2.0

08 Mar 23:05
Compare
Choose a tag to compare
  • Callback Decoder

4.1.0

14 Jul 17:04
Compare
Choose a tag to compare
  • Removed implicit conversion of floats to strings.
    Since it was unreliable, it's not considered a BC break.

3.1.1

14 Dec 19:24
Compare
Choose a tag to compare
  • sandfoxme/bencode is now provided by the package

2.8.1

14 Dec 19:24
Compare
Choose a tag to compare
  • sandfoxme/bencode is now provided by the package

1.8.1

14 Dec 19:24
Compare
Choose a tag to compare
  • sandfoxme/bencode is now provided by the package

4.0.0

13 Dec 23:50
Compare
Choose a tag to compare
  • 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

13 Dec 21:38
Compare
Choose a tag to compare
  • $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

13 Dec 20:34
Compare
Choose a tag to compare
  • Alias all classes in SandFox\Bencode\* to Arokettu\Bencode\* in preparation for 4.0

1.8.0

13 Dec 20:29
Compare
Choose a tag to compare
  • Alias all classes in SandFox\Bencode\* to Arokettu\Bencode\* in preparation for 4.0