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 | 0 | 09/02/2024 |
35.6.0 | 3 | 12/10/2024 |
35.5.1 | 3 | 11/23/2024 |
35.5.0 | 3 | 12/13/2024 |
35.4.1 | 0 | 03/02/2024 |
35.4.0 | 0 | 01/14/2024 |
35.3.2 | 3 | 12/11/2024 |
35.3.1 | 6 | 11/23/2024 |
35.3.0 | 0 | 01/01/2024 |
35.2.0 | 3 | 12/13/2024 |
35.0.1 | 3 | 12/15/2024 |
34.0.2 | 3 | 12/15/2024 |
34.0.1 | 3 | 12/11/2024 |
33.1.1 | 3 | 12/15/2024 |
33.0.2 | 3 | 12/12/2024 |
33.0.1 | 3 | 12/10/2024 |
32.1.1 | 0 | 01/31/2021 |
32.0.2 | 9 | 12/14/2022 |
32.0.1 | 0 | 11/28/2020 |
31.0.3 | 3 | 12/13/2024 |
30.0.4 | 3 | 12/13/2024 |
30.0.1-beta-4 | 3 | 12/17/2024 |
30.0.1-beta-3 | 3 | 12/08/2024 |
30.0.1-beta-2 | 0 | 06/21/2020 |
30.0.1-beta-1 | 3 | 12/23/2024 |
29.0.2 | 1 | 12/12/2024 |
29.0.1 | 3 | 12/15/2024 |
28.4.4 | 3 | 12/20/2024 |
28.4.3 | 0 | 12/04/2019 |
28.4.2 | 0 | 11/30/2019 |
28.4.1 | 3 | 11/23/2024 |
28.3.2 | 0 | 10/04/2019 |
28.3.1 | 3 | 11/23/2024 |
28.2.1 | 0 | 09/10/2019 |
28.1.1 | 3 | 12/12/2024 |
28.0.3 | 3 | 12/11/2024 |
28.0.2 | 3 | 12/15/2024 |
28.0.1 | 0 | 07/02/2019 |
27.0.1 | 3 | 12/12/2024 |
26.0.2 | 0 | 03/22/2019 |
26.0.1 | 0 | 02/26/2019 |
25.0.4 | 4 | 11/23/2024 |
25.0.3 | 4 | 11/23/2024 |
25.0.2 | 3 | 12/23/2024 |
25.0.1 | 3 | 12/12/2024 |
24.3.1 | 0 | 11/03/2018 |
24.3.0 | 1 | 12/12/2024 |
24.2.0 | 4 | 11/06/2024 |
23.0.2 | 0 | 08/13/2018 |
22.3.2 | 2 | 12/11/2024 |
22.3.1 | 3 | 12/12/2024 |
22.2.1 | 2 | 12/16/2024 |
22.1.4 | 0 | 06/26/2018 |
22.1.3 | 3 | 12/15/2024 |
22.1.2 | 4 | 11/26/2024 |
22.1.1 | 3 | 12/15/2024 |
22.0.9 | 3 | 12/20/2024 |
22.0.8 | 0 | 04/10/2018 |
22.0.7 | 0 | 04/01/2018 |
22.0.6 | 3 | 12/19/2024 |
22.0.5 | 6 | 11/24/2024 |
22.0.3 | 3 | 12/12/2024 |
22.0.2 | 1 | 11/23/2024 |
22.0.1 | 3 | 12/12/2024 |
21.0.5 | 0 | 12/16/2017 |
21.0.4 | 3 | 12/11/2024 |
21.0.2 | 6 | 11/23/2024 |
20.0.2 | 7 | 11/21/2024 |
20.0.1 | 3 | 12/16/2024 |
19.0.2 | 3 | 12/24/2024 |
18.0.2 | 4 | 11/23/2024 |
18.0.1 | 3 | 11/24/2024 |
17.0.1 | 3 | 12/12/2024 |
16.0.3 | 1 | 11/24/2024 |
16.0.2 | 3 | 12/12/2024 |
15.0.7 | 3 | 12/13/2024 |
15.0.6 | 0 | 08/03/2017 |
15.0.5 | 3 | 12/11/2024 |
15.0.3 | 6 | 11/23/2024 |
15.0.1 | 3 | 12/06/2024 |
12.0.1 | 3 | 12/12/2024 |
11.0.5 | 4 | 11/18/2024 |
11.0.4 | 3 | 12/24/2024 |
11.0.3 | 5 | 12/12/2024 |
11.0.2 | 3 | 12/17/2024 |
11.0.1 | 0 | 02/21/2017 |
10.0.1 | 0 | 02/18/2017 |
9.0.2 | 4 | 11/20/2024 |
9.0.1 | 3 | 12/16/2024 |
8.0.4 | 4 | 11/23/2024 |
8.0.3 | 4 | 11/29/2024 |
8.0.2 | 5 | 11/29/2024 |
8.0.1 | 0 | 11/25/2016 |
8.0.1-beta-1 | 3 | 12/12/2024 |
7.1.7 | 1 | 12/12/2024 |
7.1.6 | 0 | 08/08/2016 |
7.1.5 | 0 | 07/27/2016 |
7.1.4 | 0 | 07/07/2016 |
7.1.3 | 4 | 12/15/2024 |
7.1.3-beta-1 | 2 | 12/15/2024 |
7.1.2 | 3 | 12/15/2024 |
7.1.2-beta-1 | 3 | 12/08/2024 |
7.1.1 | 5 | 12/11/2024 |
7.1.1-beta-1 | 3 | 12/11/2024 |
6.1.1 | 3 | 12/13/2024 |
6.1.1-beta-1 | 5 | 11/19/2024 |
5.1.1-beta-3 | 3 | 12/23/2024 |
5.1.1-beta-2 | 3 | 12/22/2024 |
5.1.1-beta-1 | 3 | 12/07/2024 |
5.0.1 | 4 | 11/24/2024 |
5.0.1-beta-2 | 0 | 02/25/2016 |
4.0.1 | 3 | 12/15/2024 |
4.0.1-beta-1 | 3 | 12/11/2024 |
3.0.6 | 2 | 12/16/2024 |
3.0.6-beta-1 | 3 | 12/17/2024 |
3.0.5 | 3 | 12/11/2024 |
3.0.5-beta-4 | 3 | 12/17/2024 |
3.0.5-beta-3 | 3 | 12/11/2024 |
3.0.5-beta-2 | 4 | 11/08/2024 |
3.0.4 | 3 | 12/17/2024 |
3.0.3 | 0 | 12/09/2015 |
3.0.2 | 3 | 12/17/2024 |
3.0.1 | 3 | 12/19/2024 |
3.0.0.3 | 3 | 12/13/2024 |
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 | 2 | 12/16/2024 |
2.1.4 | 3 | 12/12/2024 |