Skip to content

Releases: commercetools/commercetools-dotnet-core-sdk-v2

14.1.0

06 Oct 09:27
d8069fb
Compare
Choose a tag to compare

New features

  • adds support for the checkout APIs
  • adds a new generic custom object
  • support the new parameters to filter attributes

What's Changed

  • Update changelog by @ct-sdks[bot] in #486
  • Update generated SDKs by @ct-sdks[bot] in #487
  • Checkout sdk by @jenschude in #488
  • add generic custom object by @jenschude in #489
  • fix checkout SDK by @jenschude in #490
  • Update generated SDKs by @ct-sdks[bot] in #491
  • Update generated SDKs by @ct-sdks[bot] in #492
  • Update generated SDKs by @ct-sdks[bot] in #493
  • Update generated SDKs by @ct-sdks[bot] in #494
  • Update generated SDKs by @ct-sdks[bot] in #495
  • Update generated SDKs by @ct-sdks[bot] in #496

Api changes

Added Type(s)
  • added type PaymentTransactionInterfaceIdSetMessage
  • added type PaymentTransactionInterfaceIdSetMessagePayload
  • added type PaymentSetTransactionInterfaceIdAction
  • added type DiscountCombinationMode
  • added type DiscountsConfiguration
  • added type ProjectSetDiscountsConfigurationAction
  • added type SearchFuzzyExpression
  • added type SearchFuzzyValue
Added QueryParameter(s)
  • added query parameter filter[attributes] to method get /{projectKey}/product-projections
  • added query parameter filter[attributes] to method get /{projectKey}/product-projections/key={key}
  • added query parameter filter[attributes] to method get /{projectKey}/product-projections/{ID}
  • added query parameter filter[attributes] to method get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
  • added query parameter filter[attributes] to method get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}
Required Property(s)
  • changed property startsAt of type RecurringOrderDraft to be optional
Removed Property(s)
  • ⚠️ removed property skipConfiguration from type RecurringOrderSetOrderSkipConfigurationAction
Added Property(s)
  • added property applicationMode to type CartDiscountValueRelative
  • added property applicationMode to type CartDiscountValueRelativeDraft
  • added property interfaceId to type MyTransactionDraft
  • added property interfaceId to type Transaction
  • added property interfaceId to type TransactionDraft
  • added property discounts to type Project
  • added property skipConfigurationInputDraft to type RecurringOrderSetOrderSkipConfigurationAction

Full Changelog: 14.0.0...14.1.0

14.0.0

12 Sep 11:57
3b5902a
Compare
Choose a tag to compare

Breaking Changes

We changed in the GraphQL package the mapping of Json type fields from System.Text.Json.Nodes.JsonValue to System.Text.Json.Nodes.JsonNode to support array and object values.

What's Changed

  • Update changelog by @ct-sdks[bot] in #483
  • Update generated SDKs by @ct-sdks[bot] in #484
  • map Json type fields to JsonNode to support arrays & objects by @jenschude in #485

Full Changelog: 13.1.0...14.0.0

13.1.0

01 Sep 12:57
74f9953
Compare
Choose a tag to compare

Api changes

Added Property(s)
  • added property isActive to type DiscountGroup
  • added property isActive to type DiscountGroupDraft
  • added property minCartQuantity to type InventoryEntry
  • added property maxCartQuantity to type InventoryEntry
  • added property minCartQuantity to type InventoryEntryDraft
  • added property maxCartQuantity to type InventoryEntryDraft
  • added property expiresAt to type RecurringOrderDraft
Added Type(s)
  • added type DiscountGroupSetIsActiveAction
  • added type MaxDiscountGroupsReachedError
  • added type GraphQLMaxDiscountGroupsReachedError
  • added type InventoryEntrySetInventoryLimitsAction
  • added type CustomerDefaultBillingAddressSetMessage
  • added type CustomerDefaultShippingAddressSetMessage
  • added type CustomerStoresSetMessage
  • added type DiscountGroupIsActiveSetMessage
  • added type RecurringOrderExpiresAtSetMessage
  • added type CustomerDefaultBillingAddressSetMessagePayload
  • added type CustomerDefaultShippingAddressSetMessagePayload
  • added type CustomerStoresSetMessagePayload
  • added type DiscountGroupIsActiveSetMessagePayload
  • added type RecurringOrderExpiresAtSetMessagePayload
  • added type RecurringOrderSetExpiresAtAction
Added Method(s)
  • added method apiRoot.withProjectKey().recurrencePolicies().withKey().delete()
  • added method apiRoot.withProjectKey().recurrencePolicies().withId().delete()
Added Enum(s)
  • added enum discount-group to type ChangeSubscriptionResourceTypeId

Import changes

