Skip to content

Releases: commercetools/commercetools-sync-java

2.1.0

22 Sep 10:32
4c5234c
Compare
Choose a tag to compare

2.0.0

14 Sep 09:21
0e01950
Compare
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
Compare
Choose a tag to compare

1.9.0

27 Jul 09:53
729a053
Compare
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
Compare
Choose a tag to compare

1.8.1

23 Apr 14:31
32dfe71
Compare
Choose a tag to compare

1.8.0

17 Jan 14:31
94f9a25
Compare
Choose a tag to compare

1.7.0

07 Jan 16:00
c70657b
Compare
Choose a tag to compare

1.6.1

17 Oct 08:01
dbe8c7e
Compare
Choose a tag to compare

1.6.0

10 Oct 08:29
d0b2a98
Compare
Choose a tag to compare