Releases: django-commons/drf-excel
Releases · django-commons/drf-excel
2.0.1
2.0.0
What's Changed
- Support was added for column data styles and global date, time, and datetime formats @rptmat57 in #50
- This is a breaking change for anyone who was using
xlsx_date_format_mappings
; please update to usecolumn_data_styles
- This is a breaking change for anyone who was using
- Typos were fixed by @runningzyp in #52
column_data_styles
example
This new features allows for flexible styling at the column level:
column_data_styles = {
'distance': {
'alignment': {
'horizontal': 'right',
'vertical': 'top',
},
'format': '0.00E+00'
},
'created_at': {
'format': '%d.%m.%Y %H:%M',
}
}
New Contributors
- @runningzyp made their first contribution in #52
Full Changelog: 1.0.0...2.0.0
1.0.0
What's Changed
- 1.0.0 release! We're moving to Semantic Versioning to improve communication for future breaking changes.
- New name:
drf-excel
is the new package name, which is less obtuse than the previous package name. - TL;DR upgrade path: replace
drf_renderer_xlsx
in your code withdrf_excel
. Otherwise, the class names and renderer paths are remaining the same.
0.4.5
What's Changed
- Fixed issue with flattening non-string arrays by @rptmat57 in #47
- Support DateField for xlsx_date_format_mappings by @vincenz-e in #48
New Contributors
- @rptmat57 made their first contribution in #47
- @vincenz-e made their first contribution in #48
Full Changelog: 0.4.4...0.4.5
0.4.4
What's Changed
- feat: split table_title and header_title by @runningzyp in #43
New Contributors
- @runningzyp made their first contribution in #43
Full Changelog: 0.4.3...0.4.4
0.4.3
Fix for Relase 0.4.2 (custom_cols is None)
Full Changelog: 0.4.2...0.4.3