All Versions
30
Latest Version
Avg Release Cycle
63 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v6.0.0 Changes
๐ Fixed:
- ๐ Fixed memory leak on using
Field
.
Optimizations:
- Improved performance of
_load_data()
.
- ๐ Fixed memory leak on using
-
v5.6.1 Changes
๐ Fixed:
- ๐ Fixed
ValidationFailure
forInternet().uri()
.
โ Removed:
- โ Removed support of
port
parameter inInternet().uri()
.
๐ Version 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()
forDevelopment()
- Method
public_dns()
forInternet()
- ๐ Fixed
-
v5.5.0 Changes
๐ Fixed:
- Fixed infinite loop on using
Datetime.bulk_create_datetimes()
. - ๐ Fixed some typing issues
- Fixed infinite loop on using
-
v5.4.0 Changes
๐ 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
andAlgorithm.BLAKE2S
.
โ Removed:
- โ Removed deprecated method
image_placeholder()
fromInternet()
- ๐ Fixed TypeError: 'Datetime' object is not callable error on using
-
v5.3.0 Changes
โ 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
-
v5.2.1 Changes
โ Removed:
- โ Removed all params of
mnemonic_phrase()
- โ Removed all params of
-
v5.1.1 Changes
โ Added:
- โ Added parameter
region
forDatetime().timezone()
and enum objectenums.TimezoneRegion
- โ Added parameter
-
v5.1.0 Changes
๐ Fixed:
- ๐ Fix mechanism of reseeding of the internal providers of
Generic
(See#1115 <https://github.com/lk-geimfari/mimesis/issues/1115>
_).
โ Removed:
- โ Removed inappropriate words from
mimesis.data.int.USERNAMES
.
- ๐ Fix mechanism of reseeding of the internal providers of
-
v5.0.0 Changes
โ Warning: This release contains some breaking changes in API.
Python compatibility:
๐ Mimesis 5.0 supports Python 3.8, 3.9, and 3.10.
๐ The Mimesis 4.1.3 is the last to support Python 3.6 and 3.7.
Reworked:
- A method
Person().username()
, now it accepts a parametersmask
anddrange
.
๐ Renamed:
- ๐ Renamed
enums.UnitName
toenums.MeasureUnit
- ๐ Renamed
enums.PrefixSign
toenums.MetricPrefixSign
- ๐ Renamed
Business()
toFinance()
- Renamed
BaseDataProvider.pull
toBaseDataProvider._load_datafile
- ๐ Renamed
mimesis.providers.numbers.Numbers
tomimesis.providers.numeric.Numeric
- ๐ Renamed
fmt
argument ofAddress().country_code()
tocode
๐ Fixed:
- ๐ Fix inheritance issues for
Generic
, now it inheritsBaseProvider
instead ofBaseDataProvider
- ๐ Fix locale-independent provider to make them accepts keyword-only arguments
- ๐ Fix DenmarkSpecProvider CPR to generate valid CPR numbers.
- ๐ Fix
.cvv()
to make it return string - ๐ Fix
.cid()
to make it return string - ๐ Fix
.price()
ofFinance
to make it return float.
โ Added:
- โ Added method
hostname()
forInternet
data provider - Added support of
**kwargs
for a methodadd_provider
ofGeneric()
provider - โ Added enum
Locale
tomimesis.enums
andmimesis.locales
- Added
measure_unit
andmetric_prefix
methods for theScience
provider. - โ Added
.iterator()
forschema.Schema
- Added methods
.slug()
andip_v4_with_port()
forInternet()
- โ Added
increment()
method forNumbers()
- Added methods
.stock_ticker()
,.stock_name()
and.stock_exchange()
forFinance()
- โ Added
BinaryFile
data provider which provides binary data files, such as.mp3
,.mp4
,.png
, etc.
โ Removed:
- โ Removed module
decorators
. Useshortcuts.romanize
to romanize Cyrillic strings. - 0๏ธโฃ Removed
as_object
parameter for.uuid()
. Now it returns string by default, if you need uuid4 object then use.uuid_object()
- โ Removed invalid names and surnames from
person.json
forru
locale - โ Removed data provider
UnitSystem()
, useScience()
instead - โ Removed data provider
Structure()
, useschema.Schema
instead - โ Removed builtin provider
GermanySpecProvider
- โ Removed data provider
Clothing
, useNumbers
instead - โ Removed method
copyright()
ofFinance()
- โ Removed method
network_protocol()
ofInternet()
- Removed params
with_port
andport_range
forip_v4()
ofInternet()
. Useip_v4_with_port()
instead. - Removed methods
sexual_orientation
,social_media_profile
andavatar
of thePerson()
provider. - โ Removed a bunch of useless custom exceptions and replaced them with
FieldError
. - Removed completely useless
chemical_element
andatomic_number
methods ofScience
data provider and made it locale-independent.
- A method
-
v4.1.3 Changes
โ Added:
- โ Added
py.typed
file to the package - โ Added
Python 3.9
support
- โ Added