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

Changelog History
Page 1

  • v6.0.0 Changes

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed memory leak on using Field.

    Optimizations:

    • Improved performance of _load_data().
  • v5.6.1 Changes

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed ValidationFailure for Internet().uri().

    โœ‚ Removed:

    • โœ‚ Removed support of port parameter in Internet().uri().

    ๐Ÿ”– Version 5.6.0

    โž• Added:

    • ๐Ÿ‘€ Multiplication support for schemas. Now you can use * on the schema to specify the number of iterations. See docs for more information.
    • Method dsn() for Development()
    • Method public_dns() for Internet()
  • v5.5.0 Changes

    ๐Ÿ›  Fixed:

    • Fixed infinite loop on using Datetime.bulk_create_datetimes().
    • ๐Ÿ›  Fixed some typing issues
  • v5.4.0 Changes

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed TypeError: 'Datetime' object is not callable error on using Field (See #1139 <https://github.com/lk-geimfari/mimesis/issues/1139>_).

    โž• 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