All Versions
27
Latest Version
Avg Release Cycle
63 days
Latest Release
-

Changelog History
Page 1

  • v5.4.0 Changes

    Added:

    • ➕ Added items Algorithm.BLAKE2B and Algorithm.BLAKE2S.

    Removed:

    • ✂ Removed deprecated method image_placeholder() from Internet()
  • v5.3.0 Changes

    Added:

    • Added method to_pickle(), to_json() and to_csv() for schema.Schema.

    Optimizations:

    • 🐎 Significantly improved performance of shortcuts.romanize()
    • ⬆️ Use random.choices() to generate random strings instead of random.choice() for selecting individual characters. This can lead to a significant speed up, but will also change the reproducibility of values when upgrading to this version as the two methods use different algorithms.
    • ⚡️ Optimized Address.latitude(), Address.longitude(), and Address.coordinates() when passing dms=True.
    • ⚡️ Optimized Development.version().

    🛠 Fixed:

    • 👀 Fix duplication of parameter name on using Internet.query_parameter() (See #1177 <https://github.com/lk-geimfari/mimesis/issues/1177>_).
    • 🛠 Fix reseeding of the random generator of Generic. This was a regression in v5.1.0. (See #1150 <https://github.com/lk-geimfari/mimesis/issues/1150>_).
    • 🚀 Development.version() now supports use of both the calver and pre_release flags together.
    • 👀 Providers now have an isolated random instance when using a seed of None.
  • v5.2.1 Changes

    Removed:

    • ✂ Removed all params of mnemonic_phrase()
  • v5.1.1 Changes

    Added:

    • ➕ Added parameter region for Datetime().timezone() and enum object enums.TimezoneRegion
  • v5.1.0 Changes

    🛠 Fixed:

    • 🛠 Fix mechanism of reseeding of the internal providers of Generic (See #1115 <https://github.com/lk-geimfari/mimesis/issues/1115>_).

    Removed:

    • ✂ Removed inappropriate words from mimesis.data.int.USERNAMES.
  • v5.0.0 Changes

    Warning: This release contains some breaking changes in API.

    Python compatibility:

    👍 Mimesis 5.0 supports Python 3.8, 3.9, and 3.10.

    👍 The Mimesis 4.1.3 is the last to support Python 3.6 and 3.7.

    Reworked:

    • A method Person().username(), now it accepts a parameters mask and drange.

    📇 Renamed:

    • 📇 Renamed enums.UnitName to enums.MeasureUnit
    • 📇 Renamed enums.PrefixSign to enums.MetricPrefixSign
    • 📇 Renamed Business() to Finance()
    • Renamed BaseDataProvider.pull to BaseDataProvider._load_datafile
    • 📇 Renamed mimesis.providers.numbers.Numbers to mimesis.providers.numeric.Numeric
    • 📇 Renamed fmt argument of Address().country_code() to code

    🛠 Fixed:

    • 🛠 Fix inheritance issues for Generic, now it inherits BaseProvider instead of BaseDataProvider
    • 🛠 Fix locale-independent provider to make them accepts keyword-only arguments
    • 🛠 Fix DenmarkSpecProvider CPR to generate valid CPR numbers.
    • 🛠 Fix .cvv() to make it return string
    • 🛠 Fix .cid() to make it return string
    • 🛠 Fix .price() of Finance to make it return float.

    Added:

    • ➕ Added method hostname() for Internet data provider
    • Added support of **kwargs for a method add_provider of Generic() provider
    • ➕ Added enum Locale to mimesis.enums and mimesis.locales
    • Added measure_unit and metric_prefix methods for the Science provider.
    • ➕ Added .iterator() for schema.Schema
    • Added methods .slug() and ip_v4_with_port() for Internet()
    • ➕ Added increment() method for Numbers()
    • Added methods .stock_ticker(), .stock_name() and .stock_exchange() for Finance()
    • ➕ Added BinaryFile data provider which provides binary data files, such as .mp3, .mp4, .png, etc.

    Removed:

    • ✂ Removed module decorators. Use shortcuts.romanize to romanize Cyrillic strings.
    • 0️⃣ Removed as_object parameter for .uuid(). Now it returns string by default, if you need uuid4 object then use .uuid_object()
    • ✂ Removed invalid names and surnames from person.json for ru locale
    • ✂ Removed data provider UnitSystem(), use Science() instead
    • ✂ Removed data provider Structure(), use schema.Schema instead
    • ✂ Removed builtin provider GermanySpecProvider
    • ✂ Removed data provider Clothing, use Numbers instead
    • ✂ Removed method copyright() of Finance()
    • ✂ Removed method network_protocol() of Internet()
    • Removed params with_port and port_range for ip_v4() of Internet(). Use ip_v4_with_port() instead.
    • Removed methods sexual_orientation, social_media_profile and avatar of the Person() provider.
    • ✂ Removed a bunch of useless custom exceptions and replaced them with FieldError.
    • Removed completely useless chemical_element and atomic_number methods of Science data provider and made it locale-independent.
  • v4.1.3 Changes

    Added:

    • ➕ Added py.typed file to the package
    • ➕ Added Python 3.9 support
  • v4.1.2 Changes

    August 29, 2020

    🛠 Fix:

    • 🛠 Fixed type hint issue for schema.Schema (#928 <https://github.com/lk-geimfari/mimesis/issues/928>_)
  • v4.1.1 Changes

    August 16, 2020

    🔖 Version 4.1.1

    🛠 Fix :

    • 🛠 Fixed issue with non-unique uuid

    🔖 Version 4.1.0

    Added :

    • ➕ Added method manufacturer() for class Transport()
    • ➕ Added sk (Slovak) locale support
    • ➕ Added new parameter unique for method Person().email()
    • ➕ Added new parameter as_object for method Cryptographic().uuid()

    ⚡️ Updated :

    • ⚡️ Update parameter end for some methods of provider Datetime() (Fix #870)
    • ⚡️ Update .price() to make it supported locales (Fix #875)

    📇 Rename :

    • 📇 Renamed decorators.romanized to decorators.romanize
    • 📇 Renamed Random.schoice to Random.generate_string
    • 📇 Renamed BaseDataProvider.pull to BaseDataProvider._pull

    Removed :

    • ✂ Removed the deprecated download_image() function from the shortcuts module, use your own custom downloader instead.
    • ✂ Removed parameter version for method Cryptographic().uuid()
  • v4.1.0 Changes

    Added:

    • ➕ Added method manufacturer() for class Transport()
    • ➕ Added sk (Slovak) locale support
    • ➕ Added new parameter unique for method Person().email()
    • ➕ Added new parameter as_object for method Cryptographic().uuid()

    ⚡️ Updated:

    • ⚡️ Updated parameter end for some methods of provider Datetime() (Fix #870)
    • ⚡️ Updated .price() to make it supported locales (Fix #875)

    📇 Rename:

    • 📇 Renamed decorators.romanized to decorators.romanize
    • 📇 Renamed Random.schoice to Random.generate_string
    • 📇 Renamed BaseDataProvider.pull to BaseDataProvider._pull

    Removed:

    • ✂ Removed the deprecated download_image() function from the shortcuts module, use your own custom downloader instead.
    • ✂ Removed parameter version for method Cryptographic().uuid()