Releases: Frederick888/php-bencode
Releases · Frederick888/php-bencode
v1.3.1
v1.3.0
v1.2.5
- Fix memory leak caused by incorrect
zval
allocation - Sort dictionary by keys when encoding (thanks @ttys3 #8)
- Fix segfault when parsing malformed Bencode integers, e.g.
i10
(missinge
at the end) - Code style (
.clang-format
, clearer project structure) - Various chores (correctly configure valgrind in CI, test against PHP 7.4, etc.)
v1.2.4
v1.2.3
- Simplify source codes
- Less memory usage
v1.2.2
v1.2.1
- Fix pointer abuse
- Upgrade license
v1.2.0
search()
method now allows you to search through the Bencode tree- Test cases added. Now you can use
make test
to verify the correctness of your build - Bug fixes (segfault, negative number parsing and etc.)
v1.1.0
- New feature: set_path/get_path/get_path_copy/del_path
- Fix bug when namespace registration enabled
v1.0.0
use zend_register_internal_class_ex to register parent