Releases: lk-geimfari/mimesis
Version 2.1.0
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
Fixed:
- Prevents
ROMANIZED_DICT
from mutating - Fixed
appveyour
builds - Fixed
flake8-builtins
checks - Fixed some
mypy
issues with strict mode
Version 2.0.1
Removed:
- Removed internal function
utils.locale_info
which duplicateutils.setup_locale
Latest version
Version 2.0.0
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
toClothingSize
- Renamed json file
personal.json
toperson.json
for all locales - Renamed
country_iso_code
tocountry_code
inAddress
data provider
Latest release
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
Version 1.0.4
Added:
- Added function for multiple choice
helpers.Random.multiple_choice
Fixed:
- Fixed issue with
seed
#325
Optimizations:
- Optimized method
username()
Version 1.0.3
Fixed:
- Fixed issue with
seed
#325
Mover/Removed:
- Moved
custom_code
tohelpers.Random
Optimizations:
- Optimized
custom_code
and it works faster by ≈50% - Other minor optimizations in data providers
Latest release
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
Latest release
- Fixed #304
Previous release
Version 1.0.0
This is a first major version of mimesis
and here are breaking changes (including changes related to support for only the latest versions of Python
, i.e Python 3.5
and Python 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_code
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
schoice
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
,bitcoin_addres
(previouslybitcoin
),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
country_iso
tocountry_iso_code
inAddress
data provider - Renamed
currency_iso
tocurrency_iso_code
in Business
data provider
Last stable release.
- Corrected data for
fr
andde
. - Refactoring in
Schema()
- Updated data in
int
. - Fix and other minor improvements.