- Upgrade dependencies
- remove support for .NET 5.0 as it is deprecated
- upgrade dependencies
- add net7.0 as supported target framework
- upgrade dev container to SDK 7.0.401
- upgrade dependencies
- upgrade dev container to SDK 5.0.102
- add github action to deploy new package versions when version number is bumped
- Upgraded package reference for YamlDotNet to version 9.1.1
- Smaller fixes for Name generator that affected a small number of locales
- Fix issue #4 Methods-Locales combinations throwing exceptions for remaining classes
- We removed the locale 'no' since it's content is invalid. Once the source of this file at https://github.com/faker-ruby/faker has been fixed, we intend to re-add it.
- FIX issue #4 for class
AddressTests
Methods-Locales combinations throwing exceptions
- FIX issue #2: System.Reflection.TargetInvocationException when calling "RimuTec.Faker.Address.StreetAddress()" with Config.Locale = "ru"
- FIX issue #3: RimuTec.Faker.Name.LastName() throws an YamlDotNet.Core.YamlException when locale is set to "pl"
- Updated dependencies
- Updated dependencies
- FIX: bug in class RandomNumber that caused internal static variable to not being initialized in multithreaded case.
- New Feature: Added Weather for generating random weather forecasts
- Updated depencencies
- First release
- None
- Attached license (MIT License). This is the license RimuTec.Faker has always used.
- None
- Updated release notes
- None
- Updated all NuGet Packages to latest released
- Color.ColorName()
- Color.HexColor()
- Color.RgbColor()
- Class IDNumber has been renamed to IdNumber(). A find-replace for something like "IDNumber." should help with the transition.
- Added instructions to README.md describing how to build Faker from sources.
- Class Job supports all 51 built-in as well as custom locales
- Class Lorem supports all 51 built-in as well as custom locales
- Class PhoneNumber supports all 51 built-in as well as custom locales
- Method IDNumber.SSN_Valid() has been renamed to IDNumber.SsnValid(). A fairly straight forward find-raplace should help with the transition, e.g. you could do a find-all for ".SSN_Valid("
- Class IDNumber supports all 51 built-in as well as custom locales
- Class Internet supports all 51 built-in as well as custom locales
- Class Educator supports all 51 built-in as well as custom locales
- Class Finance supports all 51 built-in as well as custom locales
- FIX: Finance.Finance.CreditCard(CreditCardType.Mastercard) did not replace "[1-5]" with single digit in this range
- Class Business supports all 51 built-in as well as custom locales
- Class Code supports all 51 built-in as well as custom locales
- Class Company supports all 51 built-in as well as custom locales
- Class Address supports all 51 built-in as well as custom locales
Class Name is now on par with Faker Gem including support for localization, 51 locales out of the box plus support for custom locales.
- Name.Prefix() supports localization
- Name.Suffix() supports localization
- Name.FullName() supports localization
- Name.MiddleName() supports localization
- Name.NameWithMiddle() supports localization
- Enabled SourceLink. For more details regarding SourceLink see https://github.com/dotnet/sourcelink
- Now supports 51 locales out of the box
- Address.City() can be localized
- Address.CitySuffix() can be localized
- Address.CityPrefix() can be localized
- Name.FirstName() can be localized
- Name.LastName() can be localized
- Added basic infrastructure for custom locale files (yml)
Class Code is now on par with Ruby Faker for default locale ("en").
- Code.Asin()
- Code.Sin()
- Code.Imei()
- Code.Nric(int minAge = 18, int maxAge = 65)
- Code.Ean(int @base = 13)
- Code.Rut()
- Code.Isbn(int @base = 10)
- Code.Npi()
Date and Business are now on par with Ruby Faker for default locale ("en").
- Business.CreditCardExpiryDate()
- Business.CreditCardNumber()
- Business.CreditCardType()
- Date.Birthday(int minAge = 18, int maxAge = 65)
- Date.Backward(int days = 365)
- Date.Forward(int days = 365)
- Date.Between(DateTime minDate, DateTime maxDate)
- Date.BetweenExcept(DateTime from, DateTime to, DateTime excepted)
Educator is now on par with Ruby Faker for default locale ("en").
- Educator.Campus()
- Educator.Course()
- Educator.SecondarySchool()
- Educator.University()
Finance is now on par with Ruby Faker for default locale ("en").
- Finance.CreditCard(params CreditCardType[] types)
Internet is now on par with Ruby Faker for default locale ("en").
- Internet.MacAddress(string prefix = "")
- Internet.Slug(string words = null, string glue = null)
- Internet.Url(string host = null, string path = null, string scheme = "http")
- Internet.UserAgent(string vendor = null)
- Internet.IPv4CIDR()
- Internet.IPv6Address()
- Internet.IPv6CIDR()
- Internet.IPv4Address()
- Internet.PrivateIPv4Address()
- Internet.PublicIPv4Address()
- Internet.FreeEmail(string name = null)
- Internet.Password(int minLength = 8, int maxLength = 15, bool mixCase = true, bool specialChars = true)
- Internet.SafeEmail(string name = null)
- Internet.Email(string name = null, string separators = null)
- Internet.UserName(int minLength, int maxLength = int.MaxValue)
- Internet.UserName(string name = null, string separators = null)
- Internet.DomainName()
- Internet.DomainSuffix()
- Internet.DomainWord()
- Internet.UserName()
IDNumber is now on par with Ruby Faker for default locale ("en").
- IDNumber.SpanishForeignCitizenNumber()
- IDNumber.Invalid()
- IDNumber.SpanishCitizenNumber()
- IDNumber.Valid()
Address is now on par with Ruby Faker for default locale ("en").
- Address.City()
- Address.CountryCodeLong()
- Address.FullAddress()
- Address.Latitude()
- Address.Longitude()
- RandomNumber.NextDouble()
- Address.CityPrefix()
- Address.Country()
- Address.CountryCode()
- Address.State()
- Address.StateAbbr()
- NuGet package now also deploys XML documentation file for RimuTec.Faker.
- Address.CitySuffix()
- Address.Postcode(string stateAbbreviation = "")
- Address.StreetSuffix()
- Address.TimeZone()
- Address.Zip(string stateAbbreviation = "")
- Address.BuildingNumber()
- Address.Community()
- Address.ZipCode(string stateAbbreviation = "")
- Address.SecondaryAddress()
- Address.StreetAddress(bool includeSecondary = false)
- Address.StreetName()
Company is now on par with Ruby Faker for default local ("en").
- Company.AustralianBusinessNumber()
- Company.CzechOrganizationNumber()
- Company.FrenchSirenNumber()
- Company.FrenchSiretNumber()
- Company.NorwegianOrganizationNumber()
- Company.PolishRegisterOfNationalEconomy(int length = 9)
- Company.PolishTaxpayerIdentificationNumber()
- Company.SpanishOrganizationNumber()
Lorem is now on par with Ruby Faker for default locale ("en").
- Lorem.Paragraph(int sentenceCount = 3, bool supplemental = false, int randomSentencesToAdd = 0): Optional parameters and default values added.
- Lorem.ParagraphByChars(int chars = 256, bool supplemental = false)
- Lorem.Paragraphs(int paragraphCount = 3, bool supplemental = false): Optional parameters and default values added.
- Lorem.Question(int wordCount = 4, bool supplemental = false, int randomWordsToAdd = 0)
- Lorem.Questions(int questionCount = 3, bool supplemental = false)
- PhoneNumber.LandLine(): Equivalent to Ruby Faker::PhoneNumber.phone_number
- Company.Bs()
- Company.Buzzword()
- Company.CatchPhrase()
- Company.DunsNumber()
- Company.Ein()
- Company.Industry()
- Company.Logo()
- Company.Profession()
- Company.Suffix()
- Company.SwedishOrganizationNumber()
- Company.Type()
- Lorem.Sentence(int wordCount = 4, bool supplemental = false, int randomWordsToAdd = 0): Optional parameters and default values added.
- Lorem.Sentences(int sentenceCount = 3, bool supplemental = false): Optional parameters and default values added.
- FIX: Lorem.Words() does not consider list of supplementary words.
- Updated package YamlDotNet to version 5.0.1
- Lorem.Character()
- Lorem.Characters(int charCount = 255)
- Lorem.Multibyte()
- Removed Lorem.GetFirstWord(). If you need to generate a defined word, use
RandomNumber.ResetSeed(int)
and thenLorem.Word()
instead. We believe the impact of this change is minimal as the method was used for testing only. It does not exist in the Roby gem.
- Company.Name()
- Lorem.Word()
- Lorem.Words(int count = 3, bool supplemental = false): Optional parameters and default values added.
- Job.Field()
- Job.Seniority()
- Job.Position()
- Job.EmploymentType()
- Job.EducationLevel()
- Name.FullName() (equivalent to Ruby's Faker::Name.name)
- Name.NameWithMiddle()
- Name.MiddleName()
- Name.Prefix()
- Name.Suffix()
- Name.Initials(int characterCount)
- Job.KeySkill()
- Job.Title()
- Lorem.Words(int count)
- Lorem.GetFirstWord()
- Lorem.Sentence(int minWordCount)
- Lorem.Sentences(int sentenceCount)
- Lorem.Paragraph(int minSentenceCount)
- Lorem.Paragraphs(int paragraphCount)
- PhoneNumber.CellPhone()
- RandomNumber.Reset(int seed)
- RandomNumber.Next()
- RandomNumber.Next(int maxValue)
- RandomNumber.Next(int minValue, int maxValue)
- Name.First()
- Name.Last()