Added Type(s)
  • added type AssociateRoleKeyReference
  • added type BusinessUnitKeyReference
  • added type BusinessUnitImportRequest
  • added type AssociateRoleInheritanceMode
  • added type BusinessUnitStatus
  • added type BusinessUnitAssociateMode
  • added type BusinessUnitApprovalRuleMode
  • added type BusinessUnitStoreMode
  • added type BusinessUnitType
  • added type AssociateRoleAssignmentDraft
  • added type AssociateDraft
  • added type BusinessUnitImport
  • added type CompanyBusinessUnitImport
  • added type DivisionBusinessUnitImport
Added Resource(s)
  • added resource /{projectKey}/business-units
  • added resource /{projectKey}/business-units/import-containers
  • added resource /{projectKey}/business-units/import-containers/{importContainerKey}
Added Method(s)
  • added method apiRoot.withProjectKeyValue().businessUnits().importContainers().withImportContainerKeyValue().post()
Added Enum(s)
  • added enum business-unit to type ImportResourceType
  • added enum associate-role to type ReferenceType
  • added enum business-unit to type ReferenceType

What's Changed

  • Update changelog by @ct-sdks[bot] in #472
  • Update generated SDKs by @ct-sdks[bot] in #473
  • Update generated SDKs by @ct-sdks[bot] in #474
  • Update generated SDKs by @ct-sdks[bot] in #475
  • Update generated SDKs by @ct-sdks[bot] in #476
  • Update generated SDKs by @ct-sdks[bot] in #478
  • Update generated SDKs by @ct-sdks[bot] in #479
  • Update generated SDKs by @ct-sdks[bot] in #480
  • Update generated SDKs by @ct-sdks[bot] in #481
  • Update generated SDKs by @ct-sdks[bot] in #482

Full Changelog: 13.0.0...13.1.0

13.0.0

25 Jul 06:54
6a67827
Compare
Choose a tag to compare

Breaking Changes

The field paymentMethodInfo in type PaymentDraft and MyPaymentDraft has been changed from PaymentMethodInfo to PaymentMethodInfoDraft. For IPaymentMethodInfo and ICustomFields a helper method ToDraft has been added.

New Features

Adds support for Discount Groups and Recurring Orders

Adds support for product level attributes

What's Changed

  • Update changelog by @ct-sdks[bot] in #458
  • Update generated SDKs by @ct-sdks[bot] in #459
  • Update generated SDKs by @ct-sdks[bot] in #460
  • add permissions to GH workflows by @jenschude in #461
  • Update generated SDKs by @ct-sdks[bot] in #462
  • Update generated SDKs by @ct-sdks[bot] in #463
  • Update generated SDKs by @ct-sdks[bot] in #464
  • Add region addresses to Example by @jenschude in #465
  • Update generated SDKs by @ct-sdks[bot] in #466
  • Update generated SDKs by @ct-sdks[bot] in #467
  • Update generated SDKs by @ct-sdks[bot] in #468
  • Update generated SDKs by @ct-sdks[bot] in #469
  • Update generated SDKs by @ct-sdks[bot] in #470

Full Changelog: 12.13.0...13.0.0

12.13.0

03 Jun 12:45
bc2756a
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #453
  • Update generated SDKs by @ct-sdks in #454
  • Update generated SDKs by @ct-sdks in #455
  • Update generated SDKs by @ct-sdks in #456
  • Update generated SDKs by @ct-sdks in #457

Import changes

Removed Property(s)
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type SearchKeywords
  • ⚠️ removed property /^[a-z]{2}(-[A-Z]{2})?$/ from type LocalizedString
Added Property(s)
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type SearchKeywords
  • added property /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/ to type LocalizedString

Full Changelog: 12.12.0...12.13.0

12.12.0

05 May 08:19
37c938f
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #451
  • Update generated SDKs by @ct-sdks in #452

Api changes

Added Property(s)
  • added property published to type ShoppingListLineItem

Full Changelog: 12.11.0...12.12.0

12.11.0

29 Apr 08:50
7725b03
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #442
  • Events sdk fixes by @jenschude in #443
  • Update generated SDKs by @ct-sdks in #444
  • Update generated SDKs by @ct-sdks in #448
  • add instore query methods by @jenschude in #446
  • Fix NPE for AsDecimal extension methods by @jenschude in #450

Full Changelog: 12.10.0...12.11.0

12.10.0

01 Apr 07:45
9e339cb
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #429
  • Update generated SDKs by @ct-sdks in #430
  • bump system.text.json by @jenschude in #431
  • Create semgrep.yml by @jenschude in #432
  • Update generated SDKs by @ct-sdks in #433
  • Update generated SDKs by @ct-sdks in #435
  • Update generated SDKs by @ct-sdks in #437
  • Update generated SDKs by @ct-sdks in #439
  • add interfaces for ProjectApiRoot by @jenschude in #440
  • Fix serialization of Dates for Import API by @jenschude in #441

