Skip to content

Releases: Frederick888/php-bencode

v1.3.1

14 Jan 13:46
b6098d9

Choose a tag to compare

  1. Fix __toString() implemented without string return type warning
  2. CI updates

v1.3.0

31 May 09:01
8d597c0

Choose a tag to compare

  1. Added PHP 8.0 support (kudos to @DJATOM [1] #10)
  2. Fixed alignment under 32bit system (reported by @DJATOM [1] #9)
  3. Enabled GitHub Actions
  4. Updated PHP versions in GitLab CI
  5. Added a test for namespace configuration
  6. Documentation updates

[1] https://github.com/DJATOM

v1.2.5

05 Jan 13:52
98b5dfb

Choose a tag to compare

  1. Fix memory leak caused by incorrect zval allocation
  2. Sort dictionary by keys when encoding (thanks @ttys3 #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

09 Jun 01:04
6a7c32b

Choose a tag to compare

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

v1.2.3

23 Jul 12:24

Choose a tag to compare

  1. Simplify source codes
  2. Less memory usage

v1.2.2

17 Jun 12:19

Choose a tag to compare

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

v1.2.1

25 Sep 05:45

Choose a tag to compare

  1. Fix pointer abuse
  2. Upgrade license

v1.2.0

26 May 04:50

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

03 Jan 16:00

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

03 Jan 10:06

Choose a tag to compare

use zend_register_internal_class_ex to register parent