Skip to content

Latest commit

 

History

History
2824 lines (2212 loc) · 213 KB

CHANGELOG.md

File metadata and controls

2824 lines (2212 loc) · 213 KB

Changelog

v3.5.1 (2024-10-18)

Happy October! 🎃

This version drops support for Ruby < 3.0. We only support one EOL Ruby version at a time. Please upgrade to Ruby 3.0 to update to this and future versions of faker-ruby.

Besides that, this version removes deprecated generators, fixes some bugs, and adds a Security Policy.

Thanks to all contributors!

Breaking Changes

The following deprecated generators are being removed. Please use the new generators:

Deprecated New
Faker::TvShows::TheFreshPrinceOfBelAir.celebrity Faker::TvShows::TheFreshPrinceOfBelAir.actor
Faker::TvShows::Buffy.celebrity Faker::TvShows::Buffy.actor
Faker::TvShows::DrWho.villian Faker::TvShows::DrWho.villain
Faker::Games::HeroesOfTheStorm.class Faker::Games::HeroesOfTheStorm.class_name
Faker::JapaneseMedia::FmaBrotherhood Faker::JapaneseMedia::FullmetalAlchemistBrotherhood
Faker::Show Faker::Theater
Faker::Australia Faker::Locations::Australia
Faker::IDNumber Faker::IdNumber

Improvements & Bug fixes

Update local dependencies

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.4.2...v3.5.1


v3.4.2 (2024-07-16)

Happy July with a new faker-ruby release.

This version:

  • introduces a breaking change for Faker::NationalHealthService.british_number (more details below)
  • adds translation for some generators
  • fixes bugs

Breaking changes

The NHS sets aside a range of numbers from 999 000 0000 to 999 999 9999 for test purposes. The old range could produce NHS numbers that were in use by real patients in the UK/England and Wales. In this version, Faker::NationalHealthService.british_number uses the test range for creating NHS numbers rather than the previous 400 000 0010 to 499 999 9999 range.

Breaking change was introduced in "Add test range param to NHS numbers" by @neanias in faker-ruby#2947

Improvements & Bug fixes

  • Add Bank and Sport to Swedish locale by @twk-mn in faker-ruby#2961
  • docs: update with notes about validity for zips by @garrettgregor in faker-ruby#2963
  • Faker::Games::Dota missing quotes and new heroes by @arthurka-o in faker-ruby#2907
  • Add phone_number.country_code and address.full_address in locale sv by @larkro in faker-ruby#2965
  • Fix typo by @fynsta in faker-ruby#2968
  • fix: Faker::Internet.username should not generate duplicated punctuation by @thdaraujo in faker-ruby#2970
  • Update dog breed names for en-US locale by @mononoken in faker-ruby#2972
  • Add Deprecator.skip_warning? ability to silence deprecators on tests by @keshavbiswa in faker-ruby#2956

Update local dependencies

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v.3.4.1...v3.4.2


v3.4.1 (2024-05-28)

What's changed

  • Performance: Sample arrays instead of performing shuffle and slice by @alextaujenis in faker-ruby#2940
  • Performance: Reduce the time complexity of Faker::Crypto generators by @alextaujenis in faker-ruby#2938
  • Remove tzinfo dependency by @stefannibrasil in faker-ruby#2952

Bug fixes

  • Fix invalid IANA time zone identifier for Atlantic/Cape_Verde by @andrelaszlo in faker-ruby#2927
  • Fix entry in faker.food.ingredients by @matthewmayer in faker-ruby#2933
  • Docs: add absolute links to CONTRIBUTING from README by @matthewmayer in faker-ruby#2934
  • Fix: Faker::Number.hexadecimal should include characters within the range of [0-9a-f] by @alextaujenis in faker-ruby#2942
  • Username splits names by space and doesn't regex match them by @keshavbiswa in faker-ruby#2950

Features

  • Add animals, desserts, foods, hobbies, house, and k-pop translations to the Korean locale file by @connie-feng in faker-ruby#2935
  • Add adjectives to Korean locale file by @connie-feng in faker-ruby#2930
  • Add emotions, movies, Pokemon, and Studio Ghibli to the Korean locale by @connie-feng in faker-ruby#2941
  • Add Japanese translations for Faker::Sports::Football. by @yamat47 in faker-ruby#2903

Update local dependencies

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.3.1...v.3.4.1


v3.3.1 (2024-04-02)

Bug fixes

  • Fix bug on phone number generator for en-US locale caused by incorrect .yml file structure by @aprescott in faker-ruby#2924

What's Changed

  • Added docs for Deprecator in CONTRIBUTING.md by @keshavbiswa in faker-ruby#2919
  • Rename Faker::show to Faker::Theater by @keshavbiswa in faker-ruby#2921
  • renamed nhs to national_health_service by @keshavbiswa in faker-ruby#2923

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.3.0...v3.3.1


v3.3.0 (2024-03-25)

Bug Fixes

  • Remove the duplicate method Faker::Commerce.material description by @mmarusyk in faker-ruby#2914

Features

What's changed

  • Fix/Deprecate Faker::IDNumber to Faker::IdNumber to be more consistent with other generator's naming convention. by @Jamal-A-Mohamed in faker-ruby#2858
  • Fix/Deprecate FmaBrotherhood Generator by @kirkkwang in faker-ruby#2856
  • Fix/Deprecate Faker::Australia to Faker::Locations::Australia by @keshavbiswa in faker-ruby#2869
  • Add note about EOL dependencies by @stefannibrasil in faker-ruby#2890

Update local dependencies

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.2.3...v3.3.0


v3.2.3 (2024-01-12)

What's Changed

Happy 2024 with a new faker-ruby release.

This version includes bug and documentation fixes, and some changes on the contributing guides.

faker-ruby is is not accepting new features proposals

As we discussed here, we want to improve faker's performance and organization. There hasn't been to many bug reports and most of the open issues are related to performance and confusion around using faker.

As we have limited time to invest in faker, reviewing new generators and locales prevent us from focusing on the big picture work. With this decision, we hope to make the necessary changes for faker to go to the next level. Please read the Contributing guides for ways to help us get there.

Bug fixes

  • Fix Phone number long number and other updates by @stefannibrasil in faker-ruby#2842
  • Favor 'The Room' instead of 'Room' by @kirkkwang in faker-ruby#2854
  • Limit generated Discover cards to 19 digits by @jamie in faker-ruby#2845
  • Fix Typo in README Link: Update sports.md to sport.md by @hatsu38 in faker-ruby#2859
  • Fix country names and codes in address by @sudeeptarlekar in faker-ruby#2850
  • fixed typo for README. Faker::JapaneseMedia::CowboyBebop by @jacoyutorius in faker-ruby#2863
  • Fix typo in Faker::Movies::HarryPotter.location (Castelobruxo) by @leomartins1999 in faker-ruby#2866
  • Fix flaky spec on TestFakerFile#test_file_name by @keshavbiswa in faker-ruby#2868
  • Update Internet#username separator param to match with the example by @AlexandreL0pes in faker-ruby#2882
  • fix polish bban_pattern by @artur1313 in faker-ruby#2887

What's Changed

Update local dependencies

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.2.2...v.3.2.3


v3.2.2 (2023-11-03)

Happy November with a new faker-ruby release.

This version:

  • adds generators
  • fixes bugs
  • updates dev and dependencies
  • updates docs

Features

Bug fixes

What's Changed

  • Update contributing and maintaining guides by @stefannibrasil in faker-ruby#2836
  • Changed tests from x.times loop to deterministically_verify helper. #2813 issue by @fernandomenolli in faker-ruby#2816
  • Improve #deterministically_verify helper by @erichmachado in faker-ruby#2828

Update local dependencies

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.2.1...v3.2.2


v3.2.1 (2023-08-11)

Happy August with a new Faker release! 🎉

This version:

  • adds generators
  • fixes bugs
  • updates dev dependencies

