Bogus 7.1.2-beta-1
Prefix ReservedSee the version list below for details.
dotnet add package Bogus --version 7.1.2-beta-1
NuGet\Install-Package Bogus -Version 7.1.2-beta-1
<PackageReference Include="Bogus" Version="7.1.2-beta-1" />
paket add Bogus --version 7.1.2-beta-1
#r "nuget: Bogus, 7.1.2-beta-1"
// Install Bogus as a Cake Addin #addin nuget:?package=Bogus&version=7.1.2-beta-1&prerelease // Install Bogus as a Cake Tool #tool nuget:?package=Bogus&version=7.1.2-beta-1&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 | Versions 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. |
-
.NETFramework 4.0
- Newtonsoft.Json (>= 8.0.2)
-
.NETPlatform 5.4
- Newtonsoft.Json (>= 8.0.2)
- System.ComponentModel (>= 4.0.1-beta-23516)
- System.Dynamic.Runtime (>= 4.0.11-beta-23516)
- System.IO (>= 4.0.11-beta-23516)
- System.Linq (>= 4.0.0)
- System.Reflection.Extensions (>= 4.0.1-beta-23516)
- System.Reflection.TypeExtensions (>= 4.0.1-beta-23409)
- System.Text.Encoding (>= 4.0.11-beta-23516)
- System.Text.RegularExpressions (>= 4.0.11-beta-23516)
-
DNX 4.5.1
- Newtonsoft.Json (>= 8.0.2)
-
DNXCore 5.0
- Newtonsoft.Json (>= 8.0.2)
- System.ComponentModel (>= 4.0.1-beta-23516)
- System.Dynamic.Runtime (>= 4.0.11-beta-23516)
- System.IO (>= 4.0.11-beta-23516)
- System.Reflection.Extensions (>= 4.0.1-beta-23516)
- System.Reflection.TypeExtensions (>= 4.0.1-beta-23409)
- System.Text.Encoding (>= 4.0.11-beta-23516)
- System.Text.RegularExpressions (>= 4.0.11-beta-23516)
NuGet packages (151)
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 (124)
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 | 1,208,616 | 9/2/2024 |
35.6.0 | 1,209,353 | 7/19/2024 |
35.5.1 | 2,858,889 | 4/28/2024 |
35.5.0 | 2,107,305 | 3/9/2024 |
35.4.1 | 303,794 | 3/2/2024 |
35.4.0 | 2,407,239 | 1/14/2024 |
35.3.2 | 7,586 | 1/14/2024 |
35.3.1 | 13,640 | 1/13/2024 |
35.3.0 | 536,516 | 1/1/2024 |
35.2.0 | 116,085 | 12/26/2023 |
35.0.1 | 456,605 | 12/12/2023 |
34.0.2 | 28,823,321 | 3/27/2022 |
34.0.1 | 4,565,850 | 11/23/2021 |
33.1.1 | 3,005,230 | 8/29/2021 |
33.0.2 | 7,286,848 | 2/21/2021 |
33.0.1 | 381,333 | 2/7/2021 |
32.1.1 | 215,389 | 1/31/2021 |
32.0.2 | 2,138,000 | 12/12/2020 |
32.0.1 | 718,845 | 11/28/2020 |
31.0.3 | 10,235,251 | 10/4/2020 |
30.0.4 | 802,416 | 8/15/2020 |
30.0.1-beta-4 | 14,542 | 7/24/2020 |
30.0.1-beta-3 | 15,696 | 6/30/2020 |
30.0.1-beta-2 | 5,349 | 6/21/2020 |
30.0.1-beta-1 | 7,764 | 6/15/2020 |
29.0.2 | 4,900,075 | 4/11/2020 |
29.0.1 | 1,600,762 | 2/10/2020 |
28.4.4 | 2,358,937 | 12/10/2019 |
28.4.3 | 300,903 | 12/4/2019 |
28.4.2 | 23,352 | 11/30/2019 |
28.4.1 | 1,177,031 | 10/15/2019 |
28.3.2 | 247,400 | 10/4/2019 |
28.3.1 | 174,094 | 9/21/2019 |
28.2.1 | 574,841 | 9/10/2019 |
28.1.1 | 7,269 | 9/10/2019 |
28.0.3 | 233,709 | 8/28/2019 |
28.0.2 | 1,221,254 | 7/7/2019 |
28.0.1 | 59,393 | 7/2/2019 |
27.0.1 | 1,208,762 | 5/2/2019 |
26.0.2 | 440,324 | 3/22/2019 |
26.0.1 | 686,724 | 2/26/2019 |
25.0.4 | 519,275 | 1/18/2019 |
25.0.3 | 125,036 | 1/6/2019 |
25.0.2 | 233,247 | 12/11/2018 |
25.0.1 | 119,364 | 11/27/2018 |
24.3.1 | 196,782 | 11/3/2018 |
24.3.0 | 511,767 | 10/2/2018 |
24.2.0 | 56,376 | 9/27/2018 |
23.0.2 | 186,299 | 8/13/2018 |
22.3.2 | 165,042 | 7/18/2018 |
22.3.1 | 113,626 | 7/5/2018 |
22.2.1 | 28,127 | 6/29/2018 |
22.1.4 | 32,166 | 6/26/2018 |
22.1.3 | 62,470 | 6/14/2018 |
22.1.2 | 317,596 | 5/29/2018 |
22.1.1 | 35,323 | 5/21/2018 |
22.0.9 | 6,409 | 5/17/2018 |
22.0.8 | 410,550 | 4/10/2018 |
22.0.7 | 56,182 | 4/1/2018 |
22.0.6 | 8,811 | 3/29/2018 |
22.0.5 | 147,601 | 3/3/2018 |
22.0.3 | 19,101 | 2/27/2018 |
22.0.2 | 173,602 | 1/6/2018 |
22.0.1 | 56,092 | 12/23/2017 |
21.0.5 | 12,554 | 12/16/2017 |
21.0.4 | 30,851 | 12/13/2017 |
21.0.2 | 19,700 | 12/8/2017 |
20.0.2 | 131,998 | 11/6/2017 |
20.0.1 | 8,120 | 11/5/2017 |
19.0.2 | 49,865 | 11/1/2017 |
18.0.2 | 136,585 | 9/14/2017 |
18.0.1 | 15,677 | 9/13/2017 |
17.0.1 | 79,689 | 8/25/2017 |
16.0.3 | 14,405 | 8/24/2017 |
16.0.2 | 7,242 | 8/23/2017 |
15.0.7 | 8,557 | 8/21/2017 |
15.0.6 | 28,848 | 8/3/2017 |
15.0.5 | 8,404 | 7/28/2017 |
15.0.3 | 250,301 | 5/7/2017 |
15.0.1 | 36,312 | 4/11/2017 |
12.0.1 | 15,312 | 3/27/2017 |
11.0.5 | 13,882 | 3/20/2017 |
11.0.4 | 32,481 | 3/15/2017 |
11.0.3 | 9,892 | 3/13/2017 |
11.0.2 | 54,513 | 2/23/2017 |
11.0.1 | 4,897 | 2/21/2017 |
10.0.1 | 4,896 | 2/18/2017 |
9.0.2 | 25,356 | 1/19/2017 |
9.0.1 | 4,370 | 1/18/2017 |
8.0.4 | 4,655 | 1/17/2017 |
8.0.3 | 39,491 | 12/20/2016 |
8.0.2 | 12,505 | 12/7/2016 |
8.0.1 | 15,052 | 11/25/2016 |
8.0.1-beta-1 | 23,347 | 10/22/2016 |
7.1.7 | 80,613 | 10/11/2016 |
7.1.6 | 44,430 | 8/8/2016 |
7.1.5 | 8,656 | 7/27/2016 |
7.1.4 | 7,717 | 7/7/2016 |
7.1.3 | 37,074 | 6/28/2016 |
7.1.3-beta-1 | 3,865 | 5/20/2016 |
7.1.2 | 43,498 | 5/16/2016 |
7.1.2-beta-1 | 3,929 | 5/16/2016 |
7.1.1 | 4,293 | 5/15/2016 |
7.1.1-beta-1 | 3,749 | 5/15/2016 |
6.1.1 | 9,885 | 3/30/2016 |
6.1.1-beta-1 | 4,026 | 3/29/2016 |
5.1.1-beta-3 | 3,921 | 3/23/2016 |
5.1.1-beta-2 | 4,287 | 3/22/2016 |
5.1.1-beta-1 | 3,995 | 3/21/2016 |
5.0.1 | 15,139 | 2/25/2016 |
5.0.1-beta-2 | 4,095 | 2/25/2016 |
4.0.1 | 4,561 | 2/16/2016 |
4.0.1-beta-1 | 3,838 | 2/16/2016 |
3.0.6 | 6,324 | 1/21/2016 |
3.0.6-beta-1 | 3,816 | 1/21/2016 |
3.0.5 | 8,559 | 1/21/2016 |
3.0.5-beta-4 | 3,752 | 1/20/2016 |
3.0.5-beta-3 | 3,823 | 1/18/2016 |
3.0.5-beta-2 | 5,002 | 1/12/2016 |
3.0.4 | 5,085 | 12/10/2015 |
3.0.3 | 4,164 | 12/9/2015 |
3.0.2 | 4,377 | 11/24/2015 |
3.0.1 | 4,760 | 10/22/2015 |
3.0.0.3 | 5,049 | 7/21/2015 |
3.0.0.2 | 6,055 | 7/12/2015 |
3.0.0.1 | 24,949 | 7/12/2015 |
2.1.5.2 | 4,688 | 6/22/2015 |
2.1.5.1 | 4,248 | 6/11/2015 |
2.1.4.2 | 4,274 | 6/11/2015 |
2.1.4.1 | 4,286 | 6/10/2015 |
2.1.4 | 44,116 | 6/9/2015 |
## v7.1.2
* Roll-up Release for .NET Framework since last non-beta release.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.
## v7.1.2-beta-1
* Clamp Randomizer maximum value to int.MaxValue.
## v7.1.1
* Roll-up Release for .NET Framework since last non-beta release.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.
## v7.1.1-beta-1
* Locale update
* Date.Recent(0) generates random times for current date between midnight and now.
* New `System` data set for generating fake file names and mime-types.
* Added `Date.Timespan` for random timespan values.
* Added `System.Semver` for random semantic versions.
* Added `System.Version` for random System.Version objects.
* Added `Internet.ExampleEmail` for simple @example.com email generation.
* Added `Finance.BitcoinAddress` for random bitcoin addresses.
* BREAKING: Fake "seeded" data generated by Bogus may be different from previous versions.
* WARN: Address.City may have changed in some random seeds
## v6.1.1
* Roll-up Release for .NET Framework since last non-beta release.
* CoreCLR users please continue using latest beta release until CoreCLR is RTM.
## v6.1.1-beta-1
* Fixed index out of bounds bug in faker.Random.Word().
* Commerce.Department output may have changed as a result of this fix.
## v5.1.1-beta-3
* Removed RuleFor(x = x.Prop, constantValue), was confusing the API.
* Added 0-arity RuleFor(x = x.Prop, () => someValue)
## v5.1.1-beta-2
* Make f.UniqueIndex as int for convenience.
* Use generic RuleFor(x = x.Prop, constantValue).
## v5.1.1-beta-1
* New RuleFor(x = x.Prop, constantValue)
* Support for Hashids.net: RuleFor(x = x.Id, f = f.Hashids.Encode())
* New f.UniqueIndex, useful for composing property values that require uniqueness.
## 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 "dotnet5.4" moniker support.
* BREAKING: Fake "seeded" 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 "content" 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 => 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() -> 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 '*' replace with letter or digit.
* Added Lorem.Letter(num).
* Can switch locale on Name: f.Name["en"].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 "A foo bar."
* 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('ru') but not English('en').
* Corrected abbreviation for Yukon to reflect its official abbreviation of "YT".
## 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'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.