Simon Willison
1d4212122e
Add release date for 1.0a33
2026-06-11 10:36:16 -07:00
Simon Willison
993169ae49
Release 1.0a33
...
Refs #2735 , #2677 , #2680 , #2711 , #2756 , #2761 , #2768 , #2754
2026-06-11 08:24:37 -07:00
Simon Willison
bbf0424c45
Changelog for row/query extras and related fixes
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 22:51:25 -07:00
Simon Willison
6eaa9e3199
Web UI to edit and delete stored queries ( #2764 )
...
* Add web UI to edit and delete stored queries
Stored query pages now offer Edit and Delete actions in the query
actions menu, gated by the update-query and delete-query permissions.
- New QueryEditView (GET/POST at /<db>/<query>/-/edit) renders a
pre-filled form for editing a query's title, description, SQL and
privacy, reusing the create-query analysis UI. Changing the SQL still
requires execute-sql; metadata-only edits do not.
- QueryDeleteView gains a GET confirmation page and HTML form POST that
redirects to the query list, while keeping the existing JSON API.
- New default query_actions hook adds the Edit/Delete links for stored
(non-config, non-trusted) queries the actor is allowed to manage.
Permission semantics (already enforced by default_query_permissions_sql)
are surfaced in the UI: owners can always edit/delete their queries;
non-private queries can be edited/deleted by any actor with the relevant
permission; private queries remain owner-only.
Shared the create-query form styles into _query_form_styles.html so the
edit form can reuse them.
Animated demo: https://github.com/simonw/datasette/pull/2764#issuecomment-4655694668
Closes #2760
https://claude.ai/code/session_019GU9g3pZAERukLKYNa4uAL
2026-06-08 20:19:47 -07:00
Simon Willison
911954347e
Release 1.0a32
...
Refs #2757 , #2759 , #2762 , #2763
2026-05-31 16:21:24 -07:00
Simon Willison
c1476a48d8
Release 1.0a31
...
Refs #2712 , #2735 , #2742 , #2743 , #2747 , #2748
2026-05-28 20:29:57 -07:00
Simon Willison
72cf476d1d
Tidied up release notes ready to ship
...
Refs #2741 , #2749
2026-05-28 20:28:24 -07:00
Simon Willison
52729faa54
/<database>/-/query.json and changelog docs
2026-05-28 20:01:56 -07:00
Simon Willison
6a998610ee
datasette inspect now counts 10,000+ tables correctly ( #2752 )
...
Closes #2712
Refs https://github.com/simonw/datasette/pull/2721#issuecomment-4568966383
2026-05-28 15:52:51 -07:00
Simon Willison
b2b20b36c5
Document write SQL analyzer restrictions
...
Expand the unreleased changelog with the deny-by-default operation analysis model, SQL function handling, and the VACUUM and virtual/shadow table restrictions for user-supplied write SQL.
Clarify the /-/execute-write JSON API documentation with the same restrictions and DDL permission requirements.
2026-05-28 10:24:40 -07:00
Simon Willison
90e19a7d58
Docs for datasette methods for queries
...
Refs https://github.com/simonw/datasette/pull/2741#issuecomment-4549824373
2026-05-26 16:33:36 -07:00
Simon Willison
2eb307b8c6
Changelog updates for queries branch
...
Refs #2735 , #2742
2026-05-26 16:10:05 -07:00
Simon Willison
02a1468f1b
Renamed canned queries to queries / stored queries in docs
...
And a few renames in code and YAML as well.
2026-05-26 15:17:51 -07:00
Simon Willison
2f73869c09
Document that canned_queries() has been removed
2026-05-26 15:09:48 -07:00
Simon Willison
b1029acc68
top_canned_query is now top_stored_query, closes #2747
2026-05-26 15:05:41 -07:00
Simon Willison
de55a76d40
Fix 500 error when accessing query page without ?sql= parameter ( #2744 )
...
Closes #2743
2026-05-25 12:33:57 -07:00
Simon Willison
6cafdcb6fa
Added missing issue reference
2026-05-24 21:18:50 -07:00
Simon Willison
857af9293c
Release 1.0a30
...
Refs #1752 , #2723 , #2725 , #2727
2026-05-24 14:17:45 -07:00
Simon Willison
b9cb8e9a30
Tweaked JumpSQL changelog, refs #2731
2026-05-23 21:14:35 -07:00
Simon Willison
c980234c41
JumpSQL(database=) parameter
...
Refs https://github.com/simonw/datasette/pull/2732#issuecomment-4527304912
2026-05-23 21:00:04 -07:00
Simon Willison
21a79b34b8
Improvements to Jump SQL columns
...
- Removed database_name and resource_name
- url can now optionally return JSON to reuse datasette.urls. methods
- description is now used as a truncated text description
2026-05-23 20:28:02 -07:00
Simon Willison
be1b5b2b5c
Move debug links into jump menu
2026-05-23 16:57:09 -07:00
Simon Willison
8568320a23
Replace jump_start() hook with JavaScript makeJumpSections() hook
2026-05-22 21:13:49 -07:00
Simon Willison
1000d50220
datasette.fixtures module, closes #2733
...
https://gist.github.com/simonw/613be79094d491dd08f45e05f4f70691
2026-05-21 23:05:37 -07:00
Simon Willison
d3330695fa
Always show 'Jump to...' menu item, closes #2725
2026-05-20 13:23:05 -07:00
Simon Willison
bbbc1cd596
Remove height: 100% to fix Safari bug, closes #2724
2026-05-20 12:34:12 -07:00
Simon Willison
7a914f8c65
Clear stale tables/other resources when DB removed, closes #2723
2026-05-20 12:16:23 -07:00
Simon Willison
3110faa0ba
Replace Janus queue with asyncio.Future
...
Closes #1752
AI generated patch explanation: https://gisthost.github.io/?e2b8d9c7666e988b5c003ff5e5ef3098
2026-05-16 11:45:43 -07:00
Simon Willison
036aa6aa2e
Removed a rogue hyphen
2026-05-12 16:39:46 -07:00
Simon Willison
db16003865
Release 1.0a29
...
Refs #2695 , #2701 , #2708 , #2709
2026-05-12 16:39:06 -07:00
Simon Willison
a6031c9847
Release 1.0a28
...
Refs #2691 , #2692 , #2693
2026-04-16 21:01:18 -07:00
Simon Willison
1f99d5dd20
Release 1.0a27
...
Refs #1936 , #2678 , #2681 , #2682 , #2683 , #2684 , #2688 , #2689
2026-04-15 16:11:54 -07:00
Simon Willison
67349e0e02
New :pr:ID shortcut for docs
2026-04-15 16:04:17 -07:00
Simon Willison
5f39036b9b
ok: true in /db.json for consistency
2026-04-15 15:44:06 -07:00
Simon Willison
4fcf474088
Release 1.0a26
...
Refs #1592 , #2661 , #2664 , #2666 , #2669 , #2670 , #2671 , #2672
2026-03-18 15:13:37 -07:00
Simon Willison
cb5cc0cc22
Fixed some broken docs/ references, refs #2671
2026-03-18 13:02:31 -07:00
Simon Willison
63d73a806f
Move table configuration docs from metadata.rst to configuration.rst ( #2668 )
...
https://claude.ai/code/session_01UqboRB5Wt52BKPhxexUBEn
2026-03-17 08:47:04 -07:00
Simon Willison
1263380ea6
Better heading for write_wrapper()
2026-02-25 20:50:46 -08:00
Simon Willison
e4ff5e27d3
Fix RST heading underlin
2026-02-25 16:54:51 -08:00
Simon Willison
1246c6576b
Release 1.0a25
...
Refs #2636 , #2641 , #2646 , #2647 , #2650
2026-02-25 16:49:14 -08:00
Simon Willison
5873578d49
Release 1.0a24
...
Refs #2050 , #2346 , #2608 , #2609 , #2610 , #2611 , #2613 , #2619 , #2624 , #2627 , #2628 , #2629 , #2630 , #2632
2026-01-29 09:00:22 -08:00
Simon Willison
2ca00b6c75
Release 1.0a23
...
Refs #2605 , #2599
2025-12-02 19:20:43 -08:00
Simon Willison
93b455239a
Release notes for 1.0a22, closes #2596
2025-11-13 10:40:24 -08:00
Simon Willison
291f71ec6b
Remove out-dated plugin_hook_permission_allowed references
2025-11-11 21:59:26 -08:00
Simon Willison
257e1c1b1b
Release 1.0a21
...
Refs #2429 , #2511 , #2578 , #2583
2025-11-05 13:51:58 -08:00
Simon Willison
3c2254463b
Release notes for 0.65.2
...
Adding those to main. Refs #2579
2025-11-05 10:25:37 -08:00
Simon Willison
b212895b97
Updated release notes for 1.0a20
...
Refs #2550
2025-11-03 14:27:41 -08:00
Simon Willison
506ce5b0ac
Remove docs for obsolete register_permissions() hook, refs #2528
...
Also removed docs for datasette.get_permission() method which no longer exists.
2025-11-01 20:23:37 -07:00
Simon Willison
48982a0ff5
Mark 1.0a20 unreleased
...
Refs #2550
2025-10-31 16:12:54 -07:00
Simon Willison
223dcc7c0e
Remove unused link
2025-10-31 16:11:53 -07:00