Skip to content

Releases: ecnepsnai/web

v1.14.0

04 Dec 04:50
v1.14.0
9eef90d
Compare
Choose a tag to compare
  • Adds PreHandle to HandleOptions to allow for early handling of requests before authentication
  • Adds a more generic Decode method to request for non-JSON data handling
  • Adds stack trace to log messages when recovered from a panic

v1.13.0

07 Nov 02:50
v1.13.0
c92bb5b
Compare
Choose a tag to compare
  • [BREAKING]: Remove Code from the API response type. This was marked as deprecated over a year ago.

v1.12.0

21 Sep 17:23
v1.12.0
f851f55
Compare
Choose a tag to compare
  • Expose RealRemoteAddr as a public method

v1.11.5

28 Mar 23:10
v1.11.5
af03904
Compare
Choose a tag to compare
  • Silence noisy broken TCP pipe error caused by Firefox

v1.11.4

13 Nov 04:20
v1.11.4
9fb4e03
Compare
Choose a tag to compare
  • Update dependencies
  • Add per-handle option to control if requests are logged

v1.11.3

12 Sep 18:46
v1.11.3
df1a278
Compare
Choose a tag to compare
  • Update dependencies

v1.11.2

23 Jul 21:19
v1.11.2
75c4903
Compare
Choose a tag to compare
  • Adds new MockRequest method to generate a mock request for use with external unit tests. No changes to existing APIs.
  • Update dependencies.

v1.11.1

18 Apr 04:03
v1.11.1
ddfe110
Compare
Choose a tag to compare
  • Panics within API handles are now properly captured and an appropriate response is returned

v1.11.0

14 Dec 20:47
v1.11.0
e4166f5
Compare
Choose a tag to compare

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

v1.10.0

06 Dec 20:55
v1.10.0
ff6a57b
Compare
Choose a tag to compare
  • [NEW]: Added web.NewListener() which lets you provide your own listener instead of the server starting one for you
  • [FIXED]: Panic when trying to determine remote IP with a malformed address