terraform-provider-openapi v0.19.1 Release Notes

Release Date: 2019-10-09 // over 4 years ago
  • What’s new?

    • πŸ› Bug Fix #159: immutable properties where the value has not changed not working properly.
    • πŸ› Bug Fix #160: readonly properties inside objects are included in the payload and sent to the API when a resource is updated.
    • πŸ› Bug Fix #161: immutable properties within objects and lists of objects are not working as expected.

    πŸ”„ Changelog

    5422349 pumping up bug version number
    πŸ”€ 12ff85c Merge pull request #162 from dikhan/various-bug-fix
    ⚑️ 0b544cf update readme with object and optional property child info
    ⚑️ 8f88674 go mod dep updates
    8f031bb fix issue where immutable check was done after the list size was checked resulting into an error being thrown for props that are actually mutable
    πŸ”€ aff7008 Merge branch 'master' into various-bug-fix
    ⚑️ 9927fd3 update docu for x-terraform-immutable
    πŸ›  6796f8d Merge pull request #158 from dikhan/bugfix/install-script
    20631d8 fetch version from github instead of relying on local dir
    πŸ”€ 49e700b Merge pull request #157 from childish-sambino/patch-1
    ⚑️ a805164 update error message in int test
    d7b8150 check if property (list of primitives) is immutable before checking for diffs
    39151b6 fix bug where properties within objects were always treated as immutable
    052034a add special case in float where if actual float is being compared then check directly the values (with no casting)
    ⚑️ c3d409e add new test mutable list of objects where some properties are immutable and values are not updated
    d976047 fix issue where json marshalling always converts int into float64
    ⚑️ ab45e06 update go mod deps
    ⚑️ ddb84b2 go vet name update
    01ceecd fix bug where read remote was not considering parentIDs (only for subresources)
    βœ… 0e03254 fix put tests
    βœ… f660861 add test when api returns more props than the ones specified in the schema definition
    fc7d1bb cover when client returns an error
    ⚑️ 7c01af7 added coverage for immutable list size is updated
    0f1c65a fix issue where objects that were not immutable but had properties immutable were being ignored
    πŸ›  154fd61 fixed docu for isComputed and isOptionalComputed methods
    βœ… 645b73a add missing prop to the test
    378839a check size of local list and remote before going through the list elems
    🚚 c9efbae move readOnly checks inside validateImmutableProperty so recursive calls also ensure ignore readonly and parent props
    7a142ac panic when marshalling fails
    πŸ‘ 1d42689 add support for list with objects immutable checks
    πŸ”¨ 78b505f refactor code removing not needed extra method validateImmutableProperties
    ⚑️ ce186ad add coverage for immutable object property is updated
    πŸ‘ 5fb697b add support and coverate for immutable objects
    388269e fix checkImmutableFields bugs
    πŸ— 8e37718 reverting changes related to post/put having different methods to build the payload
    πŸ›° bf877db push changes for createPayloadFromLocalStateData
    πŸ”¨ 62faaa0 refactoring on createPayloadFromLocalStateData
    🌲 3ff73d4 add better logging
    516a963 create string zeo prop
    8bdbda2 use computed param not used before
    πŸ— c4ebe4f create helper function to build parent props
    9a4773e go mod deps
    0fbd841 fix issue with version
    πŸ›° 5b5db35 do not inject readonly properties into the payload
    14d9d75 Add git dir to script installation instructions