Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps org.instancio:instancio-junit from 5.2.1 to 5.3.0.

Release notes

Sourced from org.instancio:instancio-junit's releases.

5.3.0

What's Changed

New Features

  • New top-level APIs Instancio.fill(T) and Instancio.ofObject(T) (#1268)

    Example: given a partially populated object:

    class Person {
        String name;
        String email;
        LocalDate dateOfBirth;
        // getters/setters
    }
    Person person = new Person();
    person.setDateOfBirth(LocalDate.of(1980, 12, 31));
    // The remaining fields can be populated as follows:
    Instancio.fill(person);
    // Sample output:
    // Person[name=VCNSOU email=ONVERFS, dateOfBirth=1980-12-31]

    Additionally, the ofObject() builder API supports all of the usual Instancio methods:

    Person person = new Person();
    person.setDateOfBirth(LocalDate.of(1980, 12, 31));
    Instancio.ofObject(person)
    .generate(field(Person::getEmail), gen -> gen.net().email())
    .fill();
    // Sample output:
    // Person[name=VCNSOU, [email protected], dateOfBirth=1980-12-31]

Bug Fixes

  • Overwrite initialised field via assign() (#1253)

Breaking Changes

  • Experimental API breaking change: renamed @DataSpec to @AliasSpec (#1244)

... (truncated)

Commits
  • ca2d7a4 [maven-release-plugin] prepare release instancio-parent-5.3.0
  • 1ef084a Javadoc improvements
  • 65525a4 Bump org.assertj:assertj-bom from 3.27.2 to 3.27.3
  • f0498db Refactor: cleanup error message creation
  • d946993 Updated justfile
  • 522879c Updated build to use java 23
  • e29883f Updated spi-tests pom
  • 26663c6 Updated site
  • 9821db4 New top-level APIs Instancio.fill(T) and Instancio.ofObject(T) (#1252)
  • 0895564 Bump version.jooq from 3.19.17 to 3.19.18
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.instancio:instancio-junit](https://github.com/instancio/instancio) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/instancio/instancio/releases)
- [Commits](instancio/instancio@instancio-parent-5.2.1...instancio-parent-5.3.0)

---
updated-dependencies:
- dependency-name: org.instancio:instancio-junit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 27, 2025
@rieckpil rieckpil merged commit 6d3cade into main May 2, 2025
3 checks passed
@dependabot dependabot bot deleted the dependabot/maven/spring-boot-example/org.instancio-instancio-junit-5.3.0 branch May 2, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants