Bogus v28.0.1 Release Notes

  • ๐Ÿš€ 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.