This version fixes a bug with setting the locale in multi-threaded environments. It's now possible to set the locale per thread. For more details, see How to set the default locale for in threaded server environments.

Other changes included in this version:

Features

Bug fixes

What's Changed

Update local dependencies

  • Bump rubocop from 1.55.1 to 1.56.0 by @dependabot in faker-ruby#2807
  • Update test-unit requirement from = 3.5.9 to = 3.6.1 by @dependabot in faker-ruby#2788
  • Bump i18n from 1.12.0 to 1.13.0 by @dependabot in faker-ruby#2756
  • Update rubocop-minitest requirement from = 0.30.0 to = 0.31.0 by @dependabot in faker-ruby#2759
  • Bump minitest from 5.18.1 to 5.19.0 by @dependabot in faker-ruby#2804

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.2.0...v3.2.1


v3.2.0 (2023-04-14)

Happy Spring with a new Faker release! 🌼

This version changes Faker::Internet.email, Faker::Internet.domain_name, Faker::Internet.safe_email, and Faker::Internet.free_email default behavior.

These generators email are now RFC 2606 compliant. They generate safe values by default using the Reserved Top Level DNS Names: example and test. To maintain backwards compatibility and give users the option to use non-safe domains at their own risk, custom domains are allowed.

Faker::Internet.safe_email, and Faker::Internet.free_email have been deprecated. Users have until October 2023 to make the necessary changes.

More details and updated docs can be found here.

Other changes included in this version:

Features

Bug fixes

Update local dependencies

  • Fix rubocop updates by @stefannibrasil in faker-ruby#2708
  • Update rubocop-minitest requirement from = 0.29.0 to = 0.30.0 by @dependabot in faker-ruby#2743
  • Update minitest requirement from = 5.17.0 to = 5.18.0 by @dependabot in faker-ruby#2727
  • Update rubocop requirement from = 1.48.1 to = 1.50.1 by @dependabot in faker-ruby#2747
  • Add Faker::Company.department generator by @acuppy in faker-ruby#2737
  • Update Pull Request template and guides by @stefannibrasil in faker-ruby#2749

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.1.1...v3.2.0


v3.1.1 (2023-02-03)

Happy Valentine's Day with a new Faker release! 🎉

This version:

  • adds and deprecates generators
  • fixes bugs
  • updates development dependencies

Features

  • Add exclude_words keyword to Lorem Ipsum to prevent words from being produced by @philipfong in #2665
  • Deprecate FillMurray service by @ferblape in #2657
  • Airports by @ZionMiller in faker-ruby#2682

Bug fixes

  • Fix simple typo in es.yml by @hslzr in faker-ruby#2675
  • Test the Vehicle VIN validator with known good and bad values, fixes … by @alextaujenis in faker-ruby#2640
  • Fix you're/your typo and inaccuracy in Star Wars quote by @dwilsonactual in faker-ruby#2693
  • Revert "Typo in Ukrainian locale, fixes #2620" by @thdaraujo in faker-ruby#2690

Update local dependencies

  • Adds Ruby 3.2 to the CI matrix. Updates checkout action version. by @petergoldstein in faker-ruby#2673
  • Update rubocop-minitest requirement from = 0.25.0 to = 0.25.1 by @dependabot in faker-ruby#2674
  • Update minitest requirement from = 5.16.3 to = 5.17.0 by @dependabot in faker-ruby#2677
  • Update pry requirement from = 0.14.1 to = 0.14.2 by @dependabot in faker-ruby#2680
  • Update simplecov requirement from = 0.21.2 to = 0.22.0 by @dependabot in faker-ruby#2672
  • Update rubocop requirement from = 1.44.0 to = 1.44.1 by @dependabot in faker-ruby#2691

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.1.0...v3.1.1


v3.1.0 (2022-12-23)

Happy Holidays with a new Faker release! 🎉

This version:

  • adds and removes generators
  • fixes bugs
  • updates dependencies

Features

Bug fixes

  • fix: ensure generated passwords have correct characters when mix_case & special_characters enabled by @tiff-o in faker-ruby#2533
  • Fix: ensure sport generator produces single sport unless a number of sports is requested by @si-lens in faker-ruby#2616
  • Remove typo in ISSUE_TEMPLATE to check Faker version by @loqimean in faker-ruby#2621
  • Typo in Ukrainian locale, fixes #2620 by @Newman101 in faker-ruby#2622
  • Remove english characters in ja locale file, fixes faker-ruby#2637 by @alextaujenis in faker-ruby#2638
  • Fix country code length for non EN locale by @vbrazo in faker-ruby#2669

What's Changed

Update local dependencies

  • Update simplecov requirement from = 0.21.0 to = 0.21.2 by @dependabot in faker-ruby#2636
  • Update timecop requirement from = 0.9.5 to = 0.9.6 by @dependabot in faker-ruby#2642
  • Update rubocop-minitest requirement from = 0.23.2 to = 0.25.0 by @dependabot in faker-ruby#2653
  • Update test-unit requirement from = 3.5.6 to = 3.5.7 by @dependabot in faker-ruby#2659
  • Update rubocop requirement from = 1.41.0 to = 1.41.1 by @dependabot in faker-ruby#2667

New Contributors

Full Changelog: https://github.com/faker-ruby/faker/compare/v3.0.0...v3.1.0


v3.0.0 (2022-11-01)

Breaking Changes

  • PR #2576 Drop support for positional arguments in favor of keyword arguments. Support for positional arguments was deprecated on v2 @mauromorales

Bug/Fixes

Features

What's Changed

Update local dependencies

  • Update rubocop minitest to 0.23.0
  • Update simplecov to 0.21.0
  • Update test-unit to 3.5.5
  • Update rubocop to 1.37.1

Full Changelog: https://github.com/faker-ruby/faker/compare/v2.23.0...v3.0.0


v2.23.0 (2022-09-01)

Bug/Fixes

Features

What's Changed

Update local dependencies

  • Update minitest to 5.16.3
  • Update rubocop to 1.35.1

v2.22.0 (2022-07-28)

Bug/Fixes

Chores

Feature Request

Update locales


v2.21.0 (2022-05-12)

Bug/Fixes

Feature Request

Update locales

Update local dependencies

  • Update rubocop to 1.26.0
  • Update timecop to 0.95.0

v2.20.0 (2022-03-05)

Documentation

Feature Request

Update locales

Update local dependencies

  • Update rubocop to 1.25.0
  • Update rake to 13.0.6
  • Update test-unit to 3.5.3
  • Update yard to 0.9.27

v2.19.0 (2021-08-22)

Bug/Fixes

Feature Request

Update locales

