Releases: simonw/datasette
Datasette 0.37
- Plugins now have a supported mechanism for writing to a database, using the new
.execute_write()
and.execute_write_fn()
methods. Documentation. (#682) - Immutable databases that have had their rows counted using the
inspect
command now use the calculated count more effectively - thanks, Kevin Keogh. (#666) --reload
no longer restarts the server if a database file is modified, unless that database was opened immutable mode with-i
. (#494)- New
?_searchmode=raw
option turns off escaping for FTS queries in?_search=
allowing full use of SQLite’s FTS5 query syntax. (#676)
Datasette 0.36
- The
datasette
object passed to plugins now has API documentation: Datasette class. (#576) - New methods on
datasette
:.add_database()
and.remove_database()
- documentation. (#671) prepare_connection()
plugin hook now takes optionaldatasette
anddatabase
arguments - prepare_connection(conn, database, datasette). (#678)- Added three new plugins and one new conversion tool to the The Datasette Ecosystem.
https://datasette.readthedocs.io/en/latest/changelog.html#v0-36
Datasette 0.35
- Added five new plugins and one new conversion tool to the The Datasette Ecosystem.
- The
Datasette
class has a newrender_template()
method which can be used by plugins to render templates using Datasette’s pre-configured Jinja templating library. - You can now execute SQL queries that start with a
-- comment
- thanks, Jay Graves (#653)
https://datasette.readthedocs.io/en/latest/changelog.html#v0-35
Datasette 0.34
_search=
queries are now correctly escaped using a newescape_fts()
custom SQL function. This means you can now run searches for strings likepark.
without seeing errors. (#651)- Google Cloud Run is no longer in beta, so
datasette publish cloudrun
has been updated to work even if the user has not installed thegcloud
beta components package. Thanks, Katie McLaughlin (#660) datasette package
now accepts a--port
option for specifying which port the resulting Docker container should listen on. (#661)
https://datasette.readthedocs.io/en/stable/changelog.html#v0-34
Datasette 0.33
rowid
is now included in dropdown menus for filtering tables (#636)- Columns are now only suggested for faceting if they have at least one value with more than one record (#638)
- Queries with no results now display “0 results” (#637)
- Improved documentation for the
--static
option (#641) - asyncio task information is now included on the
/-/threads
debug page - Bumped Uvicorn dependency 0.11
- You can now use
--port 0
to listen on an available port - New
template_debug
setting for debugging templates, e.g. https://latest.datasette.io/fixtures/roadside_attractions?_context=1 (#654)
https://datasette.readthedocs.io/en/latest/changelog.html#v0-33
Datasette 0.32
Datasette now renders templates using Jinja async mode. This makes it easy for plugins to provide custom template functions that perform asynchronous actions, for example the new datasette-template-sql plugin which allows custom templates to directly execute SQL queries and render their results. (#628)
https://datasette.readthedocs.io/en/latest/changelog.html#v0-32
0.31.2
- Fixed a bug where datasette publish heroku applications failed to start (#633)
- Fix for datasette publish with just --source_url - thanks, Stanley Zheng (#572)
- Deployments to Heroku now use Python 3.8.0 (#632)
https://datasette.readthedocs.io/en/latest/changelog.html#v0-31-2
0.31.1
Datasette 0.31
This version adds compatibility with Python 3.8 and breaks compatibility with Python 3.5.
Full release notes: https://datasette.readthedocs.io/en/stable/changelog.html#v0-31