Skip to content

Commit

Permalink
Bump version to 0.12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
leadpony committed Feb 8, 2019
1 parent a3a3f78 commit f6fb87b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ 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).

## 0.12.0 - 2019-02-08
### Added
- JsonSchema#containsKeyword() which tests whether a schema contains the specified keyword or not.
- JsonSchema#defaultValue() which returns the value of the "default" keyword.
- JsonSchema#hasAbsoluteId() which tests whether a schema has an "$id" whose value is an absolute URI.
- JsonSchema#getInPlaceSubschemas() which returns the subschemas which will be applied to the same instance location as the owning schema.
- Detection of infinite recursive looping while reading schemas.

### Changed
- JsonSchema#subschemas() and subschemaAt() were renamed to getSubschemas() and getSubschemaAt(), respectively.

### Fixed
- A bug which was causing JsonSchemaReader to throw a ClassCastExpcetion when the schema has both "$id" and "$ref" keywords. (Issue #2 reported by @avstp)
- A bug which was causing the evaluation result of "if"/"then"/"else" keywords to be ignored when the instance is a JSON object or a JSON array.

## 0.11.0 - 2019-01-26
### Added
- comment(), title() and description() methods to JsonSchema interface
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ the following two dependencies are all you need to add to your pom.xml.
<dependency>
<groupId>org.leadpony.justify</groupId>
<artifactId>justify</artifactId>
<version>0.11.0</version>
<version>0.12.0</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -120,6 +120,7 @@ Invoking the utility with `-h` option shows the syntax and available options for

* [Justify Examples] which show how to use this library.
* [API Reference in Javadoc]
* [Changelog]

## Current Development Status

Expand Down Expand Up @@ -208,3 +209,4 @@ Copyright &copy; 2018-2019 the Justify authors. This software is licensed under
[Apache Johnzon]: https://johnzon.apache.org/
[The list of implementations]: https://json-schema.org/implementations.html
[Releases]: https://github.com/leadpony/justify/releases/latest
[Changelog]: CHANGELOG.md
4 changes: 2 additions & 2 deletions justify-cli/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-cli</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<packaging>jar</packaging>
<name>org.leadpony.justify.cli</name>
<description>
Expand Down Expand Up @@ -157,7 +157,7 @@
</plugins>
</build>

<url>https://github.com/leadpony/justify-cli</url>
<url>https://github.com/leadpony/justify</url>
<inceptionYear>2018</inceptionYear>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion justify/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</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.12.0</version>
<packaging>jar</packaging>
<name>org.leadpony.justify</name>
<description>
Expand Down

0 comments on commit f6fb87b

Please sign in to comment.