Bogus 31.0.3

A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use Bogus to create UIs with fake data or seed databases. Get started by using Faker class or a DataSet directly.

Install-Package Bogus -Version 31.0.3
dotnet add package Bogus --version 31.0.3
<PackageReference Include="Bogus" Version="31.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bogus --version 31.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## v31.0.3
Release Date: 2020-10-03

* Fixed `pt_BR` locale where `Address.City()` threw `ArgumentOutOfRangeException`.

## v31.0.2
Release Date: 2020-09-13

* Ensures Bogus Premium datasets load with new `DataSet.Get(category, path)` overload.

## v31.0.1
Release Date: 2020-09-13, UNPUBLISHED FROM NUGET

* Locale data parity with faker-js@91dc8a3.
* Added `Music` dataset with `.Genre()` method.
* Added `Date.TimeZoneString()`.
* Added new Finnish `fi` locale.
* Added new Hrvatski `hr` locale.
* `cz` locale updated.
* `en` locale updated.
* `en_IE` locale updated.
* `en_IND` locale updated.
* `fa` locale updated.
* `fr` locale updated.
* `ja` locale updated.
* `pl` locale updated.
* `pt_BR` locale updated.
* `ru` locale updated.
* `sv` locale updated.
* `vi` locale updated.
* `zh_CN` locale updated.

## v30.0.4
Release Date: 2020-08-15

* Issue 319: The `Random.Decimal()` implementation reverted to previous v29 implementation. Avoids arithmetic `OverflowException` when calling `Random.Decimal(0, decimal.MaxValue)`. The v30 implementation moved to `Bogus.Extensions` namespace as `Random.Decimal2()` which can generate more decimal precision.

## v30.0.3
Release Date: 2020-08-13, UNPUBLISHED FROM NUGET

* Added `f.Address.CountryOfUnitedKingdom()` extension method in `Bogus.Extensions.UnitedKingdom`.


Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md

NuGet packages (51)

Showing the top 5 NuGet packages that depend on Bogus:

