Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Releases: fzaninotto/Faker

v1.9.2

11 Dec 09:58
Compare
Choose a tag to compare
  • Security Hardening

v1.9.1

12 Dec 13:24
fc10d77
Compare
Choose a tag to compare

v1.9.0

14 Nov 13:14
Compare
Choose a tag to compare

This will the last minor release in the 1.x cycle.

Read more

v1.8.0

12 Jul 10:24
Compare
Choose a tag to compare
Read more

v1.7.0

15 Aug 16:50
Compare
Choose a tag to compare
Read more

v1.6.0

25 Jul 09:34
Compare
Choose a tag to compare
Read more

v1.5.0

29 May 06:31
Compare
Choose a tag to compare
  • Added ability to print custom text on the images fetched by the Image provider #583 (fzaninotto)
  • Fixed typos in Preuvian (es_PE) Person provider #581 #580 (ysramirez)
  • Added instructions for installing with composer to readme.md #572 (totophe)
  • Added Kazakh (kk_KZ) locale #569 (YerlenZhubangaliyev)
  • Added Korean (ko_KR) locale #566 (pearlc)
  • Fixed file provider to ignore unreadable and special files #565 (svrnm)
  • Fixed Dutch (nl_NL) Address and Person providers #560 (killerog)
  • Fixed Dutch (nl_NL) Person provider #559 (pauledenburg)
  • Added Russian (ru_RU) Bank names provider #553 (wizardjedi)
  • Added mobile phone function in French (fr_FR) provider #552 (kletellier)
  • Added phpdoc for new magic methods in Generator to help IntelliSense completion #550 (stof)
  • Fixed File provider bug 'The first argument to copy() function cannot be a directory' #547 (svrnm)
  • Added new Brazilian (pt_BR) Providers #545 (igorsantos07)
  • Fixed ability to seed the generator #543 (schmengler)
  • Added streetAddress formatter to Russian (ru_RU) provider #542 (ZAYEC77)
  • Fixed Internet provider warning "Could not create transliterator"* #541 (fonsecas72)
  • Fixed Spanish for Argentina (es_AR) Address provider #540 (ivanmirson)
  • Fixed region names in French for Belgium (fr_BE) address provider #536 (miclf)
  • Fixed broken Doctrine2 link in README #534 (JonathanKryza)
  • Added link to faker-context Behat extension in readme #532 (denheck)
  • Added PHP 7.0 nightly to Travis build targets #525 (TomasVotruba)
  • Added Dutch (nl_NL) color names #523 (belendel)
  • Fixed Chinese (zh_CN) Address provider (remove Taipei) #522 (asika32764)
  • Fixed phonenumber formats in Dutch (nl_NL) PhoneNumber provider #521 (SpaceK33z)
  • Fixed Russian (ru_RU) Address provider #518 (glagola)
  • Added Italian (it_IT) Text provider #517 (endelwar)
  • Added Norwegian (no_NO) locale #515 (phaza)
  • Added VAT number to Bulgarian (bg_BG) Payment provider #512 (ronanguilloux)
  • Fixed UserAgent provider outdated user agents #511 (ajbdev)
  • Fixed image() formatter to make it work with temp dir of any (decent) OS #507 (ronanguilloux)
  • Added Persian (fa_IR) locale #500 (zoli)
  • Added Currency Code formatter #497 (stelgenhof)
  • Added VAT number to Belgium (be_BE) Payment provider #495 (ronanguilloux)
  • Fixed imageUrl formatter bug where it would always return the same image #494 (fzaninotto)
  • Added more Indonesian (id_ID) providers #493 (deerawan)
  • Added Indonesian (id_ID) locale #492 (stoutZero)
  • Fixed unique generator performance #491 (ikwattro)
  • Added transliterator to email and username #490 (fzaninotto)
  • Added Hungarian (hu_HU) Text provider #486 (lintaba)
  • Fixed CakePHP Entity Popolator (some cases where no entities prev. inserted) #483 (jadb)
  • Added Color and DateTime Turkish (tr_TR) Providers #481 (behramcelen)
  • Added Latvian (lv_LV) personalIdentityNumber formatter #472 (MatissJanis)
  • Added VAT number to Austrian (at_AT) Payment provider #470 (ronanguilloux)
  • Fixed missing @return phpDoc in Payment provider #469 (ronanguilloux)
  • Added SWIFT/BIC payment type formatter to the Payment provider #465 (ronanguilloux)
  • Fixed small typo in Base provider exception #460 (miclf)
  • Added Georgian (ka_Ge) locale #457 (lperto)
  • Added PSR-4 Autoloading #455 (GrahamCampbell)
  • Added Uganda (en_UG) locale #454 (tharoldD)
  • Added regexify formatter, generating a random string based on a regular expression #453 (fzaninotto)
  • Added shuffle formatter, to shuffle an array or a string #452 (fzaninotto)
  • Added ISBN-10 & ISBN-13 codes formatters to Barcode provider #451 (gietos)
  • Fixed Russian (ru_RU) middle names (different for different genders) #450 (gietos)
  • Fixed Ukranian (uk_UA) Person provider #448 (aivus)
  • Added Vietnamese (vi_VN) locale #447 (huy95)
  • Added type hint to the Documentor constructor #446 (JeroenDeDauw)
  • Fixed Russian (ru_RU) Person provider (joined names) #445 (aivus)
  • Added English (en_GB) mobileNumber methods #438 (daveblake)
  • Added Traditional Chinese (zh_TW) Realtext provider #434 (tzhuan)
  • Fixed first name in Spanish for Argentina (es_AR) Person provider #433 (fzaninotto)
  • Fixed Canadian (en_CA) state abbreviation for Nunavut #430 (julien-c)
  • Added CakePHP ORM entity populator #428 (jadb)
  • Added Traditional Chinese (zh_TW) locale #427 (tzhuan)
  • Fixed typo in Doctrine Populator phpDoc #425 (ihsanudin)
  • Added Chinese (zh_CN) Internet provider #424 (Lisso-Me)
  • Added Country ISO 3166-1 alpha-3 code to the Miscellaneous provider#422 (gido)
  • Added English (en_GB) Person provider #421 (AlexCutts)
  • Added missing tests for the Color Provid...
