Skip to content

Releases: mjumbewu/django-rest-framework-csv

3.0.0

24 Oct 17:31
Compare
Choose a tag to compare

2.1.1

04 Aug 22:22
Compare
Choose a tag to compare

Changes since 1.3.3:

2.1.1

2.1.0

  • CSVs with no data still output header labels (thanks @travisbloom)
  • Include a paginated renderer as part of the app (thanks @masterfloda)
  • Generators can be used as data sources for CSVStreamingRenderer (thanks
    @jrzerr)
  • Support for non UTF-8 encoding parsing (thanks @weasellin)

2.0.0

  • Make CSVRenderer.render return bytes, and CSVParser.parse expect a byte
    stream.
  • Have data-less renders print header row, if header is explicitly supplied
  • Drop Django 1.7 tests and add Django 1.10 tests
  • have CSVRenderer.tableize act as a generator when possible (i.e., when a
    header is explicitly specified).
  • Add docs for labels thanks to @radyz
  • Fix header rendering in CSVStreamingRenderer thanks to @radialnash
  • Improve unicode handling, thanks to @brandonrobertz

1.4.0/1.4.1

  • Add support for changing field labels in the CSVRenderer, thanks to @soby
  • Add support for setting CSVRenderer headers, labels, and writer_opts as
    renderer_context parameters.
  • Renamed CSVRenderer.headers to CSVRenderer.header; old spelling is
    still available for backwards compatibility, but may be removed in the future.

1.3.4

  • Support streaming CSV rendering, via @ivancrneto
  • Improved test configuration and project metadata, via @ticosax

1.3.3

14 Apr 03:13
Compare
Choose a tag to compare

Support unicode CSV parsing, and universal newlines, with thanks to @brocksamson

1.3.1

14 Jan 02:55
Compare
Choose a tag to compare
  • Renderer handles case where data is not a list by wrapping data in a list, via pull request from @dougvk
  • Better cross Python version support, via @paurullan and @vishen

1.3.0

25 Sep 04:28
Compare
Choose a tag to compare
  • Support for Python 3, derived from work by @samdobson

1.2.0

25 Sep 04:27
Compare
Choose a tag to compare
  • Support consistent ordering of fields in rendered CSV; thanks to @robguttman
  • Support specifying particular fields/headers in custom CSV renderer by
    overriding the headers attribute.

1.1.0

25 Sep 04:29
Compare
Choose a tag to compare
  • Support simple CSV parsing; thanks to @sebastibe