terraform-provider-openapi v0.29.0 Release Notes

Release Date: 2020-05-14 // almost 4 years ago
  • What's new?

    • PR #229 [FeatureRequest: Issue #228] Ignore array prop ordering

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ ca1fe4d Merge pull request #230 from dikhan/feature/pump-version-0.29.0
    68a1fb0 pump version to 0.29.0
    ๐Ÿ”€ 2355a80 Merge pull request #229 from dikhan/ignore-array-prop-ordering
    โšก๏ธ ace46ff go mod dep updates
    ๐Ÿ“š 8110f81 add x-terraform-ignore-order documentation
    โšก๏ธ efe0ba4 add test TestUpdateStateWithPayloadDataAndOptions
    cec48c5 add check for nil remoteValue
    5a29d95 enable ignoreListOrderEnabled depending whether a resource or data source called the method
    โšก๏ธ 7378bc1 go mod dep updates
    890eb6b vet cleanup
    โœ… beb4fa3 fix integration test adding the newly supported extension x-terraform-ignore-order: true
    โšก๏ธ 0cf8295 integrate processIgnoreOrderIfEnabled in updateStateWithPayloadData
    172d295 add new use cases to check for input value being nil
    โšก๏ธ 488cb67 update test name to match the method under test
    ๐Ÿšš 7f1f8c0 remove non needed switch
    โšก๏ธ 440babc Update TestEqual to TestEqualItems (new method name)
    โœ… 17452fe Add more test cases to TestCastValueToArray
    โœ… 04c14a4 Add TestCastValueToArray
    4dbf266 Rename compare to equalItems (more descriptive)
    ๐Ÿ›ฐ c5cc347 - rename the compareInputPropertyValueWithPayloadPropertyValue to a more clear name processIgnoreOrderIfEnabled - processIgnoreOrderIfEnabled now checks whether the property has the flag IgnoreItemsOrder enabled, otherwise returns the remote list (keeping the current behaviour) - if the casting returns nil we return the remotelist too (eg< use case for list of bools with the IgnoreItemsOrder set to true, this is not supported at the moment)
    โœ… ef12e1b Add TestValidateValueType
    28ad45d Add bool switch case in compare method
    โœ… b6c4307 Add TestCompare for specSchemaDefinitionProperty
    โœ… 66240a8 Add test case to TestCompareInputPropertyValue
    ๐Ÿ›  afc971f fixed bug where once all the object prop values had been checked it was falling back to the regulat item check (instead of returning true) resulting into casting errors
    dd575ca fix typo
    ๐Ÿšš 81479d7 remove unnecessary duplicated code
    ๐Ÿ‘ de6be5f add support for compare and compareItems in the specSchemaDefinitionProperty
    381cf8f Add float case to castValueToArray
    โœ… 29d5087 added int use case test coverage
    593c526 cast to array of interfaces to simplify processing of different elem types
    โœ… a8150e9 Add test cases to TestCompareInputPropertyValueWithPayloadPropertyValue
    337ae09 modify logic to cover the new set of use cases
    ๐Ÿ‘€ 16107a5 Add method (shouldIgnoreArrayItemsOrder) and related test to see if property has the x-terraform-ignore-order ext set
    ๐Ÿ”€ 258e2a8 Merge branch 'ignore-array-prop-ordering' of github.com:dikhan/terraform-provider-openapi into ignore-array-prop-ordering
    โšก๏ธ 830e55a Update compareInputPropertyValueWithPayloadPropertyValue - cast to []string
    ๐Ÿ”€ 05c25c3 Merge branch 'ignore-array-prop-ordering' of github.com:dikhan/terraform-provider-openapi into ignore-array-prop-ordering
    ๐Ÿ‘ 8c9e2c1 add support for x-terraform-ignore-order extension
    ๐Ÿ›ฐ 692767b Add initial checks on typeList in compareInputPropertyValueWithPayloadPropertyValue
    8aeb727 add typeFloat and typeBool use case
    7484ad8 create method that compares local proeprty value with remote
    โœ… 3582dd5 add TestAccCDN_CreateResourceWithIgnoreListOrderExtension