Skip to content

Commit 7187018

Browse files
Merge pull request #350 from commercetools/Prepare-1.0.0
Prepare 1.0.0
2 parents c00138a + ffa82ea commit 7187018

10 files changed

Lines changed: 65 additions & 49 deletions

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# commercetools sync
33
[![Build Status](https://travis-ci.org/commercetools/commercetools-sync-java.svg?branch=master)](https://travis-ci.org/commercetools/commercetools-sync-java)
44
[![codecov](https://codecov.io/gh/commercetools/commercetools-sync-java/branch/master/graph/badge.svg)](https://codecov.io/gh/commercetools/commercetools-sync-java)
5-
[![Benchmarks M14](https://img.shields.io/badge/Benchmarks-M14-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
5+
[![Benchmarks 1.0.0](https://img.shields.io/badge/Benchmarks-1.0.0-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
66
[![Download](https://api.bintray.com/packages/commercetools/maven/commercetools-sync-java/images/download.svg) ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
7-
[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/)
7+
[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/)
88
[![Known Vulnerabilities](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646/badge.svg)](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
99

1010

@@ -33,7 +33,7 @@ Currently this library supports synchronising the following entities in commerce
3333
- [Ivy](#ivy)
3434
- [Roadmap](#roadmap)
3535
- [Release Notes](/docs/RELEASE_NOTES.md)
36-
- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/)
36+
- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/)
3737
- [Benchmarks](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
3838

3939
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -70,20 +70,20 @@ Here are the most popular ones:
7070
<dependency>
7171
<groupId>com.commercetools</groupId>
7272
<artifactId>commercetools-sync-java</artifactId>
73-
<version>v1.0.0-M14</version>
73+
<version>1.0.0</version>
7474
</dependency>
7575
````
7676
#### Gradle
7777
````groovy
78-
implementation 'com.commercetools:commercetools-sync-java:v1.0.0-M14'
78+
implementation 'com.commercetools:commercetools-sync-java:1.0.0'
7979
````
8080
#### SBT
8181
````
82-
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "v1.0.0-M14"
82+
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.0.0"
8383
````
8484
#### Ivy
8585
````xml
86-
<dependency org="com.commercetools" name="commercetools-sync-java" rev="v1.0.0-M14"/>
86+
<dependency org="com.commercetools" name="commercetools-sync-java" rev="1.0.0"/>
8787
````
8888

8989

docs/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# commercetools sync
33
[![Build Status](https://travis-ci.org/commercetools/commercetools-sync-java.svg?branch=master)](https://travis-ci.org/commercetools/commercetools-sync-java)
44
[![codecov](https://codecov.io/gh/commercetools/commercetools-sync-java/branch/master/graph/badge.svg)](https://codecov.io/gh/commercetools/commercetools-sync-java)
5-
[![Benchmarks M14](https://img.shields.io/badge/Benchmarks-M14-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
5+
[![Benchmarks 1.0.0](https://img.shields.io/badge/Benchmarks-1.0.0-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
66
[![Download](https://api.bintray.com/packages/commercetools/maven/commercetools-sync-java/images/download.svg) ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
7-
[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/)
7+
[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/)
88
[![Known Vulnerabilities](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646/badge.svg)](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
99

1010

@@ -50,18 +50,18 @@ Here are the most popular ones:
5050
<dependency>
5151
<groupId>com.commercetools</groupId>
5252
<artifactId>commercetools-sync-java</artifactId>
53-
<version>v1.0.0-M14</version>
53+
<version>1.0.0</version>
5454
</dependency>
5555
````
5656
#### Gradle
5757
````groovy
58-
implementation 'com.commercetools:commercetools-sync-java:v1.0.0-M14'
58+
implementation 'com.commercetools:commercetools-sync-java:1.0.0'
5959
````
6060
#### SBT
6161
````
62-
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "v1.0.0-M14"
62+
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.0.0"
6363
````
6464
#### Ivy
6565
````xml
66-
<dependency org="com.commercetools" name="commercetools-sync-java" rev="v1.0.0-M14"/>
66+
<dependency org="com.commercetools" name="commercetools-sync-java" rev="1.0.0"/>
6767
````

docs/RELEASE_NOTES.md

Lines changed: 43 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
3. link to Javadoc of release.
1010
4. link to Jar of release.
1111
12-
4. Add a summary of the release that is not too detailed or technical.
12+
5. Add a summary of the release that is not too detailed or technical.
1313
14-
5. Depending on the contents of the release use the subtitles below to
14+
6. Depending on the contents of the release use the subitems below to
1515
document the new changes in the release accordingly. Please always include
1616
a link to the releated issue number.
1717
**New Features** (n) 🎉
@@ -24,29 +24,42 @@
2424
- **Category Sync** - Sync now supports product variant images syncing. [#114](https://github.com/commercetools/commercetools-sync-java/issues/114)
2525
- **Build Tools** - Convinient handelling of env vars for integration tests.
2626
27-
6. Add Migration guide section which specifies explicitly if there are breaking changes and how to tackle them.
27+
7. Add Migration guide section which specifies explicitly if there are breaking changes and how to tackle them.
2828
2929
-->
3030

3131
<!--
32-
### v1.0.0-M15 - Oct 20, 2018
33-
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M14...v1.0.0-M15) |
34-
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M15/) |
35-
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/v1.0.0-M15)
36-
37-
- 🎉 **New Features** (9)
38-
- **Commons** - Added `OptionalUtils#filterEmptyOptionals` which are utility methods that filter out the
39-
empty optionals in a supplied list (with a varargs variation) returning a list of the contents of the non-empty
40-
optionals. [#255](https://github.com/commercetools/commercetools-sync-java/issues/255)
41-
- **Type Sync** - Support for syncing types. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300) For more info how to use it please refer to [Type usage doc](/docs/usage/TYPE_SYNC.md).
32+
### 1.1.0 - Dec 10, 2018
33+
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M14...1.1.0) |
34+
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.1.0/) |
35+
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/v1.1.0)
36+
37+
!-->
38+
39+
### 1.0.0 - Dec 10, 2018
40+
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M14...1.0.0) |
41+
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/) |
42+
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/1.0.0)
43+
44+
##### The Beta is Over 🎉
45+
46+
We're happy to announce that the commercetools-sync-java is finally out of beta! Big thanks to all the users
47+
who were using it when it was still in beta. Your feedback was definitely valuable for us to reach the current state of
48+
the library. `1.0.0` is here for you to use with all new features, enhancements and bug fixes including:
49+
50+
- The library now supports importing/syncing [`types`](https://docs.commercetools.com/http-api-projects-types.html) into a CTP project from an external feed or another CTP project. [Read more](https://commercetools.github.io/commercetools-sync-java/doc/usage/TYPE_SYNC/).
51+
- The library now handles concurrency modification exceptions for the `productType` sync.
52+
- All new documentation pages including a [quick start guide](https://commercetools.github.io/commercetools-sync-java/doc/usage/QUICK_START/).
53+
- Many more improvements and bug fixes.
54+
55+
##### Full Release Notes
56+
57+
- 🎉 **New Features** (4)
58+
- **Type Sync** - Support for syncing types. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300) For more info how to use it please refer to [Type usage doc](/docs/usage/TYPE_SYNC.md).
4259
- **Type Sync** - Exposed `TypeSyncUtils#buildActions` which calculates all needed update actions after comparing a `Type` and a `TypeDraft`. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300)
4360
- **Type Sync** - Exposed `TypeUpdateActionUtils` which contains utils for calculating needed update actions after comparing individual fields of a `Type` and a `TypeDraft`. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300)
44-
45-
- 📋 **Documentation** (4)
46-
- **Commons** - Added the documentation github pages. https://commercetools.github.io/commercetools-sync-java
47-
- **Commons** - Added a [Quick Start Guide](/docs/usage/QUICK_START.md) for a convinient entry into the library.
48-
- **Commons** - Moved documentation of sync options to a separate [doc](/docs/usage/SYNC_OPTIONS.md).
49-
- **Commons** - Added a the earliest compatible version of the commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a prerequisite for using the library.
61+
- **Commons** - Added `OptionalUtils#filterEmptyOptionals` which are utility methods that filter out the empty optionals in a supplied list (with a varargs variation) returning a list of the contents of the non-empty
62+
optionals. [#255](https://github.com/commercetools/commercetools-sync-java/issues/255)
5063

5164
- 🛠️ **Enhancements** (17)
5265
- **ProductType Sync** - Added concurrency modification exception handling. [#325](https://github.com/commercetools/commercetools-sync-java/issues/325)
@@ -68,7 +81,7 @@
6881
- **Commons** - Bumped gradle to version [gradle-5.0](https://docs.gradle.org/5.0/release-notes.html)
6982
- **Type Sync** - Added benchmarks for the `type` sync to be able to compare the performance of the sync with the future releases. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300)
7083

71-
- 🚧 **Breaking Changes** (11)
84+
- 🚧 **Breaking Changes** (9)
7285
- **Product Sync** - `allowUuid` option is now removed. [#166](https://github.com/commercetools/commercetools-sync-java/issues/166)
7386
- **Category Sync** - `allowUuid` option is now removed. [#166](https://github.com/commercetools/commercetools-sync-java/issues/166)
7487
- **Inventory Sync** - `allowUuid` option is now removed. [#166](https://github.com/commercetools/commercetools-sync-java/issues/166)
@@ -77,19 +90,21 @@
7790
Its behaviour is not guaranteed if used externally. [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
7891
- **ProductType Sync** - `AttributeDefinitionUpdateActionUtils` is now meant to be **only used internally** by the library.
7992
Its behaviour is not guaranteed if used externally. [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
80-
- **ProductType Sync** - `EnumsUpdateActionUtils` is now meant to be **only used internally** by the library.
81-
Its behaviour is not guaranteed if used externally. [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
82-
- **ProductType Sync** - Renamed `ProductTypeUpdateLocalizedEnumActionUtils` to `LocalizedEnumsUpdateActionUtils.` [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
83-
- **ProductType Sync** - Renamed `ProductTypeUpdatePlainEnumActionUtils` to `PlainEnumsUpdateActionUtils`. [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
84-
- **ProductType Sync** - Renamed `LocalizedEnumUpdateActionsUtils` to `LocalizedEnumUpdateActionUtils`. [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
85-
- **ProductType Sync** - Renamed `PlainEnumUpdateActionsUtils` to `PlainEnumUpdateActionUtils`. [#302](https://github.com/commercetools/commercetools-sync-java/issues/302)
93+
- **ProductType Sync** - `EnumsUpdateActionUtils` is now `EnumValuesUpdateActionUtils` and is meant to be **only used internally** by the library.
94+
Its behaviour is not guaranteed if used externally. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300)
95+
- **ProductType Sync** - Utils that were in `ProductTypeUpdateLocalizedEnumActionUtils` and `LocalizedEnumsUpdateActionUtils.` are moved to `LocalizedEnumValueUpdateActionUtils`. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300)
96+
- **ProductType Sync** - Utils that were in `ProductTypeUpdatePlainEnumActionUtils` and `PlainEnumUpdateActionsUtils.` are moved to `PlainEnumValueUpdateActionUtils`. [#300](https://github.com/commercetools/commercetools-sync-java/issues/300)
8697

8798
- 🐞 **Bug Fixes** (3)
8899
- **Product Sync** - Fixed a bug that caused the statistics not to be updated correctly on fetch failure. [#331](https://github.com/commercetools/commercetools-sync-java/issues/331)
89100
- **Category Sync** - Fixed a bug that caused the statistics not to be updated correctly on fetch failure. [#331](https://github.com/commercetools/commercetools-sync-java/issues/331)
90101
- **ProductType Sync** - Fixed a bug that caused the sync process to continue after failed fetch. [#331](https://github.com/commercetools/commercetools-sync-java/issues/331)
91-
-->
92-
102+
103+
- 📋 **Documentation** (4)
104+
- **Commons** - Added the documentation github pages. https://commercetools.github.io/commercetools-sync-java
105+
- **Commons** - Added a [Quick Start Guide](/docs/usage/QUICK_START.md) for a convenient entry into the library.
106+
- **Commons** - Moved documentation of sync options to a separate [doc](/docs/usage/SYNC_OPTIONS.md).
107+
- **Commons** - Added a the earliest compatible version of the commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a prerequisite for using the library.
93108

94109
### v1.0.0-M14 - Oct 5, 2018
95110
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M13...v1.0.0-M14) |

docs/usage/CATEGORY_SYNC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ otherwise they won't be matched.
3737
reference would return its `key`.
3838

3939
**Note**: This library provides you with a utility method
40-
[`replaceCategoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/com/commercetools/sync/categories/utils/CategoryReferenceReplacementUtils.html#replaceCategoriesReferenceIdsWithKeys-java.util.List-)
40+
[`replaceCategoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/com/commercetools/sync/categories/utils/CategoryReferenceReplacementUtils.html#replaceCategoriesReferenceIdsWithKeys-java.util.List-)
4141
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
4242
````java
4343
// Puts the keys in the reference id fields to prepare for reference resolution

docs/usage/IMPORTANT_USAGE_TIPS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ productSync.sync(batch1)
2929
By design, scaling the sync process should **not** be done by executing the batches themselves in parallel. However, it can be done either by:
3030

3131
- 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.
32-
- or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contain.
32+
- or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contain.
3333

3434
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`
3535
is the recommended good balance for stability and performance for the sync process.

docs/usage/INVENTORY_SYNC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ against a [InventoryEntryDraft](https://docs.commercetools.com/http-api-projects
3535
reference would return its `key`.
3636

3737
**Note**: This library provides you with a utility method
38-
[`replaceInventoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/com/commercetools/sync/inventories/utils/InventoryReferenceReplacementUtils.html#replaceInventoriesReferenceIdsWithKeys-java.util.List-)
38+
[`replaceInventoriesReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/com/commercetools/sync/inventories/utils/InventoryReferenceReplacementUtils.html#replaceInventoriesReferenceIdsWithKeys-java.util.List-)
3939
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
4040
````java
4141
// Puts the keys in the reference id fields to prepare for reference resolution

docs/usage/PRODUCT_SYNC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ order for the sync to resolve the actual ids of those references, those `key`s h
4040
reference would return its `key`.
4141

4242
**Note**: This library provides you with a utility method
43-
[`replaceProductsReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/com/commercetools/sync/products/utils/ProductReferenceReplacementUtils.html#replaceProductsReferenceIdsWithKeys-java.util.List-)
43+
[`replaceProductsReferenceIdsWithKeys`](https://commercetools.github.io/commercetools-sync-java/v/1.0.0/com/commercetools/sync/products/utils/ProductReferenceReplacementUtils.html#replaceProductsReferenceIdsWithKeys-java.util.List-)
4444
that replaces the references id fields with keys, in order to make them ready for reference resolution by the sync:
4545
````java
4646
// Puts the keys in the reference id fields to prepare for reference resolution

docs/usage/QUICK_START.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>com.commercetools</groupId>
3939
<artifactId>commercetools-sync-java</artifactId>
40-
<version>v1.0.0-M14</version>
40+
<version>1.0.0</version>
4141
</dependency>
4242
````
4343
- For Gradle users:
@@ -48,7 +48,7 @@ implementation 'com.commercetools.sdk.jvm.core:commercetools-java-client:1.37.0'
4848
implementation 'com.commercetools.sdk.jvm.core:commercetools-convenience:1.37.0'
4949
5050
// Add commercetools-sync-java dependency.
51-
implementation 'com.commercetools:commercetools-sync-java:v1.0.0-M14'
51+
implementation 'com.commercetools:commercetools-sync-java:1.0.0'
5252
````
5353

5454
### 2. Setup Syncing Options

docs/usage/SYNC_OPTIONS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ as resources are obtained from the target CTP project in batches for better perf
2525
in a single request. Playing with this option can slightly improve or reduce processing speed.
2626

2727
#### `syncFilter` (Only for Product Sync Options)
28-
represents either a blacklist or a whitelist for filtering certain update action groups.
28+
represents either a blacklist or a whitelist for filtering certain update action groups.
29+
2930
- __Blacklisting__ an update action group means that everything in products will be synced except for any group
3031
in the blacklist. A typical use case is to blacklist prices when syncing products. In other words, syncing everything
3132
in products except prices.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ nav:
5555
- Advanced:
5656
- Sync Options: usage/SYNC_OPTIONS.md
5757
- Usage Tips: usage/IMPORTANT_USAGE_TIPS.md
58-
- Javadoc: https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M14/
58+
- Javadoc: https://commercetools.github.io/commercetools-sync-java/v/1.0.0/
5959
- Release notes: RELEASE_NOTES.md
6060
- Roadmap: https://github.com/commercetools/commercetools-sync-java/milestones
6161
- Issues: https://github.com/commercetools/commercetools-sync-java/issues

0 commit comments

Comments
 (0)