kopia lustrzana https://github.com/simonw/datasette
Release 0.56
Refs #1005, #1031, #1141, #1229, #1236, #1239, #1246, #1247, #1252, #1266, #1276, #12780.56.x 0.56
rodzic
d579fcf4f7
commit
af5a7f1c09
|
@ -1,2 +1,2 @@
|
|||
__version__ = "0.55"
|
||||
__version__ = "0.56"
|
||||
__version_info__ = tuple(__version__.split("."))
|
||||
|
|
|
@ -4,6 +4,24 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
.. _v0_56:
|
||||
|
||||
0.56 (2021-03-28)
|
||||
-----------------
|
||||
|
||||
Documentation improvements, bug fixes and support for SpatiaLite 5.
|
||||
|
||||
- The SQL editor can now be resized by dragging a handle. (:issue:`1236`)
|
||||
- Fixed a bug with JSON faceting and the ``__arraycontains`` filter caused by tables with spaces in their names. (:issue:`1239`)
|
||||
- Upgraded ``httpx`` dependency. (:issue:`1005`)
|
||||
- JSON faceting is now suggested even if a column contains blank strings. (:issue:`1246`)
|
||||
- New :ref:`datasette.add_memory_database() <datasette_add_memory_database>` method. (:issue:`1247`)
|
||||
- The :ref:`Response.asgi_send() <internals_response_asgi_send>` method is now documented. (:issue:`1266`)
|
||||
- The official Datasette Docker image now bundles SpatiaLite version 5. (:issue:`1278`)
|
||||
- Fixed a ``no such table: pragma_database_list`` bug when running Datasette against SQLite versions prior to SQLite 3.16.0. (:issue:`1276`)
|
||||
- HTML lists displayed in table cells are now styled correctly. Thanks, Bob Whitelock. (:issue:`1141`, `#1252 <https://github.com/simonw/datasette/pull/1252>`__)
|
||||
- Configuration directory mode now correctly serves immutable databases that are listed in ``inspect-data.json``. Thanks Campbell Allen and Frankie Robertson. (`#1031 <https://github.com/simonw/datasette/pull/1031>`__, `#1229 <https://github.com/simonw/datasette/pull/1229>`__)
|
||||
|
||||
.. _v0_55:
|
||||
|
||||
0.55 (2021-02-18)
|
||||
|
|
|
@ -143,7 +143,6 @@ Each of the helper methods take optional ``status=`` and ``headers=`` arguments,
|
|||
Returning a response with .asgi_send(send)
|
||||
------------------------------------------
|
||||
|
||||
|
||||
In most cases you will return ``Response`` objects from your own view functions. You can also use a ``Response`` instance to respond at a lower level via ASGI, for example if you are writing code that uses the :ref:`plugin_asgi_wrapper` hook.
|
||||
|
||||
Create a ``Response`` object and then use ``await response.asgi_send(send)``, passing the ASGI ``send`` function. For example:
|
||||
|
|
Ładowanie…
Reference in New Issue