Skip to content

Releases: ecnepsnai/web

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

v1.9.2

20 Sep 01:35
v1.9.2
4153fc1
Compare
Choose a tag to compare
  • Resolve panic on panic (oops!)

v1.9.1

23 Apr 02:45
v1.9.1
19bf0dd
Compare
Choose a tag to compare

Fix issues with HTTP range requests

v1.9.0

21 Apr 05:16
v1.9.0
8d8f012
Compare
Choose a tag to compare

This release contains breaking changes

  • Add support for HTTP range requests with static and HTTP requests when supported
    • The reader must be a io.ReadSeekCloser
    • The request must have specified a byte range
  • Added option to disable HTTP range response, enabled by default
  • Add convenience method GETHEAD, which registers a HTTP GET and HEAD handle.
  • web.Response had been renamed web.HTTPResponse. A find-and-replace can be used to correct this.
  • The MaxRequestsPerSecond and RequestLogLevel parameters are now nested in an Options object.