Bogus 22.0.5

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.

## v22.0.5 * Bogus now throws exceptions for locales it doesn't recognize. Improves developer experience. * New extension method `.ToBogusLocale()` on `System.Globalization.CultureInfo` to help translate from **.NET** locale codes to **Bogus** locale codes. ## v22.0.3 * Generate more realistic Bitcoin addresses. * New extension method `Faker<T>.GenerateBetween(min, max)` that generates N objects between `min` and `max`. Located in `Bogus.Extensions`. N should be considered non-deterministic but technically depends on the parameters each time this extension method was called. * Added `Lorem.Paragraphs(min, max)` overload. * Added improved XML doc comments and parameter names on `Lorem.Paragraph`. * UK extension method `.ShortCode()` renamed to `.SortCode()` as originally intended. * Marked `DataSet.Get/.GetObject/BObject` methods as `protected internal`. Reducing API surface noise. * Added new `.OrNull` in `Bogus.Extensions` to help create randomly null values. Example: `.RuleFor(x=>x.Prop, f=>f.Random.Word().OrNull(f))`. * New groundwork for extending Bogus with premium (paid) data sets and tooling. ## v22.0.2 * Issue 121: Fixes the inability to `.Ignore(...)` a property or field after a rule had already been set. ## v22.0.1 * Issue 120: `.Generate(n)` now returns `List<T>` instead of `IList<T>`. * Added `f.Address.CountryCode()` ISO 3166-1 alpha-3 country code generator. * New `Bogus.Extensions.Extras` namespace for generally useful helper methods. * Added `Finance.CreditCardNumberObfuscated()` extension to `Bogus.Extensions.Extras` namespace. * Moved credit card `CheckDigit()` extensions to `Bogus.Extensions.Extras` namespace. ## v21.0.5 * Better error support. * Added `Person.FullName` field. * Allowed `Faker<T>.FinishWith` to be called multiple times. Last call wins. 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.5.1 0 04/28/2024
35.5.0 3 03/13/2024
35.4.1 2 03/13/2024
35.4.0 2 01/19/2024
35.3.2 2 01/19/2024
35.3.1 2 01/19/2024
35.3.0 4 01/04/2024
35.2.0 3 12/31/2023
35.0.1 2 12/12/2023
34.0.2 1,701 07/21/2022
34.0.1 19 09/04/2022
33.1.1 1,892 06/27/2022
33.0.2 24 09/08/2022
33.0.1 34 08/24/2022
32.1.1 22 09/03/2022
32.0.2 44 09/07/2022
32.0.1 35 09/08/2022
31.0.3 18 09/08/2022
30.0.4 10 08/24/2022
30.0.1-beta-4 13 09/07/2022
30.0.1-beta-3 32 09/07/2022
30.0.1-beta-2 11 09/08/2022
30.0.1-beta-1 14 08/21/2022
29.0.2 33 09/08/2022
29.0.1 12 08/21/2022
28.4.4 12 09/07/2022
28.4.3 15 09/08/2022
28.4.2 9 09/03/2022
28.4.1 27 09/01/2022
28.3.2 10 09/08/2022
28.3.1 19 08/01/2022
28.2.1 20 09/07/2022
28.1.1 21 08/21/2022
28.0.3 28 09/07/2022
28.0.2 12 08/21/2022
28.0.1 11 09/08/2022
27.0.1 24 08/11/2022
26.0.2 28 08/23/2022
26.0.1 35 09/07/2022
25.0.4 14 08/01/2022
25.0.3 11 09/07/2022
25.0.2 18 08/20/2022
25.0.1 24 07/31/2022
24.3.1 35 08/11/2022
24.3.0 11 08/24/2022
24.2.0 16 07/21/2022
23.0.2 8 08/25/2022
22.3.2 26 09/03/2022
22.3.1 32 09/02/2022
22.2.1 17 09/02/2022
22.1.4 32 08/11/2022
22.1.3 9 09/03/2022
22.1.2 12 09/07/2022
22.1.1 24 08/24/2022
22.0.9 26 08/24/2022
22.0.8 17 09/03/2022
22.0.7 13 08/20/2022
22.0.6 21 08/11/2022
22.0.5 11 09/07/2022
22.0.3 29 09/02/2022
22.0.2 35 08/24/2022
22.0.1 10 09/07/2022
21.0.5 10 08/23/2022
21.0.4 9 09/08/2022
21.0.2 14 08/24/2022
20.0.2 23 09/08/2022
20.0.1 12 09/02/2022
19.0.2 10 09/09/2022
18.0.2 40 09/02/2022
18.0.1 14 09/02/2022
17.0.1 13 09/08/2022
16.0.3 19 09/01/2022
16.0.2 29 09/08/2022
15.0.7 13 09/09/2022
15.0.6 28 08/26/2022
15.0.5 15 09/08/2022
15.0.3 11 08/11/2022
15.0.1 10 09/07/2022
12.0.1 13 09/02/2022
11.0.5 29 09/07/2022
11.0.4 23 09/07/2022
11.0.3 11 09/08/2022
11.0.2 22 08/24/2022
11.0.1 10 09/08/2022
10.0.1 38 09/02/2022
9.0.2 10 08/21/2022
9.0.1 16 09/07/2022
8.0.4 22 09/10/2022
8.0.3 32 09/10/2022
8.0.2 13 08/11/2022
8.0.1 13 08/11/2022
8.0.1-beta-1 13 08/21/2022
7.1.7 9 09/02/2022
7.1.6 29 09/08/2022
7.1.5 15 08/24/2022
7.1.4 35 08/23/2022
7.1.3 11 07/31/2022
7.1.3-beta-1 31 09/07/2022
7.1.2 11 07/21/2022
7.1.2-beta-1 11 08/26/2022
7.1.1 25 09/08/2022
7.1.1-beta-1 29 09/02/2022
6.1.1 17 08/22/2022
6.1.1-beta-1 25 08/11/2022
5.1.1-beta-3 15 08/25/2022
5.1.1-beta-2 34 09/08/2022
5.1.1-beta-1 16 08/20/2022
5.0.1 10 09/08/2022
5.0.1-beta-2 33 09/02/2022
4.0.1 25 09/08/2022
4.0.1-beta-1 37 09/02/2022
3.0.6 10 09/02/2022
3.0.6-beta-1 35 09/08/2022
3.0.5 36 08/26/2022
3.0.5-beta-4 25 09/04/2022
3.0.5-beta-3 15 08/24/2022
3.0.5-beta-2 35 09/08/2022
3.0.4 17 08/23/2022
3.0.3 28 08/21/2022
3.0.2 36 08/11/2022
3.0.1 15 08/22/2022
3.0.0.3 14 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 30 07/31/2022
2.1.4 13 09/07/2022