Read more

v1.4.0

04 Jun 14:57
Compare
Choose a tag to compare

New Features

  • Added strict option to randomNumber to force number of digits (fzaninotto)
  • Added slug provider (fzaninotto)
  • Added firstname gender method to all Person providers (csanquer)
  • Added local IP and MAC address providers (kielabokkie)
  • Added default value to optional modifier (joshuajabbour)
  • Added fileCopy to File provider to simulate file upload (stefanosala)
  • Added Maximum Timestamp option to get always same unix timestamp when using a fixed seed (csanquer)
  • Added ean barcode provider (nineinchnick)
  • Added fullPath parameter to Image provider (stefanosala)
  • Added randomElements provider (terite)
  • Added realText provider for English and German, based on Markov Chains Generator (TimWolla)

New / Improved Locales

  • Fixed typo in Slovak person names (cinan)
  • Added tests for uk_UA providers (serge-kuharev)
  • Fixed address provider for latvian language (MatissJA)
  • Added Czech Republic (cs_CZ) address, company, datetime and text providers (Mikulas)
  • Fixed da_DK Person provider data containing an 'unnamed' person (tolnem)
  • Fixed tr_TR email service, city name, person, and phone number formats (ogunkarakus)
  • Fixed US_en state list (fzaninotto)
  • Fixed en_US address provider so state abbr are ISO 3166 codes (Garbee)
  • Fixed Portuguese phonenumbers have 9 digits (hugofonseca)
  • Added pt_PT providers (hugofonseca)
  • Added tin (NIF) generator for pt_PT provider (hugofonseca)
  • Added pt_PT phone number provider (hugofonseca)
  • Added new ro_RO Personal Numerical Code (CNP) and phone number providers (avataru)
  • Fixed Internet provider for sk_SK locale (cinan)
  • Fixed typo in en_ZA Internet provider (bjorntheart)
  • Added Montenegrian (me_ME) providers
  • Added more Polish company formats (nineinchnick)
  • Added Polish realText provider (nineinchnick)
  • Added French realText provider (fzaninotto)
  • Fixed missing data in en_US Address provider (Garbee)
  • Added Bengali (bn_BD) providers (masnun)
  • Added French Canadian (fr_CA) Address and Person providers (marcaube)
  • Added Canadian English (en_CA) address and phone number providers (cviebrock)
  • Fixed Polish (pl_PL) Person provider data (czogori)
  • Added Hungarian (hu_HU) providers (sagikazarmark)
  • Added 'kana' (ja_JP) name formatters (kzykhys)

