mirror of
https://github.com/simonw/datasette.git
synced 2026-05-30 05:37:01 +02:00
Compare commits
1 commit
main
...
datasette-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0df6555ef3 |
2 changed files with 11 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
__version__ = "1.0a27"
|
__version__ = "1.0a28"
|
||||||
__version_info__ = tuple(__version__.split("."))
|
__version_info__ = tuple(__version__.split("."))
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,16 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
.. _v1_0_a28:
|
||||||
|
|
||||||
|
1.0a28 (2026-04-16)
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
- Fixed a compatibility bug introduced in 1.0a27 where ``execute_write_fn()`` callbacks with a parameter name other than ``conn`` were seeing errors. (:issue:`2691`)
|
||||||
|
- The :ref:`database.close() <database_close>` method now also shuts down the write connection for that database.
|
||||||
|
- New :ref:`datasette.close() <datasette_close>` method for closing down all databases and resources associated with a Datasette instance. This is called automatically when the server shuts down. (:pr:`2693`)
|
||||||
|
- Datasette now includes a pytest plugin which automatically calls ``datasette.close()`` on temporary instances created in function-scoped fixtures and during tests. See :ref:`testing_plugins_autoclose` for details. This helps avoid running out of file descriptors in plugin test suites that were written before the ``Database(is_temp_disk=True)`` feature introduced in Datasette 1.0a27. (:issue:`2692`)
|
||||||
|
|
||||||
.. _v1_0_a27:
|
.. _v1_0_a27:
|
||||||
|
|
||||||
1.0a27 (2026-04-15)
|
1.0a27 (2026-04-15)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue