Bogus 5.0.1-beta-2

Prefix Reserved
This is a prerelease version of Bogus.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Bogus --version 5.0.1-beta-2                
NuGet\Install-Package Bogus -Version 5.0.1-beta-2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bogus" Version="5.0.1-beta-2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bogus --version 5.0.1-beta-2                
#r "nuget: Bogus, 5.0.1-beta-2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bogus as a Cake Addin
#addin nuget:?package=Bogus&version=5.0.1-beta-2&prerelease

// Install Bogus as a Cake Tool
#tool nuget:?package=Bogus&version=5.0.1-beta-2&prerelease                

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 mockup data. Get started by using Faker class or a DataSet directly.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
.NETPlatform dotnet54 is compatible. 
DNX dnx451 is compatible. 
DNXCore dnxcore50 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (158)

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.

FunFair.Test.Common

FunFair Common Test Infrastructure for building xUnit tests on top of.

Reo.Core.Testing

Package Description

Soenneker.Utils.AutoBogus

The .NET Bogus autogenerator

HQ

This package contains the full-stack build for HQ.io.

GitHub repositories (129)

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

Repository Stars
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
bchavez/Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
elsa-workflows/elsa-core
A .NET workflows library
graphql-dotnet/graphql-dotnet
GraphQL for .NET
Version Downloads Last updated
35.6.1 3,112,098 9/2/2024
35.6.0 1,523,513 7/19/2024
35.5.1 3,372,780 4/28/2024
35.5.0 2,414,655 3/9/2024
35.4.1 335,496 3/2/2024
35.4.0 2,636,917 1/14/2024
35.3.2 7,696 1/14/2024
35.3.1 14,406 1/13/2024
35.3.0 577,997 1/1/2024
35.2.0 130,971 12/26/2023
35.0.1 494,503 12/12/2023
34.0.2 30,228,005 3/27/2022
34.0.1 4,709,146 11/23/2021
33.1.1 3,071,813 8/29/2021
33.0.2 7,424,697 2/21/2021
33.0.1 386,565 2/7/2021
32.1.1 217,968 1/31/2021
32.0.2 2,159,089 12/12/2020
32.0.1 725,431 11/28/2020
31.0.3 10,925,864 10/4/2020
30.0.4 817,405 8/15/2020
30.0.1-beta-4 15,377 7/24/2020
30.0.1-beta-3 15,709 6/30/2020
30.0.1-beta-2 5,367 6/21/2020
30.0.1-beta-1 7,784 6/15/2020
29.0.2 4,979,940 4/11/2020
29.0.1 1,619,510 2/10/2020
28.4.4 2,407,776 12/10/2019
28.4.3 308,416 12/4/2019
28.4.2 23,484 11/30/2019
28.4.1 1,201,300 10/15/2019
28.3.2 254,511 10/4/2019
28.3.1 176,082 9/21/2019
28.2.1 588,282 9/10/2019
28.1.1 7,290 9/10/2019
28.0.3 240,266 8/28/2019
28.0.2 1,243,198 7/7/2019
28.0.1 59,714 7/2/2019
27.0.1 1,221,497 5/2/2019
26.0.2 444,518 3/22/2019
26.0.1 706,461 2/26/2019
25.0.4 523,435 1/18/2019
25.0.3 126,315 1/6/2019
25.0.2 235,272 12/11/2018
25.0.1 119,917 11/27/2018
24.3.1 199,642 11/3/2018
24.3.0 515,011 10/2/2018
24.2.0 56,709 9/27/2018
23.0.2 188,452 8/13/2018
22.3.2 165,720 7/18/2018
22.3.1 115,736 7/5/2018
22.2.1 28,301 6/29/2018
22.1.4 32,486 6/26/2018
22.1.3 63,868 6/14/2018
22.1.2 321,727 5/29/2018
22.1.1 36,611 5/21/2018
22.0.9 6,440 5/17/2018
22.0.8 412,536 4/10/2018
22.0.7 56,671 4/1/2018
22.0.6 9,026 3/29/2018
22.0.5 148,448 3/3/2018
22.0.3 19,199 2/27/2018
22.0.2 174,943 1/6/2018
22.0.1 56,288 12/23/2017
21.0.5 12,678 12/16/2017
21.0.4 31,310 12/13/2017
21.0.2 19,852 12/8/2017
20.0.2 133,996 11/6/2017
20.0.1 8,154 11/5/2017
19.0.2 51,565 11/1/2017
18.0.2 137,986 9/14/2017
18.0.1 15,713 9/13/2017
17.0.1 79,825 8/25/2017
16.0.3 14,442 8/24/2017
16.0.2 7,429 8/23/2017
15.0.7 8,585 8/21/2017
15.0.6 29,381 8/3/2017
15.0.5 8,432 7/28/2017
15.0.3 252,752 5/7/2017
15.0.1 36,462 4/11/2017
12.0.1 15,457 3/27/2017
11.0.5 13,934 3/20/2017
11.0.4 32,700 3/15/2017
11.0.3 10,003 3/13/2017
11.0.2 55,067 2/23/2017
11.0.1 4,943 2/21/2017
10.0.1 4,921 2/18/2017
9.0.2 25,408 1/19/2017
9.0.1 4,399 1/18/2017
8.0.4 4,688 1/17/2017
8.0.3 39,564 12/20/2016
8.0.2 12,611 12/7/2016
8.0.1 15,081 11/25/2016
8.0.1-beta-1 23,414 10/22/2016
7.1.7 81,053 10/11/2016
7.1.6 44,953 8/8/2016
7.1.5 8,725 7/27/2016
7.1.4 7,743 7/7/2016
7.1.3 41,360 6/28/2016
7.1.3-beta-1 3,879 5/20/2016
7.1.2 43,696 5/16/2016
7.1.2-beta-1 3,946 5/16/2016
7.1.1 4,319 5/15/2016
7.1.1-beta-1 3,766 5/15/2016
6.1.1 9,947 3/30/2016
6.1.1-beta-1 4,042 3/29/2016
5.1.1-beta-3 3,938 3/23/2016
5.1.1-beta-2 4,305 3/22/2016
5.1.1-beta-1 4,010 3/21/2016
5.0.1 15,811 2/25/2016
5.0.1-beta-2 4,111 2/25/2016
4.0.1 4,584 2/16/2016
4.0.1-beta-1 3,855 2/16/2016
3.0.6 6,353 1/21/2016
3.0.6-beta-1 3,851 1/21/2016
3.0.5 8,585 1/21/2016
3.0.5-beta-4 3,770 1/20/2016
3.0.5-beta-3 3,844 1/18/2016
3.0.5-beta-2 5,021 1/12/2016
3.0.4 5,108 12/10/2015
3.0.3 4,193 12/9/2015
3.0.2 4,404 11/24/2015
3.0.1 4,802 10/22/2015
3.0.0.3 5,093 7/21/2015
3.0.0.2 6,113 7/12/2015
3.0.0.1 24,974 7/12/2015
2.1.5.2 4,712 6/22/2015
2.1.5.1 4,289 6/11/2015
2.1.4.2 4,315 6/11/2015
2.1.4.1 4,312 6/10/2015
2.1.4 50,581 6/9/2015

