Skip to content

Commit 0d67776

Browse files
Merge pull request #203 from commercetools/1.0.0-M6-release-prep
Release preparation for v1.0.0-M6
2 parents 76bd0c5 + d574308 commit 0d67776

File tree

3 files changed

+33
-17
lines changed

3 files changed

+33
-17
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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)
55
[![Download](https://api.bintray.com/packages/commercetools/maven/commercetools-sync-java/images/download.svg) ](https://bintray.com/commercetools/maven/commercetools-sync-java/_latestVersion)
6-
[![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-M5/)
6+
[![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-M6/)
77
[![Known Vulnerabilities](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646/badge.svg)](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
88

99
Java API which exposes utilities for building update actions and automatic syncing of CTP data from external sources
@@ -17,9 +17,12 @@ Java API which exposes utilities for building update actions and automatic synci
1717
- [Installation](#installation)
1818
- [Maven](#maven)
1919
- [Gradle](#gradle)
20+
- [SBT](#sbt)
21+
- [Ivy](#ivy)
2022
- [Roadmap](#roadmap)
2123
- [Release Notes](/docs/RELEASE_NOTES.md)
22-
- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M1/)
24+
- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M6/)
25+
2326
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2427
## Usage
2528

@@ -53,19 +56,22 @@ most popular ones:
5356
<dependency>
5457
<groupId>com.commercetools</groupId>
5558
<artifactId>commercetools-sync-java</artifactId>
56-
<version>v1.0.0-M5</version>
59+
<version>v1.0.0-M6</version>
5760
</dependency>
5861
````
5962
#### Gradle
6063
````groovy
61-
implementation 'com.commercetools:commercetools-sync-java:v1.0.0-M5'
64+
implementation 'com.commercetools:commercetools-sync-java:v1.0.0-M6'
65+
````
66+
#### SBT
67+
````
68+
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "v1.0.0-M6"
6269
````
63-
<!-- TODO #### SBT
64-
````java
65-
libraryDependencies ++= Seq(
66-
"com.commercetools" % "commercetools-sync-java" % "v1.0.0-M5",
67-
)
68-
````-->
70+
#### Ivy
71+
````xml
72+
<dependency org="com.commercetools" name="commercetools-sync-java" rev="v1.0.0-M6"/>
73+
````
74+
6975

7076
## Roadmap
7177
https://github.com/commercetools/commercetools-sync-java/milestones

docs/RELEASE_NOTES.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3434

3535

36+
- [v1.0.0-M6 - Dec 4, 2017](#v100-m6----dec-4-2017)
3637
- [v1.0.0-M5 - Nov 16, 2017](#v100-m5----nov-16-2017)
3738
- [v1.0.0-M4 - Nov 7, 2017](#v100-m4----nov-7-2017)
3839
- [v1.0.0-M3 - Nov 3, 2017](#v100-m3----nov-3-2017)
@@ -41,8 +42,15 @@
4142
- [v1.0.0-M1 - Sep 06, 2017](#v100-m1----sep-06-2017)
4243

4344
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
45+
4446
<!--
45-
### v1.0.0-M6 - Dec 1, 2017
47+
### v1.0.0-M7 - Dec 19, 2017
48+
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M6...v1.0.0-M7) |
49+
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M7/) |
50+
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/v1.0.0-M7)
51+
-->
52+
53+
### v1.0.0-M6 - Dec 5, 2017
4654
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M5...v1.0.0-M6) |
4755
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/v1.0.0-M6/) |
4856
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/v1.0.0-M6)
@@ -52,13 +60,16 @@
5260
- **Product Sync** - Introduced `beforeCreateCallback` option which is callback applied on a product draft before a request to create it on CTP is issued. [#183](https://github.com/commercetools/commercetools-sync-java/issues/183)
5361
- **Inventory Sync** - Introduced `beforeCreateCallback` option which is callback applied on a inventoryEntry draft before a request to create it on CTP is issued. [#183](https://github.com/commercetools/commercetools-sync-java/issues/183)
5462

55-
**Bug Fixes** (1)
56-
- **Commons** - Fixed library version in User-Agent headers of JVM SDK clients using the library. [#191](https://github.com/commercetools/commercetools-sync-java/issues/191)
57-
5863
**Major Enhancements** (2)
5964
- **Category Sync** - Introduced batching on update action requests to allow for requesting updates of more than 500 actions. [#21](https://github.com/commercetools/commercetools-sync-java/issues/21)
6065
- **Product Sync** - Introduced batching on update action requests to allow for requesting updates of more than 500 actions. [#21](https://github.com/commercetools/commercetools-sync-java/issues/21)
6166

67+
**Bug Fixes** (1)
68+
- **Commons** - Fixed library version in User-Agent headers of JVM SDK clients using the library. [#191](https://github.com/commercetools/commercetools-sync-java/issues/191)
69+
70+
**Documentation** (1)
71+
- **Commons** - Added [Code of Conduct](/docs/CODE_OF_CONDUCT.md) doc.
72+
6273
**Migration guide** (6)
6374
- **Product Sync** - Removed `removeOtherVariants` option which is already done by the sync by default. Removal of
6475
variants can be prevented through the beforeUpdateCallback. Please check [here](/src/integration-test/java/com/commercetools/sync/integration/ctpprojectsource/products/templates/beforeupdatecallback/KeepOtherVariantsSyncIT.java)
@@ -72,7 +83,7 @@ library. [#191](https://github.com/commercetools/commercetools-sync-java/issues/
7283
- **Category Sync** - `beforeUpdateCallback` now treats a null return as an empty list of update actions. [#183](https://github.com/commercetools/commercetools-sync-java/issues/183)
7384
- **Product Sync** - `beforeUpdateCallback` now treats a null return as an empty list of update actions. [#183](https://github.com/commercetools/commercetools-sync-java/issues/183)
7485
- **Inventory Sync** - `beforeUpdateCallback` now treats a null return as an empty list of update actions. [#183](https://github.com/commercetools/commercetools-sync-java/issues/183)
75-
-->
86+
7687

7788
### v1.0.0-M5 - Nov 16, 2017
7889
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/v1.0.0-M4...v1.0.0-M5) |

src/integration-test/java/com/commercetools/sync/integration/services/ProductServiceIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,7 @@ public void updateProduct_WithMoreThan500Actions_ShouldNotFail() {
608608
assertThat(fetchedProductOptional).isNotEmpty();
609609
final Product fetchedProduct = fetchedProductOptional.get();
610610

611-
// Test that the fetched product has a version number equal to the number of update actions applied on it.
612-
assertThat(fetchedProduct.getVersion()).isEqualTo(numberOfUpdateActions + 1);
611+
// Test that the fetched product has the name of the last update action that was applied.
613612
assertThat(fetchedProduct.getMasterData().getStaged().getName())
614613
.isEqualTo(LocalizedString.of(Locale.GERMAN, format("name:%s", numberOfUpdateActions)));
615614
}

0 commit comments

Comments
 (0)