Package Downloads
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
HQ
This package contains the full-stack build for HQ.io.
CountryData.Bogus
Extends Bogus (https://github.com/bchavez/Bogus) to use [GeoNames Data](https://www.geonames.org/).
Indice.AspNetCore.Identity
Indice.AspNetCore.Identity Class Library
Bogus.Locations
Premium data set for generating map data. Mapping locations, point of interests, and GPS data for your applications, UIs and databases.

GitHub repositories (28)

Showing the top 5 popular GitHub repositories that depend on Bogus:

Repository Stars
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
graphql-dotnet/graphql-dotnet
GraphQL for .NET
bchavez/Bogus
:card_index: A simple and sane fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
umbraco/Umbraco-CMS
The simple, flexible and friendly ASP.NET CMS used by more than 500.000 websites
elastic/elasticsearch-net
Elasticsearch.Net & NEST

Version History

Version Downloads Last updated
31.0.3 48,384 10/4/2020
30.0.4 111,687 8/15/2020
30.0.1-beta-4 931 7/24/2020
30.0.1-beta-3 5,296 6/30/2020
30.0.1-beta-2 1,950 6/21/2020
30.0.1-beta-1 1,737 6/15/2020
29.0.2 1,033,569 4/11/2020
29.0.1 527,557 2/10/2020
28.4.4 788,331 12/10/2019
28.4.3 63,632 12/4/2019
28.4.2 11,133 11/30/2019
28.4.1 383,885 10/15/2019
28.3.2 63,634 10/4/2019
28.3.1 101,264 9/21/2019
28.2.1 196,555 9/10/2019
28.1.1 2,232 9/10/2019
28.0.3 65,194 8/28/2019
28.0.2 436,091 7/7/2019
28.0.1 23,778 7/2/2019
27.0.1 566,192 5/2/2019
26.0.2 251,309 3/22/2019
26.0.1 259,751 2/26/2019
25.0.4 275,824 1/18/2019
25.0.3 86,134 1/6/2019
25.0.2 147,834 12/11/2018
25.0.1 82,182 11/27/2018
24.3.1 124,772 11/3/2018
24.3.0 326,863 10/2/2018
24.2.0 34,267 9/27/2018
23.0.2 98,743 8/13/2018
22.3.2 121,076 7/18/2018
22.3.1 83,375 7/5/2018
22.2.1 18,288 6/29/2018
22.1.4 13,103 6/26/2018
22.1.3 43,678 6/14/2018
22.1.2 154,142 5/29/2018
22.1.1 11,362 5/21/2018
22.0.9 2,607 5/17/2018
22.0.8 255,036 4/10/2018
22.0.7 35,396 4/1/2018
22.0.6 4,822 3/29/2018
22.0.5 102,116 3/3/2018
22.0.3 12,318 2/27/2018
22.0.2 112,188 1/6/2018
22.0.1 39,889 12/23/2017
21.0.5 6,320 12/16/2017
21.0.4 7,782 12/13/2017
21.0.2 9,585 12/8/2017
20.0.2 59,261 11/6/2017
20.0.1 4,650 11/5/2017
19.0.2 25,363 11/1/2017
18.0.2 100,349 9/14/2017
18.0.1 10,999 9/13/2017
17.0.1 48,173 8/25/2017
16.0.3 10,494 8/24/2017
16.0.2 1,808 8/23/2017
15.0.7 5,121 8/21/2017
15.0.6 16,617 8/3/2017
15.0.5 4,997 7/28/2017
15.0.3 142,497 5/7/2017
15.0.1 31,265 4/11/2017
12.0.1 9,491 3/27/2017
11.0.5 8,315 3/20/2017
11.0.4 22,492 3/15/2017
11.0.3 2,592 3/13/2017
11.0.2 22,704 2/23/2017
11.0.1 1,574 2/21/2017
10.0.1 1,384 2/18/2017
9.0.2 19,743 1/19/2017
9.0.1 987 1/18/2017
8.0.4 1,176 1/17/2017
8.0.3 34,308 12/20/2016
8.0.2 6,942 12/7/2016
8.0.1 9,966 11/25/2016
8.0.1-beta-1 19,114 10/22/2016
7.1.7 52,637 10/11/2016
7.1.6 36,433 8/8/2016
7.1.5 1,310 7/27/2016
7.1.4 4,190 7/7/2016
7.1.3 4,641 6/28/2016
7.1.3-beta-1 769 5/20/2016
7.1.2 8,211 5/16/2016
7.1.2-beta-1 719 5/16/2016
7.1.1 854 5/15/2016
7.1.1-beta-1 759 5/15/2016
6.1.1 6,037 3/30/2016
6.1.1-beta-1 956 3/29/2016
5.1.1-beta-3 772 3/23/2016
5.1.1-beta-2 729 3/22/2016
5.1.1-beta-1 737 3/21/2016
5.0.1 2,694 2/25/2016
5.0.1-beta-2 765 2/25/2016
4.0.1 936 2/16/2016
4.0.1-beta-1 763 2/16/2016
3.0.6 2,717 1/21/2016
3.0.6-beta-1 717 1/21/2016
3.0.5 5,050 1/21/2016
3.0.5-beta-4 741 1/20/2016
3.0.5-beta-3 778 1/18/2016
3.0.5-beta-2 1,866 1/12/2016
3.0.4 1,769 12/10/2015
3.0.3 816 12/9/2015
3.0.2 936 11/24/2015
3.0.1 1,076 10/22/2015
3.0.0.3 1,524 7/21/2015
3.0.0.2 2,247 7/12/2015
3.0.0.1 9,761 7/12/2015
2.1.5.2 1,221 6/22/2015
2.1.5.1 881 6/11/2015
2.1.4.2 830 6/11/2015
2.1.4.1 880 6/10/2015
2.1.4 1,869 6/9/2015