Skip to content

Releases: commercetools/commercetools-sdk-java-v2

7.4.0

21 Jan 13:14
0c88d92
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #230
  • Update generated SDKs by @github-actions in #234
  • Update generated SDKs by @github-actions in #236
  • Update generated SDKs by @github-actions in #239
  • support custom deserialization per request by @jenschude in #235
  • Improve internal logger by @jenschude in #241
    adds option to customize the logging level for responses and deprecation notices (default: Info)
  • adds support for Order search endpoint
  • model implementation classes can be written out as a string using the ModelBase#reflectionString method
  • added methods for type safe retrieval of Attribute values to the AttributeAccessor class

Fixes

  • In-Store cart query returns correct type instead Object
  • query parameter customerId has been removed from Cart queries due to mapping issues use projectApiRoot.carts().withCustomerId() instead
  • fixed type for field custom in CartDiscountDraft from CustomField to CustomFieldDraft
  • fixed ApiHttpResponse#getBodyAsString method if response body is null

Breaking changes

  • removed the inventories endpoint from the Import API modules

Full Changelog: 7.3.0...7.4.0

7.3.0

07 Dec 12:04
503a767
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.2.0...7.3.0

7.2.0

22 Nov 09:01
2298a54
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #218

Fix

  • fix type for value of CartDiscount. Changed from CartDiscountDraft to CartDiscount

Full Changelog: 7.1.0...7.2.0

7.1.0

19 Nov 09:27
680d5c9
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #215

  • add option for an Auth CircuitBreaker by @jenschude in #219
    Can be activated using the ApiRoot or ClientBuilder e.g.:

    ApiRootBuilder.of()
        .withAuthCircuitBreaker()
    
  • Fix dropping of custom CorrelationId using the compatibility layer

  • Update dependencies by @renovate-bot

Full Changelog: 7.0.0...7.1.0

7.0.0

25 Oct 09:09
2496eb2
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #208
  • fix double encoding issue in compat layer by @jenschude in #217
  • model Classes are not final anymore - Closes #199
  • DiscountedPrice model has now separate read & write models - Closes #213
  • LineItemImportDraft now uses long for quantity - Closes #203

Full Changelog: 6.4.0...7.0.0

6.4.0

06 Oct 11:38
758002b
Compare
Choose a tag to compare

What's Changed

  • add querying helper by @jenschude in #207
    import com.commercetools.api.client.QueryUtils;
    
    QueryUtils.queryAll(request, list -> {
        list.forEach(someFn);
    }, 100).toCompletableFuture().join();
    

Full Changelog: 6.3.0...6.4.0

6.3.0

04 Oct 10:07
d3ff22e
Compare
Choose a tag to compare
Merge pull request #200 from commercetools/gen-sdk-updates

6.2.3

04 Oct 09:41
d3ff22e
Compare
Choose a tag to compare
Merge pull request #200 from commercetools/gen-sdk-updates

6.2.2

28 Sep 08:03
6.2.2
f14b87e
Compare
Choose a tag to compare

6.2.1

22 Sep 12:48
6.2.1
47ed672
Compare
Choose a tag to compare
  • fix package for ProjectApiRoot
    Package has been changed from com.commercetools..defaultconfig to com.commercetools..client, e.g.: com.commercetools.api.client.ProjectApiRoot instead of com.commercetools.api.defaultconfig.ProjectApiRoot