Skip to content

Releases: labd/terraform-provider-commercetools

v1.5.1

04 Oct 09:55
Compare
Choose a tag to compare

Changelog

  • 0d1cdd6 Add support for importing commercetools_state_transitions
  • be475ed Fix resource_state_transitions when migrating from 1.4.3
  • dc4e5c2 Update changelog

v1.5.0

30 Sep 10:00
Compare
Choose a tag to compare

Changelog

  • 2eded28 Add example for google cloud extensions
  • b66eacd Add mutex for state transition id collection
  • 89fc7e4 Add support for price functions on shipping zone rate tiers
  • f7f3f45 Consolidate price and priceFunction
  • 1de940a Implement separate resource for state_transitions
  • 88fe9ef Refactor the code for shipping zone rates.
  • 35af7c0 Remove error return from elementFromSlice func
  • 820b3cb Revert "Add support for price functions on shipping zone rate tiers"
  • 95b1451 Revert "Consolidate price and priceFunction"
  • 383fe6e Set release date
  • 2c4d32d Update changelog
  • 3ec7224 Update docs
  • 916f184 Upgrade to run with Go 1.19

v1.4.3

23 Sep 10:04
Compare
Choose a tag to compare

Changelog

  • cb5e584 Add missing custom value tests
  • ae74f40 Add missing import
  • c761d6f Add support for custom field date time type
  • 91fd3d7 Add support for custom field date type
  • 3889bfa Add support for custom field time type
  • 649295a Fix Azure functions authentication for the api extension
  • ad679a1 Fix AzureEventGrid for the Subscription resource
  • acd36e5 Fix Product discount value type validation
  • 553e358 Fix validate func name
  • 1ceb809 Handle custom field enum type explicitly
  • d88f1bc Handle custom field menu type
  • 9611096 Handle custom field reference type
  • 59136fb Handle custom field string type explicitly
  • 776474d Update README.md
  • 3418b3f Update changelog
  • d65ec33 Update custom field encode error messages
  • 71d741b Update docs
  • 58a1f11 Update tests.yml
  • 517f2ad Update tests.yml
  • 0249049 Use other filename for coverage file
  • 4407928 Write channel key to state file when reading

v1.4.2

24 Aug 13:53
Compare
Choose a tag to compare

Changelog

v1.4.1

19 Aug 11:23
Compare
Choose a tag to compare

Changelog

  • bd9eea8 Fix product_type enums not being parsed correctly
  • 5bb41ab Fix subscription example
  • 1354074 Move state migrate related logic to separate files
  • 329b35a Run make docs
  • c50809b Update changelog for 1.4.1
  • 4c51b8e go mod tidy

v1.4.0

18 Aug 07:45
Compare
Choose a tag to compare

Changelog

  • 6f6df54 Add fraction digits
  • ee71f80 Add product discount examples
  • 4a3b065 Add product discount resource
  • 670a1cb Don't write state for update actions when operation failed
  • e7b899b Fix a bug in resource_subscription removing changes or messages
  • 1296e05 Fix schema migration for enums
  • ac2ecc2 Fix setting custom field values
  • 9aa0e02 Parse absolute money
  • bd108a1 Persist shipping tier rates in state
  • 4c0e0c7 Remove TODO note
  • f6489f3 Remove deeply nested if statements in schema migrations
  • 877cc13 Remove redundant info logs
  • 04c7931 Remove unnecessary check
  • b03cd1f Remove unneeded check if a resource is nil
  • b2d8895 Remove unneeded log statements
  • d4658ca Replace interface{} with any
  • 29a9dac Serialize cent precision money
  • 3baeaf6 Set product discount fraction digits when provided
  • ece6e63 Use a switch statement instead of a long if/else clause
  • 0a9d5cb Use nilIfEmpty for setting key
  • 372343c Use the resource version from the terraform state
  • 8a8335c product_discount: Delete unrelated attributes
  • ab27020 product_discount: Make fraction digits computed only
  • 5a80206 resource_api_extension: Fix handling of masked secrets
  • f83a748 update changelog

v1.3.0

03 Aug 14:38
Compare
Choose a tag to compare

