Bogus 24.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Bogus --version 24.2.0                
NuGet\Install-Package Bogus -Version 24.2.0                
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="24.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bogus --version 24.2.0                
#r "nuget: Bogus, 24.2.0"                
#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=24.2.0

// Install Bogus as a Cake Tool
#tool nuget:?package=Bogus&version=24.2.0                

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.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. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (156)

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 (127)

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 2,434,049 9/2/2024
35.6.0 1,431,769 7/19/2024
35.5.1 3,222,643 4/28/2024
35.5.0 2,316,569 3/9/2024
35.4.1 323,739 3/2/2024
35.4.0 2,566,768 1/14/2024
35.3.2 7,656 1/14/2024
35.3.1 14,083 1/13/2024
35.3.0 565,423 1/1/2024
35.2.0 126,698 12/26/2023
35.0.1 482,720 12/12/2023
34.0.2 29,778,471 3/27/2022
34.0.1 4,665,135 11/23/2021
33.1.1 3,049,115 8/29/2021
33.0.2 7,380,031 2/21/2021
33.0.1 384,577 2/7/2021
32.1.1 217,344 1/31/2021
32.0.2 2,152,187 12/12/2020
32.0.1 723,251 11/28/2020
31.0.3 10,695,209 10/4/2020
30.0.4 812,551 8/15/2020
30.0.1-beta-4 15,016 7/24/2020
30.0.1-beta-3 15,704 6/30/2020
30.0.1-beta-2 5,358 6/21/2020
30.0.1-beta-1 7,776 6/15/2020
29.0.2 4,954,173 4/11/2020
29.0.1 1,613,588 2/10/2020
28.4.4 2,391,130 12/10/2019
28.4.3 306,074 12/4/2019
28.4.2 23,423 11/30/2019
28.4.1 1,193,074 10/15/2019
28.3.2 252,038 10/4/2019
28.3.1 175,409 9/21/2019
28.2.1 584,127 9/10/2019
28.1.1 7,281 9/10/2019
28.0.3 238,144 8/28/2019
28.0.2 1,236,951 7/7/2019
28.0.1 59,648 7/2/2019
27.0.1 1,217,125 5/2/2019
26.0.2 443,210 3/22/2019
26.0.1 700,857 2/26/2019
25.0.4 522,185 1/18/2019
25.0.3 125,873 1/6/2019
25.0.2 234,735 12/11/2018
25.0.1 119,748 11/27/2018
24.3.1 198,758 11/3/2018
24.3.0 514,117 10/2/2018
24.2.0 56,598 9/27/2018
23.0.2 187,789 8/13/2018
22.3.2 165,521 7/18/2018
22.3.1 114,949 7/5/2018
22.2.1 28,263 6/29/2018
22.1.4 32,369 6/26/2018
22.1.3 63,408 6/14/2018
22.1.2 320,359 5/29/2018
22.1.1 36,128 5/21/2018
22.0.9 6,424 5/17/2018
22.0.8 412,046 4/10/2018
22.0.7 56,486 4/1/2018
22.0.6 8,950 3/29/2018
22.0.5 148,112 3/3/2018
22.0.3 19,149 2/27/2018
22.0.2 174,556 1/6/2018
22.0.1 56,234 12/23/2017
21.0.5 12,616 12/16/2017
21.0.4 31,147 12/13/2017
21.0.2 19,774 12/8/2017
20.0.2 133,386 11/6/2017
20.0.1 8,137 11/5/2017
19.0.2 51,200 11/1/2017
18.0.2 137,474 9/14/2017
18.0.1 15,694 9/13/2017
17.0.1 79,772 8/25/2017
16.0.3 14,423 8/24/2017
16.0.2 7,357 8/23/2017
15.0.7 8,567 8/21/2017
15.0.6 29,181 8/3/2017
15.0.5 8,415 7/28/2017
15.0.3 251,815 5/7/2017
15.0.1 36,396 4/11/2017
12.0.1 15,406 3/27/2017
11.0.5 13,911 3/20/2017
11.0.4 32,650 3/15/2017
11.0.3 9,946 3/13/2017
11.0.2 54,881 2/23/2017
11.0.1 4,924 2/21/2017
10.0.1 4,907 2/18/2017
9.0.2 25,386 1/19/2017
9.0.1 4,384 1/18/2017
8.0.4 4,670 1/17/2017
8.0.3 39,537 12/20/2016
8.0.2 12,558 12/7/2016
8.0.1 15,066 11/25/2016
8.0.1-beta-1 23,401 10/22/2016
7.1.7 80,948 10/11/2016
7.1.6 44,785 8/8/2016
7.1.5 8,677 7/27/2016
7.1.4 7,728 7/7/2016
7.1.3 40,092 6/28/2016
7.1.3-beta-1 3,868 5/20/2016
7.1.2 43,530 5/16/2016
7.1.2-beta-1 3,935 5/16/2016
7.1.1 4,305 5/15/2016
7.1.1-beta-1 3,755 5/15/2016
6.1.1 9,933 3/30/2016
6.1.1-beta-1 4,032 3/29/2016
5.1.1-beta-3 3,927 3/23/2016
5.1.1-beta-2 4,294 3/22/2016
5.1.1-beta-1 3,999 3/21/2016
5.0.1 15,623 2/25/2016
5.0.1-beta-2 4,099 2/25/2016
4.0.1 4,571 2/16/2016
4.0.1-beta-1 3,844 2/16/2016
3.0.6 6,338 1/21/2016
3.0.6-beta-1 3,822 1/21/2016
3.0.5 8,571 1/21/2016
3.0.5-beta-4 3,759 1/20/2016
3.0.5-beta-3 3,833 1/18/2016
3.0.5-beta-2 5,010 1/12/2016
3.0.4 5,095 12/10/2015
3.0.3 4,178 12/9/2015
3.0.2 4,390 11/24/2015
3.0.1 4,788 10/22/2015
3.0.0.3 5,080 7/21/2015
3.0.0.2 6,099 7/12/2015
3.0.0.1 24,960 7/12/2015
2.1.5.2 4,697 6/22/2015
2.1.5.1 4,274 6/11/2015
2.1.4.2 4,286 6/11/2015
2.1.4.1 4,296 6/10/2015
2.1.4 48,093 6/9/2015

