mirror of
https://github.com/simonw/datasette.git
synced 2026-09-16 13:34:07 +02:00
docs: fix dead Starlette, Uvicorn and Docker Hub links (#2912)
www.starlette.io and www.uvicorn.org no longer resolve (NXDOMAIN); both projects now publish their documentation at starlette.dev and uvicorn.dev respectively. The Docker Hub link was missing the /r/ path segment, which returns a 404. - docs/plugin_hooks.rst: www.starlette.io/middleware/ -> starlette.dev/middleware/ - docs/changelog.rst (x3): www.uvicorn.org/ -> uvicorn.dev/ - docs/changelog.rst: hub.docker.com/datasetteproject/... -> hub.docker.com/r/datasetteproject/... All four replacement URLs verified to return HTTP 200.
This commit is contained in:
parent
374b194ff5
commit
d60d88488f
2 changed files with 5 additions and 5 deletions
|
|
@ -1153,7 +1153,7 @@ Features
|
|||
- New ``--nolock`` option for ignoring file locks when opening read-only databases. (:issue:`1744`)
|
||||
- Spaces in the database names in URLs are now encoded as ``+`` rather than ``~20``. (:issue:`1701`)
|
||||
- ``<Binary: 2427344 bytes>`` is now displayed as ``<Binary: 2,427,344 bytes>`` and is accompanied by tooltip showing "2.3MB". (:issue:`1712`)
|
||||
- The base Docker image used by ``datasette publish cloudrun``, ``datasette package`` and the `official Datasette image <https://hub.docker.com/datasetteproject/datasette>`__ has been upgraded to ``3.10.6-slim-bullseye``. (:issue:`1768`)
|
||||
- The base Docker image used by ``datasette publish cloudrun``, ``datasette package`` and the `official Datasette image <https://hub.docker.com/r/datasetteproject/datasette>`__ has been upgraded to ``3.10.6-slim-bullseye``. (:issue:`1768`)
|
||||
- Canned writable queries against immutable databases now show a warning message. (:issue:`1728`)
|
||||
- ``datasette publish cloudrun`` has a new ``--timeout`` option which can be used to increase the time limit applied by the Google Cloud build environment. Thanks, Tim Sherratt. (:pr:`1717`)
|
||||
- ``datasette publish cloudrun`` has new ``--min-instances`` and ``--max-instances`` options. (:issue:`1779`)
|
||||
|
|
@ -2182,7 +2182,7 @@ If you are still running Python 3.5 you should stick with ``0.30.2``, which you
|
|||
- Removed obsolete ``?_group_count=col`` feature (:issue:`504`)
|
||||
- Improved user interface and documentation for ``datasette publish cloudrun`` (:issue:`608`)
|
||||
- Tables with indexes now show the ``CREATE INDEX`` statements on the table page (:issue:`618`)
|
||||
- Current version of `uvicorn <https://www.uvicorn.org/>`__ is now shown on ``/-/versions``
|
||||
- Current version of `uvicorn <https://uvicorn.dev/>`__ is now shown on ``/-/versions``
|
||||
- Python 3.8 is now supported! (:issue:`622`)
|
||||
- Python 3.5 is no longer supported.
|
||||
|
||||
|
|
@ -2233,7 +2233,7 @@ If you are still running Python 3.5 you should stick with ``0.30.2``, which you
|
|||
0.29.2 (2019-07-13)
|
||||
-------------------
|
||||
|
||||
- Bumped `Uvicorn <https://www.uvicorn.org/>`__ to 0.8.4, fixing a bug where the query string was not included in the server logs. (:issue:`559`)
|
||||
- Bumped `Uvicorn <https://uvicorn.dev/>`__ to 0.8.4, fixing a bug where the query string was not included in the server logs. (:issue:`559`)
|
||||
- Fixed bug where the navigation breadcrumbs were not displayed correctly on the page for a custom query. (:issue:`558`)
|
||||
- Fixed bug where custom query names containing unicode characters caused errors.
|
||||
|
||||
|
|
@ -2255,7 +2255,7 @@ ASGI, new plugin hooks, facet by date and much, much more...
|
|||
ASGI
|
||||
~~~~
|
||||
|
||||
`ASGI <https://asgi.readthedocs.io/>`__ is the Asynchronous Server Gateway Interface standard. I've been wanting to convert Datasette into an ASGI application for over a year - `Port Datasette to ASGI #272 <https://github.com/simonw/datasette/issues/272>`__ tracks thirteen months of intermittent development - but with Datasette 0.29 the change is finally released. This also means Datasette now runs on top of `Uvicorn <https://www.uvicorn.org/>`__ and no longer depends on `Sanic <https://github.com/huge-success/sanic>`__.
|
||||
`ASGI <https://asgi.readthedocs.io/>`__ is the Asynchronous Server Gateway Interface standard. I've been wanting to convert Datasette into an ASGI application for over a year - `Port Datasette to ASGI #272 <https://github.com/simonw/datasette/issues/272>`__ tracks thirteen months of intermittent development - but with Datasette 0.29 the change is finally released. This also means Datasette now runs on top of `Uvicorn <https://uvicorn.dev/>`__ and no longer depends on `Sanic <https://github.com/huge-success/sanic>`__.
|
||||
|
||||
I wrote about the significance of this change in `Porting Datasette to ASGI, and Turtles all the way down <https://simonwillison.net/2019/Jun/23/datasette-asgi/>`__.
|
||||
|
||||
|
|
|
|||
|
|
@ -1107,7 +1107,7 @@ Return an `ASGI <https://asgi.readthedocs.io/>`__ middleware wrapper function th
|
|||
|
||||
This is a very powerful hook. You can use it to manipulate the entire Datasette response, or even to configure new URL routes that will be handled by your own custom code.
|
||||
|
||||
You can write your ASGI code directly against the low-level specification, or you can use the middleware utilities provided by an ASGI framework such as `Starlette <https://www.starlette.io/middleware/>`__.
|
||||
You can write your ASGI code directly against the low-level specification, or you can use the middleware utilities provided by an ASGI framework such as `Starlette <https://starlette.dev/middleware/>`__.
|
||||
|
||||
This example plugin adds a ``x-databases`` HTTP header listing the currently attached databases:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue