Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0a14 #2381

Closed
simonw opened this issue Aug 5, 2024 · 7 comments
Closed

Release 1.0a14 #2381

simonw opened this issue Aug 5, 2024 · 7 comments

Comments

@simonw
Copy link
Owner

simonw commented Aug 5, 2024

Commits: 1.0a13...2ad51ba

@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

curl 'https://github.com/simonw/datasette/compare/1.0a13...2ad51baa31bfba7940c739e99d4270f563a77290.diff' \
  | llm -m claude-3.5-sonnet --system \
  'generate a short summary of these changes, then a bullet point list of detailed release notes'

Here's a summary of the key changes in this diff:

  1. Removed metadata-related functionality and APIs, including the /metadata.json endpoint and get_metadata() plugin hook
  2. Added new methods for getting and setting metadata at different levels (instance, database, resource, column)
  3. Changed SQL query URL from /database?sql=... to /database/-/query?sql=...
  4. Updated tests and internal logic to use the new metadata and query APIs
  5. Added ETag support for static files
  6. Minor UI and template updates

Detailed release notes:

  • Removed metadata.json endpoint and related functionality
  • Added new async methods for getting/setting metadata:
    • get_instance_metadata(), set_instance_metadata()
    • get_database_metadata(), set_database_metadata()
    • get_resource_metadata(), set_resource_metadata()
    • get_column_metadata(), set_column_metadata()
  • Changed SQL query URL format to /database/-/query?sql=...
  • Removed get_metadata() plugin hook
  • Updated derive_named_parameters() to use regex instead of EXPLAIN
  • Added ETag support for static files to improve caching
  • Updated various tests to use new metadata and query APIs
  • Fixed CSRF protection for custom endpoints
  • Improved error messages for database/table not found errors
  • Added lang="en" attribute to HTML template
  • Updated Python and dependency versions in setup.py
  • Various minor bug fixes and code cleanup

@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

Better command:

git log --pretty=format:"- %ad: %s %h" --date=short --reverse 1.0a13...2ad51baa31bfba7940c739e99d4270f563a77290 | pbcopy

@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

I want to get this done before the release:

simonw added a commit that referenced this issue Aug 5, 2024
@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

@simonw
Copy link
Owner Author

simonw commented Aug 5, 2024

Blogged the annotated release notes here: https://simonwillison.net/2024/Aug/5/datasette-1a14/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant