From 0084daa50a8d97e025989d73d23b9a60c2dc69d9 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 9 Jan 2023 08:37:07 -0800 Subject: [PATCH] Release 0.64, with a warning against arbitrary SQL with SpatiaLite Refs #1409, #1771, #1979 Refs https://github.com/simonw/datasette.io/issues/132 --- datasette/version.py | 2 +- docs/changelog.rst | 11 +++++++++++ docs/spatialite.rst | 26 +++++++++++++++++++++++--- 3 files changed, 35 insertions(+), 4 deletions(-) diff --git a/datasette/version.py b/datasette/version.py index 8aaf793d..eedecc61 100644 --- a/datasette/version.py +++ b/datasette/version.py @@ -1,2 +1,2 @@ -__version__ = "0.63.3" +__version__ = "0.64" __version_info__ = tuple(__version__.split(".")) diff --git a/docs/changelog.rst b/docs/changelog.rst index 270765c8..39324989 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,17 @@ Changelog ========= +.. _v0_64: + +0.64 (2023-01-09) +----------------- + +- Datasette now **strongly recommends against allowing arbitrary SQL queries if you are using SpatiaLite**. SpatiaLite includes SQL functions that could cause the Datasette server to crash. See :ref:`spatialite` for more details. +- New :ref:`setting_default_allow_sql` setting, providing an easier way to disable all arbitrary SQL execution by end users: ``datasette --setting default_allow_sql off``. See also :ref:`authentication_permissions_execute_sql`. (:issue:`1409`) +- `Building a location to time zone API with SpatiaLite `__ is a new Datasette tutorial showing how to safely use SpatiaLite to create a location to time zone API. +- New documentation about :ref:`how to debug problems loading SQLite extensions `. The error message shown when an extension cannot be loaded has also been improved. (:issue:`1979`) +- Fixed an accessibility issue: the ``