Skip to content

Commit

Permalink
7.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dvgaba committed Oct 24, 2024
1 parent 5161042 commit b55a318
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 21 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
Active

## Latest news
* 10/23/2024 7.1.0 Minor release, added support for sealed classes, Thanks @[Marian Jureczko ](https://github.com/mjureczko). Some minor 3PP updates.
* 1/15/2024 7.0.0 Major release, default Java version bumped to 17 and other 3PP version bump. [Breaking changes].
* 9/1/2023 6.2.1 Minor release to initialize leaf nodes for Records [Breaking change].
* 8/10/2023 6.2.0 Minor release to add custom radomizer support for protobuf, 3PP and code refactoring.
Expand Down
6 changes: 3 additions & 3 deletions easy-random-bean-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.github.dvgaba</groupId>
<artifactId>easy-random</artifactId>
<version>7.0.1-SNAPSHOT</version>
<version>7.1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>easy-random-bean-validation</artifactId>
Expand Down Expand Up @@ -59,8 +59,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
<groupId>jakarta.el</groupId>
<artifactId>jakarta.el-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion easy-random-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.github.dvgaba</groupId>
<artifactId>easy-random</artifactId>
<version>7.0.1-SNAPSHOT</version>
<version>7.1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>easy-random-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ void whenSpecifiedMinYearMonthIsNull_thenShouldUseDefaultMinValue() {
YearMonth randomValue = randomizer.getRandomValue();

// Then
assertThat(randomValue).isLessThanOrEqualTo(maxYearMonth);
assertThat(randomValue.getMonth()).isLessThanOrEqualTo(maxYearMonth.getMonth());
assertThat(randomValue.getYear()).isLessThanOrEqualTo(maxYearMonth.getYear());
}

@Test
Expand All @@ -91,6 +92,7 @@ void whenSpecifiedMaxYearMonthIsNull_thenShouldUseDefaultMaxValue() {
YearMonth randomValue = randomizer.getRandomValue();

// Then
assertThat(randomValue).isGreaterThanOrEqualTo(minYearMonth);
assertThat(randomValue.getMonth()).isLessThanOrEqualTo(maxYearMonth.getMonth());
assertThat(randomValue.getYear()).isLessThanOrEqualTo(maxYearMonth.getYear());
}
}
2 changes: 1 addition & 1 deletion easy-random-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.github.dvgaba</groupId>
<artifactId>easy-random</artifactId>
<version>7.0.1-SNAPSHOT</version>
<version>7.1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>easy-random-protobuf</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion easy-random-randomizers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.github.dvgaba</groupId>
<artifactId>easy-random</artifactId>
<version>7.0.1-SNAPSHOT</version>
<version>7.1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>easy-random-randomizers</artifactId>
Expand Down
28 changes: 15 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.dvgaba</groupId>
<artifactId>easy-random</artifactId>
<version>7.0.1-SNAPSHOT</version>
<version>7.1.0</version>
<packaging>pom</packaging>

<build>
Expand Down Expand Up @@ -141,16 +141,17 @@
<artifactId>expressly</artifactId>
<version>${expressly.version}</version>
</dependency>
<dependency>
<groupId>jakarta.el</groupId>
<artifactId>jakarta.el-api</artifactId>
<version>${jakarta.el-api.version}</version>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>${jakarta.validation-api.version}</version>
</dependency>
<dependency>
<artifactId>jakarta.el</artifactId>
<groupId>org.glassfish</groupId>
<version>${javax.el.version}</version>
</dependency>

<dependency>
<artifactId>datafaker</artifactId>
<groupId>net.datafaker</groupId>
Expand Down Expand Up @@ -315,13 +316,13 @@
</profiles>

<properties>
<assertj.version>3.25.1</assertj.version>
<classgraph.version>4.8.165</classgraph.version>
<assertj.version>3.26.3</assertj.version>
<classgraph.version>4.8.177</classgraph.version>
<datafaker.version>2.1.0</datafaker.version>
<hibernate-validator.version>8.0.1.Final</hibernate-validator.version>
<java.version>17</java.version>
<javax.el.version>4.0.2</javax.el.version>
<junit.version>5.10.1</junit.version>
<junit.version>5.11.3</junit.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
Expand All @@ -330,20 +331,21 @@
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<mockito.version>5.9.0</mockito.version>
<mockito.version>5.14.2</mockito.version>
<nexus-staging-maven-plugin.version>1.6.12</nexus-staging-maven-plugin.version>
<objenesis.version>3.3</objenesis.version>
<objenesis.version>3.4</objenesis.version>
<os-maven-plugin.version>1.7.0</os-maven-plugin.version>
<prettier-java.version>1.6.2</prettier-java.version>
<prettier.version>2.7.1</prettier.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
<protobuf.version>3.25.2</protobuf.version>
<protobuf.version>3.25.5</protobuf.version>
<snakeyaml.version>2.2</snakeyaml.version>
<spotless-maven-plugin.version>2.26.0</spotless-maven-plugin.version>
<velocity-engine-core.version>2.3</velocity-engine-core.version>
<expressly.version>5.0.0</expressly.version>
<jakarta.validation-api.version>3.0.2</jakarta.validation-api.version>
<jakarta.validation-api.version>3.1.0</jakarta.validation-api.version>
<jakarta.el-api.version>4.0.0</jakarta.el-api.version>
</properties>

<scm>
Expand Down

0 comments on commit b55a318

Please sign in to comment.