## v5.0.1
* Roll-up Release for .NET Framework since v4.0.1.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v5.0.1-beta-2
* JvanderStad PR15: Lazy load Person. Avoids extra Seed.Next calls that may interfere with seeded content.
* JvanderStad PR16: Better address generation. Respects locale address formats.
* Added &quot;dotnet5.4&quot; moniker support.
* BREAKING: Fake &quot;seeded&quot; data generated by Bogus may be different from previous versions.

## v4.0.1
* Roll-up Release for .NET Framework since v3.0.6.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v4.0.1-beta-1
* Bogus - Feature parity with faker.js.
* System module added. Generate random file names and extensions.
* Randomizer - Added Uuid().
* Locales Updated: en_GB, sv, sk, de_CH, en.
* Locales Added: id_ID, el, lv.
* Prevent apostrophes in return value of Internet.DomainWords
* Added more parameters for Image data set.
* BREAKING API METHODS:
* Lorem - Better API methods: Seeded tests based on &quot;content&quot; will fail due to upgrade.


## v3.0.6
* Roll-up Release for .NET Framework since v3.0.5.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.6-beta-1
* Issue #13: Fixed StrictMode to exclude private fields.
* New Feature: Ignore property or field in StrictMode: Faker[Order].Ignore(o =&gt; o.OrderId).
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.5
* Roll-up Release for .NET Framework since v3.0.4.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.5-beta-4
* Issue #13: StrictMode() now ignores read-only properties.
* Newtonsoft.Json v8 compatibility.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.5-beta-3
* Issue #12: Make Bogus thread-safe on Generate() and DataSets. Avoids threading issues in test runners.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.

