Skip to content

Version 5.3.0

Compare
Choose a tag to compare
@lk-geimfari lk-geimfari released this 25 Jan 20:44
· 486 commits to master since this release
v5.3.0
9c8c0d2

Added:

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 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(), and Address.coordinates() when passing dms=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 the calver and pre_release flags together.
  • Providers now have an isolated random instance when using a seed of None.