Bug Fixes

  • Fixed numerify() performance by making it 30% faster (fzaninotto)
  • Fixed randomNumber usage duplicating numberBetween (fzaninotto)
  • Fixed IDE insights for new local IP and MAC address providers (hugofonseca)
  • Fixed typo in century list affecting the century provider (fzaninotto)
  • Fixed dead code in text provider (hugofonseca)
  • Fixed IDE insights for magic properties (hugofonseca)
  • Fixed numberBetween max default value handling (fzaninotto)
  • Fixed PSR-2 standards and add make task to force it on Travis (terite)
  • Fixed phpdoc for DateTime magic methods (stof)
  • Added doc about seeding with maximum timestamp using dateTime formatters (fzaninotto)
  • Fixed remaining non-seedable random generators (terite)
  • Fixed realText provider bootstrap slowness (fzaninotto)
  • Fixed address format in nl_NL provider (doenietzomoeilijk)
  • Fixed potentially offensive word from last name list (joshuajabbour)
  • Fixed reamde documentation about the optional modifier (cryode)
  • Fixed Image provider and documentor routine (fzaninotto)
  • Fixed IDE insights for methods (PedroTroller)
  • Fixed warning on test file when short tags are on (bateller)
  • Fixed Doctrine populator undefined index warning (dbojdo)
  • Fixed typo in NullGenerator (mhanson01)
  • Fixed Doctrine populator issue with one-to-one nullable relationship (jpetitcolas)
  • Fixed duplicated Payment example in readme (Garbee)
  • Added allow_failure for hhvm to travis-ci and test against php 5.5 (toin0u)

v1.3.0

16 Dec 22:09
Compare
Choose a tag to compare

New Features

  • Added unique() modifier
  • Added optional() modifier (weotch)
  • Added Image generation powered by LoremPixel (weotch)
  • Added IDE insights to allow better intellisense/phpStorm autocompletion (thallisphp)
  • Added IBAN generator for every currently known locale that uses it (nineinchnick)
  • Added Payment providers (creditCardType, creditCardNumber, creditCardExpirationDate, creditCardExpirationDateString) (pomaxa)
  • Added Color provider with hexColor, rgbColor, rgbColorAsArray, rgbCssColor, safeColorName, and colorName formatters (lsv)

New / Improved Locales

  • Added English (South Africa) (en_ZA) person, address, Internet and phone number providers (dmfaux)
  • Added Spanish (es_ES) Internet provider (eusonlito)
  • Added English Philippines (en_PH) address provider (kamote)
  • Added Brazilian (pt_BR) email provider data (KennedyTedesco)
  • Added Peruvian (es_PE) person, address, phone number, and company providers (cslucano)
  • Added Ukrainian (uk_UA) color provider (ruden)
  • Fixed Ukrainian (uk_UA) namespace and email translitteration (ruden)
  • Added Romanian (Moldova) (ro_MD) person, address, and phone number providers (AlexanderC)
  • Added Romanian (ro_RO) address and person providers (calina-c)
  • Added Polish (pl_PL) address provider, personal identity number and pesel number generator (nineinchnick)
  • Added Turkish (tr_TR) address provider, and improved internet provider (hasandz)
  • Added Greek (el_GR) person, address, and phone number providers (georgeharito)
  • Added Australian (en_AU) address, Internet, and phone number providers (rcuddy)
  • Added French (fr_FR) phone number formats (vchabot)
  • Added Japanese (ja_JP) person, address, Internet, phone number, and company providers (kumamidori)
  • Added Russian (ru_RU) color providers, driver license and passport number formats (pomaxa)
  • Added Latvian (lv_LV) person, address, Internet, and phone number providers (pomaxa)
  • Added Brazilian (pt_BR) Internet provider (vjnrv)
  • Added more Czech (cs_CZ) lastnames (petrkle)
  • Added Chinese Simplified (zh_CN) person, address, Internet, and phone number providers (tlikai)

