Skip to content

Releases: commercetools/commercetools-sync-java

3.0.0

18 Nov 19:54
d05cc21

Choose a tag to compare

3.0.0

With this release, we added support for syncing shopping lists.

For more details, please check:

2.3.0

15 Oct 10:06
3e7db6e

Choose a tag to compare

2.3.0

With this release, we added support for syncing customers. #579

For more details, please check:

2.2.1

29 Sep 10:52
2d9fcf9

Choose a tag to compare

2.2.0

25 Sep 15:07
9059dab

Choose a tag to compare

2.1.0

22 Sep 10:32
4c5234c

Choose a tag to compare

2.0.0

14 Sep 09:21
0e01950

Choose a tag to compare

2.0.0

Breaking Changes ⚠️

Sync options improvements:

The signatures of the errorCallback and warningCallback changed and their parameter lists are extended, so the library user will have more control and context like resource draft and update actions.

  • For errorCallback
    • (String errorMessage, Throwable exception) =>
      (SyncException exception, V newResourceDraft, U oldResource, List<UpdateAction<U>> updateActions)
  • For warningCallback
    • (String warningMessage) =>
      (SyncException exception, V newResourceDraft, U oldResource,)
Reference resolution improvements:

When implementing the sync in the beginning API has only Reference fields for DraftResource and users of the sync library were putting the key in the id field for reference resolution, which was confusing, now API and JVM SDK support ResourceIdentifiers and it supports id or key as a field. Now sync library prefers all References supplied as ResourceIdentifier.ofKey("key") or ResourceIdentifier.ofId("id") (in case a Reference ID of the target project is known already).
Or you could use directly our new reference resolution utilities (for example mapToProductDrafts).

Additionally, if the resource doesn't exist the sync will fail fast as soon as the resource is not found, before attempting to create/update the resource with the unresolved reference, that will improve the performance of the library.

1.9.1

05 Aug 10:39
81618aa

Choose a tag to compare

1.9.0

27 Jul 09:53
729a053

Choose a tag to compare

1.9.0

With this release, we start to support, TaxCategory and State sync.

1.8.2

04 May 13:32

Choose a tag to compare

1.8.1

23 Apr 14:31
32dfe71

Choose a tag to compare