Bogus 21.0.2

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.

## v21.0.2 * Re-enabled **.NET Standard 1.3** targeting. * Added `Gender` field to `Person`. Deterministic sequences may have changed. * Added `Randomizer.Bool(weight)` to generate weighted boolean values of true. * Italian `CodiceFiscale()` extension method added. Extends `Person` and `Finance`. ## v20.0.2 * Fixed Issue 102: `f.Random.Uuid()` is now deterministic based on global or local seed. ## 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. Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md

.NET Framework 4.0

  • No dependencies.

.NET Standard 1.3

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
35.6.3 6 04/14/2025
35.6.2 10 02/28/2025
35.6.1 20 09/03/2024
35.6.0 15 07/21/2024
35.5.1 22 05/27/2024
35.5.0 16 03/13/2024
35.4.1 21 03/13/2024
35.4.0 22 01/19/2024
35.3.2 21 01/19/2024
35.3.1 21 01/19/2024
35.3.0 21 01/04/2024
35.2.0 20 12/31/2023
35.0.1 19 12/12/2023
34.0.2 1,953 07/21/2022
34.0.1 58 09/04/2022
33.1.1 2,156 06/27/2022
33.0.2 45 09/08/2022
33.0.1 53 08/24/2022
32.1.1 47 09/03/2022
32.0.2 68 09/07/2022
32.0.1 55 09/08/2022
31.0.3 33 09/08/2022
30.0.4 29 08/24/2022
30.0.1-beta-4 30 09/07/2022
30.0.1-beta-3 59 09/07/2022
30.0.1-beta-2 47 09/08/2022
30.0.1-beta-1 49 08/21/2022
29.0.2 86 09/08/2022
29.0.1 28 08/21/2022
28.4.4 44 09/07/2022
28.4.3 35 09/08/2022
28.4.2 52 09/03/2022
28.4.1 46 09/01/2022
28.3.2 26 09/08/2022
28.3.1 60 08/01/2022
28.2.1 41 09/07/2022
28.1.1 44 08/21/2022
28.0.3 60 09/07/2022
28.0.2 29 08/21/2022
28.0.1 32 09/08/2022
27.0.1 53 08/11/2022
26.0.2 63 08/23/2022
26.0.1 64 09/07/2022
25.0.4 34 08/01/2022
25.0.3 25 09/07/2022
25.0.2 32 08/20/2022
25.0.1 52 07/31/2022
24.3.1 60 08/11/2022
24.3.0 44 08/24/2022
24.2.0 36 07/21/2022
23.0.2 26 08/25/2022
22.3.2 56 09/03/2022
22.3.1 64 09/02/2022
22.2.1 45 09/02/2022
22.1.4 51 08/11/2022
22.1.3 26 09/03/2022
22.1.2 26 09/07/2022
22.1.1 46 08/24/2022
22.0.9 48 08/24/2022
22.0.8 54 09/03/2022
22.0.7 32 08/20/2022
22.0.6 44 08/11/2022
22.0.5 27 09/07/2022
22.0.3 75 09/02/2022
22.0.2 77 08/24/2022
22.0.1 46 09/07/2022
21.0.5 25 08/23/2022
21.0.4 29 09/08/2022
21.0.2 35 08/24/2022
20.0.2 54 09/08/2022
20.0.1 30 09/02/2022
19.0.2 30 09/09/2022
18.0.2 80 09/02/2022
18.0.1 33 09/02/2022
17.0.1 56 09/08/2022
16.0.3 43 09/01/2022
16.0.2 48 09/08/2022
15.0.7 57 09/09/2022
15.0.6 47 08/26/2022
15.0.5 47 09/08/2022
15.0.3 45 08/11/2022
15.0.1 29 09/07/2022
12.0.1 55 09/02/2022
11.0.5 79 09/07/2022
11.0.4 47 09/07/2022
11.0.3 27 09/08/2022
11.0.2 51 08/24/2022
11.0.1 26 09/08/2022
10.0.1 57 09/02/2022
9.0.2 26 08/21/2022
9.0.1 31 09/07/2022
8.0.4 64 09/10/2022
8.0.3 64 09/10/2022
8.0.2 44 08/11/2022
8.0.1 29 08/11/2022
8.0.1-beta-1 45 08/21/2022
7.1.7 25 09/02/2022
7.1.6 44 09/08/2022
7.1.5 48 08/24/2022
7.1.4 63 08/23/2022
7.1.3 40 07/31/2022
7.1.3-beta-1 61 09/07/2022
7.1.2 28 07/21/2022
7.1.2-beta-1 26 08/26/2022
7.1.1 52 09/08/2022
7.1.1-beta-1 60 09/02/2022
6.1.1 45 08/22/2022
6.1.1-beta-1 53 08/11/2022
5.1.1-beta-3 35 08/25/2022
5.1.1-beta-2 62 09/08/2022
5.1.1-beta-1 55 08/20/2022
5.0.1 46 09/08/2022
5.0.1-beta-2 85 09/02/2022
4.0.1 47 09/08/2022
4.0.1-beta-1 63 09/02/2022
3.0.6 27 09/02/2022
3.0.6-beta-1 60 09/08/2022
3.0.5 72 08/26/2022
3.0.5-beta-4 58 09/04/2022
3.0.5-beta-3 52 08/24/2022
3.0.5-beta-2 59 09/08/2022
3.0.4 59 08/23/2022
3.0.3 49 08/21/2022
3.0.2 61 08/11/2022
3.0.1 33 08/22/2022
3.0.0.3 37 09/08/2022
3.0.0.2 0 07/12/2015
3.0.0.1 0 07/12/2015
2.1.5.2 0 06/22/2015
2.1.5.1 0 06/11/2015
2.1.4.2 0 06/11/2015
2.1.4.1 81 07/31/2022
2.1.4 50 09/07/2022