## v24.2.0
* Issue 179: Fixed regression introduced in 23.0.3 that forbid setting of internal/non-public members of `T` in when `Faker<T>` is used.

## v24.1.0
* Added `nullWeight` parameter to `.OrNull()` extension method for weighted generation of null values.
* Added new `.OrDefault()` extension method. Thanks @anorborg!

## v24.0.0
* BREAKING: Deterministic values may have changed. Parity with **faker.js** @ 07f39bd3.
* `en_ZA` - South Africa (English) locale added.
* `fr_CH` - French (Switzerland) locale added.
* `pl` locale "phone numbers" updated.
* `sv` locale "names" section updated.
* `en`, `de`, `de_AT` "names" section updated.
* Added `f.Commerce.Ean8` EAN-8 product barcode number generator.
* Added `f.Commerce.Ean13` EAN-13 product barcode number generator.

## v23.0.3
* PR 170: Faster `Faker[T].Generate()` with setter cache. Approx 1.7x speedup. Thanks Mpdreamz!

## v23.0.2
* BREAKING CHANGE: Deterministic sequence values may have changed. Unit tests expecting specific values may be different if `Bogus.Person` is used.
* Issue 168: Added `Bogus.Person.Address.State` field.
* Issue 139: Added `Date.SystemClock` static property for setting global time Bogus uses for date calculations.
* Issue 169: `Date.Weekday()` should return a weekday not a month.  


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