Changelog

  • edffdd4 Fix example for set types (#283)
  • 5b91d8b Set release date for 1.3.0
  • fe9cc67 fix(docs): cart discount target is a block instead of a map

v1.3.0-pre.0

08 Jul 12:09
Compare
Choose a tag to compare

Changelog

  • 6712aaa Accept a trailing slash in the token url
  • 8464d4b Add acceptance tests for channel resource
  • ba871ca Add descriptions to the type fields
  • a2fe6fa Add examples for enum and set
  • 677a8d8 Add product type validation tests
  • 95d4d7d Add support for custom fields on commercetools_channel resource
  • 20282b8 Add support for custom fields on commercetools_store resource.
  • 7c32d7a Add support for custom fields on category resource
  • b207faa Add support for custom fields on discount code
  • a00a51b Add support for custom fields on shipping methods
  • 30dc2b0 Add test for product types in combination with enums
  • 52c0a6a Add tests for custom fields on store resource
  • aa13c94 Add the tools/tools.go from the terraform scaffolding example
  • 9b45e35 Add the failing attribute order updates test
  • 024e088 Add type schema v1 fixes in tests
  • 8e0f25c Add validation to type names in product_type / type
  • 5154cc3 Add valueElement
  • 4845dbb Check enum type name before upgrading
  • 464139f Delete unused utility function
  • 4801ab8 Duplicate type.field validation in product_type.attribute
  • e3826ea Expand product type attribute type
  • 5acd900 Feat: update logic to set the user-agent string used by the provider
  • c8254a2 Fix casting of UpdateActions
  • c0d58f1 Fix indentation
  • 5738ac9 Fix minor typo
  • 35c1164 Fix predicate handling in shipping_method resource
  • d426c7d Fix product type test data
  • 7528768 Fix product_type tests
  • 17386f0 Fix range error while setting product type attributes
  • 4ee0428 Fix test
  • 58cc841 Fix tests
  • 00d6f4d Fix tests for provider implementation
  • a14e6e1 Fix the test case for attribute enum values
  • c5b013b Fix typo
  • 015707b Fix unterminated quoted string error
  • 59a0f26 Fixing some typos and issues
  • 1cde624 Fixing some typos and issues
  • b2d8ae2 Fixing some typos and issues
  • 0d067e2 Flatten product type attributes
  • 42277d0 Implement all fields of the channel resource
  • e2a6092 Implement the removeEnumValue action for product_type
  • 15a65b8 Improve acceptance tests for custom types
  • ad1c256 Improve test case by checking created resource
  • cc1eb97 Improve test logic for stores as proof-of-concept
  • 8691a4e Improve tests for stores
  • 28a43bb Improve the acceptance tests
  • 4ff4f29 Improve the error handling
  • 38b2296 Include remote product type test in each steps
  • 174f0b6 Minor
  • f5e820e Naming
  • a6451da Naming
  • 0ab5860 Naming
  • 59c4169 Naming
  • 852effb Re-format test
  • 8411d76 Regenerate docs
  • f2436a7 Regenerate the docs
  • 4729197 Remove duplicated project_key from example
  • f82ef3e Remove some logging
  • ddf599a Remove temporary test for product_type
  • bf0f5c9 Remove unused update-sdk target
  • 9d75ddf Remove unused script
  • ade6dd7 Remove useless print statements for debugging
  • 588b8ee Rename file to helpers_test.go to satisfy staticcheck
  • 7b4b399 Replace all interface{}s with any
  • 592bebb Replace word field with attr
  • dd31cf2 Rewrite the resource_product_type update logic
  • b92d1c6 Rewrite the resource_type update logic
  • 340cf5f Small feedback items
  • 621772b Update CHANGELOG.md
  • b8660d5 Update changelog
  • 1d96198 Update changelog for enum change
  • 104caf7 Update docker syntax in example
  • 4ae353f Update docs
  • e6b52d9 Update staticcheck
  • 5347aa9 Update test formatting (no functional changes)
  • 0c813f6 Use TF_LOG=INFO for testing
  • ff3b182 Use generics for the CustomFieldUpdateActions
  • dcb8d64 Use list for defining attribute enum values in product type
  • 4e598dd Write the custom fields to the state when reading resources
  • fab51fb add support for customer-group custom fields
  • 26ba20d add vscode configuration files to ease development
  • 3180f2a fix(404): expand 404 cases
  • 8ec5878 fix(shipping_method): tax_category_id is a required attribute
  • 991fa2b type: Use list for defining field enum values

v1.2.1

16 Jun 20:17
Compare
Choose a tag to compare

Fix api_extension resource to not error out when the new condition field is not defined. (#261)

Full Changelog: v1.2.0...v1.2.1

v1.2.0

15 Jun 20:43
Compare
Choose a tag to compare
  • Fix shipping_zone locations ordering by switching to a set instead of a list
    of locations (#259)
  • Add aliases for destination and platform on subscription and extension
    resources (#245, #247, #251)
  • Add condition field to api extension resource
  • Add support for terraform import on the api_extension resource
  • Improve error handling, show errors returned by commercetools in terraform
    output.

Full Changelog: v1.1.0...v1.2.0