Skip to content

Releases: ttys3/php-bencode

v1.2.5

13 Feb 04:11
98b5dfb

Choose a tag to compare

  1. Fix memory leak caused by incorrect zval allocation
  2. Sort dictionary by keys when encoding (thanks @ttys3 Frederick888#8)
  3. Fix segfault when parsing malformed Bencode integers, e.g. i10 (missing e at the end)
  4. Code style (.clang-format, clearer project structure)
  5. Various chores (correctly configure valgrind in CI, test against PHP 7.4, etc.)

v1.2.4

13 Feb 04:10
6a7c32b

Choose a tag to compare

Catch exceptions and return null in such scenarios (thanks @ttys3 Frederick888#5)

v1.2.3

13 Feb 04:12

Choose a tag to compare

  1. Simplify source codes
  2. Less memory usage

v1.2.2

13 Feb 04:13

Choose a tag to compare

  1. Fix null character handling (thanks @DJATOM Frederick888#2)
  2. Improve tests
  3. Update Travis script

v1.2.1

13 Feb 04:13

Choose a tag to compare

  1. Fix pointer abuse
  2. Upgrade license

v1.2.0

13 Feb 04:14

Choose a tag to compare

  1. search() method now allows you to search through the Bencode tree
  2. Test cases added. Now you can use make test to verify the correctness of your build
  3. Bug fixes (segfault, negative number parsing and etc.)

v1.1.0

13 Feb 04:14

Choose a tag to compare

  1. New feature: set_path/get_path/get_path_copy/del_path
  2. Fix bug when namespace registration enabled

v1.0.0

13 Feb 04:15

Choose a tag to compare

use zend_register_internal_class_ex to register parent