- Make gen_utf8 return optionally only BMP characters (6201b63)
- Don't install tests into the binary distribution (b291873, @evgeni)
- Use floor division operator in base_repr for Python 3 compatibility (914178a, @gshefer)
- New gen_octagonal and gen_hexadecimal methods added (57f5d17, @gshefer)
- All methods now allow you to provide a callable which will be used to filter values being returned, the number of tries, and a default value to be returned if the filter cannot match the values being generated after the number of tries. (2a7523, @renzon)
- Force randomness every time random is used to make sure that unique values are generated when running on multi-process environments, such as py.test with the pytest-xdist plugin.
- Updated the gen_mac method to allow the generation of unicast/multicast and globally/locally MAC addresses.
- Updated the gen_ipaddr method to allow the generation of IP addresses that start with a valid range prefix. (048715d, @mfalesni)
- Added support for Python 2.6.
- Cleaned up the MANIFEST file.
- Improved the unicode letters generator to avoid returning control characters and other non-letter characters.
- Altered gen_integer to properly check for long() on Python 2.
- Dropped the class-wide FauxFactory deprecation warning.
- Refactored the deprecated decorator function to comply with pylint and flake8.
- Make gen_netmask verify function arguments.
- Make gen_netmask raise a ValueError if min_cidr is less than 0 or max_cidr is greater than 32. Add tests for this boundary checking code.
- Improvements to constants and documentation.
- Added new netmask random generator.
- Added a default length of 10 to all string generator functions.
- Display deprecation warnings if
FauxFactory
and any of its functions are used, instructing the user to use the newer functions instead.
- All generators are now stand-alone functions and can be imported
directly from
fauxfactory
. For example,from fauxfactory import gen_date
- Renamed all generator functions to use the prefix "gen_" instead of
"generate_". For example,
generate_date
is nowgen_date
. - Backwards compatibility with version 1.x.
- Polished documentation.
- Updated
generate_string
to also accepthtml
strings.
- Added new method generate_html
- Added new makefile
- Check for sys.maxunicode when generating utf8 characters.
- FauxFactory is now Python 3 compatible
- Added new method generate_utf8
- Fixed issue that prevented strings longer than the full length of LOREM_IPSUM_TEXT from being generated (Github Issue #16).
- Added new 'Lorem Ipsum' generator.
- Changed license from LGPL3+ to Apache 2.0
- Updated character range for CJK generator to avoid generating 'tofu' characters.
- Added Contributors section to README.
- New documentation (@faustovaz)
Bugfixes:
- Fixed generate_string function (@faustovaz)
Bugfixes:
- Generators for
email
,url
andIP
should return a unicode string.
- Fixed formatting of README for better display on Pypi.
- Initial Release.