Bogus 21.0.2

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 it to create and load databases and UIs with mock up data. Get started by using Faker class or a DataSet directly.

There is a newer version of this package available.
See the version list below for details.
Install-Package Bogus -Version 21.0.2
dotnet add package Bogus --version 21.0.2
<PackageReference Include="Bogus" Version="21.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bogus --version 21.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## v21.0.2
* Re-enabled **.NET Standard 1.3** targeting.
* Added `Gender` field to `Person`. Deterministic sequences may have changed.
* Added `Randomizer.Bool(weight)` to generate weighted boolean values of true.
* Italian `CodiceFiscale()` extension method added. Extends `Person` and `Finance`.

## v20.0.2
* Fixed Issue 102: `f.Random.Uuid()` is now deterministic based on global or local seed.

## v20.0.1
* Added `Faker<T>.Clone()`: Clones internal state of a `Faker<T>` and allows for complex faking scenarios and rule combinations.
* Added `Faker<T>.UseSeed(n)`: Allows you to specify a localized seed value on a `Faker<T>` instead of a global static `Randomizer.Seed`.
* Stronger `Seed` determinism for multi-threaded scenarios.

## v19.0.2
* Fixed #99: Possible threading issue that can cause `System.ArgumentException`.

## v19.0.1
* Using new BSON binary data format for locales.
* Removed dependency on Newtonsoft.Json!
* Locale Updates -
* `fr`: new street address prefixes.
* `fa`: new street addresses.
* `pl`: removed 2008 value from city.
* `en`: new gender first names
* New Dutch (Belgium) `nl_BE` locale.
* New Romanian `ro` locale.
* Added `f.Finance.RoutingNumber` - Generates an ABA routing number with valid check digit.
* Added `Faker.GenerateForever` that returns `IEnumerable<T>` with unlimited generated items when iterated over.
* Added United Kingdom extension method to generate bank ShortCodes on `f.Finance.ShortCode()`.
* Re-ordered adjective and buzz in the `f.Company.Bs` for a correct gramatics.
* Added `f.Address.Direction`. Generates cardinal or ordinal directions.
* Added `f.Address.CardinalDirection`. Generates "North", "South", etc.
* Added `f.Address.OrdinalDirection`. Generates "Northeast", "Southwest", etc.


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

Showing the top 10 GitHub repositories that depend on Bogus:

