Repository navigation
1.5.2
google/recaptcha — 1.5.2
This maintenance release for the 1.x series ports the non-breaking transport security and proxy-compatibility improvements introduced during the 1.5 cycle onto the backward-compatible 1.4.2 / 1.5.1 public API, and adds automated backward-compatibility verification in CI.
Improvements
- Hardened Fallback TLS Verification (
RequestMethod\Post): Configuredverify_peerandverify_peer_nameunder thesslstream context (rather thanhttp) so OpenSSL strictly verifies peer certificates and hostnames when using thefile_get_contents()transport (#625). - Request Timeouts (
RequestMethod\CurlPost&RequestMethod\Post): Added explicit 60-second request timeouts (CURLOPT_TIMEOUTandhttp.timeout) so verification calls fail predictably if the upstream network hangs (#604). - Automated SemVer Compatibility Checks: Added
roave/backward-compatibility-checkto GitHub Actions CI to automatically verify that future1.xmaintenance pull requests preserve 100% public API compatibility (#634 by @SNO7E-G).
Bug Fixes
- HTTP/1.1 Proxy Support (
RequestMethod\SocketPost): FixedSocketPost::submit()to accept bothHTTP/1.0 200 OKandHTTP/1.1 200 OKstatus lines, preventing falsebad-responseerrors when requests traverse HTTP/1.1 proxies (#616).
Breaking Changes
- None: Fully backward-compatible with
1.4.2and1.5.1.
Full Changelog: 1.5.1...1.5.2