Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ In the pom.xml, add the following fragment to the `dependencies` section:
<dependency>
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
<version>2.6.0</version>
<version>2.7.0</version>
</dependency>
```

For Gradle users, add the following to your build.gradle file.

```groovy
dependencies {
implementation 'net.datafaker:datafaker:2.6.0'
implementation 'net.datafaker:datafaker:2.7.0'
}

```

You can also use the snapshot version (`2.7.0-SNAPSHOT`), which automatically gets published
You can also use the snapshot version (`2.8.0-SNAPSHOT`), which automatically gets published
after every push to the main branch of this repository. Binary repository URL for snapshots download is
`https://central.sonatype.com/repository/maven-snapshots/`.

Expand Down Expand Up @@ -81,7 +81,7 @@ jshell --class-path $(ls -d target/*.jar | tr '\n' ':')
or JShell w/[JBang](https://www.jbang.dev/)
```
# can be run anywhere, no project root/download needed.
jbang -i net.datafaker:datafaker:2.6.0
jbang -i net.datafaker:datafaker:2.7.0
```

```
Expand Down
8 changes: 4 additions & 4 deletions docs/documentation/providers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Fake data providers

#### Provider groups:

- Base (Providers of everyday data)
- Entertainment (Providers for movies, shows, books)
- Food (Providers for different types of food)
Expand Down Expand Up @@ -34,9 +33,9 @@ Number of providers per Datafaker version:
| 2.4.4 | 2 | 252 |
| 2.5.0 | 1 | 253 |
| 2.5.3 | 3 | 256 |
| 2.6.0 | 6 | 262 |
| 2.6.0 | 7 | 263 |

Datafaker comes with a total of 262 data providers:
Datafaker comes with a total of 263 data providers:

| Name | Description | Group | Since |
|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|-------|
Expand Down Expand Up @@ -96,7 +95,7 @@ Datafaker comes with a total of 262 data providers:
|[Construction](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Construction.html)| | Base | 1.5.0 |
|[Control](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/videogame/Control.html)| Control is an action-adventure game developed by Remedy Entertainment and published by 505 Games. | Videogame | 1.7.0 |
|[Cosmere](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Cosmere.html)| The cosmere is a fictional shared universe where several of Brandon Sanderson's books take place. | Base | 1.7.0 |
|[Country](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Country.html)| | Base | 0.8.0 |
|[Country](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Country.html)| Provides methods for generating country-related data such as names, codes, capitals, and flags. | Base | 0.8.0 |
|[Cowboy Bebop](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/entertainment/CowboyBebop.html)| Cowboy Bebop is a Japanese neo-noir science fiction anime television series, which originally ran from 1998 to 1999. | Entertainment | 1.8.0 |
|[Credentials](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Credentials.html)| Generates credentials such as usernames, uids and passwords. | Base | 2.5.0 |
|[Cricket](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/sport/Cricket.html)| | Sport | 1.7.0 |
Expand Down Expand Up @@ -173,6 +172,7 @@ Datafaker comes with a total of 262 data providers:
|[House](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/House.html)| | Base | 1.5.0 |
|[How IMet Your Mother](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/entertainment/HowIMetYourMother.html)| | Entertainment | 0.8.0 |
|[How To Train Your Dragon](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/entertainment/HowToTrainYourDragon.html)|How to Train Your Dragon is a 2010 American computer-animated action fantasy film loosely based on the 2003 book of the same name by Cressida Cowell.| Entertainment | 1.8.0 |
|[Http](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Http.html)| Faker for HTTP-related data: status codes and reason phrases, request/response headers, | Base | 2.6.0 |
|[Ice Cream](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/food/IceCream.html)| | Food | 2.5.3 |
|[Id Number](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/IdNumber.html)| | Base | 0.8.0 |
|[Image](https://javadoc.io/doc/net.datafaker/datafaker/latest/net/datafaker/providers/base/Image.html)| Generates base64 encoded raster and vector images. | Base | 2.3.0 |
Expand Down
31 changes: 31 additions & 0 deletions docs/releases/2.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Datafaker 2.7.0 (24-06-2026)

## What's changed

* Released Datafaker 2.6.0 by @github-actions[bot] in https://github.com/datafaker-net/datafaker/pull/1838
* Address JavaDoc warning by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1840
* Post release workflow improvements by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1839
* Update exclude_docs format in mkdocs.yml by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1841
* Run docs generator on every build by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1842
* Bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/datafaker-net/datafaker/pull/1844
* Docs: sentence-case headings and cleaner release nav by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1843
* fix(docs): render 2.6.0 release page H1 by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1846
* Fix typo in custom-providers documentation by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1847
* Bump com.googlecode.libphonenumber:libphonenumber from 9.0.32 to 9.0.33 by @dependabot[bot] in https://github.com/datafaker-net/datafaker/pull/1848
* Use jdk 25 and 26 in ci by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1850
* Do not create RegExpContext each time by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1849
* Use primitive int as return type for nextInt by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1852
* docs: fix typos, syntax, formating by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1851
* Add dedicated Http faker with status codes, headers, user agents and more by @bodiam in https://github.com/datafaker-net/datafaker/pull/1835
* Bump actions/cache from 5 to 6 by @dependabot[bot] in https://github.com/datafaker-net/datafaker/pull/1854
* Fix lowercase country code in Finance.bic() by @spannm in https://github.com/datafaker-net/datafaker/pull/1855


**Full Changelog**: https://github.com/datafaker-net/datafaker/compare/2.6.0...2.7.0

## Providers added

* Http faker with status codes, headers, user agents, and more.

See https://www.datafaker.net/documentation/providers/

13 changes: 13 additions & 0 deletions docs/releases/2.8.0-SNAPSHOT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Datafaker 2.8.0-SNAPSHOT (24-06-2026)

## What's changed
* TBD

## New contributors
* TBD

## Providers added

* TBD

See https://www.datafaker.net/documentation/providers/
9 changes: 5 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ exclude_docs: |
# Customization
extra:
datafaker:
version: 2.6.0
snapshot: 2.7.0-SNAPSHOT
version: 2.7.0
snapshot: 2.8.0-SNAPSHOT

# Page tree
nav:
Expand Down Expand Up @@ -117,9 +117,10 @@ nav:
# - Changes: changelog/index.md
# - How to upgrade: upgrade.md
- Releases:
- 2.7.0-SNAPSHOT: releases/2.7.0-SNAPSHOT.md
- 2.6.0: releases/2.6.0.md
- 2.8.0-SNAPSHOT: releases/2.8.0-SNAPSHOT.md
- 2.7.0: releases/2.7.0.md
- 2.x:
- 2.6.0: releases/2.6.0.md
- 2.5.4: releases/2.5.4.md
- 2.5.3: releases/2.5.3.md
- 2.5.2: releases/2.5.2.md
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
<packaging>jar</packaging>
<version>2.7.0-SNAPSHOT</version>
<version>2.8.0-SNAPSHOT</version>
<name>Datafaker</name>
<description>
This library is an improved fork of JavaFaker (as well as Ruby's stympy/faker gem and Perl's Data::Faker
Expand Down
Loading