Simon Willison
ef8e75db78
Backported CliRunner fix from e3eb356a
...
Removed obsolete mix_stderr=False arguments from CliRunner() calls
which are not supported in Click 8.3.0.
2025-11-04 17:41:25 -08:00
Simon Willison
0e2d9ccd99
Backported Python 3.14 asyncio fix from dee0b942
...
Python 3.14 deprecated asyncio.get_event_loop() when there is no running
event loop. This backports the run_sync() helper function and its usage
from main branch to fix compatibility.
Refs #2506
2025-11-04 17:36:16 -08:00
Simon Willison
0403a04da6
Move open redirect fix to asgi_send_redirect, refs #2429
...
See https://github.com/simonw/datasette/pull/2500#issuecomment-3488632278
2025-11-04 17:10:25 -08:00
James Jefferies
c1dd2c1dfb
Fix for open redirect - identified in Issue 2429 ( #2500 )
...
* Issue 2429 indicates the possiblity of an open redirect
The 404 processing ends up redirecting a request with multiple path
slashes to that site, i.e.
https://my-site//shedcode.co.uk will redirect to https://shedcode.co.uk
This commit uses a regular expression to remove the multiple leading
slashes before redirecting.
2025-11-04 17:10:19 -08:00
Simon Willison
b9bcd6b6ae
Release 0.65.1
...
0.65.1
Refs #2443
2024-11-28 17:11:46 -08:00
Simon Willison
496463bd4c
Back to httpx>=0.20, refs #2443
2024-11-28 17:03:44 -08:00
Simon Willison
bd818aef62
Backport new DatasetteClient implementation, refs #2443
2024-11-28 17:01:57 -08:00
Simon Willison
2eba9a6630
httpx>=0.28.0, refs #2443
2024-11-28 17:00:15 -08:00
Simon Willison
753ddc9028
Release 0.65
...
0.65
Refs #2434
2024-10-07 10:33:20 -07:00
Simon Willison
dbed80826f
Upgrade Furo
...
Refs https://github.com/simonw/datasette/issues/2434#issuecomment-2397501988
2024-10-07 10:30:21 -07:00
Simon Willison
c07e9946e5
Vendor Pint, support Python 3.13, drop 3.8
...
Refs #2434
2024-10-07 10:22:07 -07:00
Simon Willison
5cac74c4ac
Apply blacken-docs
0.64.8
2024-06-21 16:39:42 -07:00
Simon Willison
868d34d7b9
Test 0.64.x against Python 3.12
...
And drop 3.7 tests because it is not compatible with the new Black version
2024-06-21 16:36:04 -07:00
Simon Willison
0006a45b58
Bump Black dependency to latest for 0.64.x branch
2024-06-21 16:33:46 -07:00
Simon Willison
0af9a89460
Release 0.64.8
...
Refs #2353 , #2359
2024-06-21 16:31:32 -07:00
Simon Willison
10dae61213
Applied latest Black
2024-06-21 16:28:25 -07:00
Simon Willison
2e62282170
Backport derive_named_parameters fix to 0.64.x
...
Refs #2354
2024-06-21 16:24:48 -07:00
Simon Willison
7aa4bf9506
Backport of #2359 for 0.64.x
2024-06-21 16:18:38 -07:00
Simon Willison
6c941e30c5
More deploy workflow wrangling
0.64.7
2024-06-12 16:04:17 -07:00
Simon Willison
c302357dc3
Publish using gh-action-pypi-publish@release/v1
2024-06-12 15:57:37 -07:00
Simon Willison
ead2882f01
Fix for pyodide test failure, refs #2351
2024-06-12 15:46:55 -07:00
Simon Willison
a0a9b8023d
Update ignore-words
2024-06-12 15:46:37 -07:00
Simon Willison
b7c44de56d
Release 0.64.7
...
Refs #2353
2024-06-12 15:45:40 -07:00
Simon Willison
47333e43c6
Workaround for #2353
2024-06-12 15:39:11 -07:00
Simon Willison
4e3e8a0124
Fix typo in plugin docs
0.64.6
2023-12-22 15:16:28 -08:00
Simon Willison
c4571c4f17
Release 0.64.6
...
Refs #2214
2023-12-22 15:14:50 -08:00
Simon Willison
324090919d
Backport of CSV labels fix from #2214
2023-12-22 15:12:50 -08:00
Simon Willison
5800eaeb5b
Release 0.64.5
...
0.64.5
Refs #2197
2023-10-08 09:03:37 -07:00
Simon Willison
5e932f3e27
Drop click-default-group-wheel, refs #2197
2023-10-08 09:00:59 -07:00
Simon Willison
2b44d6a3fc
Fixed typo in docs
0.64.4
2023-09-21 12:28:45 -07:00
Simon Willison
d61687cbeb
Release 0.64.4
...
Refs #2189
2023-09-21 12:25:52 -07:00
Simon Willison
4b01cec374
Applied latest Black
2023-09-21 12:23:48 -07:00
Simon Willison
c0d58a71b9
Stop running queries in parallel, refs #2189
2023-09-21 12:23:17 -07:00
Simon Willison
c0227ac7c7
Fix for flaky test_hidden_sqlite_stat1_table, refs #2179
2023-09-21 12:21:24 -07:00
Simon Willison
917272c864
Fix for Python httpx test failure, refs #2066
0.64.3
2023-04-27 07:55:25 -07:00
Simon Willison
0746e785fc
Release 0.64.3
...
Refs #2065
2023-04-27 07:53:33 -07:00
Simon Willison
4d50fc7cd7
Depend on setuptools and pip, refs #2065
2023-04-27 07:45:39 -07:00
Simon Willison
2a0a94fe97
Release 0.64.2
...
0.64.2
Refs #2036
2023-03-08 12:41:13 -08:00
Simon Willison
cb9fa71878
Use service-specific image ID for Cloud Run deploys, refs #2036
2023-03-08 12:27:15 -08:00
Simon Willison
2e064641ac
Release 0.64.1
...
0.64.1
Refs #1985 , #1987
2023-01-11 10:21:37 -08:00
Simon Willison
a1c60bab86
Fix Sphinx warning turned error
2023-01-11 10:21:15 -08:00
Simon Willison
b7df546a45
Raise ValueError if Datasette(files=) is a string, refs #1985
2023-01-11 10:12:53 -08:00
Simon Willison
0a1de5d7b9
Link to non-spam Python 3 setup instructions
...
Refs #1987
2023-01-11 10:08:49 -08:00
Simon Willison
cd65558aee
setup-gcloud 318.0.0
...
Refs https://til.simonwillison.net/googlecloud/gcloud-error-workaround
2023-01-09 16:02:28 -08:00
Simon Willison
0084daa50a
Release 0.64, with a warning against arbitrary SQL with SpatiaLite
...
0.64
Refs #1409 , #1771 , #1979
Refs https://github.com/simonw/datasette.io/issues/132
2023-01-09 08:37:21 -08:00
Simon Willison
02987e342d
Explicitly explain allow_sql: false
2023-01-09 08:25:19 -08:00
Simon Willison
fdb4d975a1
Better error for --load-extensions, refs #1979
2023-01-07 15:58:30 -08:00
Simon Willison
3b88ac671e
What to do if extensions will not load, refs #1979
2023-01-07 15:48:08 -08:00
Simon Willison
1ec9c9995c
Backported default_allow_sql for 0.63.x, closes #1409
2023-01-05 09:21:07 -08:00
Simon Willison
b8cf864fa6
Fixed broken example links in _where= docs
2023-01-04 16:53:39 -08:00