Mimesis v5.3.0 Release Notes
-
โ Added:
- Added method
to_pickle()
,to_json()
andto_csv()
forschema.Schema
.
Optimizations:
- ๐ Significantly improved performance of
shortcuts.romanize()
- โฌ๏ธ Use
random.choices()
to generate random strings instead ofrandom.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()
, andAddress.coordinates()
when passingdms=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 thecalver
andpre_release
flags together. - ๐ Providers now have an isolated
random
instance when using a seed ofNone
.
- Added method