From 23af51d05d73311abf79d716a16c728ee0cb7ac2 Mon Sep 17 00:00:00 2001
From: PRAVEEN KUMAR VENKATESHAPPA
<72923003+praveenkumarct@users.noreply.github.com>
Date: Mon, 31 May 2021 13:20:32 +0200
Subject: [PATCH] release preparation v5.1.2 (#739)
* release preparation v5.1.2
* Add dependency updates.
---
README.md | 16 ++++++++--------
docs/README.md | 16 ++++++++--------
docs/RELEASE_NOTES.md | 13 +++++++++++++
docs/usage/CART_DISCOUNT_SYNC.md | 4 ++--
docs/usage/CATEGORY_SYNC.md | 4 ++--
docs/usage/CUSTOMER_SYNC.md | 4 ++--
docs/usage/CUSTOM_OBJECT_SYNC.md | 2 +-
docs/usage/IMPORTANT_USAGE_TIPS.md | 2 +-
docs/usage/INVENTORY_SYNC.md | 4 ++--
docs/usage/PRODUCT_SYNC.md | 4 ++--
docs/usage/PRODUCT_TYPE_SYNC.md | 4 ++--
docs/usage/QUICK_START.md | 4 ++--
docs/usage/SHOPPING_LIST_SYNC.md | 4 ++--
docs/usage/STATE_SYNC.md | 4 ++--
docs/usage/TAX_CATEGORY_SYNC.md | 2 +-
docs/usage/TYPE_SYNC.md | 2 +-
mkdocs.yml | 2 +-
17 files changed, 52 insertions(+), 39 deletions(-)
diff --git a/README.md b/README.md
index b008fbe334..1db56b85e3 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
# commercetools sync
[](https://github.com/commercetools/commercetools-sync-java/actions?query=workflow%3ACI)
[](https://codecov.io/gh/commercetools/commercetools-sync-java)
-[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
-[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/5.1.1/jar)
-[](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/)
+[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
+[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/5.1.2/jar)
+[](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/)
[](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
More at https://commercetools.github.io/commercetools-sync-java
@@ -40,7 +40,7 @@ The library supports synchronising the following entities in commercetools
- [Ivy](#ivy)
- [Roadmap](#roadmap)
- [Release Notes](/docs/RELEASE_NOTES.md)
-- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/)
+- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/)
- [Benchmarks](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
@@ -83,24 +83,24 @@ Here are the most popular ones:
com.commercetools
commercetools-sync-java
- 5.1.1
+ 5.1.2
````
#### Gradle
````groovy
-implementation 'com.commercetools:commercetools-sync-java:5.1.1'
+implementation 'com.commercetools:commercetools-sync-java:5.1.2'
````
#### SBT
````
-libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "5.1.1"
+libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "5.1.2"
````
#### Ivy
````xml
-
+
````
diff --git a/docs/README.md b/docs/README.md
index 73c71387c2..1e708f8379 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -2,10 +2,10 @@
# commercetools sync
[](https://github.com/commercetools/commercetools-sync-java/actions?query=workflow%3ACI)
[](https://codecov.io/gh/commercetools/commercetools-sync-java)
-[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
-[ ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
-[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/5.1.1/jar)
-[](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/)
+[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
+[ ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
+[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/5.1.2/jar)
+[](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/)
[](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
@@ -59,18 +59,18 @@ Here are the most popular ones:
com.commercetools
commercetools-sync-java
- 5.1.1
+ 5.1.2
````
#### Gradle
````groovy
-implementation 'com.commercetools:commercetools-sync-java:5.1.1'
+implementation 'com.commercetools:commercetools-sync-java:5.1.2'
````
#### SBT
````
-libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "5.1.1"
+libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "5.1.2"
````
#### Ivy
````xml
-
+
````
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index cf917db1b1..9afecefbc9 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -27,6 +27,19 @@
7. Add Migration guide section which specifies explicitly if there are breaking changes and how to tackle them.
-->
+### 5.1.2 - May 31, 2021
+[Commits](https://github.com/commercetools/commercetools-sync-java/compare/5.1.1...5.1.2) |
+[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/) |
+[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/5.1.2)
+
+- 🐞 **Bug Fixes** (1)
+ - **Product Sync** - The user is now aware of unresolvable references as the transform service will not skip the products.
+
+- 🛠️ **Dependency Updates** (3)
+ - `com.github.ben-manes.versions 0.38.0` -> `0.39.0`
+ - `caffeineVersion 2.8.5` -> `2.9.1`
+ - `netty-codec-http 4.1.64.Final` -> `4.1.65.Final`
+
### 5.1.1 - May 18, 2021
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/5.1.0...5.1.1) |
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/) |
diff --git a/docs/usage/CART_DISCOUNT_SYNC.md b/docs/usage/CART_DISCOUNT_SYNC.md
index 9a9cee51d2..3b36083a6f 100644
--- a/docs/usage/CART_DISCOUNT_SYNC.md
+++ b/docs/usage/CART_DISCOUNT_SYNC.md
@@ -36,7 +36,7 @@ against a [CartDiscountDraft](https://docs.commercetools.com/http-api-projects-c
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -67,7 +67,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toCartDiscountDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/cartdiscounts/utils/CartDiscountTransformUtils.html#toCartDiscountDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toCartDiscountDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/cartdiscounts/utils/CartDiscountTransformUtils.html#toCartDiscountDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `CartDiscount` to `CartDiscountDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/CATEGORY_SYNC.md b/docs/usage/CATEGORY_SYNC.md
index 419b352758..228911e729 100644
--- a/docs/usage/CATEGORY_SYNC.md
+++ b/docs/usage/CATEGORY_SYNC.md
@@ -36,7 +36,7 @@ against a [CategoryDraft](https://docs.commercetools.com/http-api-projects-categ
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -135,7 +135,7 @@ As soon, as the referenced parent Category draft is supplied to the sync, the dr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toCategoryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/categories/utils/CategoryTransformUtils.html#toCategoryDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toCategoryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/categories/utils/CategoryTransformUtils.html#toCategoryDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `Category` to `CategoryDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/CUSTOMER_SYNC.md b/docs/usage/CUSTOMER_SYNC.md
index 053e7fd17a..bef18e6580 100644
--- a/docs/usage/CUSTOMER_SYNC.md
+++ b/docs/usage/CUSTOMER_SYNC.md
@@ -35,7 +35,7 @@ against a [CustomerDraft](https://docs.commercetools.com/api/projects/customers#
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -69,7 +69,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toCustomerDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/customers/utils/CustomerTransformUtils.html#toCustomerDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toCustomerDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/customers/utils/CustomerTransformUtils.html#toCustomerDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `Customer` to `CustomerDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/CUSTOM_OBJECT_SYNC.md b/docs/usage/CUSTOM_OBJECT_SYNC.md
index aa65f9a779..250c8f9db9 100644
--- a/docs/usage/CUSTOM_OBJECT_SYNC.md
+++ b/docs/usage/CUSTOM_OBJECT_SYNC.md
@@ -31,7 +31,7 @@ against a [CustomObjectDraft](https://docs.commercetools.com/http-api-projects-c
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
diff --git a/docs/usage/IMPORTANT_USAGE_TIPS.md b/docs/usage/IMPORTANT_USAGE_TIPS.md
index a1c1583863..8be48dcda8 100644
--- a/docs/usage/IMPORTANT_USAGE_TIPS.md
+++ b/docs/usage/IMPORTANT_USAGE_TIPS.md
@@ -31,7 +31,7 @@ productSync.sync(batch1)
By design, scaling the sync process should **not** be done by executing the batches themselves in parallel. However, it can be done either by:
- Changing the number of [max parallel requests](https://github.com/commercetools/commercetools-sync-java/tree/master/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L116) within the `sphereClient` configuration. It defines how many requests the client can execute in parallel.
- - or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contains.
+ - or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contains.
The current overridable default [configuration](https://github.com/commercetools/commercetools-sync-java/tree/master/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) of the `sphereClient`
is the recommended good balance for stability and performance for the sync process.
diff --git a/docs/usage/INVENTORY_SYNC.md b/docs/usage/INVENTORY_SYNC.md
index 57a3e392c2..eff94b5aec 100644
--- a/docs/usage/INVENTORY_SYNC.md
+++ b/docs/usage/INVENTORY_SYNC.md
@@ -36,7 +36,7 @@ against a [InventoryEntryDraft](https://docs.commercetools.com/http-api-projects
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -68,7 +68,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toInventoryEntryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/inventories/utils/InventoryTransformUtils.html#toInventoryEntryDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toInventoryEntryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/inventories/utils/InventoryTransformUtils.html#toInventoryEntryDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `InventoryEntry` to `InventoryEntryDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/PRODUCT_SYNC.md b/docs/usage/PRODUCT_SYNC.md
index f23ba79118..27912b9d9a 100644
--- a/docs/usage/PRODUCT_SYNC.md
+++ b/docs/usage/PRODUCT_SYNC.md
@@ -39,7 +39,7 @@ against a [ProductDraft](https://docs.commercetools.com/http-api-projects-produc
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -80,7 +80,7 @@ resource on the target commercetools project and the library will issue an updat
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toProductDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/products/utils/ProductTransformUtils.html#toProductDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toProductDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/products/utils/ProductTransformUtils.html#toProductDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `Product` to `ProductDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/PRODUCT_TYPE_SYNC.md b/docs/usage/PRODUCT_TYPE_SYNC.md
index 87f0d233f6..d1b9870874 100644
--- a/docs/usage/PRODUCT_TYPE_SYNC.md
+++ b/docs/usage/PRODUCT_TYPE_SYNC.md
@@ -36,7 +36,7 @@ against a [ProductTypeDraft](https://docs.commercetools.com/http-api-projects-pr
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -66,7 +66,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toProductTypeDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/producttypes/utils/ProductTypeTransformUtils.html#toProductTypeDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toProductTypeDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/producttypes/utils/ProductTypeTransformUtils.html#toProductTypeDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `ProductType` to `ProductTypeDraft`. It can be configured to use a cache that will speed up the reference resolution performed during the sync, for example:
````java
diff --git a/docs/usage/QUICK_START.md b/docs/usage/QUICK_START.md
index 645d4636b4..09a8122523 100644
--- a/docs/usage/QUICK_START.md
+++ b/docs/usage/QUICK_START.md
@@ -37,7 +37,7 @@
com.commercetools
commercetools-sync-java
- 5.1.1
+ 5.1.2
````
- For Gradle users:
@@ -48,7 +48,7 @@ implementation 'com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5
implementation 'com.commercetools.sdk.jvm.core:commercetools-convenience:1.60.0'
// Add commercetools-sync-java dependency.
-implementation 'com.commercetools:commercetools-sync-java:5.1.1'
+implementation 'com.commercetools:commercetools-sync-java:5.1.2'
````
### 2. Setup Syncing Options
diff --git a/docs/usage/SHOPPING_LIST_SYNC.md b/docs/usage/SHOPPING_LIST_SYNC.md
index 201645d166..47058f2acc 100644
--- a/docs/usage/SHOPPING_LIST_SYNC.md
+++ b/docs/usage/SHOPPING_LIST_SYNC.md
@@ -37,7 +37,7 @@ against a [ShoppingListDraft](https://docs.commercetools.com/api/projects/shoppi
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -73,7 +73,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toShoppingListDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/shoppinglists/utils/ShoppingListTransformUtils.html#toShoppingListDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toShoppingListDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/shoppinglists/utils/ShoppingListTransformUtils.html#toShoppingListDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `ShoppingList` to `ShoppingListDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/STATE_SYNC.md b/docs/usage/STATE_SYNC.md
index c5da5cb99f..e3186df279 100644
--- a/docs/usage/STATE_SYNC.md
+++ b/docs/usage/STATE_SYNC.md
@@ -35,7 +35,7 @@ against a [StateDraft](https://docs.commercetools.com/http-api-projects-states#s
#### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -66,7 +66,7 @@ reference should return its `key`.
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toStateDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.1/com/commercetools/sync/states/utils/StateTransformUtils.html#toStateDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toStateDrafts`](https://commercetools.github.io/commercetools-sync-java/v/5.1.2/com/commercetools/sync/states/utils/StateTransformUtils.html#toStateDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `State` to `StateDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/TAX_CATEGORY_SYNC.md b/docs/usage/TAX_CATEGORY_SYNC.md
index 9cbb31e512..3ad8fa97d8 100644
--- a/docs/usage/TAX_CATEGORY_SYNC.md
+++ b/docs/usage/TAX_CATEGORY_SYNC.md
@@ -31,7 +31,7 @@ against a [TaxCategoryDraft](https://docs.commercetools.com/http-api-projects-ta
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
diff --git a/docs/usage/TYPE_SYNC.md b/docs/usage/TYPE_SYNC.md
index f2746f607d..c1029bb43d 100644
--- a/docs/usage/TYPE_SYNC.md
+++ b/docs/usage/TYPE_SYNC.md
@@ -33,7 +33,7 @@ against a [TypeDraft](https://docs.commercetools.com/http-api-projects-types.htm
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.1/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/5.1.2/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
diff --git a/mkdocs.yml b/mkdocs.yml
index 816af83504..3770f02acd 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -62,7 +62,7 @@ nav:
- Sync Options: usage/SYNC_OPTIONS.md
- Usage Tips: usage/IMPORTANT_USAGE_TIPS.md
- Cleanup Unresolved References: usage/CLEANUP_GUIDE.md
- - Javadoc: https://commercetools.github.io/commercetools-sync-java/v/5.1.1/
+ - Javadoc: https://commercetools.github.io/commercetools-sync-java/v/5.1.2/
- Release notes: RELEASE_NOTES.md
- Roadmap: https://github.com/commercetools/commercetools-sync-java/milestones
- Issues: https://github.com/commercetools/commercetools-sync-java/issues