Skip to content

4.0.0

Compare
Choose a tag to compare
@arokettu arokettu released this 13 Dec 23:50
· 93 commits to master since this release
  • 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