{"id": "changelog:id136", "page": "changelog", "ref": "id136", "title": "0.20 (2018-04-20)", "content": "Mostly new work on the Plugins mechanism: plugins can now bundle static assets and custom templates, and datasette publish has a new --install=name-of-plugin option. \n \n \n Add col-X classes to HTML table on custom query page \n \n \n Fixed out-dated template in documentation \n \n \n Plugins can now bundle custom templates, #224 \n \n \n Added /-/metadata /-/plugins /-/inspect, #225 \n \n \n Documentation for --install option, refs #223 \n \n \n Datasette publish/package --install option, #223 \n \n \n Fix for plugins in Python 3.5, #222 \n \n \n New plugin hooks: extra_css_urls() and extra_js_urls(), #214 \n \n \n /-/static-plugins/PLUGIN_NAME/ now serves static/ from plugins \n \n \n now gets class=\"col-X\" - plus added col-X documentation \n \n \n Use to_css_class for table cell column classes \n This ensures that columns with spaces in the name will still\n generate usable CSS class names. Refs #209 \n \n \n Add column name classes to s, make PK bold [Russ Garrett] \n \n \n Don't duplicate simple primary keys in the link column [Russ Garrett] \n When there's a simple (single-column) primary key, it looks weird to\n duplicate it in the link column. \n This change removes the second PK column and treats the link column as\n if it were the PK column from a header/sorting perspective. \n \n \n Correct escaping for HTML display of row links [Russ Garrett] \n \n \n Longer time limit for test_paginate_compound_keys \n It was failing intermittently in Travis - see #209 \n \n \n Use application/octet-stream for downloadable databases \n \n \n Updated PyPI classifiers \n \n \n Updated PyPI link to pypi.org", "breadcrumbs": "[\"Changelog\"]", "references": "[{\"href\": \"https://github.com/simonw/datasette/issues/224\", \"label\": \"#224\"}, {\"href\": \"https://github.com/simonw/datasette/issues/225\", \"label\": \"#225\"}, {\"href\": \"https://github.com/simonw/datasette/issues/223\", \"label\": \"#223\"}, {\"href\": \"https://github.com/simonw/datasette/issues/223\", \"label\": \"#223\"}, {\"href\": \"https://github.com/simonw/datasette/issues/222\", \"label\": \"#222\"}, {\"href\": \"https://github.com/simonw/datasette/issues/214\", \"label\": \"#214\"}, {\"href\": \"https://github.com/simonw/datasette/issues/209\", \"label\": \"#209\"}, {\"href\": \"https://github.com/simonw/datasette/issues/209\", \"label\": \"#209\"}]"}