diff --git a/README.md b/README.md
index 73edd5e32e..c9378dc41e 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
# commercetools sync
[![Build Status](https://travis-ci.org/commercetools/commercetools-sync-java.svg?branch=master)](https://travis-ci.org/commercetools/commercetools-sync-java)
[![codecov](https://codecov.io/gh/commercetools/commercetools-sync-java/branch/master/graph/badge.svg)](https://codecov.io/gh/commercetools/commercetools-sync-java)
-[![Benchmarks 1.6.0](https://img.shields.io/badge/Benchmarks-1.6.0-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
+[![Benchmarks 1.6.1](https://img.shields.io/badge/Benchmarks-1.6.1-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
[![Download](https://api.bintray.com/packages/commercetools/maven/commercetools-sync-java/images/download.svg) ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
-[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/)
+[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/)
[![Known Vulnerabilities](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646/badge.svg)](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
More at https://commercetools.github.io/commercetools-sync-java
@@ -34,7 +34,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/1.6.0/)
+- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/)
- [Benchmarks](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
@@ -61,7 +61,7 @@ commercetools sync is a Java library that imports commercetools platform data in
- Make sure you have `JDK 8` installed.
- [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a dependency in your JVM-based
- application. (Make sure to use a version `>= 1.46.0`).
+ application. (Make sure to use a version `>= 1.47.0`).
- a target commercetools project for syncing your source data to.
@@ -76,26 +76,26 @@ Here are the most popular ones:
com.commercetools
commercetools-sync-java
- 1.6.0
+ 1.6.1
````
#### Gradle
````groovy
-implementation 'com.commercetools:commercetools-sync-java:1.6.0'
+implementation 'com.commercetools:commercetools-sync-java:1.6.1'
````
#### SBT
````
-libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.6.0"
+libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.6.1"
````
#### Ivy
````xml
-
+
````
diff --git a/docs/README.md b/docs/README.md
index 50fdec7684..85b0fd7248 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -2,9 +2,9 @@
# commercetools sync
[![Build Status](https://travis-ci.org/commercetools/commercetools-sync-java.svg?branch=master)](https://travis-ci.org/commercetools/commercetools-sync-java)
[![codecov](https://codecov.io/gh/commercetools/commercetools-sync-java/branch/master/graph/badge.svg)](https://codecov.io/gh/commercetools/commercetools-sync-java)
-[![Benchmarks 1.6.0](https://img.shields.io/badge/Benchmarks-1.6.0-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
+[![Benchmarks 1.6.1](https://img.shields.io/badge/Benchmarks-1.6.1-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
[![Download](https://api.bintray.com/packages/commercetools/maven/commercetools-sync-java/images/download.svg) ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
-[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/)
+[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/)
[![Known Vulnerabilities](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646/badge.svg)](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
@@ -41,7 +41,7 @@ The library supports synchronising the following entities in commercetools
- Make sure you have `JDK 8` installed.
- [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a dependency in your JVM-based
- application. (Make sure to use a version `>= 1.46.0`).
+ application. (Make sure to use a version `>= 1.47.0`).
- a target commercetools project for syncing your source data to.
@@ -53,18 +53,18 @@ Here are the most popular ones:
com.commercetools
commercetools-sync-java
- 1.6.0
+ 1.6.1
````
#### Gradle
````groovy
-implementation 'com.commercetools:commercetools-sync-java:1.6.0'
+implementation 'com.commercetools:commercetools-sync-java:1.6.1'
````
#### SBT
````
-libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.6.0"
+libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.6.1"
````
#### Ivy
````xml
-
+
````
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index 0421d7aef7..0adccbcb67 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -27,17 +27,34 @@
7. Add Migration guide section which specifies explicitly if there are breaking changes and how to tackle them.
-->
+
+
+
+### 1.6.1 - Oct 17, 2019
+[Commits](https://github.com/commercetools/commercetools-sync-java/compare/1.6.0...1.6.1) |
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/) |
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/1.6.1)
-- 🐞 **Bug Fixes** (1)
+- 🐞 **Bug Fixes** (3)
- **Commons** - Fixed a bug in the `CtpQueryUtils` which was overwriting the query input query for every page after
- first page fetched, eventually fetching more than needed. [#463](https://github.com/commercetools/commercetools-sync-java/issues/463)
+first page fetched, eventually fetching more than needed. [#463](https://github.com/commercetools/commercetools-sync-java/issues/463)
+ - **Product Sync** - Fixed a potential bug in reference resolution of attribute references in case a `null` reference
+passed in an attribute draft of type `Set` of `Reference`. [#441](https://github.com/commercetools/commercetools-sync-java/issues/441)
+ - **ProductType Sync** - Fixed a bug in the productType sync where the statistics `failed` counter was being counted on
+failed fetches of missing references. [#426](https://github.com/commercetools/commercetools-sync-java/issues/426)
+
+- 🛠️ **Dependency Updates** (4)
+ - `mockito-junit-jupiter` 3.0.0 -> [3.1.0](https://github.com/mockito/mockito/releases/tag/v3.1.0)
+ - `com.adarshr.test-logger` 1.7.1 -> [2.0.0](https://github.com/radarsh/gradle-test-logger-plugin/releases/tag/v2.0.0)
+ - `com.github.ben-manes.versions` 0.25.0 -> [0.27.0](https://github.com/ben-manes/gradle-versions-plugin/releases/tag/v0.27.0)
+ - `commercetools-jvm-sdk` 1.46.0 -> [1.47.0](http://commercetools.github.io/commercetools-jvm-sdk/apidocs/io/sphere/sdk/meta/ReleaseNotes.html#v1_47_0)
--->
### 1.6.0 - Oct 10, 2019
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/1.5.0...1.6.0) |
@@ -48,7 +65,7 @@
- **Product Sync** - Introduced support for syncing products with other product references as attributes in any order. [#447](https://github.com/commercetools/commercetools-sync-java/issues/447)
- 🛠️ **Dependency Updates** (1)
- - `com.adarshr.test-logger` to 1.7.0 -> 1.7.1 [#456](https://github.com/commercetools/commercetools-sync-java/pull/456)
+ - `com.adarshr.test-logger` 1.7.0 -> 1.7.1 [#456](https://github.com/commercetools/commercetools-sync-java/pull/456)
### 1.5.0 - Sept 13, 2019
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/1.4.1...1.5.0) |
diff --git a/docs/usage/CART_DISCOUNT_SYNC.md b/docs/usage/CART_DISCOUNT_SYNC.md
index 0c9966381a..7c4daecc64 100644
--- a/docs/usage/CART_DISCOUNT_SYNC.md
+++ b/docs/usage/CART_DISCOUNT_SYNC.md
@@ -36,7 +36,7 @@ Therefore, in order for the sync to resolve the actual ids of those references i
reference should return its `key`.
**Note**: When syncing from a source commercetools project, you can use this util which this library provides:
- [`replaceCartDiscountsReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/com/commercetools/sync/cartdiscounts/utils/CartDiscountReferenceReplacementUtils.html#replaceCartDiscountsReferenceIdsWithKeys-java.util.List-)
+ [`replaceCartDiscountsReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/com/commercetools/sync/cartdiscounts/utils/CartDiscountReferenceReplacementUtils.html#replaceCartDiscountsReferenceIdsWithKeys-java.util.List-)
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
````java
// Puts the keys in the reference id fields to prepare for reference resolution
diff --git a/docs/usage/CATEGORY_SYNC.md b/docs/usage/CATEGORY_SYNC.md
index 5a424ec585..7bb0588ab3 100644
--- a/docs/usage/CATEGORY_SYNC.md
+++ b/docs/usage/CATEGORY_SYNC.md
@@ -37,7 +37,7 @@ otherwise they won't be matched.
reference would return its `key`.
**Note**: When syncing from a source commercetools project, you can use this util which this library provides:
- [`replaceCategoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/com/commercetools/sync/categories/utils/CategoryReferenceReplacementUtils.html#replaceCategoriesReferenceIdsWithKeys-java.util.List-)
+ [`replaceCategoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/com/commercetools/sync/categories/utils/CategoryReferenceReplacementUtils.html#replaceCategoriesReferenceIdsWithKeys-java.util.List-)
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
````java
// Puts the keys in the reference id fields to prepare for reference resolution
diff --git a/docs/usage/IMPORTANT_USAGE_TIPS.md b/docs/usage/IMPORTANT_USAGE_TIPS.md
index 98a485ba91..190542cb3c 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/1.6.0/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contain.
+ - or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contain.
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 d7380f1659..b020b4e826 100644
--- a/docs/usage/INVENTORY_SYNC.md
+++ b/docs/usage/INVENTORY_SYNC.md
@@ -35,7 +35,7 @@ against a [InventoryEntryDraft](https://docs.commercetools.com/http-api-projects
reference would return its `key`.
**Note**: When syncing from a source commercetools project, you can use this util which this library provides:
- [`replaceInventoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/com/commercetools/sync/inventories/utils/InventoryReferenceReplacementUtils.html#replaceInventoriesReferenceIdsWithKeys-java.util.List-)
+ [`replaceInventoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/com/commercetools/sync/inventories/utils/InventoryReferenceReplacementUtils.html#replaceInventoriesReferenceIdsWithKeys-java.util.List-)
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
````java
// Puts the keys in the reference id fields to prepare for reference resolution
diff --git a/docs/usage/PRODUCT_SYNC.md b/docs/usage/PRODUCT_SYNC.md
index 5f2ea94819..80db1b923f 100644
--- a/docs/usage/PRODUCT_SYNC.md
+++ b/docs/usage/PRODUCT_SYNC.md
@@ -42,7 +42,7 @@ order for the sync to resolve the actual ids of those references, those `key`s h
reference would return its `key`.
**Note**: When syncing from a source commercetools project, you can use this util which this library provides:
- [`replaceProductsReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/com/commercetools/sync/products/utils/ProductReferenceReplacementUtils.html#replaceProductsReferenceIdsWithKeys-java.util.List-)
+ [`replaceProductsReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/com/commercetools/sync/products/utils/ProductReferenceReplacementUtils.html#replaceProductsReferenceIdsWithKeys-java.util.List-)
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
````java
// Puts the keys in the reference id fields to prepare for reference resolution
diff --git a/docs/usage/PRODUCT_TYPE_SYNC.md b/docs/usage/PRODUCT_TYPE_SYNC.md
index f24952d697..65ca347ef1 100644
--- a/docs/usage/PRODUCT_TYPE_SYNC.md
+++ b/docs/usage/PRODUCT_TYPE_SYNC.md
@@ -39,7 +39,7 @@ references, those `key`s have to be supplied in the following way:
reference would return its `key`.
**Note**: When syncing from a source commercetools project, you can use this util which this library provides:
- [`replaceProductTypesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.0/com/commercetools/sync/producttypes/utils/ProductTypeReferenceReplacementUtils.html#replaceProductTypesReferenceIdsWithKeys-java.util.List-)
+ [`replaceProductTypesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.6.1/com/commercetools/sync/producttypes/utils/ProductTypeReferenceReplacementUtils.html#replaceProductTypesReferenceIdsWithKeys-java.util.List-)
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
````java
// Puts the keys in the reference id fields to prepare for reference resolution
diff --git a/docs/usage/QUICK_START.md b/docs/usage/QUICK_START.md
index 45fd4c7300..6c2415c0a0 100644
--- a/docs/usage/QUICK_START.md
+++ b/docs/usage/QUICK_START.md
@@ -20,24 +20,24 @@
com.commercetools.sdk.jvm.core
commercetools-models
- 1.46.0
+ 1.47.0
com.commercetools.sdk.jvm.core
commercetools-java-client
- 1.46.0
+ 1.47.0
com.commercetools.sdk.jvm.core
commercetools-convenience
- 1.46.0
+ 1.47.0
com.commercetools
commercetools-sync-java
- 1.6.0
+ 1.6.1
````
- For Gradle users:
@@ -48,7 +48,7 @@ implementation 'com.commercetools.sdk.jvm.core:commercetools-java-client:1.37.0'
implementation 'com.commercetools.sdk.jvm.core:commercetools-convenience:1.37.0'
// Add commercetools-sync-java dependency.
-implementation 'com.commercetools:commercetools-sync-java:1.6.0'
+implementation 'com.commercetools:commercetools-sync-java:1.6.1'
````
### 2. Setup Syncing Options
diff --git a/gradle-scripts/dependencies.gradle b/gradle-scripts/dependencies.gradle
index 3695951096..0040e29fb5 100644
--- a/gradle-scripts/dependencies.gradle
+++ b/gradle-scripts/dependencies.gradle
@@ -1,6 +1,6 @@
ext{
commercetoolsJvmSdkVersion = '1.47.0'
- mockitoJunitJupiterVersion = '3.0.0'
+ mockitoJunitJupiterVersion = '3.1.0'
jupiterApiVersion = '5.5.2'
assertjVersion = '3.13.2'
checkstyleVersion = '8.2'
diff --git a/mkdocs.yml b/mkdocs.yml
index 0113226004..df96fa5359 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -56,7 +56,7 @@ nav:
- Advanced:
- Sync Options: usage/SYNC_OPTIONS.md
- Usage Tips: usage/IMPORTANT_USAGE_TIPS.md
- - Javadoc: https://commercetools.github.io/commercetools-sync-java/v/1.6.0/
+ - Javadoc: https://commercetools.github.io/commercetools-sync-java/v/1.6.1/
- Release notes: RELEASE_NOTES.md
- Roadmap: https://github.com/commercetools/commercetools-sync-java/milestones
- Issues: https://github.com/commercetools/commercetools-sync-java/issues