Skip to content

Latest commit

 

History

History
1953 lines (1560 loc) · 153 KB

CHANGELOG.md

File metadata and controls

1953 lines (1560 loc) · 153 KB

Change Log

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_abreviation = nil) becomes Faker::Vehicle.license_plate(state_abreviation: 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 depedency 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 improvments [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