From f40d838429f0c3ef963bb1561024b630f5f24804 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 15 Sep 2026 12:58:41 -0700 Subject: [PATCH] Changelog entry for #2902 and #2903 --- docs/changelog.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index d318ddd3..e085c114 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -9,7 +9,7 @@ Changelog Unreleased ---------- -- Fixed incorrect counts when clicking **count all** on filtered table pages. The button now uses a new :ref:`POST count endpoint `. (:issue:`2914`) +- New :ref:`POST count endpoint ` for counting filtered table rows, now used by the **count all** button. (:issue:`2914`) - Datasette now uses `httpx2 `__, the Pydantic-maintained continuation of `httpx `__, in place of ``httpx``. The public API is the same, but responses returned by :ref:`internals_datasette_client` are now ``httpx2.Response`` objects rather than ``httpx.Response``. Plugins that use ``isinstance()`` checks against ``httpx.Response`` should be updated to use ``httpx2``. **Plugins that use httpx without explicitly depending on it** will need to add an explicit dependency or switch to `httpx2`. Background tasks @@ -23,6 +23,11 @@ Datasette plugins can now use **background tasks** to run code independent of th - Plugin ``asgi_wrapper`` middleware now always runs *after* startup has completed. - If your plugin uses ``asgi_wrapper`` to start background tasks on the first incoming request, you should migrate to ``datasette.add_background_task()`` instead. `datasette-cron `__ and `datasette-enrichments `__ are being migrated to this pattern. +Bug fixes +~~~~~~~~~ + +- Fixed CSV streaming with ``?_stream=on`` on SQL views repeating the second page of results until the CSV size limit was reached. Thanks, `Ankita Advitot `__. (:issue:`2902`, :pr:`2903`) + .. _v1_0_a39: 1.0a39 (2026-09-10)