Update local dependencies

  • Update rubocop requirement from = 1.18.3 to = 1.18.4 (#2362)
  • Update rake requirement from = 13.0.3 to = 13.0.6 (#2357)
  • Update rubocop requirement from = 1.18.1 to = 1.18.3 (#2353)
  • Update rubocop requirement from = 1.17.0 to = 1.18.1 (#2346)
  • Update rubocop requirement from = 1.16.0 to = 1.17.0 (#2337)
  • Update test-unit requirement from = 3.4.2 to = 3.4.4 (#2334)
  • Update rubocop requirement from = 1.15.0 to = 1.16.0 (#2332)
  • Update test-unit requirement from = 3.4.1 to = 3.4.2 (#2331)
  • Update rubocop requirement from = 1.14.0 to = 1.15.0 (#2325)

v2.18.0 (2021-05-15)

Bug/Fixes

Chores

Documentation

Feature Request

Update locales

Update local dependencies

  • Update rubocop requirement from = 1.13.0 to = 1.14.0 (#2314)
  • Upgrade to GitHub-native Dependabot (#2310)
  • Update rubocop requirement from = 1.12.1 to = 1.13.0 (#2305)
  • Update test-unit requirement from = 3.4.0 to = 3.4.1 (#2303)
  • Update pry requirement from = 0.14.0 to = 0.14.1 (#2298)
  • Update rubocop requirement from = 1.12.0 to = 1.12.1 (#2294)
  • Update rubocop requirement from = 1.11.0 to = 1.12.0 (#2288)

v2.17.0 (2021-03-10)

Chores

Documentation

Feature Request

Update locales


v2.16.0 (2021-02-09)

Chores

Documentation

Feature Request

Update locales


v2.15.1 (2020-11-24)

  • Rollback PR #2169 and bump 2.15.1 #2203 @vbrazo

v2.15.0 (2020-11-24)

Bug/Fixes

  • RuboCop 1.0 fixes #2182 @amatsuda
  • Get rid of broken I18n locales configuration for the tests #2168 @amatsuda
  • Fixes a bug when generating a password with min_length eq 1 #2138 @adrian-rivera @Zeragamba
  • Improve Faker::Company.spanish_organisation_number #2106

Chores

  • Reformat demographic yaml #2189 @fiteclub
  • An attempt to load only necessary locales on the fly #2169 @amatsuda
  • Faker::Config can be a Module rather than a Class #2167 @amatsuda
  • Cleanup games #2155 @mathisto
  • Deprecate celebrity methods in favor of actor #2133 @vraravam

Documentation

  • Fix class name in volleyball.md #2198 @connorshea
  • Fix typo in doc/games/heroes.md #2145 @Crysicia
  • fix typo #2141 @Zeragamba
  • Updated versions in doc for methods. #2123 @sudeeptarlekar

Feature Request

  • Add Faker::Mountain #2196 @bipashant
  • Add Faker::Volleyball #2178 @RubyHuntsman
  • Add artifact generator to Faker::Game::Heroes #2177 @droznyk
  • Add generator to Faker::Games:ElderScrolls #2171 @RubyHuntsman
  • Augment opera #2170 @Gaitorius
  • Add generator to Faker::Games::ElderScrolls #2164 @RubyHuntsman
  • Add more generators to Faker::Minecraft #2162 @RubyHuntsman
  • I added more programming languages to the source #2161 @JoaoHenriqueVale
  • Add Faker:Camera #2159 @RubyHuntsman
  • Add how to train your dragon #2158 @archbloom
  • Add Faker::Fantasy::Tolkien #2152 @mathisto
  • Feature: Add north dakota driving licence #2149 @martinjaimem
  • Add Final Space to TvShows category #2147
  • Add finance/stock generators #2146 @johnpitchko
  • Add Clash Of Clans to the Game category #2143 @jamesmai0512
  • Add Conan to the JapaneseMedia category #2142 @jamesmai0512
  • Add Naruto to the JapaneseMedia category #2139 @jamesmai0512
  • Add Doraemon to the JapaneseMedia category #2137 @jamesmai0512
  • Add space force and coast guard to military #2136 @mathisto
  • Add Super Mario #2135 @fblupi
  • Add The Room (2003) to Movies #2134 @fiteclub
  • Faker adjectives #2130 @loicboset
  • Add Studio Ghibli to the JapaneseMedia category #2124 @Kadaaran
  • Created New Method Faker::Quote.fortune_cookie #2112 @catonmat
  • Allow disabling the usage of open compounds in sentences #2109 @tjozwik
  • Add faker for hiphop artist #1923 @Josiassejod1
  • Add races and class names to WorldOfWarcraft #1787 @mathisto
  • Add planets and races to DragonBall #1786 @mathisto
  • Add planets, cities, and quotes to Dune #1784 @mathisto

Update locales

  • add japanese gender first name #2191 @issei126
  • Add full_address to Ukrainian locale #2176 @Ptico
  • Fixed some spelling issues in company.yml #2173 @coreymaher
  • Update Faker::Games::SuperSmashBros #2164 @boardfish
  • Add more quotes to Faker::Games::Witcher #2163 @RubyHuntsman
  • Add Jack Handey's Deep Thoughts to quotes #2150 @fiteclub
  • add brazil license plate from mercosul rules #2144 @gabrielbaldao
  • Add additional quotes to Studio Ghibli #2132 @lambda2
  • Change 'Nyota Uhuru' to 'Nyota Uhura' #2121 @TrevorA-TrevorA
  • Add spanish license plates #2103

Update local dependencies

  • Update RuboCop requirement from = 1.0.0 to = 1.1.0 #2185
  • Update RuboCop requirement from = 0.93.1 to = 1.0.0 #2172
  • Update RuboCop requirement from = 0.93.0 to = 0.93.1 #2156
  • Update RuboCop requirement from = 0.92.0 to = 0.93.0 #2151
  • Update RuboCop requirement from = 0.91.1 to = 0.92.0 #2129
  • Update RuboCop requirement from = 0.91.0 to = 0.91.1 #2126
  • Update RuboCop requirement from = 0.90.0 to = 0.91.0 #2122
  • Update test-unit requirement from = 3.3.6 to = 3.3.7 #2195
  • Update timecop requirement from = 0.9.1 to = 0.9.2 #2160

v2.14.0 (2020-09-15)

Bug/Fixes

  • PR #2119 Fixed failing spec for phone number

Chores

  • PR #2088 Remove the space in the word "turtle" in the Creature::Animals faker
  • PR #2081 Remove redundant condition branch for Ruby 2.4
  • PR #2077 Rename tests according to the test*.rb pattern so that they run

Documentation

  • PR #2095 Fix a typo for Games::DnD.species
  • PR #2094 Correct method name from race to species in DnD doc
  • PR #2079 Add Music::PearlJam to Readme
  • PR #2058 Add YARD doc for Faker::Code

Feature Request

Update locales

  • PR #2100 Remove Gaylord
  • PR #2087 Fix/remove country code from phone numbers
  • PR #2086 removing country code from phone numbers to fr-CH
  • PR #2084 removed extra + sign from country codes
  • PR #2078 Removed 07624 from UK mobile numbers
  • PR #2073 Add missing azimuth field for fr locale
  • PR #2072 Remove time formats from file

Update local dependencies

  • Update RuboCop requirement from = 0.87.1 to = 0.88.0 (#2080)
  • Update RuboCop requirement from = 0.87.0 to = 0.87.1 (#2075)
  • Update RuboCop requirement from = 0.86.0 to = 0.87.0 (#2074)
  • Bumps i18n from 1.8.4 to 1.8.5 (#2089)
  • Bumps i18n from 1.8.3 to 1.8.4 (#2083)

v2.13.0 (2020-06-24)

This version:

  • adds YARD docs for several interface methods
  • fixes bugs
  • adds improvements to the code base
  • updates dependencies

Bug/Fixes

Chores

Deprecation

Documentation

Feature Request

Update locales

Update local dependencies

  • Update RuboCop requirement from = 0.81.0 to = 0.85.1
  • Update RuboCop requirement from = 0.85.1 to = 0.86.0 (#2066)
  • Update test-unit requirement from = 3.3.5 to = 3.3.6 (#2046)
  • Bump i18n from 1.8.2 to 1.8.3 (#2034)

v2.12.0 (2020-05-31)

This version:

  • adds several YARD docs
  • fixes some locale issues
  • fixes a few bugs in Faker generators
  • improves code quality
  • adds a few generators for Movies, Music and TV Shows
  • updates local dependencies

Bug/Fixes

Chores

Documentation

Feature Request

Update locales

Update local dependencies

  • Update minitest requirement from = 5.14.0 to = 5.14.1 (#1987)
  • Update RuboCop requirement from = 0.80.1 to = 0.81.0 (#1955)
  • Update pry requirement from = 0.13.0 to = 0.13.1 (#1963)
  • Update yard requirement from = 0.9.24 to = 0.9.25 (#1970)

v2.11.0 (2020-03-24)

Bug/Fixes

Documentation

Feature Request

Update locales

Update local dependencies

  • Update pry requirement from = 0.12.2 to = 0.13.0 (#1951)
  • Update RuboCop requirement from = 0.80.0 to = 0.80.1 (#1941)
  • Update RuboCop requirement from = 0.79.0 to = 0.80.0 (#1937)

v2.10.2 (2020-02-15)

This version:

  • adds a few YARD docs
  • fixes locales
  • updates local dependencies

Chores

  • PR #1924 Use ruby's File::Separator rather than '/' as a default for direct @swiknaba

Documentation

Update locales

Update local dependencies

  • Update test-unit requirement from = 3.3.4 to = 3.3.5 (#1896)

v2.10.1 (2020-01-13)

This version:

  • fixes locales
  • updates local dependencies
  • fixes warnings

Bug/Fixes

Update Locales

Update local dependencies

  • Allow all versions of i18n from 1.6 up to 2 (#1894) @orien
  • Update minitest requirement from = 5.13.0 to = 5.14.0 (#1904)
  • Bump i18n from 1.8.1 to 1.8.2 (#1905)
  • Bump i18n from 1.8.0 to 1.8.1 (#1895)
  • Update i18n requirement from >= 1.6, < 1.8 to >= 1.6, < 1.9 (#1893)
  • Update yard requirement from = 0.9.23 to = 0.9.24 (#1892)
  • Update RuboCop requirement from = 0.78.0 to = 0.79.0 (#1890)
  • Update yard requirement from = 0.9.22 to = 0.9.23 (#1889)
  • Update yard requirement from = 0.9.20 to = 0.9.22 (#1882)

v2.10.0 (2019-12-28)

This version:

  • adds Faker::Address.mail_box
  • adds YARD docs
  • fix Ruby 2.7 warnings
  • adds other minor changes

Bug/Fixes

Chores

Documentation

Feature Request

Refactoring

Update local dependencies

Update RuboCop requirement from = 0.77.0 to = 0.78.0 (#1869)


v2.9.0 (2019-12-16)

This version:

  • adds Faker::Gender.short_binary_type
  • adds a few YARD docs
  • fix Faker::Educator issues
  • update locales

Bug/Fixes

Documentation

Feature Request

Update locales


v2.8.1 (2019-12-06)

Bug/Fixes

Documentation

Refactoring

Update local dependencies

  • Update RuboCop requirement from = 0.76.0 to = 0.77.0 (#1843)

v2.8.0 (2019-12-01)

Bug/Fixes

Chores

Documentation

Feature Request

Update locales

Update local dependencies


v2.7.0 (2019-11-01)

This version:

  • adds Faker::IDNumber.chilean_id
  • updates some translations/locales
  • updates local dependencies
  • adds SemVer badge

Documentation

Feature Request

Update locales

Update local dependencies

  • Update RuboCop requirement from = 0.75.0 to = 0.75.1 (#1811)
  • Update RuboCop requirement from = 0.75.1 to = 0.76.0 (#1822)
  • Update minitest requirement from = 5.12.2 to = 5.13.0 (#1823)

v2.6.0 (2019-10-10)

This version:

  • adds Faker::Date.in_date_period
  • adds Faker::WorldCup YARD docs
  • updates local dependencies

Documentation

Feature Request

Update local dependencies

The following development dependencies were updated:

  • Update rake requirement from = 12.3.3 to = 13.0.0 (#1776)
  • Update minitest requirement from = 5.12.0 to = 5.12.2 (#1775)
  • Update test-unit requirement from = 3.3.3 to = 3.3.4 (#1774)

v2.5.0 (2019-09-30)

This version introduces:

  • locales for Thai language - the mother language in Thailand
  • YARD documentation for faker interfaces
  • locales updates or fixes

Feature Request

Documentation

Update locales

Update local dependencies

The following development dependencies were updated:

  • Update minitest requirement from = 5.11.3 to = 5.12.0 (#1763)

v2.4.0 (2019-09-19)

Documentation

Feature Request

Update locales

Update local dependencies

The following development dependencies were updated:

  • Update simplecov requirement from = 0.17.0 to = 0.17.1 (#1749)

v2.3.0 (2019-09-12)

Documentation

Feature Request

Update locales


v2.2.2 (2019-09-05)

Bug/Fixes

Chores

  • PR #1724 Include RuboCop-faker autocorrect in deprecation @koic

Documentation

Update local dependencies

The following development dependencies were updated:

  • rake requirement from = 12.3.1 to = 12.3.3 (#1719)
  • RuboCop requirement from = 0.59.1 to = 0.74.0 (#1721)
  • simplecov requirement from = 0.16.1 to = 0.17.0 (#1718)

v2.2.1 (2019-08-30)

Bug/Fixes

Faker::Number.number(digits: 1) was always returning 0.

Fixing number with one digit caused the test_insignificant_zero to fail. As it seemed that the behavior tested by test_insignificant_zero was already covered by test_number and test_decimal, we removed it to prevent duplication.

v2.2.0 (2019-08-25)

Deprecate

  • PR #1698 Add warn for positional arguments when using Faker 2.0 @koic

Add deprecation warning for positional arguments to notify users that are coming from Faker version < 2.0. Its main goal is to make upgrades easier.

Documentation

Feature Request

Bug/Fixes


v2.1.2 (2019-08-10)

Enhancements

Issues

We had to use bundled with 1.7.3 to avoid some issues.

v2.1.1 (2019-08-10)

Bug/Fixes

bundler-audit has identified that i18 has fix a security vulnerability, that has been fixed in the 0.8 version.

Rollback Faker::Time changes because we should expect the date format from activesupport's en.yml.

Documentation


v2.1.0 (2019-07-31)

Bug/Fixes

This change required a quick release because it's a breaking issue. Every place where I18n.l() was used began to display the wrong date, causing test suite to fail.


v2.0 (2019-07-31)

Important Note:

Version 2 has several breaking changes. We replaced positional arguments with keyword arguments and the list below contains all the changed methods:

  • Faker::Books::Dune.quote(character = nil) becomes Faker::Books::Dune.quote(character: nil)
  • Faker::Books::Dune.saying(source = nil) becomes Faker::Books::Dune.saying(source: nil)
  • Faker::Books::Lovecraft.fhtagn(number_of = nil) becomes Faker::Books::Lovecraft.fhtagn(number: nil)
  • Faker::Books::Lovecraft.paragraph(sentence_count = nil, random_sentences_to_add = nil) becomes Faker::Books::Lovecraft.paragraph(sentence_count: nil, random_sentences_to_add: nil)
  • Faker::Books::Lovecraft.paragraph_by_chars(chars = nil) becomes Faker::Books::Lovecraft.paragraph_by_chars(characters: nil)
  • Faker::Books::Lovecraft.paragraphs(paragraph_count = nil) becomes Faker::Books::Lovecraft.paragraphs(number: nil)
  • Faker::Books::Lovecraft.sentence(word_count = nil, random_words_to_add = nil) becomes Faker::Books::Lovecraft.sentence(word_count: nil, random_words_to_add: nil)
  • Faker::Books::Lovecraft.sentences(sentence_count = nil) becomes Faker::Books::Lovecraft.sentences(number: nil)
  • Faker::Books::Lovecraft.words(num = nil, spaces_allowed = nil) becomes Faker::Books::Lovecraft.words(number: nil, spaces_allowed: nil)
  • Faker::Address.city(options = nil) becomes Faker::Address.city(options: nil)
  • Faker::Address.postcode(state_abbreviation = nil) becomes Faker::Address.postcode(state_abbreviation: nil)
  • Faker::Address.street_address(include_secondary = nil) becomes Faker::Address.street_address(include_secondary: nil)
  • Faker::Address.zip(state_abbreviation = nil) becomes Faker::Address.zip(state_abbreviation: nil)
  • Faker::Address.zip_code(state_abbreviation = nil) becomes Faker::Address.zip_code(state_abbreviation: nil)
  • Faker::Alphanumeric.alpha(char_count = nil) becomes Faker::Alphanumeric.alpha(number: nil)
  • Faker::Alphanumeric.alphanumeric(char_count = nil) becomes Faker::Alphanumeric.alphanumeric(number: nil)
  • Faker::Avatar.image(slug = nil, size = nil, format = nil, set = nil, bgset = nil) becomes Faker::Avatar.image(slug: nil, size: nil, format: nil, set: nil, bgset: nil)
  • Faker::Bank.account_number(digits = nil) becomes Faker::Bank.account_number(digits: nil)
  • Faker::Bank.iban(country_code = nil) becomes Faker::Bank.iban(country_code: nil)
  • Faker::ChileRut.full_rut(min_rut = nil, fixed = nil) becomes Faker::ChileRut.full_rut(min_rut: nil, fixed: nil)
  • Faker::ChileRut.rut(min_rut = nil, fixed = nil) becomes Faker::ChileRut.rut(min_rut: nil, fixed: nil)
  • Faker::Code.ean(base = nil) becomes Faker::Code.ean(base: nil)
  • Faker::Code.isbn(base = nil) becomes Faker::Code.isbn(base: nil)
  • Faker::Code.nric(min_age = nil, max_age = nil) becomes Faker::Code.nric(min_age: nil, max_age: nil)
  • Faker::Commerce.department(max = nil, fixed_amount = nil) becomes Faker::Commerce.department(max: nil, fixed_amount: nil)
  • Faker::Commerce.price(range = nil, as_string = nil) becomes Faker::Commerce.price(range: nil, as_string: nil)
  • Faker::Commerce.promotion_code(digits = nil) becomes Faker::Commerce.promotion_code(digits: nil)
  • Faker::Company.polish_register_of_national_economy(length = nil) becomes Faker::Company.polish_register_of_national_economy(length: nil)
  • Faker::CryptoCoin.acronym(coin = nil) becomes Faker::CryptoCoin.acronym(coin: nil)
  • Faker::CryptoCoin.coin_name(coin = nil) becomes Faker::CryptoCoin.coin_name(coin: nil)
  • Faker::CryptoCoin.url_logo(coin = nil) becomes Faker::CryptoCoin.url_logo(coin: nil)
  • Faker::Date.backward(days = nil) becomes Faker::Date.backward(days: nil)
  • Faker::Date.between(from, to) becomes Faker::Date.between(from:, to:)
  • Faker::Date.between_except(from, to, excepted) becomes Faker::Date.between_except(from:, to:, excepted:)
  • Faker::Date.birthday(min_age = nil, max_age = nil) becomes Faker::Date.birthday(min_age: nil, max_age: nil)
  • Faker::Date.forward(days = nil) becomes Faker::Date.forward(days: nil)
  • Faker::Demographic.height(unit = nil) becomes Faker::Demographic.height(unit: nil)
  • Faker::File.dir(segment_count = nil, root = nil, directory_separator = nil) becomes Faker::File.dir(segment_count: nil, root: nil, directory_separator: nil)
  • Faker::File.file_name(dir = nil, name = nil, ext = nil, directory_separator = nil) becomes Faker::File.file_name(dir: nil, name: nil, ext: nil, directory_separator: nil)
  • Faker::Fillmurray.image(grayscale = nil, width = nil, height = nil) becomes Faker::Fillmurray.image(grayscale: nil, width: nil, height: nil)
  • Faker::Finance.vat_number(country = nil) becomes Faker::Finance.vat_number(country: nil)
  • Faker::Hipster.paragraph(sentence_count = nil, supplemental = nil, random_sentences_to_add = nil) becomes Faker::Hipster.paragraph(sentence_count: nil, supplemental: nil, random_sentences_to_add: nil)
  • Faker::Hipster.paragraph_by_chars(chars = nil, supplemental = nil) becomes Faker::Hipster.paragraph_by_chars(characters: nil, supplemental: nil)
  • Faker::Hipster.paragraphs(paragraph_count = nil, supplemental = nil) becomes Faker::Hipster.paragraphs(number: nil, supplemental: nil)
  • Faker::Hipster.sentence(word_count = nil, supplemental = nil, random_words_to_add = nil) becomes Faker::Hipster.sentence(word_count: nil, supplemental: nil, random_words_to_add: nil)
  • Faker::Hipster.sentences(sentence_count = nil, supplemental = nil) becomes Faker::Hipster.sentences(number: nil, supplemental: nil)
  • Faker::Hipster.words(num = nil, supplemental = nil, spaces_allowed = nil) becomes Faker::Hipster.words(number: nil, supplemental: nil, spaces_allowed: nil)
  • Faker::Internet.domain_name(subdomain = nil) becomes Faker::Internet.domain_name(subdomain: nil)
  • Faker::Internet.email(name = nil, *separators) becomes Faker::Internet.email(name: nil, separators: nil)
  • Faker::Internet.fix_umlauts(string = nil) becomes Faker::Internet.fix_umlauts(string: nil)
  • Faker::Internet.free_email(name = nil) becomes Faker::Internet.free_email(name: nil)
  • Faker::Internet.mac_address(prefix = nil) becomes Faker::Internet.mac_address(prefix: nil)
  • Faker::Internet.password(min_length = nil, max_length = nil, mix_case = nil, special_chars = nil) becomes Faker::Internet.password(min_length: nil, max_length: nil, mix_case: nil, special_characters: nil)
  • Faker::Internet.safe_email(name = nil) becomes Faker::Internet.safe_email(name: nil)
  • Faker::Internet.slug(words = nil, glue = nil) becomes Faker::Internet.slug(words: nil, glue: nil)
  • Faker::Internet.url(host = nil, path = nil, scheme = nil) becomes Faker::Internet.url(host: nil, path: nil, scheme: nil)
  • Faker::Internet.user_agent(vendor = nil) becomes Faker::Internet.user_agent(vendor: nil)
  • Faker::Internet.user_name(specifier = nil, separators = nil) becomes Faker::Internet.user_name(specifier: nil, separators: nil)
  • Faker::Internet.username(specifier = nil, separators = nil) becomes Faker::Internet.username(specifier: nil, separators: nil)
  • Faker::Invoice.amount_between(from = nil, to = nil) becomes Faker::Invoice.amount_between(from: nil, to: nil)
  • Faker::Invoice.creditor_reference(ref = nil) becomes Faker::Invoice.creditor_reference(ref: nil)
  • Faker::Invoice.reference(ref = nil) becomes Faker::Invoice.reference(ref: nil)
  • Faker::Json.add_depth_to_json(json = nil, width = nil, options = nil) becomes Faker::Json.add_depth_to_json(json: nil, width: nil, options: nil)
  • Faker::Json.shallow_json(width = nil, options = nil) becomes Faker::Json.shallow_json(width: nil, options: nil)
  • Faker::Lorem.characters(char_count = nil) becomes Faker::Lorem.characters(number: nil)
  • Faker::Lorem.paragraph(sentence_count = nil, supplemental = nil, random_sentences_to_add = nil) becomes Faker::Lorem.paragraph(sentence_count: nil, supplemental: nil, random_sentences_to_add: nil)
  • Faker::Lorem.paragraph_by_chars(chars = nil, supplemental = nil) becomes Faker::Lorem.paragraph_by_chars(number: nil, supplemental: nil)
  • Faker::Lorem.paragraphs(paragraph_count = nil, supplemental = nil) becomes Faker::Lorem.paragraphs(number: nil, supplemental: nil)
  • Faker::Lorem.question(word_count = nil, supplemental = nil, random_words_to_add = nil) becomes Faker::Lorem.question(word_count: nil, supplemental: nil, random_words_to_add: nil)
  • Faker::Lorem.questions(question_count = nil, supplemental = nil) becomes Faker::Lorem.questions(number: nil, supplemental: nil)
  • Faker::Lorem.sentence(word_count = nil, supplemental = nil, random_words_to_add = nil) becomes Faker::Lorem.sentence(word_count: nil, supplemental: nil, random_words_to_add: nil)
  • Faker::Lorem.sentences(sentence_count = nil, supplemental = nil) becomes Faker::Lorem.sentences(number: nil, supplemental: nil)
  • Faker::Lorem.words(num = nil, supplemental = nil) becomes Faker::Lorem.words(number: nil, supplemental: nil)
  • Faker::LoremFlickr.colorized_image(size = nil, color = nil, search_terms = nil, match_all = nil) becomes Faker::LoremFlickr.colorized_image(size: nil, color: nil, search_terms: nil, match_all: nil)
  • Faker::LoremFlickr.grayscale_image(size = nil, search_terms = nil, match_all = nil) becomes Faker::LoremFlickr.grayscale_image(size: nil, search_terms: nil, match_all: nil)
  • Faker::LoremFlickr.image(size = nil, search_terms = nil, match_all = nil) becomes Faker::LoremFlickr.image(size: nil, search_terms: nil, match_all: nil)
  • Faker::LoremFlickr.pixelated_image(size = nil, search_terms = nil, match_all = nil) becomes Faker::LoremFlickr.pixelated_image(size: nil, search_terms: nil, match_all: nil)
  • Faker::LoremPixel.image(size = nil, is_gray = nil, category = nil, number = nil, text = nil, secure: nil) becomes Faker::LoremPixel.image(size: nil, is_gray: nil, category: nil, number: nil, text: nil, secure: nil)
  • Faker::Markdown.sandwich(sentences = nil, repeat = nil) becomes Faker::Markdown.sandwich(sentences: nil, repeat: nil)
  • Faker::Measurement.height(amount = nil) becomes Faker::Measurement.height(amount: nil)
  • Faker::Measurement.length(amount = nil) becomes Faker::Measurement.length(amount: nil)
  • Faker::Measurement.metric_height(amount = nil) becomes Faker::Measurement.metric_height(amount: nil)
  • Faker::Measurement.metric_length(amount = nil) becomes Faker::Measurement.metric_length(amount: nil)
  • Faker::Measurement.metric_volume(amount = nil) becomes Faker::Measurement.metric_volume(amount: nil)
  • Faker::Measurement.metric_weight(amount = nil) becomes Faker::Measurement.metric_weight(amount: nil)
  • Faker::Measurement.volume(amount = nil) becomes Faker::Measurement.volume(amount: nil)
  • Faker::Measurement.weight(amount = nil) becomes Faker::Measurement.weight(amount: nil)
  • Faker::Name.initials(character_count = nil) becomes Faker::Name.initials(number: nil)
  • Faker::NationalHealthService.check_digit(number = nil) becomes Faker::NationalHealthService.check_digit(number: nil)
  • Faker::Number.between(from = nil, to = nil) becomes Faker::Number.between(from: nil, to: nil)
  • Faker::Number.decimal(l_digits = nil, r_digits = nil) becomes Faker::Number.decimal(l_digits: nil, r_digits: nil)
  • Faker::Number.decimal_part(*args, &block) becomes Faker::Number.decimal_part(digits: nil)
  • Faker::Number.hexadecimal(digits = nil) becomes Faker::Number.hexadecimal(digits: nil)
  • Faker::Number.leading_zero_number(*args, &block) becomes Faker::Number.leading_zero_number(digits: nil)
  • Faker::Number.negative(from = nil, to = nil) becomes Faker::Number.negative(from: nil, to: nil)
  • Faker::Number.normal(mean = nil, standard_deviation = nil) becomes Faker::Number.normal(mean: nil, standard_deviation: nil)
  • Faker::Number.number(digits = nil) becomes Faker::Number.number(digits: nil)
  • Faker::Number.positive(from = nil, to = nil) becomes Faker::Number.positive(from: nil, to: nil)
  • Faker::Number.within(range = nil) becomes Faker::Number.within(range: nil)
  • Faker::PhoneNumber.extension(length = nil) becomes Faker::PhoneNumber.extension(length: nil)
  • Faker::PhoneNumber.subscriber_number(length = nil) becomes Faker::PhoneNumber.subscriber_number(length: nil)
  • Faker::Placeholdit.image(size = nil, format = nil, background_color = nil, text_color = nil, text = nil) becomes Faker::Placeholdit.image(size: nil, format: nil, background_color: nil, text_color: nil, text: nil)
  • Faker::Relationship.familial(connection = nil) becomes Faker::Relationship.familial(connection: nil)
  • Faker::Source.hello_world(lang = nil) becomes Faker::Source.hello_world(lang: nil)
  • Faker::Source.print_1_to_10(lang = nil) becomes Faker::Source.print_1_to_10(lang: nil)
  • Faker::String.random(length = nil) becomes Faker::String.random(length: nil)
  • Faker::Stripe.ccv(card_type = nil) becomes Faker::Stripe.ccv(card_type: nil)
  • Faker::Stripe.invalid_card(card_error = nil) becomes Faker::Stripe.invalid_card(card_error: nil)
  • Faker::Stripe.valid_card(card_type = nil) becomes Faker::Stripe.valid_card(card_type: nil)
  • Faker::Stripe.valid_token(card_type = nil) becomes Faker::Stripe.valid_token(card_type: nil)
  • Faker::Time.backward(days = nil, period = nil, format = nil) becomes Faker::Time.backward(days: nil, period: nil, format: nil)
  • Faker::Time.between(from, to, period = nil, format = nil) becomes Faker::Time.between(from:, to:, format: nil)
  • Faker::Time.forward(days = nil, period = nil, format = nil) becomes Faker::Time.forward(days: nil, period: nil, format: nil)
  • Faker::Types.complex_rb_hash(key_count = nil) becomes Faker::Types.complex_rb_hash(number: nil)
  • Faker::Types.rb_array(len = nil) becomes Faker::Types.rb_array(len: nil)
  • Faker::Types.rb_hash(key_count = nil, type = nil) becomes Faker::Types.rb_hash(number: nil, type: nil)
  • Faker::Types.rb_integer(from = nil, to = nil) becomes Faker::Types.rb_integer(from: nil, to: nil)
  • Faker::Types.rb_string(words = nil) becomes Faker::Types.rb_string(words: nil)
  • Faker::Vehicle.kilometrage(min = nil, max = nil) becomes Faker::Vehicle.kilometrage(min: nil, max: nil)
  • Faker::Vehicle.license_plate(state_abbreviation = nil) becomes Faker::Vehicle.license_plate(state_abbreviation: nil)
  • Faker::Vehicle.mileage(min = nil, max = nil) becomes Faker::Vehicle.mileage(min: nil, max: nil)
  • Faker::Vehicle.model(make_of_model = nil) becomes Faker::Vehicle.model(make_of_model: nil)
  • Faker::WorldCup.group(group = nil) becomes Faker::WorldCup.group(group: nil)
  • Faker::WorldCup.roster(country = nil, type = nil) becomes Faker::WorldCup.roster(country: nil, type: nil)
  • Faker::Movies::StarWars.quote(character = nil) becomes Faker::Movies::StarWars.quote(character: nil)

Additionally the following methods changed return values:

  • Faker::Number.number now returns Numeric instead of String (see PR #510)

Bug/Fixes

Deprecation

  • PR #1634 Corrected other occurrences of spelling vehicle spelling error, deprecated Space launch_vehicule @Siyanda

Documentation

Feature Request

Update/add locales


v1.9.6 (2019-07-05)

Fix lib/faker/version.rb

v1.9.5 (2019-07-04)

Bug

  • PR #1644 Revert fakerbot and move to own repository inside new organization @vbrazo

Deprecate

  • PR #1516 Deprecate Faker::Number.decimal_part and Faker::Number.leading_zero_number @vbrazo

Documentation

Feature Request

Update Locales


v1.9.4 (2019-06-19)

Bug/Fixes

Chores

Deprecation

Documentation

Feature Request

Update/add locales


v1.9.3 (2019-02-12)

Full Changelog

Bug/Fixes


v1.9.2 (2019-02-11)

Full Changelog

Bug/Fixes

Chores

Deprecation

  • PR #1504 Add Quotes namespace @vbrazo
    • Deprecates ::FamousLastWords, ::Matz, ::MostInterestingManInTheWorld, ::Robin, ::Shakespeare, ::SingularSiegler, ::Yoda
  • PR #1503 Add Books namespace @vbrazo
    • Deprecates ::Dune, Lovecraft
  • PR #1480 Add Music, Movies and TvShows namespaces @vbrazo
    • Deprecates ::Hobbit, HitchhikersGuideToTheGalaxy, ::HarryPotter, ::RockBand, ::MichaelScott, ::RuPaul
  • PR #1481 Add Blockchain namespace @vbrazo
    • Deprecates ::Bitcoin, ::Ethereum, ::Tezos
  • PR #1471 Add music and movies namespace @vbrazo
    • Deprecates ::BackToTheFuture, ::Lebowski, ::LordOfTheRings, ::PrincessBride, ::StarWars, ::UmphreysMcgee, ::VForVendetta
  • PR #1469 Deprecate Faker::Hobbit and reorganize unreleased docs and tests @vbrazo
    • Deprecates ::Hobbit
  • PR #1431 Add Faker::TvShows namespace @SpyMaster356
    • Deprecates ::AquaTeenHungerForce, ::BojackHorseman, ::BreakingBad, ::Buffy, ::Community, ::DrWho, ::DumbAndDumber, ::FamilyGuy, ::Friends, ::GameOfThrones, ::HeyArnold, ::HowIMetYourMother, ::NewGirl, ::ParksAndRec, ::RickAndMorty, ::Seinfeld, ::SiliconValley, ::Simpsons, ::SouthPark, ::StarTrek, ::Stargate, ::StrangerThings, ::TheFreshPrinceOfBelAir, ::TheITCrowd, ::TheThickOfIt, ::TwinPeaks, ::VentureBros
  • PR #1412 Add Faker::Games namespace @ChaoticBoredom
    • Deprecates ::Dota, ::ElderScrolls, ::Fallout, ::LeagueOfLegends, ::Myst, ::Overwatch, ::Pokemon, ::Witcher, ::WorldOfWarcraft and ::Zelda
  • PR #1424 Add Faker::Creature namespace @ChaoticBoredom
    • Deprecates ::Cat and ::Dog
  • PR #1420 Add Faker::JapaneseMedia namespace @boardfish
    • Deprecates ::DragonBall, ::OnePiece and ::SwordArtOnline
  • PR #803 Modify Faker::Educator, Fix #576 @ghbooth12

Documentation

Feature Request

Suggestion

  • PR #1246 Store list of generators with enabled uniqueness for faster clear @MarcPer

Update/add locales


v1.9.1 (2018-07-11)

Full Changelog

Feature Request

Update/add locales

Bug/Fixes

Chores

Documentation

Deprecation

  • PR #1264 Prepare Faker::Name.job_titles and Faker::Name.title for deprecation
    • Removing these methods as they are available in Faker::Job

v1.8.7 (2017-12-22)

Full Changelog

Additions

  • Faker::Company.type
  • Faker::Job.education_level and Faker::Job.employment_type
  • More characters and quotes for Seinfeld

Fixes

  • Revert a change in 1.8.5 that caused Star Wars methods to return a single string rather than an array (#1093)

v1.8.6 (2017-12-21)

Full Changelog

Additions

  • Faker::App.semantic_version
  • Faker::Types
  • New methods in Faker::StarWars: call_squadron, call_sign, call_number

Other changes

  • Changed i18n dependency from ~> 0.9.1 to >= 0.7

v1.8.5 (2017-12-06)

Full Changelog

Closed issues:

  • The latest version does not contain Faker::ProgarmmingLanguage, but the documentation said it does. #1083
  • undefined method `initials' for Faker::Name:Class #1076
  • Undefined method `dish' for Faker::Food:Class #1038
  • Need Silicon Valley #1026
  • Would it be possible to tie quotes to characters? #1011
  • Generated phone numbers dont seem to be valid. #1010
  • Faker::RickAndMorty not supported in 1.7.3 #988
  • Weird crash with Faker 1.8.3 #982
  • Faker::PhoneNumber.cell_phone not enforcing locale #499
  • https url scheme #459
  • New feature: Google video and image searching #306
  • The array extension method :sample throw an argument error when the array is empty #94
  • phone_number can generate invalid US numbers #24

Merged pull requests:

v1.8.4 (2017-07-13)

Full Changelog

Merged pull requests:

  • Remove errant tab character in YAML #981 (steveh)

v1.8.3 (2017-07-12)

Full Changelog

Closed issues:

  • Can't pass zero (0) to the default rand method (Faker override) #976
  • Add Faker::Address.mailing_address #841

Merged pull requests:

v1.8.2 (2017-07-11)

Full Changelog

Closed issues:

  • Cannot require 'faker' after update to 1.8.1 #975
  • NoMethodError: super: no superclass method `between' for Faker::Time:Class #973

v1.8.1 (2017-07-10)

Full Changelog

Closed issues:

  • Faker::Internet.domain_word == "" #956
  • Faker::Coffee #935
  • Internet password method sometimes doesn't include special chars #927
  • Faker HowIMet #917
  • NoMethodError: super: no superclass method `backward' for Faker::Time:Class #915
  • Faker 1.8 release #906
  • Material missing in Faker::Commerce documentation #901
  • Tests fail that have nothing to do with my changes. What should I do? #864
  • uninitialized constant Faker::RuPaul #856
  • Faker::Internet.domain_word returns empty string #843
  • unitilialized constant Faker::Demographic #812

Merged pull requests:

v1.8.0 (2017-07-09)

Full Changelog

Closed issues:

  • Zelda Location #968
  • Real passwords / passphrases #962
  • Generating fake link [Feature Request] #955
  • Clean-up Robin's "Holy Steam Valve" quote #948
  • Faker::Time.between produces times out of range #894
  • [Feature Request] Add User Agent strings #880
  • Faker::Omniauth is not deterministic and breaking the build #876
  • undefined method name =' or undefined method =' #871
  • Faker::French Suggestion #869
  • Documentation not correct for Faker::Color.hsl_color and hsla_color #866
  • Faker::PhoneNumber.area_code and .exchange_code returning nil #861
  • Faker::RickAndMorty not available in v1.7.3 from RubyGems #851
  • Adding Faker to Create in controller, possible? #842
  • Faker 1.7.3 uses Ruby 2 features #825
  • Fillmurry = error #823
  • Base#numerify generating phone numbers and other number fields with a weird format #741
  • Markdown/HTML Support #630
  • Update WIKI and clean README #588
  • Can't overwrite locale elements using the .yml file #424
  • Faker::Lorem.paragraph raises I18n::MissingTranslationData without manual locale override #278
  • Generate unique values #251

Merged pull requests:

v1.7.3 (2017-02-05)

Full Changelog

Closed issues:

  • Creates invalid UK postcodes #790
  • remove first name Adolf #788
  • Config for adding format restriction. #695
  • How to avoid special characters in faker string field #615
  • Add Demographic Data #585
  • OmniAuth ready responses #507
  • US Zip Codes Sometimes Returns Non-Actual Zip Codes #275

Merged pull requests:

v1.7.2 (2017-01-03)

Full Changelog

Closed issues:

  • Faker::Avatar error: read server certificate B: certificate verify failed #763
  • assert Faker::Internet.email.match(/.+@[^.].+.\w+/) fails randomly #737
  • Incorrect HSL color format #728
  • Can we add the #Hacktoberfest label for pull requests this month #717
  • Faker::Boolean.boolean error #714
  • Faker::Food not found #688
  • Fix seed for random values #684
  • README alphabetical order of Usage #660
  • At which point do we break off functionality? #653
  • Time zone abbreviation #631
  • ruby 2.3.1 rails 5 #627
  • Faker::Time::between doesn't respect requested period #526

Merged pull requests:

v1.7.1 (2016-12-25)

Full Changelog

Closed issues:

  • Getting "Segmentation fault: 11" when I upgrade last 3 repos to faker 1.7.0 #780
  • New release? #767

Merged pull requests:

  • Added Faker::Fillmurray hotlink to usages list #779 (Jedeu)

v1.7.0 (2016-12-24)

Full Changelog

Closed issues:

  • Alphanumeric password. #773
  • Unique method is undefined #771
  • Request: Human faces? #756
  • Faker for images not working #738
  • Fixed seed #724
  • Company logo ,company buzzword, Date is not working rails 4 #718
  • Image issue #704
  • Faker::Hacker.say_something_smart #691
  • Faker::Commerce.promotion_code Missing Translation #689
  • Generating real email addresses #685
  • Faker::GameOfThrones.character has too little items #658
  • Pokemon class not working #645
  • NameError: uninitialized constant Educator #572
  • Causing memory error if Faker::Internet.email with integer argument #478
  • undefined method `Number' for Faker:Module #153

Merged pull requests:

v1.6.6 (2016-07-25)

Full Changelog

Closed issues:

  • Faker::Vehicle.vin gives undefined method `match' #638
  • Faker::Date.backward(14) #632
  • Shouldn't we capitalize the result of Faker::Hacker.say\_something\_smart? #623

Merged pull requests:

v1.6.5 (2016-07-08)

  • Removed Faker::ChuckNorris.name

v1.6.4 (2016-07-06)

  • Removed support for Ruby 1.9.3
  • Added Faker::ChuckNorris, Faker::Crypto, Faker::Educator, Faker::File, Faker::Music, Faker::Space, Faker::Vehicle, and Faker::Yoda
  • Fixed bug with credit card types
  • DST fixes in Faker::Time
  • Added Faker::Name.name_with_middle
  • Added Faker::Code.imei
  • Added Faker::Code.asin
  • Added Faker::Lorem.question and Faker::Lorem.questions
  • Added Faker::Internet.private_ip_v4_address
  • Added Faker::Company.australian_business_number
  • Other miscellaneous fixes and locale updates

v1.6.3 (2016-02-23)

  • Fix for UTF problem in Ruby 1.9.3
  • Fix for Faker::StarWars.character
  • Updated sv locale

v1.6.2 (2016-02-20)

  • Fix for locale-switching (Russian email addresses)
  • Added Faker::Beer, Faker::Boolean, Faker::Cat, Faker::StarWars, and Faker::Superhero
  • Added Faker::Color.color_name
  • Added Faker::Date.between_except
  • Fixed Faker::Internet.ip_v4_cidr and Faker::Internet.ip_v6_cidr
  • Added locales: ca, ca-CAT, da-DK, fi-FI, and pt

v1.6.1 (2015-11-23)

  • Fix for locale issues in tests

v1.6.0 (2015-11-23)

  • Lots of bug fixes -- most notably, a fix for email addresses and domains in non-en locales
  • Updated locales: de, en-AU, en-NZ, en-SG, en-US, en-au-ocker, en, es, fr, he, it, ja, nb-NO, pl, pt-BR, sk, and zh-CN
  • Updated classes: Address, Avatar, Book, Code, Commerce, Company, Hipster, IDNumber, Internet, Number, Placeholdit, Shakespeare, and Time

v1.5.0 (2015-08-17)

  • Added logos
  • Added Slack Emoji
  • Updated image generators
  • Updated Dutch Locale
  • Added support for generating RGB values, HSL colors, alpha channel, and HSLA colors
  • Added locale for Uganda
  • Added basic Ukrainian support
  • Added university name generator
  • Updated documentation
  • Updated a variety of locales
  • Various fixes

v1.4.3 (2014-08-15)

  • Updated Russian locale
  • Added EIN generator
  • Fixed Swedish locale
  • Added birthday to Faker::Date
  • Added Faker::App

v1.4.2 (2014-07-15)

  • Added Swedish locale
  • README update

v1.4.1 (2014-07-04)

  • Bugfix and cleanup

v1.4.0 (2014-07-03)

  • Many enhancements and bugfixes

v1.3.0 (2014-03-08)

  • Many enhancements and few bugfixes

v1.2.0 (2013-07-27)

  • Many major and minor enhancements :)

v1.1.2 (2012-09-18)

  • 1 minor change:
    • Fixed Ruby 1.8 compatibility

v1.1.1 (2012-09-17)

  • 1 minor change:
    • Removed ja locale because of parse errors

v1.1.0 (2012-09-15)

  • 1 major change:
    • Removed deprecated methods from Address: earth_country, us_state, us_state_abbr, uk_postcode, uk_county
  • Many minor changes (please see github pull requests for credits)
    • Added many localizations
    • Added range and array support for Lorem

v1.0.1 (2011-09-27)

  • 1 minor enhancement
  • 1 bug fix:
    • Use the locale fallback properly when parsing string formats

v1.0.0 (2011-09-08)

  • 2 major enhancements
    • Moved all formats to locale files
    • Stopped interfering with I18n's global settings for fallbacks
  • 3 minor bug fixes:
    • Ruby 1.9.2 fixes [eMxyzptlk]
    • UTF8 fixes [maxmiliano]
    • Updated IPv4 generator to return valid addresses [Sylvain Desbureaux]
  • Many minor enhancements:
    • Added bork locale for bork-ified lorem [johnbentcope]
    • Added IPv6 address generator [jc00ke]
    • Removed deprecation warnings for Array#rand [chrismarshall]
    • Added German translation and I18n improvements [Matthias Kühnert]
    • Added Dutch translation [moretea]
    • Added Lat/Long generator [Andy Callaghan]
    • Added buzzword-laden title generator [supercleanse]
    • Added optional extended wordlist for lorem [chriskottom]
    • Updated German translation [Jan Schwenzien]
    • Locale improvements [suweller]
    • Added limit to lorem generator [darrenterhune]
    • Added Brazilian Portuguese translation [maxmiliano]
    • Added Australian translation [madeindata]
    • Added Canadian translation [igbanam]
    • Added Norwegian translation [kytrinyx]
    • Lots of translation-related cleanup [kytrinyx]

v0.9.5 (2011-01-27)

  • 1 minor bug fix:
    • Fixed YAML [Aaron Patterson]
  • 3 minor enhancements:
    • Added default rake task to run all tests [Aaron Patterson]
    • Removed shuffle method [Aaron Patterson]
    • Use psych if present [Aaron Patterson]

v0.9.4 (2010-12-29)

  • 1 minor bug fix:
    • Stopped getting in the way of Rails' late locale loading

v0.9.3 (2010-12-28)

  • 1 minor enhancement:
    • Added a faker namespace for translations

v0.9.2 (2010-12-22)

  • 1 bug fix:
    • Stopped stomping on I18n load path

v0.9.1 (2010-12-22)

  • 1 bug fix:
    • Stopped setting I18n default locale
  • 1 major enhancement:
    • Added method_missing to Address to add methods based on data in locale files
  • 1 minor enhancement:
    • Added Swiss locale [Lukas Westermann]

v0.9.0 (2010-12-21)

  • 1 major enhancement:
    • Moved strings and some formats to locale files

v0.3.1 (2008-04-03)

  • 1 minor enhancement:
    • Added city to Address

v0.3.0 (2008-01-01)

  • 3 major enhancements:
    • Added Lorem to generate fake Latin
    • Added secondary_address to Address, and made inclusion of secondary address in street_address optional (false by default).
    • Added UK address methods [Caius Durling]

v0.2.1 (2007-12-05)

  • 1 major enhancement:
    • Dropped facets to avoid conflict with ActiveSupport
  • 2 minor enhancements:
    • Changed the output of user_name to randomly separate with a . or _
    • Added a few tests

v0.1.0 (2007-11-22)

  • 1 major enhancement:
    • Initial release

* This Change Log was automatically generated by github_changelog_generator