- Fix seeding with multiple locales. Thanks @johntmyers.
- Fix implicit Optional issues. Thanks @palfrey.
- Update the
word_list
forpl_PL
. Thanks @BeRT2me.
- Add color provider for
id_ID
. Thanks @rosdyana.
- Add banks for
en_IN
locale. Thanks @ChiragMangukia.
- Fix type variable inside the
ElementsType
. Thanks @nils-van-zuijlen.
- Remove test dependency on
random2
.
- Fix pyfloat causing ValueError. Thanks @confuzeus.
- Fix missing return in
en_US
state_abbr
. Thanks @AssenD.
- Fix ImportError on python <3.7.2. Thanks @matthewhughes934.
- Add enum provider. Thanks @NazarioJL.
- Add support for Python 3.10. Thanks @uri-rodberg.
- Drop support for Python 3.6. Thanks @uri-rodberg.
- Fix misspelled first name in
da_DK
locale. Thanks @filson1.
- Add support for prefix and suffix to
pystr
provider.Thanks @stefan6419846.
- Fix
uk_UA
postcode
generation. Thanks @ajinkyac03.
- Relax minimum version of
typing-extensions
. Thanks @stefan6419846.
- Add providers for
bn_BD
:address
,automotive
,bank
,color
,company
,currency
,date_time
,geo
,internet
,job
,person
,phone_number
andssn
. Thanks @saanpritom.
- Fix
Provider._parse_date_time
to support timestamps. Thanks @mochi-moshi.
- automotive: add
de_CH
license plates. Thanks @gsilvan.
- change license_formats
pt_BR
to match Mercosul. Thanks @augutoraminelli.
- Upgrade person, company, internet, currency providers for
tr_TR
. Thanks @keyiflerolsun.
- Fix
vat
and police id forel_GR
. Thanks @tplessas. - Add
tin
andssn
forel_GR
. Thanks @tplessas.
- Fix area codes for
fr_FR
phone numbers. Thanks @zerbusdetroy.
- Add support for ISO 8601 timestamp profiles. Thanks @tplessas.
- Correct RUT range in
es_CL
. Thanks @nstuardod.
- Add support for generating relative file paths. Thanks @Lukas0907.
- Fix firefox
ua
being nondeterministic with fixed seed. Thanks @jhbuhrman.
- Add
sq-AL
automotive provider. Thanks @zerogonal.
- Improve
it_IT
ssn provider to match real building rules. Thanks @DamienPirsy.
- Add part-of-speech functionality for
en_US
. Thanks @e-panourgia.
- Add
fr-FR
datetime provider. Thanks @zerogonal. - Add
no-NO
datetime provider. Thanks @zerogonal. - Add
zh-CN
datetime provider. Thanks @zerogonal.
- Add automotive provider for
fi_FI
,et_EE
,lt_LT
andvi_VN
. Thanks @zerogonal.
- Add
ar_BH
automotive provider. Thanks @zerogonal.
- Add Mexican CLABE bank code for
es_MX
locale. Thanks @edgarrmondragon.
- Add
it_IT
automotive provider. Thanks @Giorgionocera.
- Fix error in currency provider data. Thanks @zerogonal.
- Bump actions/cache from 2 to 3 (#1631). Thanks @dependabot[bot].
- Fix factory selection when Faker has been seeded.
- Bump actions/stale from 3 to 5 (#1629). Thanks @dependabot[bot].
- Bump actions/setup-python from 2 to 3 (#1626). Thanks @dependabot[bot].
- Add lorem provider for
fa-ir
language code. Thanks @arminshoughi.
- Add
bn_BD
Lorem Provider. Thanks @jabertuhin.
- Add lorem support for
de_DE
andde_AT
. Thanks @@Kalbra.
- Use
os.urandom
inbinary()
if unseeded. Thanks @AlmightyYakob.
- Arabic improvements for names. Thanks @alfawal.
- Fix postcode format for
es_ES
locale. Thanks @mondeja.
- Prevent "non-integer arguments to randrange()" warnings on Python 3.10. Thanks @jacksmith15.
- Fix
it_IT
ssn()
validity. Thanks @MarcoMatarazzo.
- Add cities to
de_CH
. Thanks @Kalbra.
- Set correct language on provider when specific locale is requested. Thanks @interDist.
- Remove empty string in Korean job list. Thanks @georgidimitrov-hs.
- Remove dependency from
text-unidecode
.
- Add geonames db of Italian cap-city-province and full match when generating full addresses. Thanks @FrancYescO.
- Add banks for
fa-ir
. Thanks @arminshoughi.
- Improve phone numbers for
it_IT
. Thanks @FrancYescO.
- Add providers for
az_AZ
locale. Thanks @sevdimali.
- Replace
lorempixel.com
service withpicsum.photos
inimage_url
provider. - Add
placeholder_url
argument toimage_url
.
- Deprecate positional
allowed_types
.
- Revert "deprecate positional
allowed_types
".
- deprecate positional
allowed_types
(#1573). Thanks @fcurella.
- Fix positional
value_types
.
- Shorten IBANs for
pl_PL
to 28 chars. Fix #1568 (#1569). Thanks @fcurella.
- Relax ElementsType to admit e.g. Sets. Thanks @OJFord.
- Fix
pydecimal
withleft_digits=0
not setting the left digit to 0. Thanks @ndrwkim.
- Add
es_CO
localized providers. Thank you @healarconr.
- Take into account area codes for French phone numbers. Thanks @nicarl.
- Add provider for French SSN. Thanks @nicarl.
- Add dynamic provider. Thanks @omri374.
- Improve randomness of
pydecimal
for different scenarios. Thanks @antonioIrizar.
- Limit
typing_extensions
dependency to Python < 3.8. Thanks @mgorny.
- Add
typing-extensions
as dependency and pinmypy
version. Thanks @nicarl.
- Add automotive provider for
nl_NL
. Thanks @MarcelRobeer.
- Add Typing. Thanks @MarcelRobeer, @nicarl.
- Change to secondary address format in
en_AU
locale to reflect the common usage. Thanks @deboraelkin2.
- Add
currency
,automotive
,company
andbank
providers forel_GR
. Thanks @nikosmichas.
- Add
color
anddate_time
provider forel_GR
. Thanks @nikosmichas.
- Add currency provider for
nl_NL
. Thanks @MarcelRobeer.
- Fix
pydecimal
returningmin_value
ormax_value
too frequently. Thanks @zivkovic.
- Change default email generator to use safe domain names. Thanks @errbufferoverfl.
- Add
date_time
provider fornl_NL
. Thanks @MarcelRobeer.
- Add
bg_BG
color provider. Thanks @iradonov.
- Fix bug in
pydecimal
when returning max/min. Thanks @wilbertom.
- Fix
pydecimal
precision. Thanks @joidegn.
- Add datetime provider for
bn_BD
. Thanks @jabertuhin.
- Change
fi_FI
Provinces to Regions. Thanks @LKajan.
uk_UA
address provider - fix streets and cities names, added regions. Thanks @o-vasyliev.
- Fix missing underscores in
mac_platform_token
. Thanks @iamkeyur.
- Remove period/fullstop from
en_GB
prefixes. Thanks @stephengruppetta.
- Add missing diacritics in
fr_FR
person
provider. Thanks @laowantong.
- Added non-geo numbers and services phones format for
pt_BR
. Thanks @leogregianin. - Add datetime formats in
pt_BR
. Thanks @leogregianin. - Add currency formats in
pt_BR
. Thanks @leogregianin.
- Add
nic_handle
. Thanks @pishchalnikov.
- Remove potentially offensive surname in
it_IT
. Thanks @lordgordon.
- Return list instead of tuple in
choices_distribution
. Thanks @svisser.
- Enable faker instances to be unpickled (#1480). Thanks @fcurella.
- Add
ar_AE
(UAE) phone numbers. Thanks @sshishov.
- Skip UnsupportedFeature's on the command line. Thanks @therefromhere.
- Add RIPE ID. Thanks @pishchalnikov.
- Avoid collision for
date
indatetime
provider. Thanks @mattshin.
- Fix
left_digits
ignored ifmin_value
is given. Thanks @OJFord.q
- Add
iana_id
, IANA Registrar ID. Thanks @pishchalnikov.
- Add tlds for
th_TH
internet provider. Thanks @bact.
- Add
aba()
method to generate ABA routing numbers. Thanks @mstellon.
- Fix deepcopy for Faker instances.
- Add
image
provider. Thanks @n1ngu.
- Add license plates and language names for
he_IL
locale. Thanks @AndreyRub.
- Add colors for
he_IL
. Thanks @AndreyRub.
- Add few more names in
en_IN
person provider. Thanks @Felix-Raj.
- Add
city_name()
and cities tosupport .city()
forth_TH
. Thanks @bact.
- Support distant past dates on Windows. Thanks @prescod.
- Fixes #1439: Cast Path to a string for
pkgutil.iter_modules
(#1441). Thanks @fcurella.
- Fix company suffix typo for
th_TH
. Thanks @bact.
- Remove
gmail.co.uk
fromen_GB
email Provider. Thanks @bact.
- Extend
pl_PL
Pesel To support greater range of dates. Thanks @IlfirinPL.
- Fix CLI only giving 10 possible outputs. Thanks @andrewdotn.
- Fix faker module loader to use strings rather than Paths. Thanks @mgorny.
- Make sure
pyfloat
fails when asked to produce more digits than the system supports. Thanks @rossjones.
- Ensure
pytuple
returns the correct number of items. Thanks @rossjones.
- Fix
ro_RO
phone numbers generation. Thanks @feketemihai.
- Set
uk_UA
address street titles to proper language. Thanks @fessua.
- Add
address
provider forro_RO
. Thanks @feketemihai.
- Fix a problem with
pyfloat
where it can returnsys.epsilon
whenright_digits=N
andpositive=True
. Thanks @tomage.
- Replace
es_MX
RFC
name initials when they are forbidden words. Thanks @briferz.
- Add
address
provider forde_CH
. Thanks @andre-dasilva.
user_agent
: bump platform versions. Thanks @gsilvan.
- Add
cs_CZ
lorem - word list. Thanks @jakubno.
- Add
sk_SK
automotive provider. Thanks @matusvalo.
- Add current_country, current_country_code and administrative_unit. Thanks @prescod.
- Add Taiwanese and Palestinian time zones. Thanks @prescod.
- Rename
fr_QC
tofr_CA
. Thanks @prescod.
- Fix
pyfloat
returning zeros whenpositive=True
. Thanks @sciencectn.
- Add currency names for
th_TH
. Thanks @bact.
- Add new currency provider
pricetag()
. Thanks @eumiro.
- Update
th_TH
Lorem text provider's punctuations, reduce size of word list (#1376). Thanks @bact.
- Synchronize
cs_CZ
andsk_SK
address provider and split postcodes (#1174). Thanks @eumiro.
- Enable parallel coveralls builds (#1382). Thanks @fcurella.
- Fix coveralls (#1374). Thanks @joke2k.
- Fix transliteration for
ru_RU
person
provider. Thanks @valestel.
- Add
address
,bank
,geo
andperson
provider foren_IE
. Thanks @NiL. - Add
person
provider forga_IE
. Thanks @NiL.
- Fix lorem provider
sentence
method.
- Add elements caching and other optimizations. Thanks @prescod.
- Add
use_weighting
parameter for improved performance. Thanks @prescod.
- Remove empty string from
ar_AA
Person Provider.
- Add
da_DK
address provider. Thanks @JoseNavy.
json
andfixed_width
now allow for strings to be fixed or pinned to a static value by prepending@
. Thanks @johnbrandborg.
- Add
en_IN
address + phone number provider. Thanks @pulkitgupta2k.
- Add
en_IN
person provider. Thanks @pulkitgupta2k.
- Remove invalid surname in
nl_NL
. Thanks @TheoSinnige.
th_TH
strftime
: normalize output for unsupported directive onmusl
-based Linux. Thanks @bact.
- Drop support for Python 3.5. Thanks @cclaus.
- Add support for Python 3.9. Thanks @cclaus.
- Add
date_time
andbank
providers forth_TH
. Thanks @bact.
- Correct spelling errors in city names for
de_DE
. Thanks @AnjaGer.
- Add name pairs to get matched representation in
ja_JP
person provider. Thanks @yu-ichiro.
- Add SSN, company name, address, and license plate providers for
th_TH
. Thanks @bact.
- Add postcode format, country names, person prefix weights, and update phone number format for
th_TH
. Thanks @bact.
- Fix generation of names ending with spaces. Thanks @edomora97.
- Add relative frequencies for japanese last names. Thanks @TianyiShi2001.
- Add Swiss bank provider locales. Thanks @mondeja.
- Split first names into male and female on
pt_PT
provider. Thanks @gplgps.
- Geo provider added for
tr_TR
locale. Thanks @iamnotagentleman.
- Add
sk_SK
Job provider. Thanks @pipozzz.
- Add
date_time
provider forpt_PT
. Thanks @gplgps.
- Add
.unique()
for unique values. Thanks @coiax.
- Add automotive provider for
tr_TR
. Thanks @molcay.
- Add province list and add 2 new district to
ne_NP
. Thanks @iamsauravsharma.
- Add Currency provider for
sv_SE
. Thanks @frangiz.
- Add
pt_PT
credit card provider. Thanks @rubenandre.
- Added Company Provider for
tr_TR
locale. Thanks @iamnotagentleman.
- Add job providers for
tr_TR
. Thanks @molcay.
- Implement color provider for
sk_SK
locale. Thanks @pipozzz.
- Fix
hu_HU
color provider inheritance. Thanks @n1ngu.
- Bigger zipcode ranges for VA, TX and MD in
en_US
. Thanks @Antetokounpo.
- Add new style
pt_PT
automotive plates. Thanks @gplgps.
- Remove duplicate jobs from the
pt_PT
provider (#1282). Thanks @gplgps.
- Use "Belarus" instead of "Vitryssland" for
sv_SE
. Thanks @Majsvaffla. - Added bank provider for
tr_TR
locale. Thanks @iamnotagentleman. - Improve VAT generation for IT provider. Thanks @LordGordonQ.
- Use non-zero number for first digit of Swedish postal codes. Thanks @Majsvaffla.
- Add
es_ES
autonomous communities (Spanish regions). Thanks @mondeja. - Add JSON and Fixed Width argument group and parser support. Thanks @johnbrandborg.
- Update
zh_CN
ssn provider to support gender. Thanks @mapoor. - Fix typo in
de_DE
job provider. Thanks @datadominik. or_IN
Odia person's name added. Thanks @soumendrak.- Remove
datetime_safe
shim subclass in favor of native Pythondatetime.datetime
. Thanks @samcrang.
- Extend Person Provider to support non-binary suffixes and prefixes. Thank you @crd.
- Add
safe_domain_name
generator. Thanks @crd. - Fix max_value/positive
pyfloat
interaction. Thanks @coiax. - Update
bban_format
forfi_FI
locale. Thanks @ALMP-SallaH. - Fix
person.ja_JP
kana and roman characters. Thanks @yameholo. - Add
json
andfixed_width
generators. Thank you @johnbrandborg. - Add SWIFT code provider methods:
swift
,swift8
andswift11
. Thanks @malefice. - Add
es_ES
internet provider. Thanks @mondeja. - Update
bban_format
forfr_FR
locale. Thanks @r3gis3r. - Update
fr_FR
job
provider. Thanks @mondeja. - Add
es_ES
barcode
provider. Thanks @mondeja. - Add parser argument support. Thanks @johnbrandborg.
- Add
date_time
providers forcs_CZ
,de_AT
,es_ES
,it_IT
,sk_SK
,tr_TR
. Thanks @eumiro. - Add prefix support to BarcodeProvider. Thanks @yu-ichiro.
- Fix company format for
hy_AM
provider. Thanks @mdantonio. - Add .uk email providers and TLDs for
en_GB
. Thanks @craiga. - Add
language_name
generator. Thanks @ikhomutov and @mondeja. - Add
pytimezone
generator returningtzinfo
objects. Thanks @OJFord. - Add
es_ES
currency provider. Thanks @mondeja.
- Add
pytest
plugin. Thanks @malefice. - Fix phone numbers for
es_ES
. Thanks @pablofm. - Fix
uuid
provider to return auuid4
object whencast_to
is set toNone
. Thanks @rodrigondec. - Update names for
es_ES
person provider. Thanks @mondeja. - Add provider for
sk_SK
birth_number
. Thanks @eumiro. - Add
day_of_week
andmonth_name
forde_DE
provider. Thanks @eumiro.
- Fixed
MSISDN
forpt_BR
to return only mobile numbers. Thanks @rodrigondec. - Added Domain Generator Algorithm by date. Thanks @pishchalnikov.
- Fixed issue where
pydict
provider was not returning the correct number of elements. Thanks @mstellon. - Added support for Indian Aadhaar numbers. Thanks @curiousElf.
- Added
company_vat
forit_IT
. Thanks @alitaker. - Improved autodocumentation of providers. Thanks @malefice.
- Added provider for
es_ES
license plates. Thanks @mondeja. - Implemented
__dir__
method to Faker proxy for better autocompletion. Thanks @douglasfarinelli. - Uppercased HEX colors for all localized color providers. Thanks @mondeja.
- Added bank provider for
es_ES
locale. Thanks @mondeja. - Added support for UK counties. Thanks @neilav.
- Added color provider for
no_NO
license plates. Thanks @bjorskog. - Made
value_types
a keyword argument inpython
provider. Thanks @slafs.
- Add more data for
ko_KR
address provider. Thanks @alstn2468. - Improved
pt_PT
locale for address and bank. Thanks @mustakarhu. - Add
port_number
method to internet provider. Thanks @pishchalnikov. - Add color provider for
fa_IR
locale. Thanks @abtinmo. - Add formatting options for
pt_BR
postcodes. Thanks @perssonsimon1 and @klaraesr. - Add
country_calling_code
tophone_number
provider. Thanks @perssonsimon1. - Fix leap year issue. Thanks @mmcmahon.
- Add
AutomotiveProvider
forfr_FR
locale. Thanks @clarissedescamps and @perssonsimon1. - Fix
cellphone_formats
inpt_BR
PhoneNumberProvider
. Thanks @rodrigondec.
-
Provider improvements for Russian locale:
- added city suffixes, regions and country list
- regions converted into states for now
- street address formats and states expanded
- lists for street titles changed
- Fixed errors in Automotive Provider
- Fixed errors in Address Provider
- Bank Provider expanded:
- BIC added)
- Added list of banks
- Improved Company Provider
- Credit Card and Person Provider improvements
- Currency Provider improvements
- Date-Time Provider improvements
- translit fix
Thanks @valestel.
-
Add Birth Number to czech locale. Thanks @Jengah.
-
Add persons provider for
fr_QC
. Thanks @Lionesk.
- Breaking change: Remove support for end-of-life Python 2.7.
NOTE: This is the last release to support Python 2.7.x.
- Add provider methods
zip
andtar
for generating zip and tar files. Thanks @malefice. - Add
en-CA
postcode_in_province()
method. Thanks @oeuftete. - Update Address and Automotive provider for Russian locale. Thanks @valestel.
- Add provider methods for dsv files:
csv
,tsv
,psv
and genericdsv
. Thanks @malefice. - Remove parenthesis from city name in
de_DE
address
provider. Thanks @jerr0328. - Add
NIP
generator inpl_PL
. Thanks @IlfirinPL. - Fix
Faker.random_number
intermittent exceptions. Thanks @Jengah.
- Breaking change: Add support for multiple locale data generation. Thanks @malefice.
- Add Iranian credit card. Thanks @abtinmo.
- Improve color provider. Thanks @malefice.
- Add counties (concelhos) for locale
pt_PT
. Thanks @tng10. - Change NY zipcode range. Thanks @arielkaluzhny.
- Fix pyfloat out of min/max range. Thanks @bryan-brancotte.
- Drop python 3.4.
- Fix master card number generator. Thanks @nkthanh98.
- Add provider for Finnish IBAN numbers. Thanks @sitomani.
- Add color in Thai language. Thanks @mesodiar.
- Split first names into male/female for
person/de_AT
. Thanks @Jayday. - Extend data for
de_AT
andit_IT
person providers. Thanks @Jayday. - Add
ta_IN
support. Thanks @jcopps. - Add
*_PH
locales. Thanks @malefice. - Add Thai lorem. Thanks @mesodiar.
- Add job in
ja_JP
. Thanks @shmokmt. - Optimize IPv4 address generation. Thanks @malefice.
- Increase bban_format length for
en_GB
. Thanks @Necrathex. - Fix occasional errors in ISBN provider. Thanks @malefice.
- Add more phone numbers to
fa_IR
locale. Thanks @abtinmo. - Add support for token-based string generation. Thanks @malefice.
- Improve barcode provider. Thanks @malefice.
- Fix for pyfloat empty randrange. Thanks @jcardali.
- Use the provider's RNG instead of the random module in
invalid_ssn
. Thanks @luser. - Fix
randomize_nb_elements
max
argument. Thanks @jorrit-wehelp. - Add
de_DE
jobs. Thanks @CodeAndChoke. - Add
pt_PT
automotive plates. Thanks @rubenandre. - Add
el_GR
jobs. Thanks @athaks. - Add police id for
el_GR
. Thanks @athaks. - Add jobs for for
pt_PT
. Thanks @rubenandre.
- Fix typos, misspellings. Add locations, names, dates in
hi_IN
providers. Thanks @kathawala. - Bump required version
text-unidecode
to 1.3. Thanks @moggers87. - Bug fix for
pyfloat
going overmax_value
. Thanks @fgs-dbudwin.
- Add nationalities for locale
pt_PT
. Thanks @tng10. - Add
ios()
andandroid()
touser_agent
provider. Thanks @gsilvan. - Update
zh_CN
provinces. Thanks @casen27.
- Breaking change: Only allow providers to use
OrderedDict
s, to avoid any morePYTHONHASHSEED
problems. Thanks @adamchainz.
- Rename
pyint
min
andmax
tomin_value
andmax_value
. Thanks @francoisfreitag. - Remove some validations from Faker and delegate it to an external library,
validators
. Thanks @kingbuzzman. - Add an "Invalid SSN" generator to the
en_US
SSN Provider. Thanks @darrylwhiting. - Include "Praia" as street_prefix in
pr_BR
address Provider. Thanks @G5Olivieri. - Loosen version restrictions on
freezegun
andrandom2
. Thanks @timokau. - Add SSN provider for
es_MX
. Thanks @mrfunnyshoes. - Add
pwz
generator forpl_PL
. Thanks @torm89. - Add
date_of_birth
andsex
argument topesel
Provider (pl_PL
). Thanks @torm89. - Fix datetime parsing on environments with negative offsets. Thanks @bluesheeptoken.
- Remove dead url from
image_placeholder_services
. Thanks @Monstrofil. - Fix missing
first_names
in Romanian person provider. Thanks @xlotlu. - Add Catalan, adds doi/nie/nif/cif to Spain ssn. Thanks @kingbuzzman.
- Add
texts
to generate list of texts. Thanks @pishchalnikov. - Add provider for
pl_PL
automotive and Polish pesel number. Thanks @adwojak. - Corrected behavior for
pyfloat
. Thanks @ariksu.
- Add missing commas to company/nl_NL provider. Thanks @francoisfreitag.
- Add bounds to
pyint
. Thanks @francoisfreitag. - Accept step argument in
random_int()
. Thanks @francoisfreitag.
- Add min and max values for
pyfloat
andpydecimal
. Thanks @Lrcezimbra. - Add
months
andM
to the syntax forstart_date
andend_date
. Thanks @anneclairebrld. - Add support for
PyInstaller
. Thanks @arossert. - Add Dutch company names. Thanks @MathynS.
- Fix some invalid French phone numbers starting with
+33 8x
. Thanks @stephane. - Add Armenian locale
hy_AM
. Thanks @hovikman.
1.0.4 - 12-March-2019 <https://github.com/joke2k/faker/compare/v1.0.3...v1.0.4>
_
- Fix erratic test.
- Fix
AttributeError
inuser_Agent
provider. Thanks @Mattwmaster58 for the report. - Update
zh_TW
person
provider. Thanks @TimeFinger. - Add street data & remove
street_prefixes
fromid_ID
address provider. Thanks @codenoid. - Fix parsing of timedeltas in
date_time
provider. Thanks @riconnon for the report. - Split name formats into
formats_male
andformats_female
forde_DE
provider. Thanks @petro-zdebskyi. - Pin
more-itertools
to a version compatible with Python 2.7. Thanks @canarduck. - Fix
fr_FR
postcodes_format
. Thanks @canarduck. - Fix hex code for
yellowgreen
color. Thanks @hovikman. - Add Brazilian RG (identity card). Thanks @davizucon.
- Allow overriding of random generator class.
- Fix state abbreviations for
id_ID
to be 2-letters. Thanks @dt-ap. - Fix format for
city_with_postcode
onde_DE
locale. Thanks @TZanke. - Update
person
providers forzh_CN
. Thanks @TimeFinger. - Implement
zipcode_in_state
and aliases inen_US
locale for generating a zipcode for a specified state. Thanks @mattyg. - Group first names by gender on
zh_CN
provider. Thanks @TimeFinger.
- Fix number of digits in
phone_number
provider forno_NO
. Thanks @aleksanb. - Add categories to
jp_JP
company provider. Thanks @shirakia. - Add trunk prefix for
ru_RU
phone numbers. thanks @pishchalnikov.
- Breaking change:
latlng
,latitude
andlongitude
no longer return coordinates that are close the locale's country. Use thelocal_latlng
,local_latitude
andlocal_longitude
instead. - Add
location_on_land
provider. Thanks @shacker.
- Add
cellphone_number
method forpt_BR
. Thanks @Newman101. - Fix urls generated by from
image_url
. Thanks @tsiaGeorge. - Add job provider for
th_TH
. Thanks @mesodiar. - Add phone number provider for
th_TH
. Thanks @zkan. - Add bank provider for
pl_PL
locale. Thanks @andrzej3393. - Add lorem provider for
pl_PL
locale. Thanks @andrzej3393. - Add Postcode and City format for
de_DE
provider. Thanks @Newman101. - Add
vat_id
tossn
providers forbg_BG
,cs_CZ
,de_AT
,de_CH
,de_de
,dk_DK
,el_CY
,el_GR
,en_GB
,en_IE
,es_ES
,et_EE
,fi_FI
,fr_CH
,fr_FR
,hr_HR
,hu_HU
,it_IT
,lb_LU
,lt_LT
,lv_LV
,mt_MT
,nl_BE
,nl_NL
,no_NO
,pl_PL
,pt_PT
,ro_RO
,sk_SK
,sl_SI
andsv_SE
. Thanks @mastacheata. - Add
postcode
andcity_with_postcode
forcs_CZ
. Thanks @Newman101. - Add
postcode
andcity_with_postcode
forde_AT
. Thanks @Newman101. - Add
license_plate
forru_RU
. Thanks @codaver. - Remove incorrect phone number formats from
en_US
. Thanks @stephenross. - Add job provider for
bs_BA
. Thanks @elahmo. - Add
hostname
provider. Thanks @ediblesushi. - Add license plates for
sv_SE
. Thanks @vilhelmmelkstam. - Allow
uuid4
to return aUUID
object. Thanks @ediblesushi.
- Add company names to
pl_PL
provider. Thanks @@twkrol. - Add replacements for non-ascii characters in
pt_BR
. Thanks @clarmso. - Add some more placeholder image services. Thanks @clarmso.
- Separate male name and female name formats in
cs_CZ
provider. Thanks @clarmso. - Add second level domains (mostly provinces) for
cn
top level domain. Thanks @clarmso. - Add
fr_FR
localization tolorem
provider. Thanks @tristandeborde. - Lots of work on internal cleanup and optimizing the CI. Thanks @jdufresne.
- Add
flake8
to the CI. Thanks @andrzej3393.
- Fix missing and misplaced comma's in many providers. Thanks @153957.
- Refactor IPv4 address generation to leverage
ipaddress
module. Thanks @maticomp. - An
en_NZ
provider for addresses, phone numbers and email addresses. Thanks @doctorlard. - Add
unique
argument towords()
for returning unique words. Thanks @micahstrube. - Allow US territories to be excluded from
state_abbr()
foren_US
provider. Thanks @micahstrube. - Add support for Python 3.7. Thanks @michael-k.
.random_sample()
now returns a list of unique elements instead of a set..random_sample_unique()
is removed in favor of.random_sample()
.- Added
random_choices()
,random_elements()
andrandom_letters()
. - Added
faker.utils.distribution.choices_distribution_unique()
. words()
,password()
,uri_path
andpystr()
now use the new therandom_choices()
method.
- Change blood group from
0
(zero) toO
(capital letter O). Some locales do use 'zero', butO
is more common and it is the medical standard. Thanks @mohi7solanki. - Fix alpha-2 country code for Haiti. Thanks @sevens-ef for the report.
- Fix abbreviation for Nunavut. Thanks @straz for the report.
- Standardized
postcode
in address providers. Now all locales are guaranteed to have apostcode
method and may have a localized alias for it (eg:zipcode
). Thanks @straz for the report. - Fix typo in
pt_BR
Person perovider. Thanks @Nichlas. - Fix timezone handling. Thanks @Fraterius.
- Use tzinfo when provided in
date_of_birth
. Thanks @Kelledin.
- Add
ein
,itin
and refactoredssn
Provider foren_US
. Thanks @crd. - Add
job
provider forzh_CN
. Thanks @ramwin. - Add
date_of_birth
provider. Thanks @cdr. - Add alpha-3 representation option for
country-code
provider. Thanks @cdr.
- Fix test for CPF (Brazilian SSN). Thanks Rubens Takiguti Ribeiro.
- Fix Canadian SIN generation. Thanks @crd.
- Fix Norwegian SSN date portion. Thanks @frangiz.
- Add
start_datetime
argument forunix_time()
. Thanks @crd.
- Change logging level to
DEBUG
.
- Add possibility to make artificial ssn numbers for
FI_fi
. Thanks @kivipe. - Update
ko_KR
person data based on statistics. Thanks @unace. - Improved logging. Thanks @confirmationbias616.
- Add
no_NO
bank provider. Thanks @cloveras. - Add
ipv4_network_class
,ipv4_private
,ipv4_public
providers. Thanks @ZuluPro. - Add
address_class
andprivate
arguments toipv4
provider. Thanks @ZuluPro. - Add
currency
,currency_name
,cryptocurrency
,cryptocurrency_code
andcryptocurrency_name
to currency provider. Thanks @ZuluPro. - Add automotive provider for
de_DE
. Thanks @gsilvan. - Fix edgecases for Finnish
ssn
provider. Thanks @sanga. - Add job provider for
pt_BR
. Thanks @paladini. - Add
unix_device
andunix_partition
tofile
provider. Thanks @ZuluPro. - Add
random_lowercase_letter
andrandom_uppercase_letter
to the base provider. Thanks @ZuluPro. - Clarify CLI help. Thanks @confirmationbias616.
- Fix issue with
cx_Freeze
. Thanks @sedominik. - Add dutch
nl_NL
bank provider. Thanks @PatSousa. - Add
distrito
andfreguesia
topt_PT
address
provider. Thanks @ZuluPro. - Fix unicode issues with the
person
provider. Thanks @karthikarul20. - Add
en_SG
person
provider. Thanks @karthikarul20. - Add street names to the Ukrainian address provider. Thanks @cadmi.
- Add
de_AT
address provider. Thanks @bessl. - Fix credit card prefixes. Thanks @jphalip.
- Fix capitalization in
no_NO
address provider. Thanks @cloveras. - Fix deprecated syntax for raw strings. Thanks @dchudz.
- Add
latitude
andlongitude
tode_AT
address
provider. Thanks @bessl. - Fix incorrect value in list of middle name for locale
ru_RU
. Thanks @damirazo.
- Add scheme selection for internet
url
provider. Thanks @ProvoK. - Increase lower bound on AD date generation. Thanks @prophile.
- Add the ability to specify the min and max age for some ssn locales. Thanks @frangiz.
--
- Pass
python_requires
argument tosetuptools
. Thanks @jdufresne. - Remove some words from
en_US
lorem ipsum provider. Thanks @Pomax.
- Remove support for Python 3.3. Thanks @jdufresne.
- Allow past dates within a second. Thanks @DanEEstar.
- Added phone number formatting to
en_GB
localisation to ensure no genuine phone numbers are generated. Thanks @TheSapper. - Added
en_GB
localisation for SSN (UK National Insurance Number). Thanks @TheSapper. - Added
ro_RO
person Provider. Thanks @vasilesmartup. - Added
domain
argument toemail
provider. Thanks @lcd1232.
- made
seed_instance
returnself
for chainability. - Add
en_US
locale forlorem
. Thanks @shacker. fi_FI
gender specific data added. Thanks @mikkhola.fi_FI
address and job lists updated. Thanks @mikkhola.- Add
iban
provider. Thanks @cdaller.
- Corrected some issues with the Hungarian (
hu_HU
) providers, such as incorrectly capitalized company suffixes, street/road type names and place names. Thanks @chrisvoncsefalvay. - The Hungarian locale's
providers.job.job
provider now returns Hungarian job names, taken from the Hungarian National Statistical Office (KSH)'s 2008 survey nomenclature of employment (FEOR '08). Thanks @chrisvoncsefalvay. - Added
he_IL
locale. Thanks @bjesus. - Fix possible infinite loop in
random_sample_unique
. Thanks @153957. - Add aliases to make
pt_BR
address provider compatiblewith en_US
. Thanks @diegoholiveira. - Fix ResourceWarning in
setup.py
. Thanks @jdufresne. - Update test requirements.
- Replace
unidecode
dependency in favor oftext-unidecode
. Faker now requires text-unidecode.
- Add ASCII emails. Thanks @barseghyanartur.
- Add
id_ID
Providers. Thanks Sidi Ahmad. - Fix
date_time.time_series()
to ensure start and end bounds are inclusive. Thanks @bijanvakili. - Create a provider to Brazilian license plates. Thanks @diegoholiveira.
- Use a proper international format for Ukrainian phone numbers. Thanks @illia-v.
- Faker now requires Unidecode.
- Move
email_validator
totest_requires
and unpinned the version number. - Date feature parity with datetime. Thanks @noirbizarre.
- Add
MSISDN
in thephone_number
provider. Thanks @patrickporto. - Add Arabic locales. Thanks @ahmedaljazzar.
- Fix datetime issue on Windows. Thanks @kungfu71186.
- Fix release build.
- Revert name change of
faker.generator.random
. Thanks @adamchainz. - Document the global shared
random.Random
andseed_instance()
. Thanks @adamchainz.
- Rolled back breaking change in
randomize_nb_elements
.
- Add
identity_card_number
forpl_PL
person
provider. Thanks @pdaw. - More descriptive error message when a formatter is not found. Thanks @fcurella.
- Add
time_series
provider. Thanks @fcurella. - Add per-instance seeding via
.seed_instance
method. Thanks @reverbc. - Fix
tz_TW
address
provider. Thanks @clarmso.
- Generate proper dates before 1970. Thanks @kungfu71186.
- Made it possible to seed
.binary()
. Thanks @kungfu71186. - Add color names for
hr_HR
. Thanks @mislavcimpersak. - Add implementation of
ssn
provider for thepl_PL
locale. Thanks @pdaw. - Add
pt_BR
colors localization. Thanks @ppcmiranda. - Create a method for codes of cryptocurrencies in the currency provider. Thanks @illia-v.
- Fix female name format typo in
hu_HU
person provider. Thanks @swilcox. - Fix deprecated usage of
print
statement in README. Thanks @cclauss. - Add gender-specific names for
sv_SE
person provider. Thanks @swilcox. - Add an implementation of
regon
forpl_PL
company provider. Thanks @pdaw. - Addi an implementation of
local_regon
forpl_PL
company provider. Thanks @pdaw. - Replace deprecated
getargspec
on py3. Thanks @fcurella. - Add new
automotive
provider. Thanks @zafarali. - Add an implementation of
company_vat
forpl_PL
company provider. Thanks @pdaw. - Add Taiwan/Traditional character support for internet and lorem providers. Thanks @bearnun.
- Use
random.choices
when available for better performance. Thanks @catleeball. - Refactor RGB color methods. Thanks @catleeball.
- Fix a timezone issue with the
date_time_between_dates
provider.
- fix timezone issues with
date_time_between
provider. - Add
ext_word_list
parameter to methods in theLorem
generator. Thanks @guinslym.
- fix start and end date for datetime provider methods.
- fix
future_date
, `andpast_date
bounds.
- Remove capitalisation from
hu_HU
addresses. Thanks @Newman101. - Add
et_EE
(Estonian) provider: names and ssn. Thanks @trtd. - Proper prefix for gender in
pl_PL
names. Thanks @zgoda. - Add DateTime provider for
pl_PL
. Thanks @zgoda. - Add
pl_PL
internet data provider. Thanks @zgoda. - Fix diacritics in
pl_PL
street names. Thanks @zgoda. - Add
future_date
,future_datetime
,past_date
andpast_datetime
to DateTime Provider
- Add Japanese lorem provider. Thanks @richmondwang.
- Add
hr_HR
names of month and names of days. Thanks @mislavcimpersak. - Add
sl_SI
names of month and names of days. Thanks @mislavcimpersak. - Update the provider
user_agent
. Thanks @illia-v. - Add russian words for date_time. Thanks @iskhomutov.
- Add Georgian (
ka_GE
) person and address providers. Thanks @GeorgeLubaretsi. - Add company provider to hu_HU locale. Thanks @Newman101.
- Allow subdomains for
domain_name
provider. Thanks @hiagofigueiro. - Implement hu_HU months + days. Thanks @Newman101.
- Replacement rules for emails à->a, è->e in
de_DE
internet provider. Thanks @Bergil32.
- Added french words for days and months. Thanks @sblondon.
- Reorganized tests. Thanks @grantbachman.
- Added file path provider. Thanks @diegommarino.
- Fixed packaging issue with tests module. Thanks @eukreign for the report.
--
- Add ISBN-10 and ISBN-13. Thanks @grantbachman.
- Add colors for
fr_FR
. Thanks @sblondon.
- Fix packaging issue. Thanks @jorti.
- Add a Russian language to color provider. Thanks @kotyara1005.
- Correct UnboundLocalError in Finnish SSN generator. Thanks @lamby.
- Create internet IT provider. Thanks @GlassGruber.
- Add
fix_len
parameter torandom_number
. Thanks @vlad-ki. - Support zh_CN lorem. Thanks @yihuang.
- Customize chinese word connector. Thanks @yihuang.
- Add more company data to
fa_IR
. Thanks @aminalaee. - Python 3.6 support. Thanks @stephane.
- Add
hu_HU
providers. Thanks @chrisvoncsefalvay. - Fix tests failures.
- Fix
no_NO
postcodes. Thanks @kdeldycke. - Fix
fa_IR
city generator. Thanks @kdeldycke.
- Fix packaging issue with
docs
directory. Thanks @wyattanderson.
- Deprecate
fake-factory
package on PyPI.
- Add Ukrainian
address
provider. Thanks @illia-v. - Add Ukrainian
internet
provider. Thanks @illia-v. - Middle name support for
person.ru_RU
provider. Thanks @zeal18. - Add
address
,company
,internet
andSSN
provider forru_RU
. Thanks @zeal18. - Improved
address.pl_PL
provider. Thanks @pkisztelinski. - Add date and time object providers. Thanks @jtojnar.
- Refactor Korean address methods. Thanks @item4.
- Add provider for locale
nl_BE
(address, phone, ssn). Thanks @vema. - Add additional job titles. Thanks @wontonst.
- Add Ukrainian color provider. Thanks @illia-v.
- Add support to brazilian company IDs (CNPJ). Thanks @lamenezes.
- Improve the Internet provider. Thanks@illia-v.
- Improve the Ukrainian person provider. Thanks @illia-v.
- Improve some SSN providers. Thanks @illia-v.
- Improve code samples in
README.rst
anddocs/index.rst
. Thanks @illia-v. - Improve the method
locale
. Thanks @illia-v. - Fix
pyfloat
. Thanks @illia-v. - Allow left/right_digits=0 for pyfloat. Thanks @mnalt.
- update fa_IR person names and phone numbers. Thanks @aminalaee.
date_time_this_century
now returnsdatetime
s outside the current decade. Thanks @JarUrb.- Add support for localized jobs for
hr_HR
. Thanks @mislavcimpersak. - Adding support for Croatian
hr_HR
ssn (oib). Thanks @mislavcimpersak. - Rename PyPI package to
Faker
.
- Dropped Python 2.6 support
- Add optional parameter
sex
toprofile
andsimple_profile
. Thanks @navyad. - Fix whitespace in dk_DK provider last_names/last_name. Thanks @iAndriy.
- Fix utf8 coding issue with
address/fi_FI
provider. Thanks @delneg. - ! Latest version to support Python 2.6
- Fix random_sample_unique. Thanks @cecedille1.
- Add more
pt_BR
names. Thanks @cuducos. - Added
en_GB
names. Thanks @jonny5532. - Add romanized internet provider for
zh_CN
. - Add
fr_CH
providers. Thanks @gfavre.
- Improve CLI output and help. Thanks @cbaines.
- Update
en_US
anmes to be more realistic. Thanks @dethpickle. - Modify pystr provider to accept a minimum number of characters. Thanks @tamarbuta.
- Add
job
Provider forzh_TW
. Thanks @weihanglo. - Modify
zh_TW
phone number for a more valid format. Thanks @weihanglo. - Reduce the maximum value of start timestamps. Thanks @cbaines.
- Add
random_sample
andrandom_sample_unique
. Thanks @bengolder.
- Repackage to resolve PyPI issue.
- Add date handling for datetime functions. Thanks @rpkilby.
- Discern male and female first names in pt_BR. Thanks @gabrielusvicente.
- Specify help text for command line. Thanks @cbaines.
- Expose Provider's random instance. Thank @gsingers for the suggestion.
- Make sure required characters are in the password. Thanks @craig552uk.
- Add
internet
andjob
Providers forfa_IR
. Thanks @hamidfzm. - Correct Poland phone numbers. Thanks @fizista.
- Fix brittly tests due to seconds elapsed in-between comparison
- Allow unicode in emails and domains. Thanks @zdelagrange for the report.
- Use
dateutil
for computing next_month. Thanks @mark-love, @rshk. - Fix tests module import. Thanks @jorti for the report.
- Handle unexpected length in
ean()
. Thanks @michaelcho. - Add internet provider for
ja_JP
. Thanks @massa142. - Add Romanized Japanese person name. Thanks @massa142.
- Add tzinfo support to datetime methods. Thanks @j0hnsmith.
- Add an 'office' file extensions category. Thanks @j0hnsmith.
- Generate name according to profile's sex. Thanks @Dutcho for the report.
- Add
bs_BA
phone number and internet provider. Thanks @elahmo. - Add a SSN provider for
zh_CN
. Thanks @felixonmars. - Differentiate male and female first names in
fr_FR
locale. Thanks @GregoryVds - Add Maestro credit card. Thanks @anthonylauzon.
- Add
hr_HR
localization. Thanks @mislavcimpersak. - Update
de_DE
first names. Thanks @WarrenFaith and @mschoebel. - Allow generation of IPv4 and IPv6 network address with valid CIDR. Thanks @kdeldycke.
- Unittest IPv4 and IPv6 address and network generation. Thanks @kdeldycke.
- Add a new provider to generate random binary blob. Thanks @kdeldycke.
- Check that randomly produced language codes are parseable as locale by the factory constructor. Thanks @kdeldycke.
- Fix chinese random language code. Thanks @kdeldycke.
- Remove duplicate words from Lorem provider. Thanks @jeffwidman.
- Added
company_vat
to companyfi_FI
provider. Thanks @kivipe. - Seed a Random instance instead of the module. Thanks Amy Hanlon.
- Fixed en_GB postcodes to be more realistic. Thanks @mapleoin for the report.
- Fixed support for Python 3 in the python provider. Thanks @derekjamescurtis.
- Fixed U.S. SSN generation. Thanks @jschaf.
- Use environment markers for wheels. Thanks @RonnyPfannschmidt
- Fixed Python3 issue in
pyiterable
andpystruct
providers. Thanks @derekjamescurtis. - Fixed
en_GB
postcodes to be more realistic. Thanks @mapleoin. - Fixed and improved performance of credit card number provider. Thanks @0x000.
- Added Brazilian SSN, aka CPF. Thanks @ericchaves.
- Added female and male names for
fa_IR
. Thanks @afshinrodgar. - Fixed issues with Decimal objects as input to geo_coordinate. Thanks @davy.
- Fixed bug for
center
set toNone
in geo_coordinate. Thanks @davy. - Fixed deprecated image URL placeholder services.
- Fixed provider's example formatting in documentation.
- Added en_AU provider. Thanks @xfxf.
- Added
uuid4
tomisc
provider. Thanks Jared Culp. - Fixed
jcb15
andjcb16
incredit_card
provider. Thanks Rodrigo Braz. - Fixed CVV and CID code generation in
credit_card
provider. Thanks Kevin Stone. - Added
--include
flag to command line tool. Thanks Flavio Curella. - Added
country_code
to `address`` provider. Thanks @elad101 and Tobin Brown.
- Fixed egg installation. Thanks David R. MacIver, @kecaps
- Updated person names for
ru_RU
. Thanks @mousebaiker. - Updated ko_KR locale. Thanks Lee Yeonjae.
- Fixed installation to install importlib on Python 2.6. Thanks Guillaume Thomas.
- Improved tests. Thanks Aarni Koskela, @kecaps, @kaushal.
- Made Person
prefixes
/suffixes
always return strings. Thanks Aarni Koskela. pl_PL
jobs added. Thanks Dariusz Choruży.- Added
ja_JP
provider. Thanks Tatsuji Tsuchiya, Masato Ohba. - Localized remaining providers for consistency. Thanks Flavio Curella.
- List of providers in compiled on runtime and is not hardcoded anymore. Thanks Flavio Curella.
- Fixed State names in
en_US
. Thanks Greg Meece. - Added
time_delta
method todate_time
provider. Thanks Tobin Brown. - Added filename and file extension methods to
file
provider. Thanks Tobin Brown. - Added Finnish ssn (HETU) provider. Thanks @kivipe.
- Fixed person names for
pl_PL
. Thanks Marek Bleschke. - Added
sv_SE
locale providers. Thanks Tome Cvitan. pt_BR
Provider: Addedcatch_phrase
to Company provider and fixed names in Person Provider. Thanks Marcelo Fonseca Tambalo.- Added
sk_SK
localized providers. Thanks @viktormaruna. - Removed
miscelleneous
provider. It is superseded by themisc
provider.
- Localized providers
- Updated
ko_KR
provider. Thanks Lee Yeonjae. - Added
pt_PT
provider. Thanks João Delgado. - Fixed mispellings for
en_US
company provider. Thanks Greg Meece. - Added currency provider. Thanks Wiktor Ślęczka
- Ensure choice_distribution always uses floats. Thanks Katy Lavallee.
- Added
uk_UA
provider. Thanks Cyril Tarasenko. - Fixed encoding issues with README, CHANGELOG and setup.py. Thanks Sven-Hendrik Haase.
- Added Turkish person names and phone number patterns. Thanks Murat Çorlu.
- Added
ne_NP
provider. Thanks Sudip Kafle. - Added provider for Austrian
de_AT
. Thanks Bernhard Essl.
- Fixed setup
- Added MAC address provider. Thanks Sébastien Béal.
- Added
lt_LT
andlv_LV
localized providers. Thanks Edgar Gavrik. - Added
nl_NL
localized providers. Thanks @LolkeAB, @mdxs. - Added
bg_BG
localized providers. Thanks Bret B. - Added
sl_SI
. Thanks to @janezkranjc - Added distribution feature. Thanks to @fcurella
- Relative date time. Thanks to @soobrosa
- Fixed
date_time_ad
on 32bit Linux. Thanks @mdxs. - Fixed
domain_word
to output slugified strings.
- Modified en_US
person.py
to output female and male names. Thanks Adrian Klaver. - Added SSN provider for
en_US
anden_CA
. Thanks Scott (@milliquet). - Added
hi_IN
localized provider. Thanks Pratik Kabra. - Refactoring of command line
- New provider: Credit card generator
- Improved Documentor
- FIX setup.py
- PEP8 style conversion (old camelCased methods are deprecated!)
- New language:
pt_BR
(thanks to @rvnovaes) - all localized provider now uses
from __future__ import unicode_literals
- documentor prints localized provider after all defaults
- FIX tests for python 2.6
- New providers:
Python
,File
- Providers imported with
__import__
- Module is runnable with
python -m faker [name] [*args]
- Rewrite fake generator system (allow autocompletation)
- New language: French
- Rewrite module
__main__
and new Documentor class
- First release