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