Mimesis

Latest version: v16.0.0

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

6.0.0

-------------

**Fixed**:

- Fixed memory leak on using ``Field``.

**Optimizations**:

- Improved performance of ``_load_data()``.

5.6.1

-------------

**Fixed**:

- Fixed ``ValidationFailure`` for ``Internet().uri()``.

**Removed**:

- Removed support of ``port`` parameter in ``Internet().uri()``.

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()``

5.5.0

-------------

**Fixed**:

- Fixed infinite loop on using ``Datetime.bulk_create_datetimes()``.
- Fixed some typing issues

5.4.0

-------------

**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()``

5.3.0

-------------

**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``.

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.