Repository Stars
graphql-dotnet/graphql-dotnet
GraphQL for .NET
umbraco/Umbraco-CMS
The simple, flexible and friendly ASP.NET CMS used by more than 500.000 websites
elastic/elasticsearch-net
Elasticsearch.Net & NEST
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
Windows-XAML/Template10
Making Windows 10 apps great again
riganti/dotvvm
Open source MVVM framework for Web Apps
json-api-dotnet/JsonApiDotNetCore
JSONAPI Framework for ASP.Net Core
AArnott/CodeGeneration.Roslyn
Assists in performing Roslyn-based code generation during a build.
bchavez/RethinkDb.Driver
:headphones: A NoSQL C#/.NET RethinkDB database driver with 100% ReQL API coverage.
goblinfactory/konsole
Home of the simple console library consisting of ProgressBar, Window, Form, Draw & MockConsole (C# console progress bar with support for single or multithreaded progress updates) Window is a 100%-ish console compatible window, supporting all normal console writing to a windowed section of the screen, supporting scrolling and clipping of console output.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
29.0.1 1,256 2/10/2020
28.4.4 104,741 12/10/2019
28.4.3 24,046 12/4/2019
28.4.2 5,328 11/30/2019
28.4.1 176,208 10/15/2019
28.3.2 34,189 10/4/2019
28.3.1 65,954 9/21/2019
28.2.1 88,699 9/10/2019
28.1.1 1,835 9/10/2019
28.0.3 36,330 8/28/2019
28.0.2 262,746 7/7/2019
28.0.1 15,686 7/2/2019
27.0.1 342,508 5/2/2019
26.0.2 185,860 3/22/2019
26.0.1 186,306 2/26/2019
25.0.4 201,444 1/18/2019
25.0.3 72,669 1/6/2019
25.0.2 119,499 12/11/2018
25.0.1 69,559 11/27/2018
24.3.1 106,686 11/3/2018
24.3.0 259,568 10/2/2018
24.2.0 21,373 9/27/2018
23.0.2 75,366 8/13/2018
22.3.2 104,747 7/18/2018
22.3.1 73,946 7/5/2018
22.2.1 16,544 6/29/2018
22.1.4 10,053 6/26/2018
22.1.3 34,999 6/14/2018
22.1.2 117,755 5/29/2018
22.1.1 10,262 5/21/2018
22.0.9 2,371 5/17/2018
22.0.8 208,602 4/10/2018
22.0.7 28,667 4/1/2018
22.0.6 4,614 3/29/2018
22.0.5 88,406 3/3/2018
22.0.3 11,341 2/27/2018
22.0.2 98,149 1/6/2018
22.0.1 38,184 12/23/2017
21.0.5 5,453 12/16/2017
21.0.4 7,477 12/13/2017
21.0.2 8,078 12/8/2017
20.0.2 40,677 11/6/2017
20.0.1 4,236 11/5/2017
19.0.2 21,209 11/1/2017
18.0.2 89,174 9/14/2017
18.0.1 9,197 9/13/2017
17.0.1 30,644 8/25/2017
16.0.3 10,229 8/24/2017
16.0.2 1,688 8/23/2017
15.0.7 5,014 8/21/2017
15.0.6 14,192 8/3/2017
15.0.5 4,845 7/28/2017
15.0.3 119,357 5/7/2017
15.0.1 29,403 4/11/2017
12.0.1 8,219 3/27/2017
11.0.5 8,158 3/20/2017
11.0.4 21,502 3/15/2017
11.0.3 2,365 3/13/2017
11.0.2 13,647 2/23/2017
11.0.1 1,474 2/21/2017
10.0.1 1,287 2/18/2017
9.0.2 18,617 1/19/2017
9.0.1 901 1/18/2017
8.0.4 1,057 1/17/2017
8.0.3 27,750 12/20/2016
8.0.2 6,542 12/7/2016
8.0.1 8,880 11/25/2016
8.0.1-beta-1 18,900 10/22/2016
7.1.7 44,220 10/11/2016
7.1.6 32,237 8/8/2016
7.1.5 1,172 7/27/2016
7.1.4 4,074 7/7/2016
7.1.3 4,490 6/28/2016
7.1.3-beta-1 680 5/20/2016
7.1.2 7,672 5/16/2016
7.1.2-beta-1 637 5/16/2016
7.1.1 751 5/15/2016
7.1.1-beta-1 666 5/15/2016
6.1.1 5,888 3/30/2016
6.1.1-beta-1 870 3/29/2016
5.1.1-beta-3 684 3/23/2016
5.1.1-beta-2 647 3/22/2016
5.1.1-beta-1 647 3/21/2016
5.0.1 2,559 2/25/2016
5.0.1-beta-2 680 2/25/2016
4.0.1 842 2/16/2016
4.0.1-beta-1 666 2/16/2016
3.0.6 2,511 1/21/2016
3.0.6-beta-1 627 1/21/2016
3.0.5 4,903 1/21/2016
3.0.5-beta-4 654 1/20/2016
3.0.5-beta-3 691 1/18/2016
3.0.5-beta-2 1,760 1/12/2016
3.0.4 1,654 12/10/2015
3.0.3 723 12/9/2015
3.0.2 846 11/24/2015
3.0.1 977 10/22/2015
3.0.0.3 1,424 7/21/2015
3.0.0.2 2,113 7/12/2015
3.0.0.1 6,207 7/12/2015
2.1.5.2 1,097 6/22/2015
2.1.5.1 780 6/11/2015
2.1.4.2 737 6/11/2015
2.1.4.1 784 6/10/2015
2.1.4 1,375 6/9/2015
Show less