Skip to content

v0.13.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 24 Sep 10:50
· 1 commit to main since this release
63249f6

Highlights

Support dynamic authentication headers with request-level arguments

You can use a Pre-NDC Request Plugin to modify the request, and add dynamic headers in runtime via request_arguments.headers field, which is a string map. Those headers will be merged into the HTTP request headers before being sent to external services.

See the full example at Pre-NDC Request Plugin Request

{
  // ...
  "ndcRequest": {
    // ...
    "request_arguments": {
        "headers": {
            "Authorization": "Bearer <token>",
            "X-Custom-Header": "foo"
        }
    }
  }
}

What's Changed

  • feat: upgrade Go SDK v2.1.0 by @hgiasac in #75 #76
  • feat: dynamic authentication headers support with request_arguments by @hgiasac in #77

Full Changelog: v0.12.2...v0.13.0