Skip to content

v1.2.2 - Response and Cookie Enhancement (2025-12-04)

Choose a tag to compare

@cybergodev cybergodev released this 04 Dec 14:26
· 79 commits to main since this release
795d8bc

Added

  • String() method for Response type providing concise text representation
  • Html() method as alias for Response.Body property
  • WithCookieString() method for automatic cookie string parsing
  • Support for browser-style cookie strings (e.g., "name1=value1; name2=value2")
  • Comprehensive cookie string validation and error handling
  • Cookie methods documentation in request options sections
  • Enhanced Cookie Management examples in both English and Chinese README
  • Thread-safe formatted output with nil response handling

Changed

  • Updated documentation with manual cookie setting examples
  • Expanded cookie usage examples for better developer experience