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 30,018 10/4/2020
30.0.4 105,331 8/15/2020
30.0.1-beta-4 914 7/24/2020
30.0.1-beta-3 5,022 6/30/2020
30.0.1-beta-2 1,943 6/21/2020
30.0.1-beta-1 1,707 6/15/2020
29.0.2 997,850 4/11/2020
29.0.1 519,155 2/10/2020
28.4.4 771,852 12/10/2019
28.4.3 62,681 12/4/2019
28.4.2 10,904 11/30/2019
28.4.1 379,213 10/15/2019
28.3.2 63,136 10/4/2019
28.3.1 100,495 9/21/2019
28.2.1 194,212 9/10/2019
28.1.1 2,229 9/10/2019
28.0.3 64,638 8/28/2019
28.0.2 432,898 7/7/2019
28.0.1 23,503 7/2/2019
27.0.1 560,767 5/2/2019
26.0.2 249,955 3/22/2019
26.0.1 258,608 2/26/2019
25.0.4 274,477 1/18/2019
25.0.3 85,817 1/6/2019
25.0.2 147,288 12/11/2018
25.0.1 81,854 11/27/2018
24.3.1 124,536 11/3/2018
24.3.0 325,174 10/2/2018
24.2.0 34,019 9/27/2018
23.0.2 98,180 8/13/2018
22.3.2 120,853 7/18/2018
22.3.1 83,146 7/5/2018
22.2.1 18,278 6/29/2018
22.1.4 13,012 6/26/2018
22.1.3 43,305 6/14/2018
22.1.2 153,643 5/29/2018
22.1.1 11,352 5/21/2018
22.0.9 2,605 5/17/2018
22.0.8 253,962 4/10/2018
22.0.7 35,227 4/1/2018
22.0.6 4,821 3/29/2018
22.0.5 101,931 3/3/2018
22.0.3 12,300 2/27/2018
22.0.2 111,938 1/6/2018
22.0.1 39,807 12/23/2017
21.0.5 6,310 12/16/2017
21.0.4 7,777 12/13/2017
21.0.2 9,558 12/8/2017
20.0.2 58,760 11/6/2017
20.0.1 4,650 11/5/2017
19.0.2 25,294 11/1/2017
18.0.2 100,057 9/14/2017
18.0.1 10,977 9/13/2017
17.0.1 47,541 8/25/2017
16.0.3 10,485 8/24/2017
16.0.2 1,807 8/23/2017
15.0.7 5,120 8/21/2017
15.0.6 16,591 8/3/2017
15.0.5 4,997 7/28/2017
15.0.3 141,844 5/7/2017
15.0.1 31,257 4/11/2017
12.0.1 9,460 3/27/2017
11.0.5 8,315 3/20/2017
11.0.4 22,471 3/15/2017
11.0.3 2,584 3/13/2017
11.0.2 22,475 2/23/2017
11.0.1 1,574 2/21/2017
10.0.1 1,384 2/18/2017
9.0.2 19,711 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,936 12/7/2016
8.0.1 9,947 11/25/2016
8.0.1-beta-1 19,110 10/22/2016
7.1.7 52,386 10/11/2016
7.1.6 36,426 8/8/2016
7.1.5 1,310 7/27/2016
7.1.4 4,190 7/7/2016
7.1.3 4,639 6/28/2016
7.1.3-beta-1 769 5/20/2016
7.1.2 8,164 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,036 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,692 2/25/2016
5.0.1-beta-2 763 2/25/2016
4.0.1 934 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,075 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,726 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,862 6/9/2015