Skip to content

Releases: Mastercard/terraform-provider-restapi

v1.20.0

26 Aug 15:58
Compare
Choose a tag to compare

Fixed

  • Thanks to a proposal in #202 by @harshavmb, the long broken endpoint_params in oauth_client_credentials is working!
  • Fix incorrect state after failed updates when errors are detected. Thanks for the report #152, @jollyroger and the PR #265, @ugur-zongur!

Misc

  • Bring goreleaser config up to version 2

v1.19.1

05 Mar 18:34
Compare
Choose a tag to compare
Changes for v1.19.1

v1.19.0

01 Mar 21:51
Compare
Choose a tag to compare

New

  • Allow for empty responses to be treated as {} for APIs that give no answer on create. Thanks for the tweak in #226, @alahijani!
  • Add support for sending a body (read_data) during read operations for APIs that are a little less REST-y. Thanks for the feature in #252, @detvdl!

Misc

  • Bump some dependnecies to keep them current

v1.18.2

22 Aug 21:35
Compare
Choose a tag to compare

Fixed

v1.18.1

07 Jul 15:28
Compare
Choose a tag to compare

Maintenance

  • Update all first level dependencies (and many indirect dependencies) to latest versions. Thanks, @artificial-aidan and @danowensdev for the ping!

v1.18.0

02 Nov 17:14
Compare
Choose a tag to compare

New

  • Add ability to send specific data structures when performing update and delete actions. Thanks for PR #182, @jgrumboe!

v1.17.0

27 Jun 23:13
Compare
Choose a tag to compare
Changes for v1.17.0

v1.16.2

07 Apr 20:11
Compare
Choose a tag to compare

Fixed

  • Fix a bug causing crash any time the provider is configured with oauth_client_credentials. Thanks for the report in #162, @AndreasSko!

Broken

  • An apparent terraform bug was detected while triaging #162. The endpoint_params sub map of oauth_client_credentials does not work. It is unclear if this ever functioned.

v1.16.1

02 Feb 17:29
Compare
Choose a tag to compare

Misc

  • No changes made in this release. This is only a new tag intended to fix issues with publishing to the Terraform registry. Thanks, @scastria for PR#159!

v1.16.0

06 Sep 22:08
Compare
Choose a tag to compare

New

  • Exposed a property always available inside api_object to the datasource. You can now set search_path to search in one location, but pull object information from another location!
  • Added a new test_path attribute to the provider which will make a no-op call to the API after setting up the provider. Thanks, @yi2020 for the idea in #118!
  • Allow passing oauth endpoint params to the client library - thanks @larryboymi for the idea in @136

Fixed

  • A large amount of refactoring was done by @sirlatrom to make go vet and golint happier in #112 - awesome!
  • Permit attempting to obtain an Oauth2 token without scopes set since it is not required. Thanks, @Thorln for reporting the issue!
  • Improved test cases for the datasource performing searches. Thanks, @BigJerBD for the nudge in #119!
  • Add .exe to the end of Windows release files. Thanks, @dmachard for the report in #130!
  • In cases where invalid JSON was pushed to the .tf file, Terraform writes it to state - work around this. Thanks, @m-v-k for the report in #117!

Misc

  • Taught fakeserver a new trick - the /api/object_list endpoint will now dump all of the objects as if responding to search
  • Added an example for those that would like to set a custom Authorization header coming from outside of the terraform config
  • Added an example for performing regular PUT updates to a resource as a "fancy curl" - thanks @vmarlier!
  • This is the first release that should be compliant with the terraform registry expectations - big thanks to @blz-ea
  • Added a validation at terraform's input level to ensure that the data attribute is valid JSON before attempting any work