Mimesis v5.3.0 Release Notes

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