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
Fieldfor generating data by schema - Added new module
typing.pyfor custom types - Added new module
enums.pyand support of enums in arguments of methods - Added
category_of_websiteandporttoInternetdata provider - Added
mnemonic_codeforCryptographydata provider - Added
price_in_btcandcurrency_symboltoBusinessdata provider - Added
dna,rnaandatomic_numbertoSciencedata provider - Added
vehicle_registration_codetoTransportdata provider - Added
schoicemethod forRandom - Added alias
last_nameforsurnameinPersonaldata provider - Added alias
province,region,federal_subjectforstateinAddressdata 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
primesinNumbersdata 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,paypalandbitcointoPaymentfromPersonal - Moved
custom_codetoutils.pyfromproviders.code.Code - Removed some useless methods
- Removed module
constants, in view of adding more convenient and useful moduleenums - Removed non informative custom exception
WrongArgumentand replaced one withKeyErrorandNonEnumerableError - Parameter
categoryof methodhashtagsis deprecated and was removed - Removed all methods from
UnitSystemand 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_isotocountry_iso_codeinAddressdata provider - Renamed
currency_isotocurrency_iso_codein Businessdata provider