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 36,659 10/4/2020
30.0.4 107,684 8/15/2020
30.0.1-beta-4 924 7/24/2020
30.0.1-beta-3 5,098 6/30/2020
30.0.1-beta-2 1,945 6/21/2020
30.0.1-beta-1 1,727 6/15/2020
29.0.2 1,011,033 4/11/2020
29.0.1 522,610 2/10/2020
28.4.4 777,567 12/10/2019
28.4.3 63,012 12/4/2019
28.4.2 11,000 11/30/2019
28.4.1 380,969 10/15/2019
28.3.2 63,325 10/4/2019
28.3.1 100,757 9/21/2019
28.2.1 195,242 9/10/2019
28.1.1 2,229 9/10/2019
28.0.3 64,836 8/28/2019
28.0.2 434,147 7/7/2019
28.0.1 23,606 7/2/2019
27.0.1 562,922 5/2/2019
26.0.2 250,566 3/22/2019
26.0.1 259,064 2/26/2019
25.0.4 274,998 1/18/2019
25.0.3 85,937 1/6/2019
25.0.2 147,466 12/11/2018
25.0.1 81,971 11/27/2018
24.3.1 124,654 11/3/2018
24.3.0 325,964 10/2/2018
24.2.0 34,091 9/27/2018
23.0.2 98,412 8/13/2018
22.3.2 120,968 7/18/2018
22.3.1 83,262 7/5/2018
22.2.1 18,282 6/29/2018
22.1.4 13,049 6/26/2018
22.1.3 43,459 6/14/2018
22.1.2 153,797 5/29/2018
22.1.1 11,355 5/21/2018
22.0.9 2,605 5/17/2018
22.0.8 254,288 4/10/2018
22.0.7 35,270 4/1/2018
22.0.6 4,821 3/29/2018
22.0.5 102,005 3/3/2018
22.0.3 12,308 2/27/2018
22.0.2 112,040 1/6/2018
22.0.1 39,862 12/23/2017
21.0.5 6,312 12/16/2017
21.0.4 7,780 12/13/2017
21.0.2 9,566 12/8/2017
20.0.2 59,042 11/6/2017
20.0.1 4,650 11/5/2017
19.0.2 25,327 11/1/2017
18.0.2 100,196 9/14/2017
18.0.1 10,983 9/13/2017
17.0.1 47,692 8/25/2017
16.0.3 10,487 8/24/2017
16.0.2 1,807 8/23/2017
15.0.7 5,121 8/21/2017
15.0.6 16,603 8/3/2017
15.0.5 4,997 7/28/2017
15.0.3 142,063 5/7/2017
15.0.1 31,258 4/11/2017
12.0.1 9,473 3/27/2017
11.0.5 8,315 3/20/2017
11.0.4 22,484 3/15/2017
11.0.3 2,592 3/13/2017
11.0.2 22,561 2/23/2017
11.0.1 1,574 2/21/2017
10.0.1 1,384 2/18/2017
9.0.2 19,737 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,937 12/7/2016
8.0.1 9,954 11/25/2016
8.0.1-beta-1 19,114 10/22/2016
7.1.7 52,509 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,641 6/28/2016
7.1.3-beta-1 769 5/20/2016
7.1.2 8,168 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,738 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,866 6/9/2015