Bogus 28.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 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.2
Release Date: 2019-07-07
* PR 235: Added `Bogus.DataSets.Vehicle.GbRegistrationPlate()` in `Bogus.Extensions.UnitedKingdom` extension namespace to generate GB registration plates.
## 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.
## v26.0.1
Release Date: 2019-02-26
* Data and feature parity with faker.js @ d3ce6f1
* New `Vehicle` data set added.
* `en_IND` state abbreviations and state names updated.
* `en_CA`, `fr_CA` improved Canadian postal codes.
* `pt_PT` locale updated with new and changed data.
* `en` company names updated.
* `pt_PT` locale updated.
* Minor bug in `Date.Weekday` and `Date.Month` that could cause locale weekday/month values to default to `en`.
* Note: deterministic sequences may have changed.
Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md
.NET Framework 4.0
- No dependencies.
.NET Standard 1.3
- NETStandard.Library (>= 1.6.1)
- System.Globalization.Extensions (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
.NET Standard 2.0
- No dependencies.
Version | Downloads | Last updated |
---|---|---|
35.6.1 | 9 | 09/03/2024 |
35.6.0 | 7 | 07/21/2024 |
35.5.1 | 11 | 05/27/2024 |
35.5.0 | 11 | 03/13/2024 |
35.4.1 | 13 | 03/13/2024 |
35.4.0 | 14 | 01/19/2024 |
35.3.2 | 13 | 01/19/2024 |
35.3.1 | 14 | 01/19/2024 |
35.3.0 | 15 | 01/04/2024 |
35.2.0 | 12 | 12/31/2023 |
35.0.1 | 12 | 12/12/2023 |
34.0.2 | 1,910 | 07/21/2022 |
34.0.1 | 39 | 09/04/2022 |
33.1.1 | 2,104 | 06/27/2022 |
33.0.2 | 36 | 09/08/2022 |
33.0.1 | 46 | 08/24/2022 |
32.1.1 | 38 | 09/03/2022 |
32.0.2 | 62 | 09/07/2022 |
32.0.1 | 48 | 09/08/2022 |
31.0.3 | 27 | 09/08/2022 |
30.0.4 | 21 | 08/24/2022 |
30.0.1-beta-4 | 23 | 09/07/2022 |
30.0.1-beta-3 | 50 | 09/07/2022 |
30.0.1-beta-2 | 32 | 09/08/2022 |
30.0.1-beta-1 | 36 | 08/21/2022 |
29.0.2 | 62 | 09/08/2022 |
29.0.1 | 21 | 08/21/2022 |
28.4.4 | 32 | 09/07/2022 |
28.4.3 | 29 | 09/08/2022 |
28.4.2 | 31 | 09/03/2022 |
28.4.1 | 39 | 09/01/2022 |
28.3.2 | 19 | 09/08/2022 |
28.3.1 | 44 | 08/01/2022 |
28.2.1 | 34 | 09/07/2022 |
28.1.1 | 35 | 08/21/2022 |
28.0.3 | 45 | 09/07/2022 |
28.0.2 | 19 | 08/21/2022 |
28.0.1 | 21 | 09/08/2022 |
27.0.1 | 40 | 08/11/2022 |
26.0.2 | 49 | 08/23/2022 |
26.0.1 | 50 | 09/07/2022 |
25.0.4 | 25 | 08/01/2022 |
25.0.3 | 19 | 09/07/2022 |
25.0.2 | 27 | 08/20/2022 |
25.0.1 | 41 | 07/31/2022 |
24.3.1 | 52 | 08/11/2022 |
24.3.0 | 29 | 08/24/2022 |
24.2.0 | 28 | 07/21/2022 |
23.0.2 | 18 | 08/25/2022 |
22.3.2 | 46 | 09/03/2022 |
22.3.1 | 56 | 09/02/2022 |
22.2.1 | 38 | 09/02/2022 |
22.1.4 | 44 | 08/11/2022 |
22.1.3 | 21 | 09/03/2022 |
22.1.2 | 20 | 09/07/2022 |
22.1.1 | 38 | 08/24/2022 |
22.0.9 | 42 | 08/24/2022 |
22.0.8 | 37 | 09/03/2022 |
22.0.7 | 26 | 08/20/2022 |
22.0.6 | 34 | 08/11/2022 |
22.0.5 | 21 | 09/07/2022 |
22.0.3 | 57 | 09/02/2022 |
22.0.2 | 60 | 08/24/2022 |
22.0.1 | 33 | 09/07/2022 |
21.0.5 | 18 | 08/23/2022 |
21.0.4 | 20 | 09/08/2022 |
21.0.2 | 27 | 08/24/2022 |
20.0.2 | 38 | 09/08/2022 |
20.0.1 | 20 | 09/02/2022 |
19.0.2 | 24 | 09/09/2022 |
18.0.2 | 64 | 09/02/2022 |
18.0.1 | 25 | 09/02/2022 |
17.0.1 | 44 | 09/08/2022 |
16.0.3 | 34 | 09/01/2022 |
16.0.2 | 42 | 09/08/2022 |
15.0.7 | 41 | 09/09/2022 |
15.0.6 | 42 | 08/26/2022 |
15.0.5 | 34 | 09/08/2022 |
15.0.3 | 29 | 08/11/2022 |
15.0.1 | 21 | 09/07/2022 |
12.0.1 | 38 | 09/02/2022 |
11.0.5 | 58 | 09/07/2022 |
11.0.4 | 41 | 09/07/2022 |
11.0.3 | 21 | 09/08/2022 |
11.0.2 | 38 | 08/24/2022 |
11.0.1 | 19 | 09/08/2022 |
10.0.1 | 50 | 09/02/2022 |
9.0.2 | 19 | 08/21/2022 |
9.0.1 | 25 | 09/07/2022 |
8.0.4 | 45 | 09/10/2022 |
8.0.3 | 53 | 09/10/2022 |
8.0.2 | 27 | 08/11/2022 |
8.0.1 | 24 | 08/11/2022 |
8.0.1-beta-1 | 30 | 08/21/2022 |
7.1.7 | 19 | 09/02/2022 |
7.1.6 | 38 | 09/08/2022 |
7.1.5 | 35 | 08/24/2022 |
7.1.4 | 52 | 08/23/2022 |
7.1.3 | 30 | 07/31/2022 |
7.1.3-beta-1 | 47 | 09/07/2022 |
7.1.2 | 21 | 07/21/2022 |
7.1.2-beta-1 | 20 | 08/26/2022 |
7.1.1 | 45 | 09/08/2022 |
7.1.1-beta-1 | 50 | 09/02/2022 |
6.1.1 | 37 | 08/22/2022 |
6.1.1-beta-1 | 41 | 08/11/2022 |
5.1.1-beta-3 | 29 | 08/25/2022 |
5.1.1-beta-2 | 53 | 09/08/2022 |
5.1.1-beta-1 | 39 | 08/20/2022 |
5.0.1 | 30 | 09/08/2022 |
5.0.1-beta-2 | 58 | 09/02/2022 |
4.0.1 | 42 | 09/08/2022 |
4.0.1-beta-1 | 55 | 09/02/2022 |
3.0.6 | 19 | 09/02/2022 |
3.0.6-beta-1 | 52 | 09/08/2022 |
3.0.5 | 58 | 08/26/2022 |
3.0.5-beta-4 | 42 | 09/04/2022 |
3.0.5-beta-3 | 37 | 08/24/2022 |
3.0.5-beta-2 | 50 | 09/08/2022 |
3.0.4 | 40 | 08/23/2022 |
3.0.3 | 38 | 08/21/2022 |
3.0.2 | 53 | 08/11/2022 |
3.0.1 | 25 | 08/22/2022 |
3.0.0.3 | 29 | 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 | 57 | 07/31/2022 |
2.1.4 | 33 | 09/07/2022 |