Bug Fixes

  • Fixed state generator in Australian (en_AU) provider (sebklaus)
  • Fixed IDE insights for locale specific providers (ulrikjohansson)
  • Fixed integer values overflowing on signed INTEGER columns on Doctrine populator (Thinkscape)
  • Fixed spelling error in French (fr_FR) address provider (leihog)
  • Fixed Italian (it_IT) email provider (garak)
  • Fixed UK country code (pgscandeias)
  • Fixed missing timezone with dateTimeBetween (baldurrensch)
  • Fixed call to undefined method cardType in Payment (WMeldon)
  • Fixed Doctrine populator to use ObjectManager instead of EntityManagerInterface (mgiustiniani)
  • Fixed docblock for Provider\Base::unique() (pschultz)
  • Fixed Propel column number guesser to use signed range of values (gunnarlium)
  • Fixed phpDoc in Doctrine Entity populator (rogamoore)
  • Fixed typo in the Person provider documentation (jtreminio)
  • Fixed Russian (ru_RU) person format (alexshadow007)

Miscellaneous

  • Added improvements based on SensioLabsInsights analysis
  • Fixed Typos (pborelli)
  • Added support for associative arrays in randomElement (aRn0D)

v1.2.0

21 Oct 20:43
Compare
Choose a tag to compare

New Features

  • Added basic file provider (anroots)
  • Added Generation of valid SIREN & SIRET codes to French providers (alexsegura)
  • Added possibility to call methods on Doctrine entities, possibility to generate unique id (nenadalm)
  • Added uuid provider (goatherd)

New Locales

  • Added Armenian (hy_AM) provider (artash)
  • Added Brazilian Portuguese (pt_BR) provider (oliveiraev)
  • Added Danish (da_DK) providers (toin0u)
  • Added Dutch (nl_NL) provider (WouterJ)
  • Added en_CA address and phone numbers (cviebrock)
  • Added Finnish (fi_FI) provider (drodil)
  • Added icelandic provider (is_IS) (birkir)
  • Added more fake data to the Italian providers (EmanueleMinotto)
  • Added more fake data to ru_RU provider (rmrevin)
  • Added more fake data to the Ukraininan providers (lysenkobv)
  • Added new provider for fr_BE locale (jflefebvre)
  • Added nl_BE provider (wimvds)
  • Added Random Float provider (csanquer)
  • Added safe email domain provider (csanquer)
  • Added Spanish (es_ES) provider (ivannis)
  • Added Turkish (tr_TR) Provider (faridmovsumov)
  • Added Ukrainian (ua_UA) provider (rsvasilyev)

Bug Fixes

  • Fixed bug in Doctrine EntityPopulator (beberlei)
  • Fixed bug in Faker\ORM\Doctrine\Populator (mmf-amarcos)
  • Fixed composer.json (Seldaek)
  • Fixed Doctrine populator to allow for the population of entity data that has associations to other entities (afishnamedsquish)
  • Fixed encoding problems in nl_NL Address provider (Dynom)
  • Fixed executable bit in some PHP files (siwinski)
  • Fixed invalid UTF-8 sequence in domain provider with the Bulgarian provider (Dynom)
  • Fixed latitude provider (rumpl)
  • Fixed missing typehint in Base::__construct() (benja-M-1)
  • Fixed prefixes typos in 'pl_PL' Person provider (krymen)
  • Fixed safeEmail provider to be really safe (TimWolla)
  • Fixed spaces appearing in generated emails (alchy58)
  • Fixed the nl_NL Person provider (Dynom)
  • Fixed typo in README (benja-M-1)
  • Fixed unpredictability of fake data generated by Faker\Provider\Base::numberBetween() (goatherd)
  • Fixed use of fourth argument on Doctrine addEntity (ecentinela)
  • Fixed utf-8 bug with lowercase generators (toin0u)

Miscellaneous

  • Documented alternative randomNumber usage (Seldaek)
  • Cleaned up whitespaces (toin0u)
  • Removed all requires and added the autoload definition to composer (Dynom)
  • Updated locale provider to use a static locale list (spawn-guy)