## v3.0.5-beta-2
* CoreCLR support (CoreCLR users please continue using latest beta release until CoreCLR is RTM.).

## v3.0.4
* Issue 10: Make Bogus work with fields also, not just properties. Fixes LINQPad issues.

## v3.0.3
* PR 9: quantumplation - Fixed typo in Lorem.Sentance() -&gt; Lorem.Sentence()

## v3.0.2
* Generate US: SSN - Social Security Numbers.
* Generate Canada: SIN - Social Insurance Numbers.
* Generate Brazil: Cadastro de Pessoas Fisicas - CPF Numbers.
* Generate Finland: Henkilotunnus - Person ID numbers
* Generate Denmark: Det Centrale Personregister - Person ID numbers.
* Allow exclude values on Randomizer.Enum.
* Randomizer.Replace accepts &apos;*&apos; replace with letter or digit.
* Added Lorem.Letter(num).
* Can switch locale on Name: f.Name[&quot;en&quot;].LastName()

## v3.0.1
* Added debug symbols to symbolsource.org.
* PR#6: Fixed lastname and empty list exception -salixzs
* Switch to semantic versioning at par with FakerJS.

## v3.0.0.4
* Adding generators: Date.Month(), Date.Weekday()
* Sentences using lexically correct &quot;A foo bar.&quot;
* Added Spanish Mexico (es_MX) locale.

## v3.0.0.3
* Issue #2: Use latest Newtonsoft.Json 7.0.0.0 -Mpdreamz

## v3.0.0.2
* Includes Ireland (English) locale.

## v3.0.0.1
* Migrated to new FakerJS datafile format. Build system uses gulp file to directly import FakerJS locales.
* Faker.Parse() can now tokenize and replace handlebar formats.
* Added Faker.Hacker and Faker.Company properties.
* Added Custom separator on Lorem.Paragraph.
* Added Canada (French) (fr_CA) locale.
* Added Ukrainian (uk) locale.
* Added Ireland (en_IE) locale.
* Added Internet.Mac for mac addresses.
* Support for Canadian post/zip codes.
* Exposed Name.JobTitle, Name.JobDescriptor, Name.JobArea, Name.JobType
* Exposed Address.CountryCode
* Replace symbols in domain words so it generates output for all locales
* Support for gender names, but only for locales that support it. Russian(&apos;ru&apos;) but not English(&apos;en&apos;).
* Corrected abbreviation for Yukon to reflect its official abbreviation of &quot;YT&quot;.

## v2.1.5.2:
* Fixed instantiating a Person in a non-US locale. -antongeorgiev

## v2.1.5.1:
* Added Georgian, Turkish, and Chinese (Taiwan) locales.
* Added Name.JobTitle()
* Added Internet.Url() and Internet.Protocol().
* Sync&apos;d up with faker.js v2.1.5.

## v2.1.4.2:
* Fixed bug in Faker.Person and Faker[T] that generates new person context after every new object.
* Added support for .FinishWith() for post-processing that runs after all rules but before returning new instance.
* Added Newtonsoft.Json as NuGet dependency.

## v2.1.4.1:
* Minor changes, mostly XML doc update and Person moved from DataSet to Bogus namespace.

## v2.1.4.0:
* Initial port from faker.js 2.1.4.