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 speedup, 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). - Fix reseeding of the random generator of
Generic. This was a regression in v5.1.0. (See #1150). Development.version()now supports use of both thecalverandpre_releaseflags together.- Providers now have an isolated
randominstance when using a seed ofNone.