Releases: bittorrent/scraps
Releases · bittorrent/scraps
v0.3.0
Breaking changes:
- removed FutureSynchronizer in favor of Continuator
- changed parameters for UniformDistribution
- moved sampling functions to stdts/algorithm to match the standard
Enhancements:
- added codeformation::ToJson for serialization
- added Continuator for chaining functors
- added HTTPRequest::responseHeaders
- added Split to split ranges on element
- added AndroidFormatter for logging
v0.2.0
Breaking changes:
- Logging has been nearly completely rewritten. The old logging macros should work, but any custom loggers will need to refer to the new scraps::log namespace
- OpenSSL has been removed (replaced with mbedTLS)
- Removed scraps::FlatSet (replaced with stash::flat_set)
- Removed SCRAPS_ASSERT
- C++17 is now required
- Clang 3.7+ is now required for Android builds
- Removed support for experimental/any, opting for mnmlstc's implementation as a fallback
- Removed support for experimental/optional, opting for mnmlstc's implementation as a fallback
- Modified api for Endpoint::getSockAddr to better match c-style sockaddr functions
Enhancements:
- Android and Linux builds are now fully supported inside Docker
- Outdated Doxygen file has been removed
- Added mbedTLS for faster builds and lower code footprint
- Added stash::flat_set
- Added hash specialization for std::chrono::duration and std::tuple
- Added stdts::chrono for rounding functions (abs, round, floor, ceil). These implementation match the standard
- Added Endpoint::FromSockaddr
- Fixed many warnings related to sign comparison
Bugfixes:
- Android's log library is now included in pkg-config
v0.1.0
Breaking changes:
SetThreadName
now acceptsstdts::string_view
instead ofconst char*
Base64Encode
andBase64Decode
now acceptstdts::string_view
instead ofconst gsl::span
Base64Encode
andBase64Decode
have been moved to scraps/base64.h- heavily refactored
scraps::Version
and renamed most associated functions
Enhancements:
- updated libsodium to 1.0.11 from 1.0.10
- added
stdts::string_view
- added
CaseInsensitiveEquals
- added a sha256 implementation for Apple's Common Crypto which benchmarks 30% faster than libsodium's implementation.
- added
net::NAT64Adapter
for ipv4 -> ipv6 translation - added ipv6 support to many
scraps::net
utilities - added
std::hash
specializations forstd::array
- added
scraps::PollingFutureSynchronizer
- added
codeformation::Stack
for dynamic json-based object generation - added more functionality to
scraps::FlatSet
v0.0.4
v0.0.3
v0.0.2
Breaking changes:
- BitfieldDecode will now only decode bitfields if they produce a bitfield less than maxLength bytes (default 8MiB).
- Basename, Dirname, and GetPasswordFromStdin have been removed
Enhancements:
- Update Curl to 7.50.0 for ipv6 support
- Add LogCounter implementation of Logger to count debug, info, warning, and error messages
- Add responseHeaders overload to HTTPRequest for retrieving specific headers
- The BitIterator has a decrement operator
Bugfixes:
- Fixed hiredis include path for injected hiredis libraries
- Fix BitfieldDecode bombs with bitfields that decode to large bitfields