Releases: mjumbewu/django-rest-framework-csv
Releases · mjumbewu/django-rest-framework-csv
3.0.0
- Removed compatibility with Python 2
- Added compatibility with Django up to 3.2 and 4.2 (thanks to work from @TTycho, @awais786, @arpitjain799, @tirkarthi)
2.1.1
Changes since 1.3.3:
2.1.1
- Add support for byte order markers (BOM) (thanks @Yaoxin)
- Documentation updates (thanks @rjemanuele and @coreyshirk)
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, andCSVParser.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
toCSVRenderer.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
Support unicode CSV parsing, and universal newlines, with thanks to @brocksamson
1.3.1
1.3.0
- Support for Python 3, derived from work by @samdobson
1.2.0
- Support consistent ordering of fields in rendered CSV; thanks to @robguttman
- Support specifying particular fields/headers in custom CSV renderer by
overriding theheaders
attribute.
1.1.0
- Support simple CSV parsing; thanks to @sebastibe