|
| 1 | +########## PrettyTable 0.6 - April XX, 2012 ########## |
| 2 | + |
| 3 | +* Code is now simultaneously compatible with Python 2 and 3 |
| 4 | +* Replaced all setter methods with managed attributes |
| 5 | +* All styling options can now be set persistently as managed attributes |
| 6 | +* Added "add_style" method to make setting style options easily |
| 7 | +* Added "del_row", "clear_rows" and "clear" methods to facilitate |
| 8 | + removal of data from table. |
| 9 | +* Added "copy" method to facilitate cloning of a table. |
| 10 | +* Removed caching functionality, which added complexity and fragility |
| 11 | + for relatively little gain |
| 12 | +* Removed methods that just printed strings produced by get_string and |
| 13 | + get_html_string - just use inbuilt print! |
| 14 | +* Improved unicode support (thanks to Google Code user ru.w31rd0 for |
| 15 | + patch!) |
| 16 | +* Added support for decimal and floating point number formatting |
| 17 | + support (thanks to Google Code user willfurnass for the suggestion!) |
| 18 | +* Added support for using a custom key sorting methods (thanks to |
| 19 | + Google Code user amannijhawan for the suggestion!) |
| 20 | +* Added support for line breaks in data (suggested and implemented by |
| 21 | + Klein Stephane) |
| 22 | +* Added support for max column widths (thanks to Tibor Arpas for the |
| 23 | + suggestion!) |
| 24 | +* Fixed table slicing |
| 25 | +* Fixed bug where closing <tr/> tags in HTML tables were not printed |
| 26 | + (thanks to Google Code user kehander for reporting this bug!) |
| 27 | +* Fixed HTML table sorting bug (thanks to Google Code user dougbeal |
| 28 | + for reporting this bug!) |
| 29 | +* Fixed bug whereby changing field_names did not recompute widths |
| 30 | + (thanks to Google Code user denilsonsa for reporting this bug!) |
| 31 | + |
1 | 32 | ########## PrettyTable 0.5 - May 26, 2009 ##########
|
2 | 33 |
|
3 | 34 | * Fixed a bug whereby printing with headers=False and border=False
|
4 |
| - would introduce an extraneous newline. �Thanks to Alexander Lamaison |
| 35 | + would introduce an extraneous newline. Thanks to Alexander Lamaison |
5 | 36 | for reporting this bug.
|
6 | 37 | * When printing with headers=False, column widths will now be reduced
|
7 | 38 | as appropriate in columns where the field name is wider than the
|
8 |
| - data. �Thanks to Alexander Lamaison for suggesting this behaviour. |
9 |
| -* Support for Unicode has improved. �Thanks to Chris Clark for |
| 39 | + data. Thanks to Alexander Lamaison for suggesting this behaviour. |
| 40 | +* Support for Unicode has improved. Thanks to Chris Clark for |
10 | 41 | submitting this improvement.
|
11 | 42 | * The value of the "border" argument now correctly controls the
|
12 | 43 | presence of a border when printing HTML tables with print_html or
|
13 |
| - get_html_string, instead of being incorrectly ignored. �Thanks to |
| 44 | + get_html_string, instead of being incorrectly ignored. Thanks to |
14 | 45 | Chris Clark for fixing this.
|
15 | 46 | * The print_html and get_html_string methods now accept an
|
16 | 47 | "attributes" argument which is a dictionary of name/value pairs to be
|
17 | 48 | placed inside the <table> tag (so you can, e.g. set class, name or id
|
18 |
| - values in order to style your table with CSS). �Thanks to Chris Clark |
| 49 | + values in order to style your table with CSS). Thanks to Chris Clark |
19 | 50 | for submitting this feature.
|
20 | 51 | * The print_html and get_html_string methods now, by default, do their
|
21 | 52 | best to match the various formatting options in their HTML output.
|
22 | 53 | They use inline CSS to adjust the alignment of data in columns, the
|
23 |
| - padding widths of columns and in some cases the border settings. �You |
| 54 | + padding widths of columns and in some cases the border settings. You |
24 | 55 | can give either method a "format=False" attribute to turn this
|
25 |
| - behaviour off if you want to do your own styling. �With "format=False" |
| 56 | + behaviour off if you want to do your own styling. With "format=False" |
26 | 57 | the methods print a "bare bones" table, similar to the default
|
27 | 58 | behaviour in 0.4.
|
28 | 59 |
|
|
0 commit comments