Bogus 29.0.1
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.
v29.0.1
Release Date: 2020-02-10
- Data parity with faker.js. Deterministic sequences using
Internet.Avatar()may have changed. - Add support for .snupkg NuGet Symbol Server Packages via SourceLink.
- Added Randomizer.Enums() that makes selecting a subset of enum values easier.
- Modified
.OrNull(f)extension method signatures for type-safe with nullable primitive types, structs, and reference types viainparameter to avoid ambiguous calls.
v28.4.4
Release Date: 2019-12-10
- PR 272: Add extension method for generating Norwegian national identity numbers.
Person.Fødselsnummer(). Thanks @mika-s!
v28.4.3
Release Date: 2019-12-03
- Issue 271: Minor bug fix in Brazil
Person.Cpf()extension method. Previously, only the first call toPerson.Cpf(includeFormatSymbols)respected theincludeFormatSymbolsparameter due to the final result being saved inPersoncontext.Person.Cpf()now respects theincludeFormatSymbolsparameter after subsequent repeat calls toCpf()with the samePerson. Thanks for testing @ArthNRick!
v28.4.2
Release Date: 2019-11-30
- PR 269: Adds
includeFormatSymbolsparameter to include or exclude formatting characters for BrazilPerson.Cpf()andCompany.Cnpj()extension methods.
v28.4.1
Release Date: 2019-10-14
- Issue 260: Improved social security number (SSN) generation that should pass basic validation by avoiding invalid SSN ranges. Note: Deterministic SSNs generated with
Person.Ssn()will change. - Issue 252:
Internet.Ip()now avoids generating IP addresses with a leading zero. For example, Bogus will not generate an IP address with a leading zero like 0.1.2.3. Note: Deterministic IPs generated withInternet.Ip()will change. - PR 261: Added
Internet.IpAddress(),Internet.Ipv6Address(),Internet.IpEndPoint(), andInternet.Ipv6EndPoint(). - Issue 258: Add
Internet.UrlRootedPath()to generate random/foo/barpaths. - Added
Internet.UrlWithPath(fileExt:".txt")fileExt extension parameter to generate URLs with a specific file extension.
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.3 | 3 | 09/08/2025 |
| 35.6.2 | 2 | 09/16/2025 |
| 35.6.1 | 2 | 09/16/2025 |
| 35.6.0 | 2 | 09/16/2025 |
| 35.5.1 | 2 | 09/16/2025 |
| 35.5.0 | 2 | 09/16/2025 |
| 35.4.1 | 2 | 09/16/2025 |
| 35.4.0 | 2 | 09/16/2025 |
| 35.3.2 | 2 | 09/16/2025 |
| 35.3.1 | 2 | 09/16/2025 |
| 35.3.0 | 2 | 09/16/2025 |
| 35.2.0 | 2 | 09/16/2025 |
| 35.0.1 | 2 | 09/16/2025 |
| 34.0.2 | 2 | 09/16/2025 |
| 34.0.1 | 2 | 09/16/2025 |
| 33.1.1 | 2 | 09/16/2025 |
| 33.0.2 | 2 | 09/16/2025 |
| 33.0.1 | 2 | 09/16/2025 |
| 32.1.1 | 2 | 09/16/2025 |
| 32.0.2 | 2 | 09/16/2025 |
| 32.0.1 | 2 | 09/16/2025 |
| 31.0.3 | 2 | 09/16/2025 |
| 30.0.4 | 2 | 09/16/2025 |
| 30.0.1-beta-4 | 2 | 09/18/2025 |
| 30.0.1-beta-3 | 2 | 09/18/2025 |
| 30.0.1-beta-2 | 2 | 09/18/2025 |
| 30.0.1-beta-1 | 2 | 09/18/2025 |
| 29.0.2 | 2 | 09/16/2025 |
| 29.0.1 | 2 | 09/16/2025 |
| 28.4.4 | 2 | 09/16/2025 |
| 28.4.3 | 2 | 09/16/2025 |
| 28.4.2 | 2 | 09/16/2025 |
| 28.4.1 | 2 | 09/16/2025 |
| 28.3.2 | 2 | 09/16/2025 |
| 28.3.1 | 2 | 09/16/2025 |
| 28.2.1 | 2 | 09/16/2025 |
| 28.1.1 | 2 | 09/16/2025 |
| 28.0.3 | 2 | 09/16/2025 |
| 28.0.2 | 2 | 09/16/2025 |
| 28.0.1 | 2 | 09/16/2025 |
| 27.0.1 | 2 | 09/16/2025 |
| 26.0.2 | 2 | 09/16/2025 |
| 26.0.1 | 2 | 09/16/2025 |
| 25.0.4 | 2 | 09/16/2025 |
| 25.0.3 | 2 | 09/16/2025 |
| 25.0.2 | 2 | 09/16/2025 |
| 25.0.1 | 2 | 09/16/2025 |
| 24.3.1 | 2 | 09/16/2025 |
| 24.3.0 | 2 | 09/16/2025 |
| 24.2.0 | 2 | 09/16/2025 |
| 23.0.2 | 2 | 09/16/2025 |
| 22.3.2 | 2 | 09/16/2025 |
| 22.3.1 | 2 | 09/16/2025 |
| 22.2.1 | 2 | 09/16/2025 |
| 22.1.4 | 2 | 09/16/2025 |
| 22.1.3 | 2 | 09/13/2025 |
| 22.1.2 | 2 | 09/16/2025 |
| 22.1.1 | 2 | 09/16/2025 |
| 22.0.9 | 2 | 09/16/2025 |
| 22.0.8 | 2 | 09/16/2025 |
| 22.0.7 | 2 | 09/16/2025 |
| 22.0.6 | 2 | 09/16/2025 |
| 22.0.5 | 2 | 09/16/2025 |
| 22.0.3 | 2 | 09/16/2025 |
| 22.0.2 | 2 | 09/16/2025 |
| 22.0.1 | 2 | 09/16/2025 |
| 21.0.5 | 2 | 09/16/2025 |
| 21.0.4 | 2 | 09/16/2025 |
| 21.0.2 | 2 | 09/16/2025 |
| 20.0.2 | 2 | 09/16/2025 |
| 20.0.1 | 2 | 09/16/2025 |
| 19.0.2 | 2 | 09/16/2025 |
| 18.0.2 | 2 | 09/16/2025 |
| 18.0.1 | 2 | 09/16/2025 |
| 17.0.1 | 2 | 09/16/2025 |
| 16.0.3 | 2 | 09/16/2025 |
| 16.0.2 | 2 | 09/16/2025 |
| 15.0.7 | 2 | 09/16/2025 |
| 15.0.6 | 2 | 09/16/2025 |
| 15.0.5 | 2 | 09/16/2025 |
| 15.0.3 | 2 | 09/16/2025 |
| 15.0.1 | 2 | 09/16/2025 |
| 12.0.1 | 2 | 09/16/2025 |
| 11.0.5 | 2 | 09/16/2025 |
| 11.0.4 | 2 | 09/16/2025 |
| 11.0.3 | 2 | 09/16/2025 |
| 11.0.2 | 2 | 09/16/2025 |
| 11.0.1 | 2 | 09/16/2025 |
| 10.0.1 | 2 | 09/16/2025 |
| 9.0.2 | 2 | 09/18/2025 |
| 9.0.1 | 2 | 09/18/2025 |
| 8.0.4 | 2 | 09/18/2025 |
| 8.0.3 | 2 | 09/18/2025 |
| 8.0.2 | 2 | 09/18/2025 |
| 8.0.1 | 2 | 09/18/2025 |
| 8.0.1-beta-1 | 2 | 09/19/2025 |
| 7.1.7 | 2 | 09/18/2025 |
| 7.1.6 | 2 | 09/18/2025 |
| 7.1.5 | 2 | 09/18/2025 |
| 7.1.4 | 2 | 09/18/2025 |
| 7.1.3 | 2 | 09/18/2025 |
| 7.1.3-beta-1 | 2 | 09/19/2025 |
| 7.1.2 | 2 | 09/18/2025 |
| 7.1.2-beta-1 | 2 | 09/19/2025 |
| 7.1.1 | 2 | 09/18/2025 |
| 7.1.1-beta-1 | 2 | 09/19/2025 |
| 6.1.1 | 2 | 09/18/2025 |
| 6.1.1-beta-1 | 2 | 09/19/2025 |
| 5.1.1-beta-3 | 2 | 09/19/2025 |
| 5.1.1-beta-2 | 2 | 09/19/2025 |
| 5.1.1-beta-1 | 2 | 09/19/2025 |
| 5.0.1 | 2 | 09/18/2025 |
| 5.0.1-beta-2 | 2 | 09/19/2025 |
| 4.0.1 | 2 | 09/18/2025 |
| 4.0.1-beta-1 | 2 | 09/19/2025 |
| 3.0.6 | 2 | 09/18/2025 |
| 3.0.6-beta-1 | 2 | 09/19/2025 |
| 3.0.5 | 2 | 09/18/2025 |
| 3.0.5-beta-4 | 2 | 09/19/2025 |
| 3.0.5-beta-3 | 2 | 09/19/2025 |
| 3.0.5-beta-2 | 2 | 09/19/2025 |
| 3.0.4 | 2 | 09/18/2025 |
| 3.0.3 | 2 | 09/18/2025 |
| 3.0.2 | 2 | 09/18/2025 |
| 3.0.1 | 2 | 09/18/2025 |
| 3.0.0.3 | 2 | 09/18/2025 |
| 2.1.4.1 | 2 | 09/18/2025 |
| 2.1.4 | 2 | 09/18/2025 |