Skip to content

Releases: jimporter/bencode.hpp

v1.0.1

01 Jul 16:25
Compare
Choose a tag to compare

bencode.hpp v1.0.1 has been released!

Bug fixes

  • Fix deprecation warning when configuring

v1.0.0

21 May 19:37
Compare
Choose a tag to compare

bencode.hpp v1.0.0 has been released!

New features

  • Use std::variant by default (thus requiring C++17 or newer)
  • Allow customizing the variant type used via bencode::basic_data
  • Improve performance of decode; decoding is now ~2x as fast for most data (~1.5x when using views)!
  • When unable to decode data, throw bencode::decode_error with the offset where the error occurred

Bug fixes

  • Parse bencoded data iteratively to prevent stack buffer overflows
  • Throw exceptions for integer over/underflow

v0.2.1

03 Dec 21:52
Compare
Choose a tag to compare

bencode.hpp v0.2.1 has been released!

Changes

  • Require bfg9000 v0.6 for builds/tests

v0.2

26 Nov 23:37
Compare
Choose a tag to compare

bencode.hpp v0.2 has been released! In addition to source distributions here, it's available in an Ubuntu PPA: ppa:jimporter/stable.

Changes

  • Use std::string_view if available
  • Install a pkg-config .pc file that sets the compiler's include path as needed

v0.1

02 Jul 00:08
Compare
Choose a tag to compare

The initial release of bencode.hpp!