Skip to content

Releases: wharton/drf-excel

0.4.1

12 Jul 14:57
Compare
Choose a tag to compare
  • Support for nested serializers has been improved and expanded.
  • Properly flattens headers from nested serializers.
  • Proper escaping for possible malicious characters.
  • Only checks list or dict types during the render process.

0.4.0

26 Mar 14:56
Compare
Choose a tag to compare
  • Adds support for nested serializers.

0.3.9

29 Dec 15:19
d6708cc
Compare
Choose a tag to compare
  • Fixes an edge case where a date is included in an array inside a field.

0.3.8

21 Sep 13:24
Compare
Choose a tag to compare
  • Adds support for lists and ReturnList.
  • Bug fix: converts values to strings when flattening in case of None values.

0.3.7

18 Jan 23:52
Compare
Choose a tag to compare

0.3.7

  • Better logic for flattening lists within cells. Bug fix for ViewSets with other actions, only applying to Response instances.

0.3.6

  • Check to ensure lists have length before flattening.

0.3.5

  • Add the get_filename method to allow programmatically naming the downloaded spreadsheet file.

0.3.4

  • Switch to setuptools_scm. Add support for ReturnDict in addition to ReturnList.

0.3.3

  • Add support for nested arrays, flattening them into a string: value1, value2, value3, etc.

0.3.2

  • Add supported for nested values; flattens sub-values into sub.value1, sub.value2, sub.value3, etc.

0.3.1

  • Fix an error when an empty result set was returned from the endpoint. Now, it will properly just download an empty spreadsheet.
  • Remove an errant format() function which was removing typing from the spreadsheet.

0.3.0

  • Add support for custom spreadsheet styles (thanks, Pavel Bryantsev!)
  • Add an attribute for setting the download filename instead of export.xlsx per view.

0.3.6

12 Dec 20:48
5a2ed29
Compare
Choose a tag to compare
Release notes and new contributor.