Bogus 28.0.3

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 Bogus to create UIs with fake data or seed databases. Get started by using Faker class or a DataSet directly.

No packages depend on Bogus.

## v28.0.3 Release Date: 2019-08-28 * Issue 249: Fixed `Internet.Url()` including spaces in domain names for `pt_BR` locale or any locale with compound first names that may contain spaces. Thanks RodrigoRodriguesX10! * PR 241: General code quality improvements in `DataSets.System`. Better XML docs and lower array allocations. Thanks bartdebever! * PR 245: XML doc improvements to `DataSets.Lorem`. Thanks bartdebever! ## v28.0.2 Release Date: 2019-07-07 * PR 235: Added `Bogus.DataSets.Vehicle.GbRegistrationPlate()` in `Bogus.Extensions.UnitedKingdom` extension namespace to generate GB registration plates. Thanks @colinangusmackay. ## v28.0.1 Release Date: 2019-07-02 * BREAKING: Deterministic sequence values may have changed for fake email addresses derived from `Internet.Email()` or `Internet.UserName()` in locales other than `en`. * Issue 229: Adds `Finance.Iban(countryCode)` ISO3166 country code parameter. Allows generating IBAN codes for specific countries. The country code must be a supported otherwise an exception is thrown. * Issue 225: Better support for transliteration of international Unicode characters to US-Latin/Roman ASCII character sets. `Internet.Email()` and `Internet.UserName()` are more respectful of specified locale using character transliteration. * Added `.Transliterate()` string extension method in `Bogus.Extensions` namespace. * Added `Internet.UserNameUnicode()` that preserves Unicode characters in user names. * Minor performance improvement to `Utils.Slugify` using compiled Regex. * Issue 232: Adds `.OrNull[T]() where T : struct` overload which makes it easier to work with nullable types without type casting. * Added `defaultValue` parameter to `.OrDefault(f, weight, defaultValue)` that can default to a different value than the `default` keyword. ## v27.0.1 Release Date: 2019-05-02 * Issue 218: Fixed bug that prevented global static `Faker.DefaultStrictMode` from working. * Issue 210: Added `Randomizer.Utf16String` that generates technically valid Unicode with paired high/low surrogates. * Added `placeholder.com` image service. ## v26.0.2 Release Date: 2019-03-22 * New `Person(seed)` constructor for seeding person objects by integer. Thanks @sgoguen! * Fixed `Person.DateOfBirth` not using `Date.SystemClock` as 'now' reference. 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 8 04/13/2025
35.6.2 15 02/21/2025
35.6.1 23 09/04/2024
35.6.0 28 07/21/2024
35.5.1 21 05/19/2024
35.5.0 33 03/11/2024
35.4.1 25 03/11/2024
35.4.0 30 01/15/2024
35.3.2 29 01/15/2024
35.3.1 25 01/15/2024
35.3.0 32 01/07/2024
35.2.0 41 01/07/2024
35.0.1 34 01/07/2024
34.0.2 40 07/05/2022
34.0.1 29 08/03/2023
33.1.1 37 08/11/2023
33.0.2 51 08/06/2023
33.0.1 29 08/08/2023
32.1.1 32 10/17/2023
32.0.2 29 08/03/2023
32.0.1 36 07/19/2023
31.0.3 44 08/16/2023
30.0.4 26 08/09/2023
30.0.1-beta-4 31 09/24/2023
30.0.1-beta-3 34 08/26/2022
30.0.1-beta-2 35 08/14/2023
30.0.1-beta-1 33 08/06/2023
29.0.2 26 10/13/2023
29.0.1 29 10/17/2022
28.4.4 37 10/21/2022
28.4.3 39 08/04/2023
28.4.2 32 08/07/2023
28.4.1 32 08/15/2023
28.3.2 32 08/09/2023
28.3.1 39 08/06/2023
28.2.1 33 08/09/2023
28.1.1 32 08/09/2023
28.0.3 32 08/03/2023
28.0.2 31 11/28/2022
28.0.1 33 08/09/2023
27.0.1 36 08/05/2023
26.0.2 29 08/16/2023
26.0.1 32 08/07/2023
25.0.4 37 08/06/2023
25.0.3 36 08/10/2023
25.0.2 29 08/04/2023
25.0.1 34 08/10/2023
24.3.1 37 08/05/2023
24.3.0 30 08/10/2023
24.2.0 27 08/08/2023
23.0.2 28 08/04/2023
22.3.2 40 08/11/2023
22.3.1 37 08/06/2023
22.2.1 55 08/08/2023
22.1.4 39 08/19/2022
22.1.3 28 08/07/2023
22.1.2 37 10/29/2022
22.1.1 33 08/04/2023
22.0.9 35 09/30/2022
22.0.8 30 08/15/2023
22.0.7 35 10/16/2022
22.0.6 34 07/18/2023
22.0.5 31 08/08/2023
22.0.3 37 11/16/2022
22.0.2 29 08/14/2023
22.0.1 30 08/09/2023
21.0.5 38 10/06/2022
21.0.4 27 08/11/2023
21.0.2 28 08/15/2023
20.0.2 34 08/11/2023
20.0.1 63 08/04/2023
19.0.2 56 10/10/2022
18.0.2 33 08/11/2023
18.0.1 40 09/16/2022
17.0.1 34 08/04/2023
16.0.3 31 08/15/2023
16.0.2 34 08/17/2023
15.0.7 30 07/12/2023
15.0.6 36 08/05/2023
15.0.5 37 08/31/2022
15.0.3 36 08/04/2023
15.0.1 27 08/11/2023
12.0.1 33 08/07/2023
11.0.5 26 08/11/2023
11.0.4 27 08/14/2023
11.0.3 26 08/15/2023
11.0.2 28 08/10/2023
11.0.1 32 08/08/2023
10.0.1 41 03/22/2023
9.0.2 31 08/11/2023
9.0.1 30 08/05/2023
8.0.4 34 08/10/2023
8.0.3 33 08/11/2023
8.0.2 29 08/08/2023
8.0.1 34 08/05/2023
8.0.1-beta-1 35 08/02/2023
7.1.7 43 08/10/2023
7.1.6 34 10/08/2022
7.1.5 30 08/05/2023
7.1.4 39 08/05/2023
7.1.3 34 08/06/2023
7.1.3-beta-1 32 07/31/2023
7.1.2 30 07/18/2023
7.1.2-beta-1 31 08/05/2023
7.1.1 38 07/25/2023
7.1.1-beta-1 40 08/16/2023
6.1.1 29 08/21/2023
6.1.1-beta-1 34 08/11/2023
5.1.1-beta-3 36 08/11/2023
5.1.1-beta-2 30 08/07/2023
5.1.1-beta-1 33 08/11/2023
5.0.1 27 08/16/2023
5.0.1-beta-2 26 08/23/2023
4.0.1 28 10/07/2023
4.0.1-beta-1 31 09/24/2023
3.0.6 26 08/02/2023
3.0.6-beta-1 27 08/16/2023
3.0.5 30 08/24/2023
3.0.5-beta-4 29 08/23/2023
3.0.5-beta-3 35 08/16/2023
3.0.5-beta-2 34 08/15/2023
3.0.4 35 08/21/2023
3.0.3 39 08/11/2023
3.0.2 28 08/11/2023
3.0.1 30 08/16/2023
3.0.0.3 28 08/07/2023
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 60 05/14/2023
2.1.4 32 08/11/2023