Skip to content

Commit

Permalink
Bump the version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leadpony committed Nov 23, 2019
1 parent 15e586f commit 9ecff78
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 17 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 2.0.0 - 2019-11-23
### Added
* The problem messages are translated into Simplified Chinese by [@letui](https://github.com/letui).

### Changed
* All the branching problems are now preserved even when they have only one branch of problems (Issue #37 reported by @adityamandhare).
* All the branching problems are now preserved even when they have only one branch of problems (Issue #37 reported by [@adityamandhare](https://github.com/adityamandhare)).
* Problem printers built with `ProblemPrinterBuilder` now skip intermediate problems if and only if they have only one branch of problems.
* Revised the problem message emitted by `contains` keyword.

### Fixed
* A bug which was causing `AssertionError` when `enum` keyword is used in `propertyNames` keyword. (Issue #38 reported by @DMittenMalwareBytes)
* A bug which was causing `AssertionError` when `enum` keyword is used in `propertyNames` keyword. (Issue #38 reported by [@DMittenMalwareBytes](https://github.com/DMittenMalwareBytes))

## 1.1.0 - 2019-08-16
### Added
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ This software is available in the [Maven Central Repository] and the following d
<dependency>
<groupId>org.leadpony.justify</groupId>
<artifactId>justify</artifactId>
<version>1.1.0</version>
<version>2.0.0</version>
</dependency>
```

*Gradle*
```
implementation group: 'org.leadpony.justify', name: 'justify', version: '1.1.0'
implementation group: 'org.leadpony.justify', name: 'justify', version: '2.0.0'
```

Note that the addition of this dependency brings the following artifacts as transitive dependencies.
Expand All @@ -59,14 +59,14 @@ Please add exactly one dependency to your build as shown below.
<groupId>org.glassfish</groupId>
<artifactId>jakarta.json</artifactId>
<classifier>module</classifier>
<version>1.1.5</version>
<version>1.1.6</version>
<scope>runtime</scope>
</dependency>
```

*Gradle*
```
runtimeOnly group: 'org.glassfish', name: 'jakarta.json', classifier: 'module', version: '1.1.5'
runtimeOnly group: 'org.glassfish', name: 'jakarta.json', classifier: 'module', version: '1.1.6'
```

Please note that the classifier `module` is required when using this implementation.
Expand All @@ -77,14 +77,14 @@ Please note that the classifier `module` is required when using this implementat
<dependency>
<groupId>org.apache.johnzon</groupId>
<artifactId>johnzon-core</artifactId>
<version>1.1.12</version>
<version>1.2.1</version>
<scope>runtime</scope>
</dependency>
```

*Gradle*
```
runtimeOnly group: 'org.apache.johnzon', name: 'johnzon-core', version: '1.1.12'
runtimeOnly group: 'org.apache.johnzon', name: 'johnzon-core', version: '1.2.1'
```

#### Joy
Expand All @@ -93,14 +93,14 @@ runtimeOnly group: 'org.apache.johnzon', name: 'johnzon-core', version: '1.1.12'
<dependency>
<groupId>org.leadpony.joy</groupId>
<artifactId>joy</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
<scope>runtime</scope>
</dependency>
```

*Gradle*
```
runtimeOnly group: 'org.leadpony.joy', name: 'joy', version: '1.1.0'
runtimeOnly group: 'org.leadpony.joy', name: 'joy', version: '1.2.0'
```

### Using with the Streaming API of JSON Processing
Expand Down
6 changes: 5 additions & 1 deletion justify-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.leadpony.justify</groupId>
<artifactId>justify-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>justify-cli</artifactId>
Expand Down Expand Up @@ -142,6 +142,10 @@
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* @author leadpony
*/
public class ColorConsole extends Console {
class ColorConsole extends Console {

private static final String RESET = "\u001b[0m";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ public class Launcher {

public static final String PROPERTY_USE_JANSI = "org.leadpony.justify.cli.use.jansi";

/**
* Launches the problem.
*
* @param args the arguments given to this program.
* @return the status code of this problem.
*/
public Status launch(String[] args) {
return launch(new LinkedList<>(Arrays.asList(args)));
}
Expand Down
2 changes: 1 addition & 1 deletion justify-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.leadpony.justify</groupId>
<artifactId>justify-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>justify-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion justify/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.leadpony.justify</groupId>
<artifactId>justify-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>justify</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.leadpony.justify</groupId>
<artifactId>justify-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<packaging>pom</packaging>
<name>org.leadpony.justify.parent</name>

Expand Down Expand Up @@ -245,7 +245,7 @@
<properties>
<jsonp.provider.groupId>org.apache.johnzon</jsonp.provider.groupId>
<jsonp.provider.artifactId>johnzon-core</jsonp.provider.artifactId>
<jsonp.provider.version>1.1.13</jsonp.provider.version>
<jsonp.provider.version>1.2.1</jsonp.provider.version>
<jsonp.provider.classifier></jsonp.provider.classifier>
</properties>
</profile>
Expand Down

0 comments on commit 9ecff78

Please sign in to comment.