diff --git a/README.md b/README.md index 08cb53d00..873113dad 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ In the pom.xml, add the following fragment to the `dependencies` section: net.datafaker datafaker - 2.6.0 + 2.7.0 ``` @@ -37,12 +37,12 @@ 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/`. @@ -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 ``` ``` diff --git a/docs/documentation/providers.md b/docs/documentation/providers.md index a45d15dab..5c674ded6 100644 --- a/docs/documentation/providers.md +++ b/docs/documentation/providers.md @@ -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) @@ -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 | |---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|-------| @@ -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 | @@ -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 | diff --git a/docs/releases/2.7.0.md b/docs/releases/2.7.0.md new file mode 100644 index 000000000..0f0dc16f0 --- /dev/null +++ b/docs/releases/2.7.0.md @@ -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/ + diff --git a/docs/releases/2.8.0-SNAPSHOT.md b/docs/releases/2.8.0-SNAPSHOT.md new file mode 100644 index 000000000..2b179da82 --- /dev/null +++ b/docs/releases/2.8.0-SNAPSHOT.md @@ -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/ diff --git a/mkdocs.yml b/mkdocs.yml index 6b27a23a4..f5f229f1c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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: @@ -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 diff --git a/pom.xml b/pom.xml index 1e6edcd9b..518d92206 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ net.datafaker datafaker jar - 2.7.0-SNAPSHOT + 2.8.0-SNAPSHOT Datafaker This library is an improved fork of JavaFaker (as well as Ruby's stympy/faker gem and Perl's Data::Faker