Skip to content

Releases: barseghyanartur/faker-file

0.15.5

18 Jun 23:16
Compare
Choose a tag to compare
  • Minor fixes and documentation improvements.

0.15.4

15 Jun 23:14
3ca3356
Compare
Choose a tag to compare
  • Improved SFTPStorage tests.
  • Stop testing against Python 3.7.
  • Stop testing against Django 4.0.

0.15.3

13 Jun 23:38
f63077d
Compare
Choose a tag to compare
  • Add SFTPStorage and correspondent tests.

0.15.2

08 Jun 22:14
Compare
Choose a tag to compare
  • Add optional subject argument to the EmlFileProvider. Update
    tests accordingly.
  • Add data integrity tests.

0.15.1

06 Jun 21:32
Compare
Choose a tag to compare
  • Added FileFromPathProvider provider, which simply picks a file
    from path given. Add correspondent create_inner_file_from_path
    inner function.

0.15

05 Jun 23:15
7e3f25b
Compare
Choose a tag to compare
  • Added format_func argument to most of the providers. This allows to
    control which formatter function will be used as a default formatter.
    Previously it has been faker.provider.Python.pystr_format, which has
    been changed to faker.provider.Python.parse, since the latter is
    more convenient (as it does not transform characters
    like ?, !, # into something else using bothify method).
    To revert this behaviour, make sure to pass a callable
    function faker_file.base.pystr_format_func in format_func argument
    to each correspondent provider or inner function.
  • Added create_inner_random_file_from_dir inner function.
  • Tested against Django 4.2.
  • Stop testing against Django 2.2.

0.14.5

11 May 19:41
Compare
Choose a tag to compare
  • Minor fixes in xml_file provider.

0.14.4

10 May 22:42
Compare
Choose a tag to compare
  • Changed type of data_columns for xml_file provider from
    Sequence[Tuple[str, str]] to Dict[str, str].
  • In the pdf_file provider, changed default value of pdf_generator_cls
    from concrete PdfkitPdfGenerator value to its' string representation
    faker_file.providers.pdf_file.generators.pdfkit_generator.PdfkitPdfGenerator.
  • In the mp3_file provider, changed default value of mp3_generator_cls
    from concrete GttsMp3Generator value to its' string representation
    faker_file.providers.mp3_file.generators.gtts_generator.GttsMp3Generator.

0.14.3

09 May 22:11
Compare
Choose a tag to compare
  • Minor fixes in the GenericFileProvider.

0.14.2

08 May 22:31
Compare
Choose a tag to compare
  • Add create_inner_generic_file inner function.
  • Add generic_file support to CLI.