Skip to content

Commit

Permalink
chore(docs): update changelog and bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
CarstenWickner committed Jul 13, 2024
1 parent 0f42e0b commit 5564b5e
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 14 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ 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]

-
### `jsonschema-module-jakarta-validation`
#### Added
- populate `const`/`enum` based on `@AssertTrue`/`@AssertFalse`

## [4.35.0] - 2024-03-29
### `jsonschema-generator`
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-generator-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-bom</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand Down
5 changes: 3 additions & 2 deletions jsonschema-generator-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-bom</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-bom/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-generator-parent</artifactId>
<packaging>pom</packaging>

<name>Java JSON Schema Generator (Parent)</name>
<description>Java JSON Schema Generator + Modules creating a JSON Schema from your Java classes</description>
<description>Java JSON Schema Generator + Modules - creating a JSON Schema from your Java classes</description>
<url>https://github.com/victools/jsonschema-generator</url>

<licenses>
Expand Down Expand Up @@ -126,6 +126,7 @@
<url>https://github.com/Nephery</url>
<roles>
<role>Provided PR #435 (fixing Jackson JsonUnwrapped annotation on inherited properties)</role>
<role>Provided PR #456 (introducing support for Jakarta @AssertTrue/@AssertFalse)</role>
</roles>
</contributor>
</contributors>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-generator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-module-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-module-jackson</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-module-jakarta-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-module-jakarta-validation</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,11 @@ protected BigDecimal resolveNumberExclusiveMaximum(MemberScope<?, ?> member) {

/**
* Look-up the finite list of possible values.
*
* @param member field/method to determine allowed values for
* @return applicable "const"/"enum" values or null
*
* @since 4.36.0
* @see AssertTrue
* @see AssertFalse
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ static Stream<Arguments> parametersForTestEnumResolvers() {
Arguments.of("trueOnGetterBoolean", new Object[]{true}),
Arguments.of("falseBoolean", new Object[]{false}),
Arguments.of("falseOnGetterBoolean", new Object[]{false}),
// it's deemed invalid to have both @AssertTrue and @AssertFalse simultaneously
Arguments.of("trueAndFalseBoolean", new Object[]{true}),
Arguments.of("trueAndFalseOnGetterBoolean", new Object[]{true})
);
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-module-javax-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-module-javax-validation</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-module-swagger-1.5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-module-swagger-1.5</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jsonschema-module-swagger-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-parent</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<relativePath>../jsonschema-generator-parent/pom.xml</relativePath>
</parent>
<artifactId>jsonschema-module-swagger-2</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.github.victools</groupId>
<artifactId>jsonschema-generator-reactor</artifactId>
<version>4.35.1-SNAPSHOT</version>
<version>4.36.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Java JSON Schema Generator (Reactor)</name>
Expand Down

0 comments on commit 5564b5e

Please sign in to comment.