Bogus 22.0.8
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.
v22.0.8
- New
Company.EIN()
to generate employer identification numbers. - Preparing release of extended data sets for Bogus.
v22.0.7
- New
Internet.Color()
format options: CSSrgb(...)
and delimited RGB. - New
System.AndroidId()
to generate GCM registration ID. - New
System.ApplePushToken()
to generate a random Apple Push Token. - New
System.BlackBerryPin()
to generate a random Black Berry PIN. - New
Randomizer.Hash()
to generate random hashes of specified length. - New
Randomizer.String2()
to generate random strings with specified character sets.
v22.0.6
- Added
Randomizer.String
method to generate strings. UsesChars()
method. - PR 136: Improve speed of
DataSet.ParseTokens()
. Thanks @danij!
v22.0.5
- Bogus now throws exceptions for locales it doesn't recognize. Improves developer experience.
- New extension method
.ToBogusLocale()
onSystem.Globalization.CultureInfo
to help translate from .NET locale codes to Bogus locale codes.
v22.0.3
- Generate more realistic Bitcoin addresses.
- New extension method
Faker<T>.GenerateBetween(min, max)
that generates N objects betweenmin
andmax
. Located inBogus.Extensions
. N should be considered non-deterministic but technically depends on the parameters each time this extension method was called. - Added
Lorem.Paragraphs(min, max)
overload. - Added improved XML doc comments and parameter names on
Lorem.Paragraph
. - UK extension method
.ShortCode()
renamed to.SortCode()
as originally intended. - Marked
DataSet.Get/.GetObject/BObject
methods asprotected internal
. Reducing API surface noise. - Added new
.OrNull
inBogus.Extensions
to help create randomly null values. Example:.RuleFor(x=>x.Prop, f=>f.Random.Word().OrNull(f))
. - New groundwork for extending Bogus with premium (paid) data sets and tooling.
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 | 0 | 07/19/2024 |
35.5.1 | 0 | 04/28/2024 |
35.5.0 | 0 | 03/09/2024 |
35.4.1 | 0 | 03/02/2024 |
35.4.0 | 0 | 01/14/2024 |
35.3.2 | 0 | 01/14/2024 |
35.3.1 | 0 | 01/13/2024 |
35.3.0 | 0 | 01/01/2024 |
35.2.0 | 0 | 12/26/2023 |
35.0.1 | 0 | 12/12/2023 |
34.0.2 | 0 | 03/27/2022 |
34.0.1 | 0 | 11/23/2021 |
33.1.1 | 0 | 08/29/2021 |
33.0.2 | 0 | 02/21/2021 |
33.0.1 | 1 | 10/06/2024 |
32.1.1 | 0 | 01/31/2021 |
32.0.2 | 0 | 12/12/2020 |
32.0.1 | 0 | 11/28/2020 |
31.0.3 | 0 | 10/04/2020 |
30.0.4 | 0 | 08/15/2020 |
30.0.1-beta-4 | 0 | 07/24/2020 |
30.0.1-beta-3 | 0 | 06/30/2020 |
30.0.1-beta-2 | 0 | 06/21/2020 |
30.0.1-beta-1 | 0 | 06/15/2020 |
29.0.2 | 0 | 04/11/2020 |
29.0.1 | 0 | 02/10/2020 |
28.4.4 | 0 | 12/10/2019 |
28.4.3 | 0 | 12/04/2019 |
28.4.2 | 0 | 11/30/2019 |
28.4.1 | 0 | 10/15/2019 |
28.3.2 | 0 | 10/04/2019 |
28.3.1 | 0 | 09/21/2019 |
28.2.1 | 0 | 09/10/2019 |
28.1.1 | 0 | 09/10/2019 |
28.0.3 | 0 | 08/28/2019 |
28.0.2 | 0 | 07/07/2019 |
28.0.1 | 0 | 07/02/2019 |
27.0.1 | 0 | 05/02/2019 |
26.0.2 | 0 | 03/22/2019 |
26.0.1 | 0 | 02/26/2019 |
25.0.4 | 0 | 01/18/2019 |
25.0.3 | 0 | 01/06/2019 |
25.0.2 | 0 | 12/11/2018 |
25.0.1 | 0 | 11/27/2018 |
24.3.1 | 0 | 11/03/2018 |
24.3.0 | 0 | 10/02/2018 |
24.2.0 | 0 | 09/27/2018 |
23.0.2 | 0 | 08/13/2018 |
22.3.2 | 0 | 07/18/2018 |
22.3.1 | 0 | 07/05/2018 |
22.2.1 | 0 | 06/29/2018 |
22.1.4 | 0 | 06/26/2018 |
22.1.3 | 0 | 06/14/2018 |
22.1.2 | 0 | 05/29/2018 |
22.1.1 | 0 | 05/21/2018 |
22.0.9 | 0 | 05/17/2018 |
22.0.8 | 2 | 10/06/2024 |
22.0.7 | 0 | 04/01/2018 |
22.0.6 | 0 | 03/29/2018 |
22.0.5 | 0 | 03/03/2018 |
22.0.3 | 0 | 02/27/2018 |
22.0.2 | 0 | 01/06/2018 |
22.0.1 | 0 | 12/23/2017 |
21.0.5 | 0 | 12/16/2017 |
21.0.4 | 0 | 12/13/2017 |
21.0.2 | 0 | 12/08/2017 |
20.0.2 | 0 | 11/06/2017 |
20.0.1 | 2 | 10/06/2024 |
19.0.2 | 0 | 11/01/2017 |
18.0.2 | 0 | 09/14/2017 |
18.0.1 | 0 | 09/13/2017 |
17.0.1 | 0 | 08/25/2017 |
16.0.3 | 0 | 08/24/2017 |
16.0.2 | 0 | 08/23/2017 |
15.0.7 | 0 | 08/21/2017 |
15.0.6 | 0 | 08/03/2017 |
15.0.5 | 0 | 07/28/2017 |
15.0.3 | 0 | 05/07/2017 |
15.0.1 | 0 | 04/11/2017 |
12.0.1 | 0 | 03/27/2017 |
11.0.5 | 0 | 03/20/2017 |
11.0.4 | 0 | 03/15/2017 |
11.0.3 | 0 | 03/13/2017 |
11.0.2 | 0 | 02/23/2017 |
11.0.1 | 0 | 02/21/2017 |
10.0.1 | 0 | 02/18/2017 |
9.0.2 | 0 | 01/19/2017 |
9.0.1 | 0 | 01/18/2017 |
8.0.4 | 0 | 01/17/2017 |
8.0.3 | 0 | 12/20/2016 |
8.0.2 | 0 | 12/07/2016 |
8.0.1 | 0 | 11/25/2016 |
8.0.1-beta-1 | 0 | 10/22/2016 |
7.1.7 | 0 | 10/11/2016 |
7.1.6 | 0 | 08/08/2016 |
7.1.5 | 0 | 07/27/2016 |
7.1.4 | 0 | 07/07/2016 |
7.1.3 | 0 | 06/28/2016 |
7.1.3-beta-1 | 0 | 05/20/2016 |
7.1.2 | 0 | 05/16/2016 |
7.1.2-beta-1 | 0 | 05/16/2016 |
7.1.1 | 0 | 05/15/2016 |
7.1.1-beta-1 | 0 | 05/15/2016 |
6.1.1 | 0 | 03/30/2016 |
6.1.1-beta-1 | 0 | 03/29/2016 |
5.1.1-beta-3 | 0 | 03/23/2016 |
5.1.1-beta-2 | 0 | 03/22/2016 |
5.1.1-beta-1 | 0 | 03/21/2016 |
5.0.1 | 0 | 02/25/2016 |
5.0.1-beta-2 | 0 | 02/25/2016 |
4.0.1 | 0 | 02/16/2016 |
4.0.1-beta-1 | 0 | 02/16/2016 |
3.0.6 | 0 | 01/21/2016 |
3.0.6-beta-1 | 0 | 01/21/2016 |
3.0.5 | 0 | 01/21/2016 |
3.0.5-beta-4 | 0 | 01/20/2016 |
3.0.5-beta-3 | 0 | 01/18/2016 |
3.0.5-beta-2 | 0 | 01/12/2016 |
3.0.4 | 0 | 12/10/2015 |
3.0.3 | 0 | 12/09/2015 |
3.0.2 | 0 | 11/24/2015 |
3.0.1 | 0 | 10/22/2015 |
3.0.0.3 | 0 | 07/21/2015 |
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 | 0 | 06/10/2015 |
2.1.4 | 0 | 06/09/2015 |