From 56a2a90467b511a8f27e6b21a566059cef92f112 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 9 Oct 2026 16:48:12 +0000 Subject: [PATCH] ci(changesets): version packages --- .changeset/changes_api.md | 288 -------------------- .changeset/changes_checkout.md | 100 ------- .changeset/changes_history.md | 16 -- .changeset/harden-path-and-auth-encoding.md | 10 - packages/checkout-sdk/CHANGELOG.md | 101 +++++++ packages/checkout-sdk/package.json | 4 +- packages/history-sdk/CHANGELOG.md | 23 ++ packages/history-sdk/package.json | 6 +- packages/importapi-sdk/CHANGELOG.md | 9 + packages/importapi-sdk/package.json | 4 +- packages/platform-sdk/CHANGELOG.md | 285 +++++++++++++++++++ packages/platform-sdk/package.json | 4 +- packages/sdk-client-v3/CHANGELOG.md | 6 + packages/sdk-client-v3/package.json | 2 +- packages/sdk-client/CHANGELOG.md | 6 + packages/sdk-client/package.json | 2 +- 16 files changed, 441 insertions(+), 425 deletions(-) delete mode 100644 .changeset/changes_api.md delete mode 100644 .changeset/changes_checkout.md delete mode 100644 .changeset/changes_history.md delete mode 100644 .changeset/harden-path-and-auth-encoding.md diff --git a/.changeset/changes_api.md b/.changeset/changes_api.md deleted file mode 100644 index 55e81325a..000000000 --- a/.changeset/changes_api.md +++ /dev/null @@ -1,288 +0,0 @@ ---- -'@commercetools/platform-sdk': minor ---- - -**Api changes** - -
-MarkDeprecated Type(s) - -- marked type `FacetRange` as deprecated -- marked type `FacetResult` as deprecated -- marked type `FacetResults` as deprecated -- marked type `FacetTerm` as deprecated -- marked type `FacetTypes` as deprecated -- marked type `FilteredFacetResult` as deprecated -- marked type `ProductProjectionPagedSearchResponse` as deprecated -- marked type `RangeFacetResult` as deprecated -- marked type `Suggestion` as deprecated -- marked type `SuggestionResult` as deprecated -- marked type `TermFacetResult` as deprecated -- marked type `TermFacetResultType` as deprecated - -
- -
-Removed Type(s) - -- :warning: removed type `Expansion` -- :warning: removed type `QueryPredicate` -- :warning: removed type `Sort` -- :warning: removed type `CircularDependencyError` -- :warning: removed type `MissingDependencyError` -- :warning: removed type `GraphQLCircularDependencyError` -- :warning: removed type `GraphQLMissingDependencyError` - -
- -
-Added Type(s) - -- added type `AgentBusinessUnitAmbiguousError` -- added type `AgentBusinessUnitLimitExceededError` -- added type `AgentBusinessUnitUnresolvedError` -- added type `AgentExtractionFailedError` -- added type `AgentFeatureDisabledError` -- added type `AgentFileNotProcessedWarning` -- added type `AgentMissingCountryError` -- added type `AgentMissingCustomerEmailError` -- added type `AgentMissingEntityTypeError` -- added type `AgentMissingShoppingListNameError` -- added type `AgentNoLineItemsExtractedError` -- added type `AgentOutOfScopeError` -- added type `AgentProductSearchNotEnabledError` -- added type `AgentProductsNotFoundError` -- added type `AgentProductsNotFoundWarning` -- added type `AgentQuoteRequestCreationFailedError` -- added type `AgentResponsesAuthError` -- added type `AgentResponsesCartSuccess` -- added type `AgentResponsesErrorResponse` -- added type `AgentResponsesMultipartRequest` -- added type `AgentResponsesOutputType` -- added type `AgentResponsesPayload` -- added type `AgentResponsesQuoteRequestSuccess` -- added type `AgentResponsesRequest` -- added type `AgentResponsesShoppingListSuccess` -- added type `AgentResponsesSuccess` -- added type `AgentShoppingListCreationFailedError` -- added type `AgentStoreAmbiguousError` -- added type `AgentStoreDistributionChannelsUnsupportedError` -- added type `AgentStoreUnresolvedError` -- added type `GraphQLAgentBusinessUnitAmbiguousError` -- added type `GraphQLAgentBusinessUnitLimitExceededError` -- added type `GraphQLAgentBusinessUnitUnresolvedError` -- added type `GraphQLAgentExtractionFailedError` -- added type `GraphQLAgentFeatureDisabledError` -- added type `GraphQLAgentMissingCountryError` -- added type `GraphQLAgentMissingCustomerEmailError` -- added type `GraphQLAgentMissingEntityTypeError` -- added type `GraphQLAgentMissingShoppingListNameError` -- added type `GraphQLAgentNoLineItemsExtractedError` -- added type `GraphQLAgentOutOfScopeError` -- added type `GraphQLAgentProductSearchNotEnabledError` -- added type `GraphQLAgentProductsNotFoundError` -- added type `GraphQLAgentQuoteRequestCreationFailedError` -- added type `GraphQLAgentShoppingListCreationFailedError` -- added type `GraphQLAgentStoreAmbiguousError` -- added type `GraphQLAgentStoreDistributionChannelsUnsupportedError` -- added type `GraphQLAgentStoreUnresolvedError` -- added type `AbsoluteAllocation` -- added type `AbsoluteAllocationDraft` -- added type `Allocation` -- added type `AllocationDraft` -- added type `EstimatedDelivery` -- added type `PaymentAllocationDraft` -- added type `PaymentStrategy` -- added type `RecurringPaymentAllocation` -- added type `RecurringPaymentConfiguration` -- added type `RecurringPaymentConfigurationDraft` -- added type `RelativeAllocation` -- added type `RelativeAllocationDraft` -- added type `CartAddRecurringPaymentAllocationAction` -- added type `CartRemoveRecurringPaymentAllocationAction` -- added type `CartSetDirectDiscountsIgnoreCartDiscountsAction` -- added type `CartSetEstimatedDeliveryAction` -- added type `CartSetRecurringPaymentConfigurationAction` -- added type `CartSetRecurringPaymentStrategyAction` -- added type `CategoryAddStoreAction` -- added type `CategoryRemoveStoreAction` -- added type `CategorySetStoresAction` -- added type `ExtensionCircularDependencyError` -- added type `GraphQLExtensionCircularDependencyError` -- added type `CartEstimatedDeliverySetMessage` -- added type `OrderEstimatedDeliverySetMessage` -- added type `StoreCheckoutUrlTemplateSetMessage` -- added type `StoreContactUrlSetMessage` -- added type `StoreCookiePolicyUrlSetMessage` -- added type `StoreFaqUrlSetMessage` -- added type `StoreImprintUrlSetMessage` -- added type `StoreOrderUrlTemplateSetMessage` -- added type `StorePrivacyPolicyUrlSetMessage` -- added type `StoreRefundPolicyUrlSetMessage` -- added type `StoreShippingPolicyUrlSetMessage` -- added type `StoreTermsOfServiceUrlSetMessage` -- added type `CartEstimatedDeliverySetMessagePayload` -- added type `OrderEstimatedDeliverySetMessagePayload` -- added type `StoreCheckoutUrlTemplateSetMessagePayload` -- added type `StoreContactUrlSetMessagePayload` -- added type `StoreCookiePolicyUrlSetMessagePayload` -- added type `StoreFaqUrlSetMessagePayload` -- added type `StoreImprintUrlSetMessagePayload` -- added type `StoreOrderUrlTemplateSetMessagePayload` -- added type `StorePrivacyPolicyUrlSetMessagePayload` -- added type `StoreRefundPolicyUrlSetMessagePayload` -- added type `StoreShippingPolicyUrlSetMessagePayload` -- added type `StoreTermsOfServiceUrlSetMessagePayload` -- added type `StagedOrderSetDirectDiscountsIgnoreCartDiscountsAction` -- added type `OrderSetEstimatedDeliveryAction` -- added type `ProductTypeSetSavedToLineItemAction` -- added type `ShippingMethodSetCarrierAction` -- added type `Storefront` -- added type `StoreSetCheckoutUrlTemplateAction` -- added type `StoreSetContactUrlAction` -- added type `StoreSetCookiePolicyUrlAction` -- added type `StoreSetFaqUrlAction` -- added type `StoreSetImprintUrlAction` -- added type `StoreSetOrderUrlTemplateAction` -- added type `StoreSetPrivacyPolicyUrlAction` -- added type `StoreSetRefundPolicyUrlAction` -- added type `StoreSetShippingPolicyUrlAction` -- added type `StoreSetTermsOfServiceUrlAction` -- added type `TaxRoundingTarget` -- added type `TypeRemoveEnumValuesAction` -- added type `TypeRemoveLocalizedEnumValuesAction` - -
- -
-Removed Property(s) - -- :warning: removed property `productId` from type `VariantCreatedMessage` -- :warning: removed property `productId` from type `VariantCreatedMessagePayload` - -
- -
-Added Property(s) - -- added property `directDiscountsIgnoreCartDiscounts` to type `Cart` -- added property `recurringPaymentConfiguration` to type `Cart` -- added property `directDiscountsIgnoreCartDiscounts` to type `CartDraft` -- added property `participateInBestDealSelection` to type `DirectDiscount` -- added property `participateInBestDealSelection` to type `DirectDiscountDraft` -- added property `taxRoundingTarget` to type `ExternalTaxRateDraft` -- added property `estimatedDelivery` to type `ShippingInfo` -- added property `estimatedDelivery` to type `CartAddShippingMethodAction` -- added property `estimatedDelivery` to type `CartSetCustomShippingMethodAction` -- added property `estimatedDelivery` to type `CartSetShippingMethodAction` -- added property `stores` to type `Category` -- added property `stores` to type `CategoryDraft` -- added property `product` to type `VariantCreatedMessage` -- added property `product` to type `VariantDeletedMessage` -- added property `product` to type `VariantImageAddedMessage` -- added property `product` to type `VariantImagesSetMessage` -- added property `product` to type `VariantKeySetMessage` -- added property `product` to type `VariantPublishedMessage` -- added property `product` to type `VariantSkuSetMessage` -- added property `product` to type `VariantStagedChangesRemovedMessage` -- added property `product` to type `VariantCreatedMessagePayload` -- added property `product` to type `VariantDeletedMessagePayload` -- added property `product` to type `VariantImageAddedMessagePayload` -- added property `product` to type `VariantImagesSetMessagePayload` -- added property `product` to type `VariantKeySetMessagePayload` -- added property `product` to type `VariantPublishedMessagePayload` -- added property `product` to type `VariantSkuSetMessagePayload` -- added property `product` to type `VariantStagedChangesRemovedMessagePayload` -- added property `directDiscountsIgnoreCartDiscounts` to type `StagedOrder` -- added property `taxedPrice` to type `CustomLineItemImportDraft` -- added property `taxedPrice` to type `LineItemImportDraft` -- added property `directDiscountsIgnoreCartDiscounts` to type `Order` -- added property `taxedPrice` to type `ShippingInfoImportDraft` -- added property `savedToLineItem` to type `AttributeDefinition` -- added property `savedToLineItem` to type `AttributeDefinitionDraft` -- added property `directDiscountsIgnoreCartDiscounts` to type `QuoteRequest` -- added property `directDiscountsIgnoreCartDiscounts` to type `Quote` -- added property `carrier` to type `ShippingMethod` -- added property `carrier` to type `ShippingMethodDraft` -- added property `storefront` to type `Store` -- added property `storefront` to type `StoreDraft` -- added property `taxRoundingTarget` to type `TaxRate` -- added property `taxRoundingTarget` to type `TaxRateDraft` -- added property `restockableInDays` to type `VariantAttributesAvailability` -- added property `restockableInDays` to type `VariantAttributesChannelAvailability` - -
- -
-Changed Property(s) - -- :warning: changed property `expand` of type `ProductSearchProjectionParams` from type `Expansion[]` to `string[]` - -
- -
-MarkDeprecated Property(s) - -- marked property `FacetResult::type` as deprecated -- marked property `FacetResults::/^[a-z].*$/` as deprecated -- marked property `FilteredFacetResult::type` as deprecated -- marked property `ProductProjectionPagedSearchResponse::facets` as deprecated -- marked property `RangeFacetResult::type` as deprecated -- marked property `TermFacetResult::type` as deprecated -- marked property `TermFacetResult::dataType` as deprecated - -
- -
-Added Enum(s) - -- added enum `IntakeAgent` to type `AttributionSource` -- added enum `PromotionsAgent` to type `AttributionSource` -- added enum `ManagedCommerceMCP` to type `AttributionSource` -- added enum `mcp-server` to type `ReferenceTypeId` -- added enum `product` to type `ExtensionResourceTypeId` -- added enum `InMigration` to type `ProductCatalogModel` -- added enum `variant` to type `ChangeSubscriptionResourceTypeId` -- added enum `variant` to type `MessageSubscriptionResourceTypeId` - -
- -
-Added Resource(s) - -- added resource `/{projectKey}/agents` -- added resource `/{projectKey}/agents/intake` -- added resource `/{projectKey}/agents/intake/v1` -- added resource `/{projectKey}/agents/intake/v1/responses` -- added resource `/{projectKey}/in-store/key={storeKey}/categories` -- added resource `/{projectKey}/in-store/key={storeKey}/categories/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/categories/{ID}` - -
- -
-Added Method(s) - -- added method `apiRoot.withProjectKey().agents().intake().v1().responses().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().delete()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().delete()` - -
- -
-MarkDeprecated Method(s) - -- marked method `post /{projectKey}/product-projections/search` as deprecated -- marked method `get /{projectKey}/product-projections/search` as deprecated -- marked method `get /{projectKey}/product-projections/suggest` as deprecated - -
diff --git a/.changeset/changes_checkout.md b/.changeset/changes_checkout.md deleted file mode 100644 index a079db41f..000000000 --- a/.changeset/changes_checkout.md +++ /dev/null @@ -1,100 +0,0 @@ ---- -'@commercetools/checkout-sdk': minor ---- - -**Checkout changes** - -
-Added Type(s) - -- added type `PaymentMethodReference` -- added type `ConnectorTimeoutError` -- added type `InternalConstraintViolatedError` -- added type `PaginatedRecurringPaymentJob` -- added type `RecurringPaymentJob` -- added type `RecurringPaymentJobDraft` -- added type `RecurringPaymentJobError` -- added type `RecurringPaymentJobState` -- added type `RecurringPaymentJobStatus` -- added type `PaginatedRecurringPayment` -- added type `PaymentMethodConfiguration` -- added type `RecurringOrderReference` -- added type `RecurringPayment` -- added type `RecurringPaymentDraft` -- added type `RecurringPaymentReference` -- added type `RecurringPaymentAddPaymentMethodConfigurationUpdateAction` -- added type `RecurringPaymentSetKeyUpdateAction` -- added type `RecurringPaymentSetPaymentMethodConfigurationUpdateAction` -- added type `RecurringPaymentSetRecurringOrderUpdateAction` -- added type `RecurringPaymentUpdateAction` -- added type `RecurringPaymentUpdateActions` -- added type `TransactionItemPaymentIntegration` -- added type `TransactionItemPaymentIntegrationDraft` -- added type `TransactionItemRecurring` -- added type `TransactionItemRecurringDraft` - -
- -
-Removed Property(s) - -- :warning: removed property `paymentIntegration` from type `TransactionItem` -- :warning: removed property `paymentIntegration` from type `TransactionItemDraft` - -
- -
-Added Property(s) - -- added property `type` to type `TransactionItem` -- added property `type` to type `TransactionItemDraft` - -
- -
-Required Property(s) - -- :warning: changed property `cart` of type `Transaction` to be required - -
- -
-Added Enum(s) - -- added enum `payment-method` to type `ReferenceTypeId` -- added enum `recurring-payment` to type `ReferenceTypeId` -- added enum `recurring-order` to type `ReferenceTypeId` - -
- -
-Added Resource(s) - -- added resource `/{projectKey}/recurring-payment-jobs` -- added resource `/{projectKey}/recurring-payments` -- added resource `/{projectKey}/recurring-payment-jobs/{id}` -- added resource `/{projectKey}/recurring-payment-jobs/key={key}` -- added resource `/{projectKey}/recurring-payments/{id}` -- added resource `/{projectKey}/recurring-payments/key={key}` - -
- -
-Added Method(s) - -- added method `apiRoot.withProjectKey().recurringPaymentJobs().get()` -- added method `apiRoot.withProjectKey().recurringPaymentJobs().post()` -- added method `apiRoot.withProjectKey().recurringPayments().get()` -- added method `apiRoot.withProjectKey().recurringPayments().post()` -- added method `apiRoot.withProjectKey().recurringPaymentJobs().withId().get()` -- added method `apiRoot.withProjectKey().recurringPaymentJobs().withId().delete()` -- added method `apiRoot.withProjectKey().recurringPaymentJobs().withKey().get()` -- added method `apiRoot.withProjectKey().recurringPaymentJobs().withKey().delete()` -- added method `apiRoot.withProjectKey().recurringPayments().withId().get()` -- added method `apiRoot.withProjectKey().recurringPayments().withId().post()` -- added method `apiRoot.withProjectKey().recurringPayments().withId().delete()` -- added method `apiRoot.withProjectKey().recurringPayments().withKey().get()` -- added method `apiRoot.withProjectKey().recurringPayments().withKey().post()` -- added method `apiRoot.withProjectKey().recurringPayments().withKey().delete()` - -
diff --git a/.changeset/changes_history.md b/.changeset/changes_history.md deleted file mode 100644 index 5f86d4982..000000000 --- a/.changeset/changes_history.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@commercetools/history-sdk': minor ---- - -**History changes** - -
-Added QueryParameter(s) - -- added query parameter `userIds` to method `get /{projectKey}` -- added query parameter `resourceIds` to method `get /{projectKey}` -- added query parameter `userIds` to method `get /{projectKey}/{resourceType}` -- added query parameter `resourceIds` to method `get /{projectKey}/{resourceType}` -- added query parameter `userIds` to method `get /{projectKey}/{resourceType}/{ID}` - -
diff --git a/.changeset/harden-path-and-auth-encoding.md b/.changeset/harden-path-and-auth-encoding.md deleted file mode 100644 index c5322b292..000000000 --- a/.changeset/harden-path-and-auth-encoding.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@commercetools/platform-sdk': patch -'@commercetools/history-sdk': patch -'@commercetools/importapi-sdk': patch -'@commercetools/checkout-sdk': patch -'@commercetools/sdk-client-v2': patch -'@commercetools/ts-client': patch ---- - -Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. diff --git a/packages/checkout-sdk/CHANGELOG.md b/packages/checkout-sdk/CHANGELOG.md index 4cb84daa9..6b05b5226 100644 --- a/packages/checkout-sdk/CHANGELOG.md +++ b/packages/checkout-sdk/CHANGELOG.md @@ -1,5 +1,106 @@ # @commercetools/checkout-sdk +## 2.1.0 + +### Minor Changes + +- [#1479](https://github.com/commercetools/commercetools-sdk-typescript/pull/1479) [`fe2648f`](https://github.com/commercetools/commercetools-sdk-typescript/commit/fe2648f979773b7df53297263420c27a2ada9837) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Checkout changes** + +
+ Added Type(s) + - added type `PaymentMethodReference` + - added type `ConnectorTimeoutError` + - added type `InternalConstraintViolatedError` + - added type `PaginatedRecurringPaymentJob` + - added type `RecurringPaymentJob` + - added type `RecurringPaymentJobDraft` + - added type `RecurringPaymentJobError` + - added type `RecurringPaymentJobState` + - added type `RecurringPaymentJobStatus` + - added type `PaginatedRecurringPayment` + - added type `PaymentMethodConfiguration` + - added type `RecurringOrderReference` + - added type `RecurringPayment` + - added type `RecurringPaymentDraft` + - added type `RecurringPaymentReference` + - added type `RecurringPaymentAddPaymentMethodConfigurationUpdateAction` + - added type `RecurringPaymentSetKeyUpdateAction` + - added type `RecurringPaymentSetPaymentMethodConfigurationUpdateAction` + - added type `RecurringPaymentSetRecurringOrderUpdateAction` + - added type `RecurringPaymentUpdateAction` + - added type `RecurringPaymentUpdateActions` + - added type `TransactionItemPaymentIntegration` + - added type `TransactionItemPaymentIntegrationDraft` + - added type `TransactionItemRecurring` + - added type `TransactionItemRecurringDraft` + +
+ +
+ Removed Property(s) + - :warning: removed property `paymentIntegration` from type `TransactionItem` + - :warning: removed property `paymentIntegration` from type `TransactionItemDraft` + +
+ +
+ Added Property(s) + - added property `type` to type `TransactionItem` + - added property `type` to type `TransactionItemDraft` + +
+ +
+ Required Property(s) + - :warning: changed property `cart` of type `Transaction` to be required + +
+ +
+ Added Enum(s) + - added enum `payment-method` to type `ReferenceTypeId` + - added enum `recurring-payment` to type `ReferenceTypeId` + - added enum `recurring-order` to type `ReferenceTypeId` + +
+ +
+ Added Resource(s) + - added resource `/{projectKey}/recurring-payment-jobs` + - added resource `/{projectKey}/recurring-payments` + - added resource `/{projectKey}/recurring-payment-jobs/{id}` + - added resource `/{projectKey}/recurring-payment-jobs/key={key}` + - added resource `/{projectKey}/recurring-payments/{id}` + - added resource `/{projectKey}/recurring-payments/key={key}` + +
+ +
+ Added Method(s) + - added method `apiRoot.withProjectKey().recurringPaymentJobs().get()` + - added method `apiRoot.withProjectKey().recurringPaymentJobs().post()` + - added method `apiRoot.withProjectKey().recurringPayments().get()` + - added method `apiRoot.withProjectKey().recurringPayments().post()` + - added method `apiRoot.withProjectKey().recurringPaymentJobs().withId().get()` + - added method `apiRoot.withProjectKey().recurringPaymentJobs().withId().delete()` + - added method `apiRoot.withProjectKey().recurringPaymentJobs().withKey().get()` + - added method `apiRoot.withProjectKey().recurringPaymentJobs().withKey().delete()` + - added method `apiRoot.withProjectKey().recurringPayments().withId().get()` + - added method `apiRoot.withProjectKey().recurringPayments().withId().post()` + - added method `apiRoot.withProjectKey().recurringPayments().withId().delete()` + - added method `apiRoot.withProjectKey().recurringPayments().withKey().get()` + - added method `apiRoot.withProjectKey().recurringPayments().withKey().post()` + - added method `apiRoot.withProjectKey().recurringPayments().withKey().delete()` + +
+ +### Patch Changes + +- [#1480](https://github.com/commercetools/commercetools-sdk-typescript/pull/1480) [`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c) Thanks [@jenschude](https://github.com/jenschude)! - Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. + +- Updated dependencies [[`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c)]: + - @commercetools/ts-client@5.1.1 + ## 2.0.1 ### Patch Changes diff --git a/packages/checkout-sdk/package.json b/packages/checkout-sdk/package.json index 2a2d2fa38..01cb871ca 100644 --- a/packages/checkout-sdk/package.json +++ b/packages/checkout-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/checkout-sdk", - "version": "2.0.1", + "version": "2.1.0", "engines": { "node": ">=22" }, @@ -26,7 +26,7 @@ "./dist/commercetools-checkout-sdk.esm.js": "./dist/commercetools-checkout-sdk.browser.esm.js" }, "dependencies": { - "@commercetools/ts-client": "^5.0.1" + "@commercetools/ts-client": "^5.1.1" }, "devDependencies": { "organize-imports-cli": "1.0.2", diff --git a/packages/history-sdk/CHANGELOG.md b/packages/history-sdk/CHANGELOG.md index cc66f4d15..00b4e9012 100644 --- a/packages/history-sdk/CHANGELOG.md +++ b/packages/history-sdk/CHANGELOG.md @@ -1,5 +1,28 @@ # @commercetools/history-sdk +## 6.3.0 + +### Minor Changes + +- [#1479](https://github.com/commercetools/commercetools-sdk-typescript/pull/1479) [`fe2648f`](https://github.com/commercetools/commercetools-sdk-typescript/commit/fe2648f979773b7df53297263420c27a2ada9837) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **History changes** + +
+ Added QueryParameter(s) + - added query parameter `userIds` to method `get /{projectKey}` + - added query parameter `resourceIds` to method `get /{projectKey}` + - added query parameter `userIds` to method `get /{projectKey}/{resourceType}` + - added query parameter `resourceIds` to method `get /{projectKey}/{resourceType}` + - added query parameter `userIds` to method `get /{projectKey}/{resourceType}/{ID}` + +
+ +### Patch Changes + +- [#1480](https://github.com/commercetools/commercetools-sdk-typescript/pull/1480) [`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c) Thanks [@jenschude](https://github.com/jenschude)! - Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. + +- Updated dependencies [[`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c)]: + - @commercetools/ts-client@5.1.1 + ## 6.2.0 ### Minor Changes diff --git a/packages/history-sdk/package.json b/packages/history-sdk/package.json index 6f0902a8b..a9db0652c 100644 --- a/packages/history-sdk/package.json +++ b/packages/history-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/history-sdk", - "version": "6.2.0", + "version": "6.3.0", "engines": { "node": ">=22" }, @@ -26,10 +26,10 @@ "./dist/commercetools-history-sdk.esm.js": "./dist/commercetools-history-sdk.browser.esm.js" }, "dependencies": { - "@commercetools/ts-client": "^5.1.0" + "@commercetools/ts-client": "^5.1.1" }, "devDependencies": { - "@commercetools/platform-sdk": "9.6.0", + "@commercetools/platform-sdk": "9.7.0", "@types/uuid": "11.0.0", "organize-imports-cli": "1.0.2", "tsconfig-replace-paths": "0.0.14", diff --git a/packages/importapi-sdk/CHANGELOG.md b/packages/importapi-sdk/CHANGELOG.md index acd9c5a40..6aa954708 100644 --- a/packages/importapi-sdk/CHANGELOG.md +++ b/packages/importapi-sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @commercetools/importapi-sdk +## 7.1.2 + +### Patch Changes + +- [#1480](https://github.com/commercetools/commercetools-sdk-typescript/pull/1480) [`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c) Thanks [@jenschude](https://github.com/jenschude)! - Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. + +- Updated dependencies [[`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c)]: + - @commercetools/ts-client@5.1.1 + ## 7.1.1 ### Patch Changes diff --git a/packages/importapi-sdk/package.json b/packages/importapi-sdk/package.json index d8f86ebdc..5c61af2ba 100644 --- a/packages/importapi-sdk/package.json +++ b/packages/importapi-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/importapi-sdk", - "version": "7.1.1", + "version": "7.1.2", "engines": { "node": ">=22" }, @@ -26,7 +26,7 @@ "./dist/commercetools-importapi-sdk.esm.js": "./dist/commercetools-importapi-sdk.browser.esm.js" }, "dependencies": { - "@commercetools/ts-client": "^5.0.1" + "@commercetools/ts-client": "^5.1.1" }, "devDependencies": { "@types/uuid": "11.0.0", diff --git a/packages/platform-sdk/CHANGELOG.md b/packages/platform-sdk/CHANGELOG.md index fcf39953e..7864f801d 100644 --- a/packages/platform-sdk/CHANGELOG.md +++ b/packages/platform-sdk/CHANGELOG.md @@ -1,5 +1,290 @@ # @commercetools/platform-sdk +## 9.7.0 + +### Minor Changes + +- [#1479](https://github.com/commercetools/commercetools-sdk-typescript/pull/1479) [`fe2648f`](https://github.com/commercetools/commercetools-sdk-typescript/commit/fe2648f979773b7df53297263420c27a2ada9837) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Api changes** + +
+ MarkDeprecated Type(s) + - marked type `FacetRange` as deprecated + - marked type `FacetResult` as deprecated + - marked type `FacetResults` as deprecated + - marked type `FacetTerm` as deprecated + - marked type `FacetTypes` as deprecated + - marked type `FilteredFacetResult` as deprecated + - marked type `ProductProjectionPagedSearchResponse` as deprecated + - marked type `RangeFacetResult` as deprecated + - marked type `Suggestion` as deprecated + - marked type `SuggestionResult` as deprecated + - marked type `TermFacetResult` as deprecated + - marked type `TermFacetResultType` as deprecated + +
+ +
+ Removed Type(s) + - :warning: removed type `Expansion` + - :warning: removed type `QueryPredicate` + - :warning: removed type `Sort` + - :warning: removed type `CircularDependencyError` + - :warning: removed type `MissingDependencyError` + - :warning: removed type `GraphQLCircularDependencyError` + - :warning: removed type `GraphQLMissingDependencyError` + +
+ +
+ Added Type(s) + - added type `AgentBusinessUnitAmbiguousError` + - added type `AgentBusinessUnitLimitExceededError` + - added type `AgentBusinessUnitUnresolvedError` + - added type `AgentExtractionFailedError` + - added type `AgentFeatureDisabledError` + - added type `AgentFileNotProcessedWarning` + - added type `AgentMissingCountryError` + - added type `AgentMissingCustomerEmailError` + - added type `AgentMissingEntityTypeError` + - added type `AgentMissingShoppingListNameError` + - added type `AgentNoLineItemsExtractedError` + - added type `AgentOutOfScopeError` + - added type `AgentProductSearchNotEnabledError` + - added type `AgentProductsNotFoundError` + - added type `AgentProductsNotFoundWarning` + - added type `AgentQuoteRequestCreationFailedError` + - added type `AgentResponsesAuthError` + - added type `AgentResponsesCartSuccess` + - added type `AgentResponsesErrorResponse` + - added type `AgentResponsesMultipartRequest` + - added type `AgentResponsesOutputType` + - added type `AgentResponsesPayload` + - added type `AgentResponsesQuoteRequestSuccess` + - added type `AgentResponsesRequest` + - added type `AgentResponsesShoppingListSuccess` + - added type `AgentResponsesSuccess` + - added type `AgentShoppingListCreationFailedError` + - added type `AgentStoreAmbiguousError` + - added type `AgentStoreDistributionChannelsUnsupportedError` + - added type `AgentStoreUnresolvedError` + - added type `GraphQLAgentBusinessUnitAmbiguousError` + - added type `GraphQLAgentBusinessUnitLimitExceededError` + - added type `GraphQLAgentBusinessUnitUnresolvedError` + - added type `GraphQLAgentExtractionFailedError` + - added type `GraphQLAgentFeatureDisabledError` + - added type `GraphQLAgentMissingCountryError` + - added type `GraphQLAgentMissingCustomerEmailError` + - added type `GraphQLAgentMissingEntityTypeError` + - added type `GraphQLAgentMissingShoppingListNameError` + - added type `GraphQLAgentNoLineItemsExtractedError` + - added type `GraphQLAgentOutOfScopeError` + - added type `GraphQLAgentProductSearchNotEnabledError` + - added type `GraphQLAgentProductsNotFoundError` + - added type `GraphQLAgentQuoteRequestCreationFailedError` + - added type `GraphQLAgentShoppingListCreationFailedError` + - added type `GraphQLAgentStoreAmbiguousError` + - added type `GraphQLAgentStoreDistributionChannelsUnsupportedError` + - added type `GraphQLAgentStoreUnresolvedError` + - added type `AbsoluteAllocation` + - added type `AbsoluteAllocationDraft` + - added type `Allocation` + - added type `AllocationDraft` + - added type `EstimatedDelivery` + - added type `PaymentAllocationDraft` + - added type `PaymentStrategy` + - added type `RecurringPaymentAllocation` + - added type `RecurringPaymentConfiguration` + - added type `RecurringPaymentConfigurationDraft` + - added type `RelativeAllocation` + - added type `RelativeAllocationDraft` + - added type `CartAddRecurringPaymentAllocationAction` + - added type `CartRemoveRecurringPaymentAllocationAction` + - added type `CartSetDirectDiscountsIgnoreCartDiscountsAction` + - added type `CartSetEstimatedDeliveryAction` + - added type `CartSetRecurringPaymentConfigurationAction` + - added type `CartSetRecurringPaymentStrategyAction` + - added type `CategoryAddStoreAction` + - added type `CategoryRemoveStoreAction` + - added type `CategorySetStoresAction` + - added type `ExtensionCircularDependencyError` + - added type `GraphQLExtensionCircularDependencyError` + - added type `CartEstimatedDeliverySetMessage` + - added type `OrderEstimatedDeliverySetMessage` + - added type `StoreCheckoutUrlTemplateSetMessage` + - added type `StoreContactUrlSetMessage` + - added type `StoreCookiePolicyUrlSetMessage` + - added type `StoreFaqUrlSetMessage` + - added type `StoreImprintUrlSetMessage` + - added type `StoreOrderUrlTemplateSetMessage` + - added type `StorePrivacyPolicyUrlSetMessage` + - added type `StoreRefundPolicyUrlSetMessage` + - added type `StoreShippingPolicyUrlSetMessage` + - added type `StoreTermsOfServiceUrlSetMessage` + - added type `CartEstimatedDeliverySetMessagePayload` + - added type `OrderEstimatedDeliverySetMessagePayload` + - added type `StoreCheckoutUrlTemplateSetMessagePayload` + - added type `StoreContactUrlSetMessagePayload` + - added type `StoreCookiePolicyUrlSetMessagePayload` + - added type `StoreFaqUrlSetMessagePayload` + - added type `StoreImprintUrlSetMessagePayload` + - added type `StoreOrderUrlTemplateSetMessagePayload` + - added type `StorePrivacyPolicyUrlSetMessagePayload` + - added type `StoreRefundPolicyUrlSetMessagePayload` + - added type `StoreShippingPolicyUrlSetMessagePayload` + - added type `StoreTermsOfServiceUrlSetMessagePayload` + - added type `StagedOrderSetDirectDiscountsIgnoreCartDiscountsAction` + - added type `OrderSetEstimatedDeliveryAction` + - added type `ProductTypeSetSavedToLineItemAction` + - added type `ShippingMethodSetCarrierAction` + - added type `Storefront` + - added type `StoreSetCheckoutUrlTemplateAction` + - added type `StoreSetContactUrlAction` + - added type `StoreSetCookiePolicyUrlAction` + - added type `StoreSetFaqUrlAction` + - added type `StoreSetImprintUrlAction` + - added type `StoreSetOrderUrlTemplateAction` + - added type `StoreSetPrivacyPolicyUrlAction` + - added type `StoreSetRefundPolicyUrlAction` + - added type `StoreSetShippingPolicyUrlAction` + - added type `StoreSetTermsOfServiceUrlAction` + - added type `TaxRoundingTarget` + - added type `TypeRemoveEnumValuesAction` + - added type `TypeRemoveLocalizedEnumValuesAction` + +
+ +
+ Removed Property(s) + - :warning: removed property `productId` from type `VariantCreatedMessage` + - :warning: removed property `productId` from type `VariantCreatedMessagePayload` + +
+ +
+ Added Property(s) + - added property `directDiscountsIgnoreCartDiscounts` to type `Cart` + - added property `recurringPaymentConfiguration` to type `Cart` + - added property `directDiscountsIgnoreCartDiscounts` to type `CartDraft` + - added property `participateInBestDealSelection` to type `DirectDiscount` + - added property `participateInBestDealSelection` to type `DirectDiscountDraft` + - added property `taxRoundingTarget` to type `ExternalTaxRateDraft` + - added property `estimatedDelivery` to type `ShippingInfo` + - added property `estimatedDelivery` to type `CartAddShippingMethodAction` + - added property `estimatedDelivery` to type `CartSetCustomShippingMethodAction` + - added property `estimatedDelivery` to type `CartSetShippingMethodAction` + - added property `stores` to type `Category` + - added property `stores` to type `CategoryDraft` + - added property `product` to type `VariantCreatedMessage` + - added property `product` to type `VariantDeletedMessage` + - added property `product` to type `VariantImageAddedMessage` + - added property `product` to type `VariantImagesSetMessage` + - added property `product` to type `VariantKeySetMessage` + - added property `product` to type `VariantPublishedMessage` + - added property `product` to type `VariantSkuSetMessage` + - added property `product` to type `VariantStagedChangesRemovedMessage` + - added property `product` to type `VariantCreatedMessagePayload` + - added property `product` to type `VariantDeletedMessagePayload` + - added property `product` to type `VariantImageAddedMessagePayload` + - added property `product` to type `VariantImagesSetMessagePayload` + - added property `product` to type `VariantKeySetMessagePayload` + - added property `product` to type `VariantPublishedMessagePayload` + - added property `product` to type `VariantSkuSetMessagePayload` + - added property `product` to type `VariantStagedChangesRemovedMessagePayload` + - added property `directDiscountsIgnoreCartDiscounts` to type `StagedOrder` + - added property `taxedPrice` to type `CustomLineItemImportDraft` + - added property `taxedPrice` to type `LineItemImportDraft` + - added property `directDiscountsIgnoreCartDiscounts` to type `Order` + - added property `taxedPrice` to type `ShippingInfoImportDraft` + - added property `savedToLineItem` to type `AttributeDefinition` + - added property `savedToLineItem` to type `AttributeDefinitionDraft` + - added property `directDiscountsIgnoreCartDiscounts` to type `QuoteRequest` + - added property `directDiscountsIgnoreCartDiscounts` to type `Quote` + - added property `carrier` to type `ShippingMethod` + - added property `carrier` to type `ShippingMethodDraft` + - added property `storefront` to type `Store` + - added property `storefront` to type `StoreDraft` + - added property `taxRoundingTarget` to type `TaxRate` + - added property `taxRoundingTarget` to type `TaxRateDraft` + - added property `restockableInDays` to type `VariantAttributesAvailability` + - added property `restockableInDays` to type `VariantAttributesChannelAvailability` + +
+ +
+ Changed Property(s) + - :warning: changed property `expand` of type `ProductSearchProjectionParams` from type `Expansion[]` to `string[]` + +
+ +
+ MarkDeprecated Property(s) + - marked property `FacetResult::type` as deprecated + - marked property `FacetResults::/^[a-z].*$/` as deprecated + - marked property `FilteredFacetResult::type` as deprecated + - marked property `ProductProjectionPagedSearchResponse::facets` as deprecated + - marked property `RangeFacetResult::type` as deprecated + - marked property `TermFacetResult::type` as deprecated + - marked property `TermFacetResult::dataType` as deprecated + +
+ +
+ Added Enum(s) + - added enum `IntakeAgent` to type `AttributionSource` + - added enum `PromotionsAgent` to type `AttributionSource` + - added enum `ManagedCommerceMCP` to type `AttributionSource` + - added enum `mcp-server` to type `ReferenceTypeId` + - added enum `product` to type `ExtensionResourceTypeId` + - added enum `InMigration` to type `ProductCatalogModel` + - added enum `variant` to type `ChangeSubscriptionResourceTypeId` + - added enum `variant` to type `MessageSubscriptionResourceTypeId` + +
+ +
+ Added Resource(s) + - added resource `/{projectKey}/agents` + - added resource `/{projectKey}/agents/intake` + - added resource `/{projectKey}/agents/intake/v1` + - added resource `/{projectKey}/agents/intake/v1/responses` + - added resource `/{projectKey}/in-store/key={storeKey}/categories` + - added resource `/{projectKey}/in-store/key={storeKey}/categories/key={key}` + - added resource `/{projectKey}/in-store/key={storeKey}/categories/{ID}` + +
+ +
+ Added Method(s) + - added method `apiRoot.withProjectKey().agents().intake().v1().responses().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withKey().delete()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().categories().withId().delete()` + +
+ +
+ MarkDeprecated Method(s) + - marked method `post /{projectKey}/product-projections/search` as deprecated + - marked method `get /{projectKey}/product-projections/search` as deprecated + - marked method `get /{projectKey}/product-projections/suggest` as deprecated + +
+ +### Patch Changes + +- [#1480](https://github.com/commercetools/commercetools-sdk-typescript/pull/1480) [`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c) Thanks [@jenschude](https://github.com/jenschude)! - Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. + +- Updated dependencies [[`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c)]: + - @commercetools/ts-client@5.1.1 + ## 9.6.0 ### Minor Changes diff --git a/packages/platform-sdk/package.json b/packages/platform-sdk/package.json index 3aa49e1e9..b9530740f 100644 --- a/packages/platform-sdk/package.json +++ b/packages/platform-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/platform-sdk", - "version": "9.6.0", + "version": "9.7.0", "engines": { "node": ">=22" }, @@ -26,7 +26,7 @@ "./dist/commercetools-platform-sdk.esm.js": "./dist/commercetools-platform-sdk.browser.esm.js" }, "dependencies": { - "@commercetools/ts-client": "^5.1.0" + "@commercetools/ts-client": "^5.1.1" }, "devDependencies": { "@types/uuid": "11.0.0", diff --git a/packages/sdk-client-v3/CHANGELOG.md b/packages/sdk-client-v3/CHANGELOG.md index b1779838b..8a7227949 100644 --- a/packages/sdk-client-v3/CHANGELOG.md +++ b/packages/sdk-client-v3/CHANGELOG.md @@ -1,5 +1,11 @@ # @commercetools/ts-client +## 5.1.1 + +### Patch Changes + +- [#1480](https://github.com/commercetools/commercetools-sdk-typescript/pull/1480) [`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c) Thanks [@jenschude](https://github.com/jenschude)! - Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. + ## 5.1.0 ### Minor Changes diff --git a/packages/sdk-client-v3/package.json b/packages/sdk-client-v3/package.json index d1c2aff5b..bf29e6b01 100644 --- a/packages/sdk-client-v3/package.json +++ b/packages/sdk-client-v3/package.json @@ -1,6 +1,6 @@ { "name": "@commercetools/ts-client", - "version": "5.1.0", + "version": "5.1.1", "engines": { "node": ">=22" }, diff --git a/packages/sdk-client/CHANGELOG.md b/packages/sdk-client/CHANGELOG.md index edea32910..622535f03 100644 --- a/packages/sdk-client/CHANGELOG.md +++ b/packages/sdk-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @commercetools/sdk-client-v2 +## 4.0.2 + +### Patch Changes + +- [#1480](https://github.com/commercetools/commercetools-sdk-typescript/pull/1480) [`4e52e6e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4e52e6e9266a9eeb57a7005aac04c7ec4d36cf5c) Thanks [@jenschude](https://github.com/jenschude)! - Harden request building against injection. Path parameters of `.` or `..` are now rejected (`encodeURIComponent` does not encode dots). The OAuth request builders now encode `anonymousId` and `projectKey`, and escape `% & + = #` in scopes. + ## 4.0.1 ### Patch Changes diff --git a/packages/sdk-client/package.json b/packages/sdk-client/package.json index 86b24ee5c..7614f4a04 100644 --- a/packages/sdk-client/package.json +++ b/packages/sdk-client/package.json @@ -1,6 +1,6 @@ { "name": "@commercetools/sdk-client-v2", - "version": "4.0.1", + "version": "4.0.2", "engines": { "node": ">=22" },