Skip to content

Releases: magodo/terraform-provider-restful

v0.14.0

22 May 02:57
773524f
Compare
Choose a tag to compare

0.14.0 (May 22, 2024)

BREAKING CHANGES

  • restful_resource - Change the type of body, output from string to dynamic (#87)
  • restful_resource - Read invoked from Create/Update now won't update the body (but still update the output). This makes those round trip inconsistent APIs won't cause error during the terraform apply, which makes the resource as tainted. Instead it will show the diff in the next terraform plan, which brings a chance for users to add the write_only_attrs/ignore_changes (#87)
  • restful_operation - Change the type of body, delete_body, output from string to dynamic (#87)
  • restful_resource data source - Change the type of output from string to dynamic (#87)

To migrate from versions earlier than v0.14.0, users expect to do the followings:

  1. If the body (or alike) is constructed by jsonencode function, then remove the jsonencode call
  2. If any reference of the output (or alike) is using jsondecode function, then remove the jsondecode call
  3. Do a terraform apply (even though no diff is detected), that terraform will migrate the state file for you

v0.13.3

21 May 02:07
0c98b21
Compare
Choose a tag to compare

0.13.3 (May 21, 2024)

ENHANCEMENTS

  • provider - Enable client API log (85f31b6)

BUF FIXES

  • restful_resource - [read|update_delete]_path builder pattern supports $(body) (#96, 0c98b21)

v0.13.2

16 May 03:20
Compare
Choose a tag to compare

0.13.2 (May 16, 2024)

BUF FIXES

  • Internal - Fix HeaderLocator always return true (b2d73fd )

v0.13.1

16 May 03:05
27efaf7
Compare
Choose a tag to compare

0.13.1 (May 16, 2024)

BUF FIXES

  • restful_resource - (read_)selector handle selected part is removed out-of-band (#94 )

v0.13.0

13 May 01:59
9c1c14e
Compare
Choose a tag to compare

0.13.0 (May 13, 2024)

ENHANCEMENTS

  • Provider: mTLS support (#82)
  • restful_resource - create_method supports PATCH (#86)
  • restful_resource - body supports being an array (#90)

v0.12.0

04 Dec 02:16
Compare
Choose a tag to compare

0.12.0 (Dec 4, 2023)

BREAKING CHANGES

  • restful_resource & restful_operation - Remove query for poll_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 - Update import_spec to remove some unnecessary properties, and allow body to be optional (#71)

ENHANCEMENTS

  • restful_resource data source: Support precheck (#65)
  • restful_resource data source: Supports method for GET, HEAD and (read-only) POST (#67)
  • restful_resource resource & data source: Extend the output_attrs to support arrays (#70)
  • restful_resouce (res&ds) & restful_operation: Support retry(_(create|read|update|delete)) (#75)
  • restful_operation - Support delete_(method|body|path), (precheck|poll|retry)_delete and output_attrs (#79)

BUG FIXES

  • Fix resty client TLS client config setting error: current transport is not an *http.Transport instance (#72)
  • precheck|poll expose API error if the status_locator is not code, instead of returning the error indicating the status locating from header/response failed (#78)

v0.11.1

20 Oct 02:20
fa2fa1d
Compare
Choose a tag to compare

0.11.1 (Oct 20, 2023)

BUG FIXES:

  • Provider: Fix oauth2.password decoding issue (#62)

v0.11.0

26 Apr 01:48
80c1ebb
Compare
Choose a tag to compare

0.11.0 (Apr 26, 2023)

ENHANCEMENTS:

  • Provider: New option tls_insecure_skip_verify (#58)

BUG FIXES:

  • Fix incorrect error message for data source restful_resource on read error (fc6a636)

v0.10.0

28 Feb 02:45
101101a
Compare
Choose a tag to compare

0.10.0 (Feb 28, 2023)

BREAKING CHANGES:

  • restful_{resource|operation}: Change precheck(_xxx) to be a list nested attribute (#54)
  • restful_{resource|operation}: precheck(_xxx) supports api and mutex (#55)

v0.9.0

11 Feb 03:46
c3a26fd
Compare
Choose a tag to compare

0.9.0 (Feb 11, 2023)

ENHANCEMENTS:

  • Provider - only initialize once (#49)
  • restful_resource - Introduce output_attrs to choose which attributes to export to output (#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)