All Versions
26
Latest Version
Avg Release Cycle
13 days
Latest Release
1375 days ago

Changelog History
Page 1

  • v0.31.1 Changes

    July 20, 2020

    What's new?

    • ๐Ÿ”Œ PR #261 [TechDebt: Issue #260] Plugin execution improvements
    • โœ… PR #259 [TechDebt: Issue #258] Standardizing tests and tests execution time improvements

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ d28a81d Merge pull request #262 from dikhan/version/0.31.1
    โšก๏ธ e1199fa update version to 0.31.1
    ๐Ÿ”€ 18c6879 Merge pull request #261 from dikhan/feature/cache-improvements
    9bd205e add debug message when hitting/loading resource path cache
    ๐Ÿ”€ cba25ec Merge branch 'feature/cache-improvements' of github.com:dikhan/terraform-provider-openapi into feature/cache-improvements
    8dd22d1 add resolvedPathCached to the SpecV2Resource
    8459b48 assert that cache is populated for happy paths
    a3ee1ac change it back to previous value
    7f3a425 make timeToProcess shorter
    ๐ŸŒฒ cc0605e added logging for caching
    ๐Ÿ”€ 520c22b Merge branch 'feature/cache-improvements' of github.com:dikhan/terraform-provider-openapi into feature/cache-improvements
    ๐Ÿ”จ bf0a216 refactor getResourceDataOKExists and setResourceDataProperty
    fdc91a5 add parentResourceInfoCached on SpecV2Resource
    ๐Ÿšš 747493e moved type check to top of the method to fail faster if type is missing
    ๐Ÿ‘ 9814993 add caching support for GetResourceSchema
    ๐Ÿ”€ 7c005f4 Merge pull request #259 from dikhan/standarize-tests
    ๐Ÿ”€ 12da6e9 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    ๐Ÿšš 0d9961b remove extra Convey statements in openapi spec tests (causing unnecessary loops)
    โšก๏ธ 6988bd3 go mode dep updates
    566fd97 fix vet issues
    ๐Ÿšš 4b6f875 remove redundant conveys
    โœ… ffee28e standarized some tests
    โœ… 4c6d083 standarized some tests
    โœ… c68a796 standarized some tests
    78b5bf6 standarized plugin_config_test tests
    ๐Ÿ”ง 0d3f3fc standarized provider_configuration_endpoints_test tests
    ๐Ÿ”ง 66d937d refactored provider_configuration_tests tests
    ๐Ÿ”จ 834a19d refactor tests removing extra convey levels
    ๐Ÿ”จ d287c04 refactor tests removing extra convey levels
    ๐Ÿ”€ cc92815 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    ๐Ÿ”จ c6672ba refactor tests removing extra convey levels
    ๐Ÿ”’ 58df65e remove extra Convey statements in openapi spec security tests (causing unnecessary loops)
    1ee58b4 fix issue with convey second level using t
    ๐Ÿ”€ 7dee746 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    debe681 add coverage for panics
    ๐Ÿ”€ df2d97c Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    b4c086f remove extra Convey statements in openapi_spec_resource_schema_definition_test.go (causing unnecessary loops)
    ๐Ÿ”€ 68c788d Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    โœ… 334484e format tests to match standards
    94f16cb remove extra Convey statements in openapi_spec_resource_schema_definition_property_test.go (causing unnecessary loops)
    4c7f855 remove extra Convey statements in openapi_spec_authenticator tests
    5c650af remove extra Convey statements in openapi_spec_analyser_test.go (causing unnecessary loops)
    c22ed02 remove extra Convey statements in openapi_client_test.go (causing unnecessary loops)
    ๐Ÿšš f6a28d5 remove extra Convey statements in common_test.go (causing unnecessary loops)
    โšก๏ธ 4dbdaa3 fix extra conveys and update test with new format
    โœ… 7e3ac36 add another test example when the given is not applicable
    ๐Ÿ“š 0ff3241 add testing documentation
    56a6d2e fix sections in readme
    ๐Ÿ”€ cc3eca8 Merge branch 'master' into standarize-tests
    ๐Ÿ”€ b1fa363 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    โšก๏ธ da7e6d8 update TestIsOptionalComputedWithDefault test with new testing standard
    ๐Ÿ”€ 2924d93 Merge branch 'standarize-tests' of github.com:dikhan/terraform-provider-openapi into standarize-tests
    โšก๏ธ 866ca16 update 2 of the common tests to follow naming standards
    โšก๏ธ 2399230 update TestIsBoolExtensionEnabled test with new testing standard
    โœ… 8d52986 set up the tests before convey to avoid extra not needed loops
    โœ… d0c49c0 create unittest target

  • v0.31.0 Changes

    July 15, 2020

    What's new?

    • ๐Ÿ‘ PR #255 [TechDebt: Issue #256] Support description field in array items schema
    • PR #254 [TechDebt: Issue #253] Add gosec to CI/CD pipeline and address gosec alerts

    ๐Ÿ”„ Changelog

    ๐Ÿš€ 2ef0b0a Merge pull request #257 from dikhan/new-release-0.31.0
    ๐Ÿš€ 9e11d14 new release 0.31.0
    ๐Ÿ”€ fcc2b62 Merge pull request #255 from dikhan/feature/add-array-items-descriptions
    ๐Ÿ”€ 10ac207 Merge branch 'feature/add-array-items-descriptions' of github.com:dikhan/terraform-provider-openapi into feature/add-array-items-descriptions
    0๏ธโƒฃ 1570c5c add default description for parent properties in the doc generator
    ๐Ÿ”จ 1945141 refactor tests avoiding extra loop iterations in convey
    ๐Ÿ‘ 9d8f250 add support for array items description
    ๐Ÿ”€ cd41f2b Merge pull request #254 from dikhan/address-gosec-alerts
    โœ… 521bd03 rename helper test file so its not treated as production code
    โšก๏ธ f674524 go mod dep updates
    ๐Ÿšš a32d96d remove not longer used code that was migrated to commons
    5d5fdb7 add gosec to the contribution guidelines
    3ebc352 add install-deps and make it a dependency of gosec target
    ๐Ÿšš 531cf8a remove not needed filed parentPropertyNames from stub
    โœ… 81db694 add tests for getParentID
    โœ… 37e1db4 ignoring not applicable gosec issue, this code is only used for testing purposes
    โœ… 2e79577 run gosec as part of the test target
    โœ… 52e5167 add gosec target that checks both openapi and tests directories
    ๐Ÿšš aaef93a remove createTmpFile since it was being used only once (no need for the method yet)
    โšก๏ธ 6776310 update resource factory import to check error from data.Set
    51af33c handle error
    f2ca1cf ignore G204
    779a57a ignoring n/a G304
    4e61bfa new version 0.30.1
    8a3fd94 add nosec comments for G101, G304, and G402

  • v0.30.1 Changes

    July 06, 2020

    What's new?

    • โšก๏ธ PR #251 [TechDebt: Issue #250] Update PR template to include issue closing keyword
    • PR #249 [FeatureRequest: Issue #248] Add sections to documentaton generator

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ 0f896de Merge pull request #252 from dikhan/version/0.30.1
    2a77837 new version 0.30.1
    โšก๏ธ d57f1a0 Merge pull request #251 from dikhan/update-PR-with-closing-keyword
    โšก๏ธ f607369 update PR to include closing keyword
    ๐Ÿ”€ 70bb072 Merge pull request #249 from dikhan/feature/add-documentaton-sections
    โšก๏ธ 5abd8c2 update readme to note that the library uses the text/template package
    โšก๏ธ 43b590a update test with text/template
    5687a81 use text/template instead
    โœ… f167a67 comment out printing the resource test output (used for debugging)
    ๐Ÿ–จ 0d66630 fix spacing issue where example title was printing an empty paragraph when there was no title
    ๐Ÿ”€ 9371651 Merge branch 'feature/add-documentaton-sections' of github.com:dikhan/terraform-provider-openapi into feature/add-documentaton-sections
    โšก๏ธ c9d932e update failing tests - changes in spacing
    a46d3c4 add Description property to DataSource
    ๐Ÿ“š 8e2e53c render again the example documentation
    f934557 rename example output file
    ๐Ÿ“š a01f25a fix broken link to example rendered documentation file
    8657068 add provider name to import example
    b1c9c87 add KnownIssues property to Resource
    63d8a17 add Title property to ExampleUsage
    756f414 add provider notes section below table of contents

  • v0.30.0 Changes

    July 01, 2020

    What's new?

    • ๐Ÿ“š PR #246 [FeatureRequest: Issue #245] OpenAPI Terraform automated documentation generator

    ๐Ÿ”„ Changelog

    โšก๏ธ 6528f9a Merge pull request #247 from dikhan/version/update-to-0.30.0
    129770f bump up version to 0.30.0
    ๐Ÿ“š 4fbe17b Update README with a ref to the documentation renderer
    ๐Ÿ”€ 1f51e40 Merge pull request #246 from dikhan/feature/openapi-terraform-doc-renderer
    b5f65ed make arguments more readable for the sake of the example
    โœ… 34d1ef0 add tests to render method
    ๐Ÿ”€ 4c2e6cc Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    โšก๏ธ 736ebd7 update README
    40981e0 add example output
    ๐Ÿšš e01f0a4 move doc render library into pkg folder
    โšก๏ธ 087c0d9 go mod dep updates
    ๐Ÿ‘• d434ba2 rename package to meet lint go standards
    ๐Ÿ“„ 9d5671e add docs NewTerraformProviderDocGenerator
    784520a use example swagger file in main go
    654e1ad show no resources/data sources if lists are empty
    7656a0a fix path
    โšก๏ธ 17dcdb2 fix tests after updating arguments/attributes format
    6d4edea show dash only if description is populated
    8914b96 show required/optional after dash and then description
    ๐Ÿšš a45b9da remove no longer needed files
    f69ea71 remo no longer needed comments
    ๐Ÿ“ฆ 8db3781 fix test after package rename
    ๐Ÿ”€ 18b8596 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    ๐Ÿšš 5851a21 remove render from each struct and have the consumer method renderZendeskHTML figure out the right tempalte and right struct to use
    ๐Ÿ”€ 2707a28 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    โœ… 602c8c6 add TestDataSourcesTmpl
    b681aa8 don't use struct render methods
    57b70d2 move all template related tests to openapi_terraform_template_html_test
    6a7c730 move TestProviderConfigurationTmpl to openapi_terraform_template_html_test
    โœ… c3eb8c7 simplify TestProviderResources_RenderZendesk
    โœ… a082c0a add TestAttributeReferenceTmpl
    ๐Ÿ”€ b1a1d3f Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    โšก๏ธ 533ed10 update TestArgumentReferenceTmpl with test cases
    bb17957 reuse attribute reference
    ๐Ÿ“ฆ 9482b5c remove template package and have all html tmlp in one file
    54d1f36 package rename to openapi_terraform_docs_generator
    ๐Ÿ”€ f284a74 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    d5f7257 add SetParentResourceName to ParentResourceInfo
    โœ… ff24a9a organise structs and tests within their own files
    de91b52 fix compilation error
    79dd007 add public RenderHTML method to pass in the zendesk templates
    โœ… 3965adc add TestContainsResourcesWithSecretProperties
    ๐Ÿ“š 1449f85 refactor documentation structs to hold a reference to their templates
    4800be7 add assertions to check the html output rendered by each template
    โœ… be3021f test resource and data source rendering separately (TestDataSources_RenderZendesk and TestProviderResources_RenderZendesk)
    โšก๏ธ 53848db update signature for GetAllHeaderParameters() on SpecAnalyser
    e8f2791 ignore error from getDataSourceInstances
    ๐Ÿ”€ fd086b8 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    โœ… a903ab0 make template rendering testable
    ๐Ÿ“š f483b64 add error case to GenerateDocumentation - error getting data source filters
    ๐Ÿ”€ 0cf7f1e Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    ๐Ÿ”จ ec72622 refactor doc generator spec analyser stub to return methods
    ๐Ÿ”€ 6b6fe72 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer
    ๐Ÿ“š f3b87f1 add initial test for TestTerraformProviderDocumentation_RenderZendeskHTML
    ๐Ÿ”จ c7002be refactor TestGetSecurity to use a table driven test
    ๐Ÿ”จ 65461bc refactor TestGetRegions to be table driven
    d001cf0 add coverage to ContainsComputedSubProperties
    ๐Ÿ— a830c47 add test coverage for BuildImportIDsExample
    ๐Ÿ“š 5e6710e start to add error test cases for GenerateDocumentation
    ๐Ÿ“š c792ed3 add tests for NewTerraformProviderDocGenerator and GenerateDocumentation
    ๐Ÿ“š 687ded7 fix GenerateDocumentation to return errors
    ๐Ÿ”€ 839d533 Merge branch 'feature/openapi-terraform-doc-renderer' of github.com:dikhan/terraform-provider-openapi into feature/openapi-terraform-doc-renderer

  • v0.29.4 Changes

    June 04, 2020

    What's new?

    • ๐Ÿ›  PR #243 [BugFix: Issue #242] Plugin should not log payload from resource API to prevent printing sensitive props

    ๐Ÿ”„ Changelog

    โšก๏ธ abb36b3 Merge pull request #244 from dikhan/version/update-to-0.29.4
    โšก๏ธ 44c7c99 Merge branch 'master' into version/update-to-0.29.4
    85af2b4 bump up verson to v0.29.4
    ๐Ÿ›  7901741 Merge pull request #243 from dikhan/bugfix/dont-log-req-resp-payloads
    โšก๏ธ 9db7920 update debug entry for req payload
    ๐Ÿšš 1749e29 remove response payload logging to avoid disclosing potential sensitive properties

  • v0.29.3 Changes

    June 01, 2020

    What's new?

    • ๐Ÿ›  PR #240 [BugFix: Issue #239] Ignore list items order if the property is configured with x-ignore-order

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ d4466b5 Merge pull request #241 from dikhan/pump-to-v0.29.3
    c6abc86 pump version to v0.29.3
    ๐Ÿ›  a5700fc Merge pull request #240 from dikhan/bugfix/ignore-order-for-subprorpoerties-too
    โšก๏ธ ff30b76 gomod deps version updates
    ๐Ÿ‘• 5a6ca1e solve lint issue
    875b6b8 ignore order if property is set with ignore order
    โœ… 735fc30 add more test coverage

  • v0.29.2 Changes

    May 20, 2020

    What's new?

    • ๐Ÿ›  PR #237 [BugFix: Issue #236] Don't update the state if the import fails

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ 1b794f8 Merge pull request #238 from dikhan/pump-v-0.29.2
    7533ac6 pump version to v0.29.2
    ๐Ÿ›  c125d4b Merge pull request #237 from dikhan/bugfix/dont-create-state-if-import-failed
    โœ… 9397953 fix TestImporter - if import returns an err, then data should be nil
    5d37b3d if the import fails return the error and set the data to nil

  • v0.29.1 Changes

    May 19, 2020

    What's new?

    • ๐Ÿ‘ PR #234 [FeatureRequest: Issue #233 ] Add support for x-ignore-order
    • ๐Ÿ›  PR #232 [BugFix: Issue #231 ] Import errors when resource to be imported does not exists

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ aee1ba2 Merge pull request #235 from dikhan/new-version/v0.29.1
    76dc67f pump version to 0.29.1
    ๐Ÿ”€ f3028cb Merge pull request #234 from dikhan/feagture/support-for-x-ignore-order
    ๐Ÿ‘ 097e21b add support for x-ignore-order
    ๐Ÿ›  bbf6e65 Merge pull request #232 from dikhan/bugfix/error-when-importing-nonexistent-resource
    ๐Ÿ›  cfa1d86 Merge branch 'bugfix/error-when-importing-nonexistent-resource' of github.com:dikhan/terraform-provider-openapi into bugfix/error-when-importing-nonexistent-resource
    efe7503 integrate readWithOptions into import method
    โœ… 99b28a5 add case to TestReadWithOptions - if error isn't an openapi error
    ๐Ÿšš f8d726f move resourceFactory read logic to readWithOptions

  • v0.29.0 Changes

    May 14, 2020

    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

  • v0.28.1 Changes

    May 01, 2020

    What's new?

    • PR #225 [FeatureRequest: Issue #224] Add telemetry to data sources

    ๐Ÿ”„ Changelog

    ๐Ÿ”€ a02d7cb Merge pull request #226 from dikhan/pump-v-0.28.1
    abadc8e pump version to 0.28.1
    ๐Ÿ”€ 7de5204 Merge pull request #225 from dikhan/add-telemetry-to-data-sources
    โœ… b52901e fix test ensuring we check the expected indexes contain the expected metric
    โœ… f9ea39d fix failing test
    a30327a Integrate submitTelemetryMetric into the resource factory
    aec649a Add TestDataSourceInstanceRead_Fails_NilOpenAPIResource
    โœ… 4d4094d test data source with filters in the integration test too
    โšก๏ธ dc0edb6 Update httpendpoint telemetry e2e test to check data source telemetry
    โšก๏ธ ef68816 update '.terraform.provider' docs
    a937e6d integrate telemetry into dataSourceInstanceFactory read operation
    โœ… 44fb943 add test to TestSubmitTelemetryMetric
    โšก๏ธ ee84ba8 Update data source factory to submit telemetry on read operation
    5dce956 Create new functions to submit telemetry metrics for resources and data sources