Skip to content

Releases: bittorrent/scraps

v0.3.0

17 Feb 19:46
Compare
Choose a tag to compare

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

19 Jan 00:35
Compare
Choose a tag to compare

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

05 Dec 22:43
Compare
Choose a tag to compare

Breaking changes:

  • SetThreadName now accepts stdts::string_view instead of const char*
  • Base64Encode and Base64Decode now accept stdts::string_view instead of const gsl::span
  • Base64Encode and Base64Decode 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 for std::array
  • added scraps::PollingFutureSynchronizer
  • added codeformation::Stack for dynamic json-based object generation
  • added more functionality to scraps::FlatSet

v0.0.4

06 Oct 21:04
Compare
Choose a tag to compare

Bugfixes:

  • In the last bugfix release, MacOS was erroneously excluded from the curl compatibility fix. This patch resolves that.

v0.0.3

05 Oct 23:25
Compare
Choose a tag to compare

Bugfixes

  • Fix curl compilation via Xcode 8 for iOS/tvOS versions prior to 10

v0.0.2

05 Oct 00:51
Compare
Choose a tag to compare

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

v0.0.1

30 Aug 21:56
Compare
Choose a tag to compare
minor fixes, update readme, add missing license text

v0.0

24 Aug 21:27
Compare
Choose a tag to compare

This is where we made Scraps public.