Changelog History
Page 3
-
v2.1.0 Changes
June 17, 2018โ Added:
- โ Added a list of all supported locales as
mimesis/locales.py
โก๏ธ Updated:
- ๐ Changed how
Internet
provider works withstock_image
- ๐ Changed how
random
module works, now exposing globalRandom
instance - โก๏ธ Updated dependencies
- โก๏ธ Updated
choice
to make it a provider with more output types
๐ Fixed:
- Prevents
ROMANIZED_DICT
from mutating - ๐ Fixed
appveyour
builds - ๐ Fixed
flake8-builtins
checks - ๐ Fixed some
mypy
issues with strict mode - ๐ Fixed number of elements returned by
choice
withunique=True
- โ Added a list of all supported locales as
-
v2.0.1 Changes
April 01, 2018โ Removed:
- Removed internal function
utils.locale_info
which duplicateutils.setup_locale
- Removed internal function
-
v2.0.0 Changes
February 09, 2018๐ .. note:: This release (2.0.0) contains some breaking changes and this means that you should update names of classes and methods in your code.
โ Added:
- โ Added items
IOC
andFIFA
for enum objectCountryCode
- โ Added support of custom providers for
schema.Field
- โ Added support of parameter
dms
forcoordinates, longitude, latitude
โ Added method
Text.rgb_color
โ Added support of parameter
safe
for methodText.hex_color
Added an alias
zip_code
forAddress.postal_code
Optimizations:
- ๐ Significantly improved performance of
schema.Field
- Other minor improvements
โก๏ธ Updated/Renamed:
- โก๏ธ Updated method
integers
- ๐ Renamed provider
Personal
toPerson
- ๐ Renamed provider
Structured
toStructure
- ๐ Renamed provider
ClothingSizes
toClothing
- ๐ Renamed json file
personal.json
toperson.json
for all locales - Renamed
country_iso_code
tocountry_code
inAddress
data provider
- โ Added items
-
v2.0.o
February 09, 2018 -
v1.0.5 Changes
January 19, 2018๐ Version 1.0.5
โ Added :
- โ Added method
RussiaSpecProvider.inn
๐ Fixed :
- ๐ Fixed issue with seed for
providers.Cryptographic.bytes
- ๐ Fixed issue #375
Optimizations :
- โก๏ธ Optimized method
Text.hex_color
- โก๏ธ Optimized method
Address.coordinates
- โก๏ธ Optimized method
Internet.ip_v6
โ Tests :
- โ Grouped tests in classes
- โ Added tests for seeded data providers
- Other minor optimizations and improvements
- โ Added method
-
v1.0.4 Changes
โ Added:
- โ Added function for multiple choice
helpers.Random.multiple_choice
๐ Fixed:
- ๐ Fixed issue with
seed
#325 <https://github.com/lk-geimfari/mimesis/issues/325>
__
Optimizations:
- โก๏ธ Optimized method
username()
- โ Added function for multiple choice
-
v1.0.3 Changes
๐ Mover/Removed:
- ๐ Moved
custom_code
tohelpers.Random
Optimizations:
- โก๏ธ Optimized function
custom_code
and it works faster by โ 50% - Other minor optimizations in data providers
- ๐ Moved
-
v1.0.2 Changes
โ Added:
- โ Added method
ethereum_address
forPayment
- Added method
get_current_locale
forBaseProvider
- โ Added method
boolean
forDevelopment
which returns random boolean value - โ Added method
integers
forNumbers
- โ Added new built in specific provider
UkraineSpecProvider
- โ Added support of
key functions
for the objectschema.Field
- โ Added object
schema.Schema
which helps generate data by schema
๐ Fixed:
- ๐ Fixed issue
full_name
when method return female surname for male name and vice versa - ๐ Fixed bug with improper handling of attributes that begin with an underscore for class
schema.Field
โก๏ธ Updated:
- ๐ Updated method
version
for supporting pre-releases and calendar versioning - Renamed methods
international
,european
andcustom
tointernational_size
,european_size
andcustom_size
- โ Added method
-
v1.0.1 Changes
โก๏ธ Updated:
- ๐ Fixed #304
-
v1.0.0 Changes
This is a first major version of
mimesis
and here are breaking ๐ changes (including changes related to support for only the latest ๐ versions ofPython
, i.ePython 3.5
andPython 3.6
), so there is no backwards compatibility with early versions of this library.โ Added:
- โ Added
Field
for generating data by schema - โ Added new module
typing.py
for custom types - โ Added new module
enums.py
and support of enums in arguments of methods - Added
category_of_website
andport
toInternet
data provider - โ Added
mnemonic_phrase
forCryptography
data provider - Added
price_in_btc
andcurrency_symbol
toBusiness
data provider - โ Added
dna
,rna
andatomic_number
toScience
data provider - Added
vehicle_registration_code
toTransport
data provider - โ Added
generate_string
method forRandom
- โ Added alias
last_name
forsurname
inPersonal
data provider - โ Added alias
province
,region
,federal_subject
forstate
inAddress
data provider - โ Added annotations for all methods and functions for supporting type hints
- โ Added new data provider
Payment
- Added new methods to
Payment
:credit_card_network
,credit_card_owner
๐ Fixed:
- ๐ Fixed issue with
primes
inNumbers
data provider - ๐ Fixed issue with repeated output on using
Code().custom code
- Other minor fix and improvements
๐ Mover/Removed:
Moved
credit_card
,credit_card_expiration_date
,cid
,cvv
,paypal
andbitcoin
toPayment
fromPersonal
๐ Moved
custom_code
toutils.py
fromproviders.code.Code
โ Removed some useless methods
โ Removed module
constants
, in view of adding more convenient and useful moduleenums
โ Removed non informative custom exception
WrongArgument
and replaced one withKeyError
andNonEnumerableError
๐ Parameter
category
of methodhashtags
is deprecated and was removedโ Removed all methods from
UnitSystem
and replaced ones withunit()
.
โก๏ธ Updated/Renamed:
- โก๏ธ Updated data for
de-at
,en
,fr
,pl
,pt-br
,pt
,ru
,uk
- โก๏ธ Other minor updates in other languages
- Renamed
currency_iso
tocurrency_iso_code
in Business
data provider
- โ Added