Skip to content

Releases: pkgz/rest

v0.0.12

04 Mar 09:42
Compare
Choose a tag to compare
  • feat: added trace_id (Uber-Trace-Id) to the error
  • feat: now error in the HttpError must be uppercase camel case (INTERNAL_SERVER_ERROR)

v0.0.11

15 Feb 11:40
Compare
Choose a tag to compare
  • check if Content-Type is not set in the response

v0.0.10

18 Jan 19:52
3700467
Compare
Choose a tag to compare
  • rename ErrMissingRequiredField to ErrMissingField

v0.0.9

18 Jan 11:05
Compare
Choose a tag to compare
  • add common errors

v0.0.8

20 Nov 22:31
Compare
Choose a tag to compare
  • fix superfluous response.WriteHeader (setting a few times header when JsonResponse)

v0.0.7

28 Jul 13:44
Compare
Choose a tag to compare
  • add OkResponse

v0.0.6

17 Jul 11:21
Compare
Choose a tag to compare
  • fix server to work without a provided router (now /ping and /liveness will be available)

v0.0.5

30 Jun 09:33
Compare
Choose a tag to compare
  • remove HTTP response from ReadBody(), from now it returns only error

v0.0.4

02 Mar 10:09
43c459d
Compare
Choose a tag to compare
  • change order of statusCode and duration in the logging middleware

v0.0.3

26 Feb 22:25
Compare
Choose a tag to compare
  • add log to error response
  • changed input to ErrorResponse function