Releases: magodo/terraform-provider-restful
Releases · magodo/terraform-provider-restful
v0.12.0
0.12.0 (Dec 4, 2023)
BREAKING CHANGES
restful_resource
&restful_operation
- Removequery
forpoll_xxx
block. During polling, the actual query used is either from the polling url_locator (as the polling URL is expected to contain the complete URL, including the query needed), or inherit from the originating request if url_locator not specified. (#73)restful_resource
- Updateimport_spec
to remove some unnecessary properties, and allowbody
to be optional (#71)
ENHANCEMENTS
restful_resource
data source: Supportprecheck
(#65)restful_resource
data source: Supportsmethod
forGET
,HEAD
and (read-only)POST
(#67)restful_resource
resource & data source: Extend theoutput_attrs
to support arrays (#70)restful_resouce
(res&ds) &restful_operation
: Supportretry(_(create|read|update|delete))
(#75)restful_operation
- Supportdelete_(method|body|path)
,(precheck|poll|retry)_delete
andoutput_attrs
(#79)
BUG FIXES
v0.11.1
v0.11.0
v0.10.0
v0.9.0
0.9.0 (Feb 11, 2023)
ENHANCEMENTS:
- Provider - only initialize once (#49)
restful_resource
- Introduceoutput_attrs
to choose which attributes to export tooutput
(#46)restful_resource
- data source: New attribute allow_not_exist to suppress error on 404 status code (#50)
BUG FIXES
- Provider - Fix
security.apikey
validation issue (#48)
v0.8.0
0.8.0 (Jan 3, 2023)
DEPENDENCY UPDATES:
- Update hashicorp/terraform-plugin-framework to v1.0.0 (eb7bc21)
ENHANCEMENTS:
restful_resource
- Introducecheck_existance
to make on-demand existance check (#35)- Defaults to use
urlencoded
whenxxx_path
expands with form$(body.x.y.z)
(#36) restful_resource
- Update supportsPOST
(7370cab)restful_resource
- Support{read|create}_selector
to select the target body from the response ofcreate
orread
, in case the response is an array of multiple bodies (#39)restful_resource
- Introduceforce_new_attrs
to support conditional replace resource (#37)
BUG FIXES
poll_xxx
: Fix double urlencoding the URL and introduce thequery
attribute (#42)
v0.7.0
0.7.0 (Dec 6, 2022)
BREAKING CHANGES
- Provider: refactor the
security
block to support more auth method (#23) - Provider: introduce
cookie_enabled
for enable/disable(default) the cookie during API contract, which was always enabled before (#29)
DEPENDENCY UPDATES:
- Update hashicorp/terraform-plugin-framework to v0.17.0 (3bef06c)
ENHANCEMENTS:
restful_resource
(resource): suppress the unnecessary "known after apply" for attributes likecreate_method
,update_method
, etc during update when those attributes are not set at resource level (#25)restful_resource
(resource): addprecheck_{check|update|delete}
(#26)restful_operation
: addsprecheck
(#26)
v0.6.0
0.6.0 (Nov 24, 2022)
BREAKING CHANGES
name_path
andid_path
inrestful_resource
schema is now replaced byread_path
(#19)path
is now required in the import spec forrestful_resource
, which was implicitly deduced byid
andcreate_method
(#19)- Change the syntax of
status_locator
andurl_locator
fromscope[path]
toscope.path
. This is to be consistent as the format used inxxx_path
when enclosed in$()
or#()
(e.g.$(body.path)
(#21)
DEPENDENCY UPDATES:
- Update hashicorp/terraform-plugin-framework to v0.16.0 (aae00cf)
ENHANCEMENTS:
v0.5.0
v0.4.0
0.4.0 (Aug 24, 2022)
DEPENDENCY UPDATES:
- Update hashicorp/terraform-plugin-framework to v0.11.0 (4ea2fd2)
ENHANCEMENTS: