Skip to content

Datafaker 2.0.0 (11 June 2023)

Today, we're pleased to announce a new milestone for the Datafaker project:

Datafaker 2.0 has been released!

The biggest change in Datafaker 2.0 is that the minimum Java version is now version 17. After Spring Boot moved to Java 17, we thought that moving to Java 11 wouldn't have much benefit, so we decided to jump a version and support Java 17+ instead. This allows us to support newer Java features such as Java Records. Please checkout the documentation for more info.

Besides that, there are numerous small improvements, which you can find in the release notes below.

As always, and while we changed the major version, we aim to keep upgrades smooth, and besides the change in Java version, no (or not many...) breaking changes should have been introduced.

Thanks to all our users for the great support; it's been a great journey so far, and here's to many more Datafaker releases!

Breaking Change

internet().url() will now return a web URL. The previous implementation returned just a domain name.

Here's a sample of the new generation:

https://www.garry-damore.co/iure/recusandaesint
https://www.bertha-jacobson.biz/?animi=sed&aspernatur=voluptatem
https://www.arlene-mclaughlin.info:40819/iusto/id?repudiandae=dignissimos&voluptatem=atque#ab
https://www.fred-ledner.name/beatae/voluptatemreiciendis?ab=deleniti&repudiandae=atque#voluptate
https://www.melissa-tromp.info:43154/
https://www.un-langosh.co:52266/in?numquam=ipsa&ut=blanditiis#voluptatem
https://www.robbin-hamill.biz:24492/deleniti/utveniam
https://www.una-luettgen.info/?ab=ea&quis=soluta#voluptas
https://www.wilber-harber.net/dolor/praesentiumquas#numquam
https://www.santana-stiedemann.com/tempore?ad=repellat&atque=odit#ex
https://www.logan-yundt.org/fuga?quaerat=voluptas&est=ipsa

For further details see: https://github.com/datafaker-net/datafaker/issues/840.

New Contributors

A big shout to our new contributors, without who Datafaker wouldn't be the project which it is today.

Thank you all for helping out, your contributions are appreciated!

What's Changed