Releases: Mastercard/terraform-provider-restapi
Releases · Mastercard/terraform-provider-restapi
v1.20.0
Fixed
- Thanks to a proposal in #202 by @harshavmb, the long broken
endpoint_params
inoauth_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
Changes for v1.19.1
v1.19.0
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
v1.18.1
Maintenance
- Update all first level dependencies (and many indirect dependencies) to latest versions. Thanks, @artificial-aidan and @danowensdev for the ping!
v1.18.0
v1.17.0
Changes for v1.17.0
v1.16.2
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 ofoauth_client_credentials
does not work. It is unclear if this ever functioned.
v1.16.1
v1.16.0
New
- Exposed a property always available inside
api_object
to the datasource. You can now setsearch_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
andgolint
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