Skip to content

Releases: nokia/restful

v1.12.0

29 Jan 15:37
Compare
Choose a tag to compare

v1.11.6

11 Dec 14:39
0d9b54d
Compare
Choose a tag to compare

What's Changed

  • add H2 and H2C client, that can bind to network interface, such as "eth0".

Full Changelog: v1.11.5...V1.11.6

v1.11.5

25 Oct 17:31
Compare
Choose a tag to compare

Fix for validation if incoming request data type is not a struct.

v1.11.4

11 Oct 13:47
Compare
Choose a tag to compare
  • server.Graceful() to accept connections till defined duration. That differs from earlier behavior, when listener was closed immediately and only hanging connections were awaited.
  • Differentiate /healthz and /livez endpoint behavior. The former sends Connection: close header, too. Thus caller can check if listening and accepting new connections works. While the latter just checks if the process is alive.

v1.11.3: content type handling for custom error (#78)

09 Oct 13:40
fdd9611
Compare
Choose a tag to compare

Content type checked against what was received in Accept header for NewErrorWithBody.

v1.11.2

02 Oct 13:22
Compare
Choose a tag to compare

NewErrorWithBody improvements for server side.

v1.11.1

25 Sep 08:52
Compare
Choose a tag to compare
  • Bugfix: No crash if client.Retry() was set and the request is server-originated http.Request supplied to client.Do(). That may occur if blindly forwarding requests.
  • New: NewErrorWithBody() to create a new error in a strictly controlled manner.

v1.11.0

04 Sep 11:19
Compare
Choose a tag to compare

Validator for lambda using https://github.com/go-validator/validator. On error status 422 is responded.

Note that client response is not validated in this fashion.

GO-2024-2958 vulnerability fix

03 Jul 10:37
564848b
Compare
Choose a tag to compare
govuln fix (#71)

Co-authored-by: Aron Csatlos <aron.csatlos@nokia.com>

v1.10.1: oauth2-client-update (#70)

06 Jun 15:04
899d72c
Compare
Choose a tag to compare

SetOauth2Conf now has a client parameter. You may use nil.