{"sha": "3a79ad98eafb9da527a3b9d9d8fbeb81936b02e7", "message": "Basic CSV export, refs #266\n\nTables and custom SQL query results can now be exported as CSV.\n\nThe easiest way to do this is to use the .csv extension, e.g.\n\n\t/test_tables/facet_cities.csv\n\nBy default this is served as Content-Type: text/plain so you can see it in\nyour browser. If you want to download the file (using text/csv and with an\nappropriate Content-Disposition: attachment header) you can do so like this:\n\n\t/test_tables/facet_cities.csv?_dl=1\n\nWe link to the CSV and downloadable CSV URLs from the table and query pages.\n\nThe links use ?_size=max and so by default will return 1,000 rows.\n\nAlso fixes #303 - table names ending in .json or .csv are now detected and\nURLs are generated that look like this instead:\n\n\t/test_tables/table%2Fwith%2Fslashes.csv?_format=csv\n\nThe ?_format= option is available for everything else too, but we link to the\n.csv / .json versions in most cases because they are aesthetically pleasing.", "author_date": "2018-06-15T06:51:23Z", "committer_date": "2018-06-15T06:51:23Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "5bda4a477c52b6d1cd7d0ca25382dbb20bda40ea", "message": "Fixed CSV tests - Python 3.6.5 and 3.6.3 apparently differ\n\nThe test used to expect CSV to come back like this:\n\n\thello\n\tworld\n\t\"\"\n\nWith the final blank value encoded in quotes.\n\nJudging by Travis failures, this behaviour changed between Python 3.6.3 and\n3.6.5:\n\n\thttps://travis-ci.org/simonw/datasette/jobs/392586661", "author_date": "2018-06-15T07:01:48Z", "committer_date": "2018-06-15T07:01:48Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}}