From b55a3187997368b7c20daa1802beb90f0a2d86fc Mon Sep 17 00:00:00 2001 From: dvgaba <3621249+dvgaba@users.noreply.github.com> Date: Wed, 23 Oct 2024 19:28:51 -0500 Subject: [PATCH] 7.1.0 release --- README.md | 1 + easy-random-bean-validation/pom.xml | 6 ++-- easy-random-core/pom.xml | 2 +- .../range/YearMonthRangeRandomizerTest.java | 6 ++-- easy-random-protobuf/pom.xml | 2 +- easy-random-randomizers/pom.xml | 2 +- pom.xml | 28 ++++++++++--------- 7 files changed, 26 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 99a30c2a..f440e36d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/easy-random-bean-validation/pom.xml b/easy-random-bean-validation/pom.xml index 61c2ed32..0589f093 100644 --- a/easy-random-bean-validation/pom.xml +++ b/easy-random-bean-validation/pom.xml @@ -4,7 +4,7 @@ io.github.dvgaba easy-random - 7.0.1-SNAPSHOT + 7.1.0 4.0.0 easy-random-bean-validation @@ -59,8 +59,8 @@ test - org.glassfish - jakarta.el + jakarta.el + jakarta.el-api test diff --git a/easy-random-core/pom.xml b/easy-random-core/pom.xml index 4448540a..dc20d918 100644 --- a/easy-random-core/pom.xml +++ b/easy-random-core/pom.xml @@ -4,7 +4,7 @@ io.github.dvgaba easy-random - 7.0.1-SNAPSHOT + 7.1.0 4.0.0 easy-random-core diff --git a/easy-random-core/src/test/java/org/jeasy/random/randomizers/range/YearMonthRangeRandomizerTest.java b/easy-random-core/src/test/java/org/jeasy/random/randomizers/range/YearMonthRangeRandomizerTest.java index a8395680..c8ae6c17 100644 --- a/easy-random-core/src/test/java/org/jeasy/random/randomizers/range/YearMonthRangeRandomizerTest.java +++ b/easy-random-core/src/test/java/org/jeasy/random/randomizers/range/YearMonthRangeRandomizerTest.java @@ -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 @@ -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()); } } diff --git a/easy-random-protobuf/pom.xml b/easy-random-protobuf/pom.xml index 02270be2..73f74167 100644 --- a/easy-random-protobuf/pom.xml +++ b/easy-random-protobuf/pom.xml @@ -4,7 +4,7 @@ io.github.dvgaba easy-random - 7.0.1-SNAPSHOT + 7.1.0 4.0.0 easy-random-protobuf diff --git a/easy-random-randomizers/pom.xml b/easy-random-randomizers/pom.xml index 4f1b6269..afc05fd6 100644 --- a/easy-random-randomizers/pom.xml +++ b/easy-random-randomizers/pom.xml @@ -4,7 +4,7 @@ io.github.dvgaba easy-random - 7.0.1-SNAPSHOT + 7.1.0 4.0.0 easy-random-randomizers diff --git a/pom.xml b/pom.xml index d9407048..6d42bf7c 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 io.github.dvgaba easy-random - 7.0.1-SNAPSHOT + 7.1.0 pom @@ -141,16 +141,17 @@ expressly ${expressly.version} + + jakarta.el + jakarta.el-api + ${jakarta.el-api.version} + jakarta.validation jakarta.validation-api ${jakarta.validation-api.version} - - jakarta.el - org.glassfish - ${javax.el.version} - + datafaker net.datafaker @@ -315,13 +316,13 @@ - 3.25.1 - 4.8.165 + 3.26.3 + 4.8.177 2.1.0 8.0.1.Final 17 4.0.2 - 5.10.1 + 5.11.3 3.10.1 1.6 3.2.0 @@ -330,20 +331,21 @@ 2.5.3 3.2.1 2.22.2 - 5.9.0 + 5.14.2 1.6.12 - 3.3 + 3.4 1.7.0 1.6.2 2.7.1 UTF-8 0.6.1 - 3.25.2 + 3.25.5 2.2 2.26.0 2.3 5.0.0 - 3.0.2 + 3.1.0 + 4.0.0