Skip to content

Releases: yhirose/cpp-httplib

Bug fixes and new feature

08 Aug 01:06
Compare
Choose a tag to compare

🆕 New Features

  • ErrorLogger Support (#870, #2195)
    • Added long-requested error logging functionality
    • Enhanced error handling and reporting capabilities
    • Major implementation with 379 additions, 65 deletions

🔧 Improvements

  • Windows Compatibility (#2193)

    • Changed 32-bit Windows support from #error to #warning
    • Unified _WIN64 macros to _WIN32 for better compatibility
    • Improved Windows environment support
  • Build System Enhancements

    • CMake Pointer Size Check (#2197) - Added configure-time pointer size validation
    • Windows Version Requirements (#2191, #2192) - Enforced Windows 10+ minimum requirement
    • Better build-time compatibility detection

🐛 Bug Fixes

  • OpenSSL Integration

    • Fixed Chocolatey OpenSSL compatibility issues
    • Improved SSL functionality stability on Windows
  • Windows Version Handling

    • Resolved Windows version check problems
    • Enhanced platform detection

Bug fixes

29 Jul 23:54
Compare
Choose a tag to compare

Bug Fixes

Issue #2184, #2185: URL Encoding/Decoding Improvements (#2190)

Files: httplib.h, test/test.cc

  • Added new RFC 3986 compliant URL encoding/decoding functions alongside existing JavaScript-style URI functions
  • Introduced encode_path_component(), decode_path_component(), encode_query_component(), decode_query_component()
  • Improved path and query component processing with proper encoding separation
  • Enhanced redirect handling with correct plus sign (+) processing in query parameters
  • Added comprehensive test case Issue2185_Online for GitHub redirect scenarios

Issue #2187: Accept Header Quality Value Parsing Exception Handling

Files: httplib.h

  • Improved exception handling for Accept header quality value parsing
  • Added exception-free implementation when CPPHTTPLIB_NO_EXCEPTIONS macro is defined
  • Replaced std::stod() with std::istringstream for more robust q-value parsing
  • Enhanced Accept header processing reliability

Issue #2189: Missing Client::set_max_timeout Method Implementation

Files: httplib.h

  • Added missing Client::set_max_timeout(time_t msec) method implementation
  • Maintained existing template version of set_max_timeout method
  • Improved API completeness for client timeout configuration

Summary

This release focuses on critical bug fixes that enhance the library's reliability and standard compliance. Key improvements include better URL processing, more robust HTTP header
parsing, and complete client API implementation.

Bug fixes and changes

16 Jul 22:02
Compare
Choose a tag to compare

🐛 Bug Fixes

⚠️ Changes

  • Chang #error to #warning for the 32-bit environment check except 32-bit Windows

Bug fixes, New features, Breaking changes

10 Jul 04:04
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #2167 - Fix #1601: Fix getaddrinfo stalling issue when network is down
  • #2165 - Proxy problems: Fix proxy-related issues
  • a636a09 - Fix #1656: Improve logging before compression

✨ New Features

  • #2170 - Fix #2082: Add URL encoding helpers for user input in GET requests
  • #2169 - Fix #1416: Add SSL error access functionality
  • #2166 - Cleaner API: API improvements
  • cfb56c0 - Fix #1818: Add POST with content receiver feature
  • b2bf172 - Fix #1551: Add Params support for PUT/DELETE methods

🚨 Breaking Changes

  • #2177 - Complete removal of Windows 8 or lower support
  • #2173 - Removal of 32-bit environment support (64-bit only)
  • #2171 - Fix #1578: Improve form field access methods

Bug fixes

24 Jun 12:47
Compare
Choose a tag to compare
  • Fix #2157 Ranges that are not in the form 0-n do not work.
  • Fix #1777 Windows req/res very slow compared to Linux
  • Add CPPHTTPLIB_HEADER_MAX_COUNT

Bug fixes and new features

10 Jun 02:28
Compare
Choose a tag to compare
  • Windows ::isdigit compilation error #2135
  • Specify version in meson.build #2139
  • Detect if afunix.h exists #2145
  • Feature request: let the Request& know which route matched #2101
  • Feature/multipart headers #2152

Bug fixes

03 May 12:30
Compare
Choose a tag to compare
  • Add AF_UNIX support on windows #2115
  • Support zstd also via pkg-config #2121
  • Fix #2113
  • Fix "Unbounded Memory Allocation in Chunked/No-Length Requests"

Bug fixes and a new feature

17 Mar 01:40
Compare
Choose a tag to compare

Bug fix and new feature

14 Feb 19:45
03cf43e
Compare
Choose a tag to compare
  • Global timeout feature (same as "--max-time" curl option) #2034
  • Fix check for URI length to prevent incorrect HTTP 414 errors

Bug fix

08 Feb 20:55
Compare
Choose a tag to compare
  • Potential memory corruption in stream_line_reader #2028