What's Changed
New Features
-
Instancio Quickcheck support for
@Nested
classes -
Text pattern generator support for
as(Function)
record Foo(BigDecimal value) {}
Foo result = Instancio.of(Foo.class)
.generate(field(Foo::value), gen -> gen.text().pattern("#d#d#d.#d#d").as(BigDecimal::new))
.create();
// Sample output: Foo[value=284.17]
Improvements
- Improvements to
instancio-junit
error messages
- Bump actions/github-script from 6 to 7 by @dependabot in #817
- Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 by @dependabot in #819
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 by @dependabot in #803
- Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.1 to 3.2.2 by @dependabot in #804
- Bump com.puppycrawl.tools:checkstyle from 10.12.4 to 10.12.5 by @dependabot in #818
- Bump org.codehaus.mojo:versions-maven-plugin from 2.16.1 to 2.16.2 by @dependabot in #820
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 by @dependabot in #822
- Bump version.kotlin from 1.9.20 to 1.9.21 by @dependabot in #824
- Fixed typo in class name by @armandino in #826
- Bump ch.qos.logback:logback-classic from 1.3.6 to 1.3.12 in /instancio-tests by @dependabot in #828
- Bump nl.jqno.equalsverifier:equalsverifier-nodep from 3.15.3 to 3.15.4 by @dependabot in #830
- JUnit extension improvements to error messages by @armandino in #831
- Bump actions/setup-java from 3 to 4 by @dependabot in #829
- Add support for
as(Function)
to the text pattern generator by @armandino in #832 - Fix test failure on Windows due to line endings by @armandino in #837
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3 by @dependabot in #834
- Bump com.tngtech.archunit:archunit from 1.2.0 to 1.2.1 by @dependabot in #835
- Bump org.mockito:mockito-bom from 4.8.0 to 4.11.0 by @dependabot in #839
- Bump com.puppycrawl.tools:checkstyle from 10.12.5 to 10.12.6 by @dependabot in #840
- Add support for JUnit's
@Nested
test cases by @reta in #833
Full Changelog: instancio-parent-3.6.0...instancio-parent-3.7.0