Skip to content

Releases: unionj-cloud/go-doudou

v0.9.1 Circuitbreaker/Timeout/Retry/Prometheus

11 Jan 09:20
Compare
Choose a tag to compare
  1. Add Circuitbreaker/Timeout/Retry support (including metrics for Prometheus)
  2. Add custom Prometheus service discovery for go-doudou services

v0.9.0 RateLimit and Bulkhead

09 Jan 10:31
Compare
Choose a tag to compare
  1. Add rate limit support
  2. Add bulkhead pattern support

v0.8.9 cors

31 Dec 06:21
Compare
Choose a tag to compare

Add http.MethodOptions to support cors

v0.8.8 net.DNSError

30 Dec 15:40
Compare
Choose a tag to compare

Properly Handle no such host error from memberlist

v0.8.7 ddhttp.Tracing

30 Dec 04:13
Compare
Choose a tag to compare
  1. Add Tracing middleware to ddhttp package to make tracing usage more flexible. If you need to use it, please make sure to add it as earlier as possible. etc.:
srv.AddMiddleware(ddhttp.Tracing, ddhttp.Metrics, requestid.RequestIDHandler, handlers.CompressHandler, handlers.ProxyHeaders, ddhttp.Logger, ddhttp.Rest, ddhttp.Recover)
  1. Refactered ddhttp Logger middleware to add opentracing span field to ddhttp.HttpLog struct
  2. Fix ddhttp Logger middleware bug in order to print key/value pairs from multipart/form-data request (but ignore uploaded file binary) . etc.:
DEBU[2021-12-30 12:17:03] {
    "clientIp": "[::1]:53489",
    "httpMethod": "POST",
    "uri": "/upload/avatar",
    "proto": "HTTP/1.1",
    "host": "localhost:6061",
    "reqContentLength": 199769,
    "reqHeader": {
        "Accept": [
            "*/*"
        ],
        "Cache-Control": [
            "no-cache"
        ],
        "Connection": [
            "keep-alive"
        ],
        "Content-Length": [
            "199769"
        ],
        "Content-Type": [
            "multipart/form-data; boundary=--------------------------631217490048140198896124"
        ],
        "User-Agent": [
            "PostmanRuntime/7.28.3"
        ],
        "X-Request-Id": [
            "5d1816f2-439e-412d-aa65-fd963baa5863"
        ]
    },
    "requestId": "5d1816f2-439e-412d-aa65-fd963baa5863",
    "rawReq": "ps=laborum",
    "respBody": "{\"ri\":0,\"rs\":\"OK\"}\n",
    "statusCode": 200,
    "respHeader": {
        "Content-Type": [
            "application/json; charset=UTF-8"
        ]
    },
    "respContentLength": 19,
    "elapsedTime": "3.89µs",
    "span": "33238964ec22e157:33238964ec22e157:0000000000000000:1"
} 

v0.8.6 minor improvement

28 Dec 16:15
Compare
Choose a tag to compare

v0.8.5 Jaeger

25 Dec 17:48
Compare
Choose a tag to compare

Add Jaeger support

v0.8.4 Close method for v3.FileModel

20 Dec 04:00
Compare
Choose a tag to compare

Add Close method to v3.FileModel struct for releasing the resouce

v0.8.3 retry

19 Dec 17:05
Compare
Choose a tag to compare

Add client side retry feature. If one node cannot process requests, retry another node.

v0.8.1

19 Dec 04:56
Compare
Choose a tag to compare

Filter suspect nodes when send http requests in elegant way