Skip to content

v0.8

Latest
Compare
Choose a tag to compare
@42atomys 42atomys released this 08 Mar 01:19
· 6 commits to main since this release
eac6a23

Release v0.8 : 📤✨ Response With Style!

We are excited to unveil our latest version 0.8 update, which brings advanced customization capabilities to your responses. Now, you can tailor your responses with specific formatting options, HTTP status codes, and content types. Additionally, the update introduces a flexible formatting feature that is consistent across the application, allowing you to use either templateString or templatePath for defining response templates.

This enhancement is particularly beneficial for webhook providers requiring the inclusion of specific fields in their responses to confirm the identity of the requester.

Configuration exemple :

  response:
    formatting:
      templateString: |
        {
          "deliveryID": "{{ .Request.Header | getHeader "X-Delivery" | default "unknown" }}"
        }
    httpCode: 200
    contentType: application/json

🚀 Features

Full Changelog: GitHub