gofr-dev / gofr

An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.
https://gofr.dev
Apache License 2.0
3.61k stars 243 forks source link

Release/v1.28.0 #1247

Closed Umang01-hash closed 2 days ago

Umang01-hash commented 2 days ago

Release v1.28.0

✨ Features:

Custom Response Headers Support: Users can add custom HTTP response headers using the Response struct. This feature helps add extra information, such as security policies or other metadata, to improve communication between clients and servers.

OpenTSDB Support:
Users can integrate OpenTSDB to store and retrieve time-series data.

type OpenTSDB interface { 
    HealthChecker 
    PutDataPoints(ctx context.Context, data any, queryParam string, res any) error
    QueryDataPoints(ctx context.Context, param any, res any) error 
    QueryLatestDataPoints(ctx context.Context, param any, res any) error 
    GetAggregators(ctx context.Context, res any) error QueryAnnotation(ctx context.Context, queryAnnoParam map[string]any, res any) error 
    PostAnnotation(ctx context.Context, annotation any, res any) error
    PutAnnotation(ctx context.Context, annotation any, res any) error 
    DeleteAnnotation(ctx context.Context, annotation any, res any) error 
}

Support for Binding Binary/Octet Stream:
Users can bind binary/octet-stream content directly to []byte slices using GoFr context.

🛠️ Fixes:

Milliseconds Logged as Microseconds:

Dgraph Datasource Panic Fix

Solr Methods Fixes:

Deprecated UseMiddlewareWithContainer Method: