Skip to content

v1.11.0

Compare
Choose a tag to compare
@ecnepsnai ecnepsnai released this 14 Dec 20:47
· 26 commits to main since this release
v1.11.0
e4166f5

This release contains major breaking changes. Your code will need to be updated.

  • The HTTP handles have been split into HTTPEasy and HTTP.
    • HTTPEasy offers the same functionality as HTTP did in previous releases.
    • HTTPEasy does not expose the response writer
    • HTTP provides an interface to the raw HTTP request and response writer while still doing authentication and rate limiting
  • Added cookies slice in HTTPResponse
  • API handles must return an optional third value, an *APIResponse
    • APIResponse lets you specify headers and cookies on the response