Skip to content

Releases: lk-geimfari/mimesis

Version 2.1.0

17 Jun 21:03
89cf626
Compare
Choose a tag to compare

Added:

  • Added a list of all supported locales as mimesis/locales.py

Updated:

  • Changed how Internet provider works with stock_image
  • Changed how random module works, now exposing global Random 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

01 Apr 10:30
Compare
Choose a tag to compare

Removed:

  • Removed internal function utils.locale_info which duplicate utils.setup_locale

Latest version

09 Feb 12:25
Compare
Choose a tag to compare

Version 2.0.0

Added:

  • Added items IOC and FIFA for enum object CountryCode

  • Added support of custom providers for schema.Field

  • Added support of parameter dms for coordinates, longitude, latitude

  • Added method Text.rgb_color

  • Added support of parameter safe for method Text.hex_color

  • Added an alias zip_code for Address.postal_code

Optimizations:

  • Significantly improved performance of schema.Field
  • Other minor improvements

Updated/Renamed:

  • Updated method integers
  • Renamed provider Personal to Person
  • Renamed provider Structured to Structure
  • Renamed provider ClothingSizes to ClothingSize
  • Renamed json file personal.json to person.json for all locales
  • Renamed country_iso_code to country_code in Address data provider

Latest release

19 Jan 02:13
Compare
Choose a tag to compare

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

04 Jan 06:30
Compare
Choose a tag to compare

Added:

  • Added function for multiple choice helpers.Random.multiple_choice

Fixed:

  • Fixed issue with seed #325

Optimizations:

  • Optimized method username()

Version 1.0.3

20 Dec 18:17
Compare
Choose a tag to compare

Fixed:

  • Fixed issue with seed #325

Mover/Removed:

  • Moved custom_code to helpers.Random

Optimizations:

  • Optimized custom_code and it works faster by ≈50%
  • Other minor optimizations in data providers

Latest release

16 Dec 06:00
Compare
Choose a tag to compare

Added:

  • Added method ethereum_address for Payment
  • Added method get_current_locale for BaseProvider
  • Added method boolean for Development which returns random boolean value
  • Added method integers for Numbers
  • Added new built in specific provider UkraineSpecProvider
  • Added support of key functions for the object schema.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 and custom to international_size, european_size and custom_size

Latest release

04 Dec 13:33
Compare
Choose a tag to compare

Previous release

03 Dec 18:33
7a6e168
Compare
Choose a tag to compare

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 and port to Internet data provider
  • Added mnemonic_code for Cryptography data provider
  • Added price_in_btc and currency_symbol to Business data provider
  • Added dna, rna and atomic_number to Science data provider
  • Added vehicle_registration_code to Transport data provider
  • Added schoice method for Random
  • Added alias last_name for surname in Personal data provider
  • Added alias province, region, federal_subject for state in Address 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 (previously bitcoin), credit_card_owner

Fixed:

  • Fixed issue with primes in Numbers 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 and bitcoin to Payment from Personal
  • Moved custom_code to utils.py from providers.code.Code
  • Removed some useless methods
  • Removed module constants, in view of adding more convenient and useful module enums
  • Removed non informative custom exception WrongArgument and replaced one with KeyError and NonEnumerableError
  • Parameter category of method hashtags is deprecated and was removed
  • Removed all methods from UnitSystem and replaced ones with unit().

Updated/Renamed:

  • Updated data for de-at, en, fr, pl, pt-br, pt, ru, uk
  • Other minor updates in other languages
  • Renamed country_iso to country_iso_code in Address data provider
  • Renamed currency_iso to currency_iso_code in Business data provider

Last stable release.

05 Oct 10:40
Compare
Choose a tag to compare
  • Corrected data for fr and de.
  • Refactoring in Schema()
  • Updated data in int.
  • Fix and other minor improvements.