Skip to content

Commit d05cc21

Browse files
authored
Merge pull request #629 from commercetools/shopping-lists-base-branch
Prepare release 3.0.0
2 parents 38623bb + 3ef430e commit d05cc21

91 files changed

Lines changed: 13353 additions & 232 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.adr-dir

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/adr

README.md

Lines changed: 9 additions & 12 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 2.3.0](https://img.shields.io/badge/Benchmarks-2.3.0-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
5+
[![Benchmarks 3.0.0](https://img.shields.io/badge/Benchmarks-3.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/2.3.0/)
7+
[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/3.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
More at https://commercetools.github.io/commercetools-sync-java
@@ -23,6 +23,7 @@ The library supports synchronising the following entities in commercetools
2323
- [TaxCategories](/docs/usage/TAX_CATEGORY_SYNC.md)
2424
- [CustomObjects](/docs/usage/CUSTOM_OBJECT_SYNC.md)
2525
- [Customers](/docs/usage/CUSTOMER_SYNC.md)
26+
- [ShoppingLists](/docs/usage/SHOPPING_LIST_SYNC.md)
2627

2728

2829
![commercetools-java-sync-final 001](https://user-images.githubusercontent.com/9512131/31230702-0f2255a6-a9e5-11e7-9412-04ed52641dde.png)
@@ -39,7 +40,7 @@ The library supports synchronising the following entities in commercetools
3940
- [Ivy](#ivy)
4041
- [Roadmap](#roadmap)
4142
- [Release Notes](/docs/RELEASE_NOTES.md)
42-
- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/2.3.0/)
43+
- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/3.0.0/)
4344
- [Benchmarks](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
4445

4546
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -66,7 +67,7 @@ commercetools sync is a Java library that imports commercetools platform data in
6667

6768
- Make sure you have `JDK 8` installed.
6869
- [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a dependency in your JVM-based
69-
application. (Make sure to use a version `>= 1.53.0`).
70+
application. (Make sure to use a version `>= 1.54.0`).
7071
- a target commercetools project for syncing your source data to.
7172

7273

@@ -81,28 +82,24 @@ Here are the most popular ones:
8182
<dependency>
8283
<groupId>com.commercetools</groupId>
8384
<artifactId>commercetools-sync-java</artifactId>
84-
<version>2.3.0</version>
85+
<version>3.0.0</version>
8586
</dependency>
8687
````
8788

8889
#### Gradle
8990

9091
````groovy
91-
implementation 'com.commercetools:commercetools-sync-java:2.3.0'
92+
implementation 'com.commercetools:commercetools-sync-java:3.0.0'
9293
````
9394

9495
#### SBT
9596

9697
````
97-
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "2.3.0"
98+
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "3.0.0"
9899
````
99100

100101
#### Ivy
101102

102103
````xml
103-
<dependency org="com.commercetools" name="commercetools-sync-java" rev="2.3.0"/>
104+
<dependency org="com.commercetools" name="commercetools-sync-java" rev="3.0.0"/>
104105
````
105-
106-
107-
## Roadmap
108-
https://github.com/commercetools/commercetools-sync-java/milestones

docs/README.md

Lines changed: 8 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 2.3.0](https://img.shields.io/badge/Benchmarks-2.3.0-orange.svg)](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
5+
[![Benchmarks 3.0.0](https://img.shields.io/badge/Benchmarks-3.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/2.3.0/)
7+
[![Javadoc](http://javadoc-badge.appspot.com/com.commercetools/commercetools-sync-java.svg?label=Javadoc)](https://commercetools.github.io/commercetools-sync-java/v/3.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

@@ -37,6 +37,7 @@ The library supports synchronising the following entities in commercetools
3737
- [TaxCategories](/docs/usage/TAX_CATEGORY_SYNC.md)
3838
- [CustomObjects](/docs/usage/CUSTOM_OBJECT_SYNC.md)
3939
- [Customers](/docs/usage/CUSTOMER_SYNC.md)
40+
- [ShoppingLists](/docs/usage/SHOPPING_LIST_SYNC.md)
4041

4142
![commercetools-java-sync-final 001](https://user-images.githubusercontent.com/9512131/31230702-0f2255a6-a9e5-11e7-9412-04ed52641dde.png)
4243

@@ -45,7 +46,7 @@ The library supports synchronising the following entities in commercetools
4546

4647
- Make sure you have `JDK 8` installed.
4748
- [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a dependency in your JVM-based
48-
application. (Make sure to use a version `>= 1.47.0`).
49+
application. (Make sure to use a version `>= 1.54.0`).
4950
- a target commercetools project for syncing your source data to.
5051

5152

@@ -57,18 +58,18 @@ Here are the most popular ones:
5758
<dependency>
5859
<groupId>com.commercetools</groupId>
5960
<artifactId>commercetools-sync-java</artifactId>
60-
<version>2.3.0</version>
61+
<version>3.0.0</version>
6162
</dependency>
6263
````
6364
#### Gradle
6465
````groovy
65-
implementation 'com.commercetools:commercetools-sync-java:2.3.0'
66+
implementation 'com.commercetools:commercetools-sync-java:3.0.0'
6667
````
6768
#### SBT
6869
````
69-
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "2.3.0"
70+
libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "3.0.0"
7071
````
7172
#### Ivy
7273
````xml
73-
<dependency org="com.commercetools" name="commercetools-sync-java" rev="2.3.0"/>
74+
<dependency org="com.commercetools" name="commercetools-sync-java" rev="3.0.0"/>
7475
````

docs/RELEASE_NOTES.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,30 @@
2626
2727
7. Add Migration guide section which specifies explicitly if there are breaking changes and how to tackle them.
2828
29-
### 3.0.0 - MMM DD, 2020
30-
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/2.3.0...2.4.0) |
31-
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/2.4.0/) |
32-
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/2.4.0)
29+
-->
30+
31+
### 3.0.0 - Nov 18, 2020
32+
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/2.3.0...3.0.0) |
33+
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/3.0.0/) |
34+
[Jar](https://bintray.com/commercetools/maven/commercetools-sync-java/3.0.0)
3335

3436
- 🚧 **Breaking Changes** (1)
3537
- **Product Sync**: `ProductDraft.getState()` is changed from `Reference<State>` to `ResourceIdentifier<State>`, so as a library user you don't need to provide a key field in the id field of the Reference. (Now API and JVM SDK support `ResourceIdentifiers` and it supports id or key as a field). [#589](https://github.com/commercetools/commercetools-sync-java/pull/589)
3638

37-
-->
39+
- 🐞 **Bug Fixes** (1)
40+
- **Commons** - Fixed a bug in the duration calculation of decorated retry sphere client `RetrySphereClientDecorator` created by `ClientConfigurationUtils`. [#610](https://github.com/commercetools/commercetools-sync-java/issues/610)
41+
42+
- 🎉 **New Features** (4)
43+
- **ShoppingList Sync** - Added support for syncing shopping lists between ctp projects. [#594](https://github.com/commercetools/commercetools-sync-java/issues/594)
44+
- **ShoppingList Sync** - Introduced `ShoppingListSyncUtils` which calculates all needed update actions after comparing a `ShoppingList` and a `ShoppingListDraft`. [#594](https://github.com/commercetools/commercetools-sync-java/issues/594)
45+
- **ShoppingList Sync** - Introduced `ShoppingListUpdateActionUtils` which contains utils for calculating necessary update actions after comparing individual fields of a `ShoppingList` and a `ShoppingListDraft`. [#594](https://github.com/commercetools/commercetools-sync-java/issues/594)
46+
- **ShoppingList Sync** - Introduced `ShoppingListReferenceResolutionUtils` which resolves Type references from a ShoppingList to a ShoppingListDraft. [#594](https://github.com/commercetools/commercetools-sync-java/issues/594)
47+
48+
- 🛠️ **Dependency Updates** (1)
49+
- `commercetools-jvm-sdk` `1.53.0` -> [`1.54.0`](http://commercetools.github.io/commercetools-jvm-sdk/apidocs/io/sphere/sdk/meta/ReleaseNotes.html#v1_54_0)
50+
- `mockito-junit-jupiter` `3.5.13` -> [`3.6.0`](https://github.com/mockito/mockito/releases/tag/v3.6.0)
51+
- `org.assertj.assertj-core` `3.17.2` -> [`3.18.1`](https://assertj.github.io/doc/#assertj-core-3-18-1-release-notes)
52+
3853
### 2.3.0 - Oct 15, 2020
3954
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/2.2.1...2.3.0) |
4055
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/2.3.0/) |
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 1. Record architecture decisions
2+
3+
Date: 2020-11-04
4+
5+
## Status
6+
7+
Accepted
8+
9+
## Context
10+
11+
We need to record the architectural decisions made on this project.
12+
13+
## Decision
14+
15+
We will use Architecture Decision Records, as [described by Michael Nygard](http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions).
16+
17+
## Consequences
18+
19+
See Michael Nygard's article, linked above. For a lightweight ADR toolset, see Nat Pryce's [adr-tools](https://github.com/npryce/adr-tools).

0 commit comments

Comments
 (0)