Faker v1.3.0 Release Notes
Release Date: 2013-12-16 // over 10 years ago-
๐ 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)