Bogus 18.0.1

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

Release Notes

## v18.0.1
* Fixed bug in Finland's `f.Person.Henkilötunnus` personal identity code generator that sometimes produced 11 characters.
* Added `f.Finance.Ethereum`. Generate an Ethereum address.
* Added `f.Finance.CreditCardCvv`. Generate a random credit card CVV number.
* Improved `f.Finance.CreditCardNumber`. Generate a random credit card number.
* Added `f.Random.Hexadecimal`. Generates a random hexadecimal string.
* Added `f.System.DirectoryPath`. Generates a random directory path.
* Added `f.System.FilePath`. Generates a random file path.
* Added `f.Date.Soon`. Generates a date and time that will happen soon.
* Added `f.Random.ArrayElements`. Gets a random subset of an array.
* Added `f.Random.ListItems`. Gets a random subset of a list.
* Added `f.Company.Cnpj` extension method for Brazil. Generates Brazilian company document.
* Improved `f.PhoneNumbers`. More realistic US phone numbers.
* Improved `f.Address.Latitude/Longitude` with min and max parameters.
* Minimum for `f.Commerce.Price` is now $1.00 (not zero).
* Reduced assembly size by removing redundant locale data.
* Locale updates:
* `en_AU` - Update Australian postcode ranges.
* `en_IND` - Indian postcodes are always numeric.
* `ru` - Word corrections.

## v17.0.1
* Migration to **.NET Standard 2.0**.

## v16.0.3
* With additional overloads for `.PickRandom(IList)` and `.PickRandom(ICollection)` we can now add `.PickRandom("cat", "dog", "fish")` back to the API.

## v16.0.2
* BREAKING CHANGE: `Faker.Generate(n)` now calls `.ToList()` under the hood to escape LINQ deferred execution. Remembering to call `.ToList()` after `.Generate(n)` was a sticking point for new users writing test assertions on generated values. Please do not call `Faker.Generate(n).ToList()` as it would execute `.ToList()` twice. Simply, `Faker.Generate(n)` is enough.
* `f.Generate` and `f => f.Make` now return `IList<T>` to signify the breaking change above.
* Issue #92: Added `.GenerateLazy` to keep old behavior and returns `IEnumerable<T>`.
* Issue #93: Renamed a `PickRandom` overload to avoid the compiler from picking wrong `PickRandom` method.
* Added `f.PickRandomParam("cat","dog","fish")`.
* Removed `[Obsolete]` methods.

## v15.0.7
* Issue #88 - API aesthetics: Added `Name.FullName()` convenience method to generate a full name.


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
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
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.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
29.0.1 71,465 2/10/2020
28.4.4 196,452 12/10/2019
28.4.3 32,728 12/4/2019
28.4.2 6,514 11/30/2019
28.4.1 217,156 10/15/2019
28.3.2 40,416 10/4/2019
28.3.1 76,943 9/21/2019
28.2.1 110,278 9/10/2019
28.1.1 1,857 9/10/2019
28.0.3 42,134 8/28/2019
28.0.2 295,104 7/7/2019
28.0.1 17,286 7/2/2019
27.0.1 378,835 5/2/2019
26.0.2 197,753 3/22/2019
26.0.1 200,521 2/26/2019
25.0.4 216,344 1/18/2019
25.0.3 75,706 1/6/2019
25.0.2 125,175 12/11/2018
25.0.1 72,365 11/27/2018
24.3.1 110,108 11/3/2018
24.3.0 270,777 10/2/2018
24.2.0 23,962 9/27/2018
23.0.2 78,283 8/13/2018
22.3.2 107,603 7/18/2018
22.3.1 75,512 7/5/2018
22.2.1 16,935 6/29/2018
22.1.4 10,305 6/26/2018
22.1.3 36,392 6/14/2018
22.1.2 125,877 5/29/2018
22.1.1 10,489 5/21/2018
22.0.9 2,463 5/17/2018
22.0.8 216,905 4/10/2018
22.0.7 29,895 4/1/2018
22.0.6 4,642 3/29/2018
22.0.5 90,786 3/3/2018
22.0.3 11,428 2/27/2018
22.0.2 100,814 1/6/2018
22.0.1 38,391 12/23/2017
21.0.5 5,496 12/16/2017
21.0.4 7,521 12/13/2017
21.0.2 8,319 12/8/2017
20.0.2 42,928 11/6/2017
20.0.1 4,470 11/5/2017
19.0.2 21,848 11/1/2017
18.0.2 91,824 9/14/2017
18.0.1 9,500 9/13/2017
17.0.1 32,132 8/25/2017
16.0.3 10,244 8/24/2017
16.0.2 1,696 8/23/2017
15.0.7 5,026 8/21/2017
15.0.6 14,631 8/3/2017
15.0.5 4,866 7/28/2017
15.0.3 122,891 5/7/2017
15.0.1 29,591 4/11/2017
12.0.1 8,446 3/27/2017
11.0.5 8,192 3/20/2017
11.0.4 21,698 3/15/2017
11.0.3 2,372 3/13/2017
11.0.2 14,583 2/23/2017
11.0.1 1,480 2/21/2017
10.0.1 1,293 2/18/2017
9.0.2 18,929 1/19/2017
9.0.1 910 1/18/2017
8.0.4 1,067 1/17/2017
8.0.3 29,678 12/20/2016
8.0.2 6,594 12/7/2016
8.0.1 9,068 11/25/2016
8.0.1-beta-1 18,907 10/22/2016
7.1.7 44,842 10/11/2016
7.1.6 33,830 8/8/2016
7.1.5 1,181 7/27/2016
7.1.4 4,084 7/7/2016
7.1.3 4,501 6/28/2016
7.1.3-beta-1 687 5/20/2016
7.1.2 7,756 5/16/2016
7.1.2-beta-1 645 5/16/2016
7.1.1 762 5/15/2016
7.1.1-beta-1 671 5/15/2016
6.1.1 5,907 3/30/2016
6.1.1-beta-1 877 3/29/2016
5.1.1-beta-3 692 3/23/2016
5.1.1-beta-2 655 3/22/2016
5.1.1-beta-1 654 3/21/2016
5.0.1 2,575 2/25/2016
5.0.1-beta-2 688 2/25/2016
4.0.1 849 2/16/2016
4.0.1-beta-1 673 2/16/2016
3.0.6 2,567 1/21/2016
3.0.6-beta-1 635 1/21/2016
3.0.5 4,915 1/21/2016
3.0.5-beta-4 661 1/20/2016
3.0.5-beta-3 698 1/18/2016
3.0.5-beta-2 1,764 1/12/2016
3.0.4 1,663 12/10/2015
3.0.3 732 12/9/2015
3.0.2 854 11/24/2015
3.0.1 986 10/22/2015
3.0.0.3 1,432 7/21/2015
3.0.0.2 2,123 7/12/2015
3.0.0.1 7,115 7/12/2015
2.1.5.2 1,106 6/22/2015
2.1.5.1 789 6/11/2015
2.1.4.2 746 6/11/2015
2.1.4.1 793 6/10/2015
2.1.4 1,436 6/9/2015
Show less