Bogus 20.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.

No packages depend on Bogus.

## 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. ## v18.0.2 * Issue 86: Removed diacritic mark/accents (á, í, ó, ú, etc) from generated email addresses and user names. * Added `string.RemoveDiacritics` helper method. ## 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. Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md

.NET Framework 4.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
35.6.3 2 6/6/2025
35.6.2 1 6/14/2025
35.6.1 1 6/14/2025
35.6.0 1 6/14/2025
35.5.1 1 6/14/2025
35.5.0 1 6/14/2025
35.4.1 1 6/14/2025
35.4.0 1 6/14/2025
35.3.2 1 6/14/2025
35.3.1 2 6/14/2025
35.3.0 1 6/14/2025
35.2.0 1 6/14/2025
35.0.1 1 6/14/2025
34.0.2 2 6/14/2025
34.0.1 1 6/14/2025
33.1.1 1 6/14/2025
33.0.2 1 6/14/2025
33.0.1 2 6/9/2025
32.1.1 1 6/14/2025
32.0.2 1 6/14/2025
32.0.1 1 6/14/2025
31.0.3 1 6/14/2025
30.0.4 1 6/14/2025
30.0.1-beta-4 0 7/24/2020
30.0.1-beta-3 0 6/30/2020
30.0.1-beta-2 0 6/21/2020
30.0.1-beta-1 0 6/15/2020
29.0.2 1 6/14/2025
29.0.1 1 6/14/2025
28.4.4 1 6/14/2025
28.4.3 1 6/14/2025
28.4.2 1 6/14/2025
28.4.1 1 6/14/2025
28.3.2 1 6/14/2025
28.3.1 1 6/14/2025
28.2.1 1 6/14/2025
28.1.1 1 6/14/2025
28.0.3 1 6/14/2025
28.0.2 2 6/6/2025
28.0.1 1 6/14/2025
27.0.1 1 6/14/2025
26.0.2 1 6/14/2025
26.0.1 1 6/14/2025
25.0.4 1 6/14/2025
25.0.3 1 6/14/2025
25.0.2 1 6/14/2025
25.0.1 1 6/14/2025
24.3.1 1 6/14/2025
24.3.0 1 6/14/2025
24.2.0 1 6/14/2025
23.0.2 1 6/14/2025
22.3.2 1 6/14/2025
22.3.1 1 6/14/2025
22.2.1 1 6/14/2025
22.1.4 1 6/14/2025
22.1.3 1 6/14/2025
22.1.2 1 6/14/2025
22.1.1 1 6/14/2025
22.0.9 1 6/14/2025
22.0.8 2 6/7/2025
22.0.7 1 6/14/2025
22.0.6 2 6/7/2025
22.0.5 1 6/14/2025
22.0.3 1 6/14/2025
22.0.2 1 6/14/2025
22.0.1 1 6/14/2025
21.0.5 1 6/14/2025
21.0.4 1 6/14/2025
21.0.2 1 6/14/2025
20.0.2 1 6/14/2025
20.0.1 1 6/14/2025
19.0.2 1 6/14/2025
18.0.2 1 6/14/2025
18.0.1 1 6/14/2025
17.0.1 1 6/14/2025
16.0.3 1 6/14/2025
16.0.2 1 6/14/2025
15.0.7 1 6/14/2025
15.0.6 1 6/14/2025
15.0.5 1 6/14/2025
15.0.3 1 6/14/2025
15.0.1 1 6/14/2025
12.0.1 1 6/14/2025
11.0.5 2 6/7/2025
11.0.4 1 6/14/2025
11.0.3 1 6/14/2025
11.0.2 1 6/14/2025
11.0.1 1 6/14/2025
10.0.1 1 6/14/2025
9.0.2 0 1/19/2017
9.0.1 0 1/18/2017
8.0.4 0 1/17/2017
8.0.3 0 12/20/2016
8.0.2 0 12/7/2016
8.0.1 0 11/25/2016
8.0.1-beta-1 0 10/22/2016
7.1.7 0 10/11/2016
7.1.6 0 8/8/2016
7.1.5 0 7/27/2016
7.1.4 0 7/7/2016
7.1.3 0 6/28/2016
7.1.3-beta-1 1 6/6/2025
7.1.2 0 5/16/2016
7.1.2-beta-1 1 6/6/2025
7.1.1 0 5/15/2016
7.1.1-beta-1 0 5/15/2016
6.1.1 0 3/30/2016
6.1.1-beta-1 0 3/29/2016
5.1.1-beta-3 0 3/23/2016
5.1.1-beta-2 0 3/22/2016
5.1.1-beta-1 0 3/21/2016
5.0.1 0 2/25/2016
5.0.1-beta-2 0 2/25/2016
4.0.1 0 2/16/2016
4.0.1-beta-1 0 2/16/2016
3.0.6 0 1/21/2016
3.0.6-beta-1 0 1/21/2016
3.0.5 0 1/21/2016
3.0.5-beta-4 0 1/20/2016
3.0.5-beta-3 0 1/18/2016
3.0.5-beta-2 0 1/12/2016
3.0.4 0 12/10/2015
3.0.3 1 6/6/2025
3.0.2 0 11/24/2015
3.0.1 0 10/22/2015
3.0.0.3 0 7/21/2015
3.0.0.2 0 7/12/2015
3.0.0.1 0 7/12/2015
2.1.5.2 0 6/22/2015
2.1.5.1 0 6/11/2015
2.1.4.2 0 6/11/2015
2.1.4.1 0 6/10/2015
2.1.4 2 6/7/2025