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.

Install-Package Bogus -Version 28.0.2
dotnet add package Bogus --version 28.0.2
<PackageReference Include="Bogus" Version="28.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bogus --version 28.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## 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

Version History

Version Downloads Last updated
28.0.2 4,911 7/7/2019
28.0.1 3,308 7/2/2019
27.0.1 90,799 5/2/2019
26.0.2 93,439 3/22/2019
26.0.1 86,020 2/26/2019
25.0.4 120,666 1/18/2019
25.0.3 47,441 1/6/2019
25.0.2 76,263 12/11/2018
25.0.1 53,281 11/27/2018
24.3.1 78,876 11/3/2018
24.3.0 168,524 10/2/2018
24.2.0 13,024 9/27/2018
23.0.2 57,316 8/13/2018
22.3.2 84,643 7/18/2018
22.3.1 63,146 7/5/2018
22.2.1 9,456 6/29/2018
22.1.4 8,213 6/26/2018
22.1.3 26,332 6/14/2018
22.1.2 82,344 5/29/2018
22.1.1 9,145 5/21/2018
22.0.9 1,750 5/17/2018
22.0.8 153,960 4/10/2018
22.0.7 23,152 4/1/2018
22.0.6 4,200 3/29/2018
22.0.5 74,226 3/3/2018
22.0.3 10,285 2/27/2018
22.0.2 84,488 1/6/2018
22.0.1 35,608 12/23/2017
21.0.5 4,799 12/16/2017
21.0.4 6,952 12/13/2017
21.0.2 6,271 12/8/2017
20.0.2 33,256 11/6/2017
20.0.1 3,129 11/5/2017
19.0.2 17,054 11/1/2017
18.0.2 75,821 9/14/2017
18.0.1 7,069 9/13/2017
17.0.1 25,811 8/25/2017
16.0.3 9,829 8/24/2017
16.0.2 1,347 8/23/2017
15.0.7 4,608 8/21/2017
15.0.6 10,220 8/3/2017
15.0.5 3,666 7/28/2017
15.0.3 103,717 5/7/2017
15.0.1 27,879 4/11/2017
12.0.1 7,557 3/27/2017
11.0.5 7,801 3/20/2017
11.0.4 20,175 3/15/2017
11.0.3 1,828 3/13/2017
11.0.2 10,253 2/23/2017
11.0.1 1,145 2/21/2017
10.0.1 956 2/18/2017
9.0.2 18,027 1/19/2017
9.0.1 569 1/18/2017
8.0.4 705 1/17/2017
8.0.3 25,186 12/20/2016
8.0.2 5,967 12/7/2016
8.0.1 7,985 11/25/2016
8.0.1-beta-1 18,540 10/22/2016
7.1.7 40,578 10/11/2016
7.1.6 25,606 8/8/2016
7.1.5 815 7/27/2016
7.1.4 3,599 7/7/2016
7.1.3 4,121 6/28/2016
7.1.3-beta-1 362 5/20/2016
7.1.2 6,945 5/16/2016
7.1.2-beta-1 321 5/16/2016
7.1.1 419 5/15/2016
7.1.1-beta-1 346 5/15/2016
6.1.1 5,486 3/30/2016
6.1.1-beta-1 550 3/29/2016
5.1.1-beta-3 347 3/23/2016
5.1.1-beta-2 327 3/22/2016
5.1.1-beta-1 324 3/21/2016
5.0.1 2,199 2/25/2016
5.0.1-beta-2 356 2/25/2016
4.0.1 504 2/16/2016
4.0.1-beta-1 343 2/16/2016
3.0.6 1,621 1/21/2016
3.0.6-beta-1 306 1/21/2016
3.0.5 4,473 1/21/2016
3.0.5-beta-4 328 1/20/2016
3.0.5-beta-3 367 1/18/2016
3.0.5-beta-2 1,434 1/12/2016
3.0.4 1,266 12/10/2015
3.0.3 389 12/9/2015
3.0.2 512 11/24/2015
3.0.1 640 10/22/2015
3.0.0.3 1,079 7/21/2015
3.0.0.2 1,754 7/12/2015
3.0.0.1 1,689 7/12/2015
2.1.5.2 750 6/22/2015
2.1.5.1 444 6/11/2015
2.1.4.2 401 6/11/2015
2.1.4.1 446 6/10/2015
2.1.4 677 6/9/2015