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.

No packages depend on Bogus.

## 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

.NET Framework 4.0

.NET Standard 2.0

Version Downloads Last updated
35.6.5 47 11/01/2025
35.6.4 19 10/03/2025
35.6.3 31 04/12/2025
35.6.2 31 03/11/2025
35.6.1 33 12/26/2024
35.6.0 45 12/10/2024
35.5.1 49 11/23/2024
35.5.0 40 12/13/2024
35.4.1 39 12/26/2024
35.4.0 37 12/26/2024
35.3.2 40 12/11/2024
35.3.1 36 11/23/2024
35.3.0 35 12/26/2024
35.2.0 29 12/13/2024
35.0.1 42 12/15/2024
34.0.2 39 12/15/2024
34.0.1 34 12/11/2024
33.1.1 34 12/15/2024
33.0.2 37 12/12/2024
33.0.1 33 12/10/2024
32.1.1 40 12/26/2024
32.0.2 49 12/14/2022
32.0.1 40 12/26/2024
31.0.3 37 12/13/2024
30.0.4 34 12/13/2024
30.0.1-beta-4 34 12/17/2024
30.0.1-beta-3 39 12/08/2024
30.0.1-beta-2 39 12/26/2024
30.0.1-beta-1 43 12/23/2024
29.0.2 44 12/12/2024
29.0.1 40 12/15/2024
28.4.4 42 12/20/2024
28.4.3 37 12/26/2024
28.4.2 34 12/29/2024
28.4.1 40 11/23/2024
28.3.2 42 12/26/2024
28.3.1 28 11/23/2024
28.2.1 31 12/26/2024
28.1.1 38 12/12/2024
28.0.3 36 12/11/2024
28.0.2 35 12/15/2024
28.0.1 40 12/26/2024
27.0.1 43 12/12/2024
26.0.2 39 12/26/2024
26.0.1 43 12/26/2024
25.0.4 35 11/23/2024
25.0.3 36 11/23/2024
25.0.2 39 12/23/2024
25.0.1 34 12/12/2024
24.3.1 34 12/26/2024
24.3.0 43 12/12/2024
24.2.0 33 11/06/2024
23.0.2 41 12/30/2024
22.3.2 40 12/11/2024
22.3.1 35 12/12/2024
22.2.1 41 12/16/2024
22.1.4 36 12/26/2024
22.1.3 28 12/15/2024
22.1.2 34 11/26/2024
22.1.1 34 12/15/2024
22.0.9 37 12/20/2024
22.0.8 38 12/26/2024
22.0.7 40 12/29/2024
22.0.6 36 12/19/2024
22.0.5 41 11/24/2024
22.0.3 34 12/12/2024
22.0.2 37 11/23/2024
22.0.1 32 12/12/2024
21.0.5 44 12/26/2024
21.0.4 41 12/11/2024
21.0.2 45 11/23/2024
20.0.2 44 11/21/2024
20.0.1 37 12/16/2024
19.0.2 37 12/24/2024
18.0.2 38 11/23/2024
18.0.1 35 11/24/2024
17.0.1 36 12/12/2024
16.0.3 35 11/24/2024
16.0.2 34 12/12/2024
15.0.7 31 12/13/2024
15.0.6 33 12/26/2024
15.0.5 36 12/11/2024
15.0.3 42 11/23/2024
15.0.1 37 12/06/2024
12.0.1 38 12/12/2024
11.0.5 36 11/18/2024
11.0.4 37 12/24/2024
11.0.3 38 12/12/2024
11.0.2 33 12/17/2024
11.0.1 37 12/26/2024
10.0.1 34 12/26/2024
9.0.2 39 11/20/2024
9.0.1 38 12/16/2024
8.0.4 36 11/23/2024
8.0.3 36 11/29/2024
8.0.2 39 11/29/2024
8.0.1 35 12/30/2024
8.0.1-beta-1 36 12/12/2024
7.1.7 34 12/12/2024
7.1.6 34 12/29/2024
7.1.5 28 01/02/2025
7.1.4 33 12/26/2024
7.1.3 32 12/15/2024
7.1.3-beta-1 29 12/15/2024
7.1.2 33 12/15/2024
7.1.2-beta-1 45 12/08/2024
7.1.1 44 12/11/2024
7.1.1-beta-1 28 12/11/2024
6.1.1 38 12/13/2024
6.1.1-beta-1 40 11/19/2024
5.1.1-beta-3 32 12/23/2024
5.1.1-beta-2 34 12/22/2024
5.1.1-beta-1 35 12/07/2024
5.0.1 37 11/24/2024
5.0.1-beta-2 37 12/26/2024
4.0.1 37 12/15/2024
4.0.1-beta-1 34 12/11/2024
3.0.6 42 12/16/2024
3.0.6-beta-1 39 12/17/2024
3.0.5 29 12/11/2024
3.0.5-beta-4 32 12/17/2024
3.0.5-beta-3 40 12/11/2024
3.0.5-beta-2 33 11/08/2024
3.0.4 33 12/17/2024
3.0.3 34 12/26/2024
3.0.2 32 12/17/2024
3.0.1 32 12/19/2024
3.0.0.3 36 12/13/2024
2.1.4.1 37 12/16/2024
2.1.4 35 12/12/2024