Api changes

Added QueryParameter(s)
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/products
  • added query parameter priceCustomerGroupAssignments to method post /{projectKey}/products
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/products/key={key}
  • added query parameter priceCustomerGroupAssignments to method post /{projectKey}/products/key={key}
  • added query parameter priceCustomerGroupAssignments to method delete /{projectKey}/products/key={key}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/products/{ID}
  • added query parameter priceCustomerGroupAssignments to method post /{projectKey}/products/{ID}
  • added query parameter priceCustomerGroupAssignments to method delete /{projectKey}/products/{ID}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections/search
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections/key={key}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/product-projections/{ID}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}
  • added query parameter priceCustomerGroupAssignments to method get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}
Removed QueryParameter(s)
  • ⚠️ removed query parameter withTotal from method get /{projectKey}/product-projections/search
Added Type(s)
  • added type CustomerGroupAssignment
  • added type CustomerGroupAssignmentDraft
  • added type CustomerAddCustomerGroupAssignmentAction
  • added type CustomerRemoveCustomerGroupAssignmentAction
  • added type CustomerSetCustomerGroupAssignmentsAction
  • added type CustomerGroupAssignmentAddedMessage
  • added type CustomerGroupAssignmentRemovedMessage
  • added type CustomerGroupAssignmentsSetMessage
  • added type CustomerGroupAssignmentAddedMessagePayload
  • added type CustomerGroupAssignmentRemovedMessagePayload
  • added type CustomerGroupAssignmentsSetMessagePayload
Required Property(s)
  • changed property facets of type ProductProjectionPagedSearchResponse to be optional
Added Property(s)
  • added property customerGroupAssignments to type Customer
  • added property customerGroupAssignments to type CustomerDraft
  • added property priceCustomerGroupAssignments to type ProductSearchProjectionParams

Full Changelog: 12.9.0...12.10.0

12.9.0

17 Mar 11:36
b3c1649
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #425
  • add interface for paged response types by @jenschude in #427
  • Update generated SDKs by @ct-sdks in #428

Full Changelog: 12.8.0...12.9.0

12.8.0

12 Mar 11:59
fc6f0df
Compare
Choose a tag to compare

What's Changed

  • Update changelog by @ct-sdks in #414
  • Update generated SDKs by @ct-sdks in #415
  • Update generated SDKs by @ct-sdks in #416
  • Update generated SDKs by @ct-sdks in #417
  • Update generated SDKs by @ct-sdks in #418
  • Add constructors to LocalizedString by @jenschude in #420
  • Update generated SDKs by @ct-sdks in #421
  • Update generated SDKs by @ct-sdks in #423
  • update ZeroQL by @jenschude in #424

Api changes

Added Enum(s)
  • added enum ViewMyShoppingLists to type Permission
  • added enum ViewOthersShoppingLists to type Permission
  • added enum UpdateMyShoppingLists to type Permission
  • added enum UpdateOthersShoppingLists to type Permission
  • added enum CreateMyShoppingLists to type Permission
  • added enum CreateOthersShoppingLists to type Permission
  • added enum DeleteMyShoppingLists to type Permission
  • added enum DeleteOthersShoppingLists to type Permission
Added Type(s)
  • added type BusinessUnitAssociateResponse
  • added type BestDeal
  • added type DiscountTypeCombination
  • added type Stacking
  • added type OrderBusinessUnitSetMessage
  • added type OrderBusinessUnitSetMessagePayload
  • added type StagedOrderSetBusinessUnitAction
  • added type OrderSetBusinessUnitAction
Added Resource(s)
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}
  • added resource /{projectKey}/business-units/key={key}/associates/{associateId}
  • added resource /{projectKey}/business-units/{businessUnitId}/associates/{associateId}
  • added resource /{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}
  • added resource /{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}
Added Method(s)
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().delete()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().delete()
  • added method apiRoot.withProjectKey().businessUnits().keyWithKeyValueAssociatesWithAssociateIdValue().get()
  • added method apiRoot.withProjectKey().businessUnits().withBusinessUnitIdValueAssociatesWithAssociateIdValue().get()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().keyWithKeyValueAssociatesWithAssociateIdValue().get()
  • added method apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withBusinessUnitIdValueAssociatesWithAssociateIdValue().get()
Added Property(s)
  • added property discountTypeCombination to type Cart
  • added property discountTypeCombination to type StagedOrder
  • added property discountTypeCombination to type Order
MarkDeprecated Property(s)
  • marked property CountOnCustomLineItemUnits::excludeCount as deprecated
  • marked property CountOnLineItemUnits::excludeCount as deprecated

Full Changelog: 12.7.0...12.8.0