diff options
| author | luke.maurits <luke.maurits@0f58610c-415a-11de-9c03-5d6cfad8e937> | 2009-05-28 09:30:59 +0000 |
|---|---|---|
| committer | luke.maurits <luke.maurits@0f58610c-415a-11de-9c03-5d6cfad8e937> | 2009-05-28 09:30:59 +0000 |
| commit | c0e339a206e2d4a99d96de840d60307ac27a64f9 (patch) | |
| tree | dca205c423a26dbec1062abd41dc9fd8afcebc9b /CHANGELOG | |
| parent | 19f6aa632348e087bc330a7491527e12f4c7065f (diff) | |
| download | python-prettytable-c0e339a206e2d4a99d96de840d60307ac27a64f9.tar.gz | |
Added change log file.
git-svn-id: http://prettytable.googlecode.com/svn/trunk@17 0f58610c-415a-11de-9c03-5d6cfad8e937
Diffstat (limited to 'CHANGELOG')
| -rw-r--r-- | CHANGELOG | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..d327f64 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,84 @@ +########## PrettyTable 0.5 - May 26, 2009 ########## + +* Fixed a bug whereby printing with headers=False and border=False + would introduce an extraneous newline. Thanks to Alexander Lamaison + for reporting this bug. +* When printing with headers=False, column widths will now be reduced + as appropriate in columns where the field name is wider than the + data. Thanks to Alexander Lamaison for suggesting this behaviour. +* Support for Unicode has improved. Thanks to Chris Clark for + submitting this improvement. +* The value of the "border" argument now correctly controls the + presence of a border when printing HTML tables with print_html or + get_html_string, instead of being incorrectly ignored. Thanks to + Chris Clark for fixing this. +* The print_html and get_html_string methods now accept an + "attributes" argument which is a dictionary of name/value pairs to be + placed inside the <table> tag (so you can, e.g. set class, name or id + values in order to style your table with CSS). Thanks to Chris Clark + for submitting this feature. +* The print_html and get_html_string methods now, by default, do their + best to match the various formatting options in their HTML output. + They use inline CSS to adjust the alignment of data in columns, the + padding widths of columns and in some cases the border settings. You + can give either method a "format=False" attribute to turn this + behaviour off if you want to do your own styling. With "format=False" + the methods print a "bare bones" table, similar to the default + behaviour in 0.4. + +########## PrettyTable 0.4 - May 13, 2009 ########## + +* Added "add_column" method to enable building tables up column-by-column. +* Added "print_HTML" and "get_HTML_string" methods to enable HTML table + production. +* Added "set_border_chars" method to enable control over characters used to + draw the table border. +* Added "set_left_padding" and "set_right_padding" methods to allow + independent padding control for both sides of a column. +* Added "sortby" option to enable column sorting. +* Added "header" option to enable switching off field name printing at top of + table. +* Modified "hrules" option to enable greater control over presence of + horizontal lines. +* Added "border" option to enable switching off all line printing. + +Thanks to Tim Cera, Chris Clark, Alexander Lamaison for suggesting and helping +to test many of the new features in this release. + +########## PrettyTable 0.3 - May 01, 2009 ########## + +* Added "padding_width" option to control the number of spaces between the + vertical line rules at the edges of a column and its content. This can be + set as a keyword argument to the constructor or after instantiation using + the "set_padding_width" method. The value is set to 1 by defaut. If your + table is too wide for a small screen with this value, setting it to 0 might + help you squeeze it in. + +Thanks to Chris Clark for contributing a patch against 0.2.1 to add this +feature! + +########## PrettyTable 0.2.1 - April 29, 2009 ########## + +* Caching no longer breaks when using the "printt(fields=[...])" syntax. The + list of fields was not hashable and hence could not be used as a dictionary + key. I fixed this using the output of the "cPickle" module's "dumps" + function as the dictionary key instead. +* Horizontal lines are now the appropriate length when the above syntax is + used. + +Thanks to Julien Koesten for reporting these bugs and testing the fixes almost +immediately after the release of 0.2! + +########## PrettyTable 0.2 - April 29, 2009 ########## + +* Added "get_string" method. +* Added "__str__" method (which just calls "get_string") to enable nice + "print x" syntax. +* Can now pass field names as a constructor argument. +* Return values of "get_string" are cached in a dictionary that is only + cleared after a call to "add_row" or something else which invalidates the + cache. + +########## PrettyTable 0.1 - February 26, 2009 ######### + +* Original release |
