Skip to content

v0.11.0

Choose a tag to compare

@rebeccayelin rebeccayelin released this 09 May 20:58
· 1705 commits to master since this release

What's new?

This new version includes:

  • Support for user agent. This feature ensures any API call will have attach a User-Agent header which identifies that the requests was made from the OpenAPI Terraform provider. The header value will have the following format:

OpenAPI Terraform Provider/{{Version}}-{{Commit}} ({{Runtime}}/{{Arch}})

Where: Version is the released version of the plugin, Commit is the hash of the latest commit to that release, Runtime is the client's OS (e,g: linux), Arch is the client's architecture (e,g: amd64)

  • Bug fix: Fix issues where newer versions of go would not be compatible with certain dependencies. More info at issue-101

Changelog

0450817 fix issue with repo path when linking statically variables
54b6df4 Merge pull request #105 from dikhan/fix-gorelease-static-flags
bf995fd fix ldgflags to use the new version package instead to bind the statically linked variables
1e93695 Merge pull request #104 from dikhan/release-v0.11.0
4204d18 pump up version to v0.11.0
20d446a Merge pull request #103 from dikhan/feature/add-user-agent-support
7249704 Merge branch 'feature/add-user-agent-support' of https://github.com/dikhan/terraform-provider-openapi into feature/add-user-agent-support
568b3e6 validate expected headers in the API
ba12cac updated tests to check for authorization, operation, and user agent headers
793ffb1 go fmt
5cf0e1d create headers file with http constants (authorization, user agent)
5d5f912 add header coverage for POST operation
f1d8154 wrote tests to check operation and user agent header add
97ad456 added check for user agent header
c6fd833 fix compile errors
df729a2 Merge branch 'feature/add-user-agent-support' of https://github.com/dikhan/terraform-provider-openapi into feature/add-user-agent-support
24bd8f8 go fmt
a8c7c5c added appendUserAgentHeader and corresponding tests
fd35b1b run go fmt and resolve lint issues
69d1782 add unit test TestBuildUserAgent
f5a064d create BuildUserAgent using version and commit info
86d31e7 create repo variable and pass value along
0b43145 make statically linked variables available inside openapi package
6496867 Merge pull request #102 from dikhan/feature/fix-issues-using-go1.12.4
26cc159 update travis go version too
ca999c4 Solve issues where new version of go would conflict with deps and test suit would fail