Skip to content

v1.22.0

Compare
Choose a tag to compare
@Umang01-hash Umang01-hash released this 01 Oct 11:00
· 581 commits to development since this release
f463335

Release v1.22.0

✨ Features

  • Support for tracing in clickhouse.
    Clickhouse Traces are now added and sent along with the respective request traces.

  • Support for sampling traces.
    Traces can now be sampled based on the env config TRACER_RATIO
    It refers to the proportion of traces that are exported through sampling. It ranges between 0 to 1. By default, this ratio is set to 1, meaning all traces are exported.

  • Support Azure Eventhub as external pub-sub datasource.
    Eventhub

    • Eventhub can be used similar to how messages are published and subscribed to KAFKA, MQTT and Google Pubsub.
    • To inject Eventhub import it using the following command.
      go get gofr.dev/pkg/gofr/datasources/pubsub/eventhub
      
    • Setup Eventhub by calling the AddPubSub method of gofr.
      app.AddPubSub(eventhub.New(eventhub.Config{  
       ConnectionString: "",  
       ContainerConnectionString: "",  
       StorageServiceURL: "",  
       StorageContainerName: "",  
       EventhubName: "",  
       ConsumerGroup: "",  
       }))
      

    Refer documentation to know how to get these values.

  • Support to enable HTTPS in the HTTP server
    You can now secure your servers with SSL/TLS certificates by adding the certificates through following configs - CERT_FILE and KEY_FILE.

✨ Fixes

  • Fix SQLite logs.
    Empty strings were coming due to difference in configuration parameters required in SQLite vs other SQL datasource when connecting which has been fixed.