radar

ONE Sentinel

smart_toyAI/PROMPT ENGINEERING

datasette 1.0a27

sourceSimon Willison
calendar_todayApril 16, 2026
schedule2 min read
lightbulb

EXECUTIVE SUMMARY

Datasette 1.0a27 Introduces Key Enhancements for Developers

Summary

The release of Datasette 1.0a27 brings significant updates, including a shift from Django-style CSRF tokens to modern browser headers and the introduction of a new RenameTableEvent for better plugin integration.

Key Points

  • Release version: Datasette 1.0a27
  • CSRF tokens replaced with modern browser headers, improving security and usability.
  • New RenameTableEvent triggers when a table is renamed during a SQLite transaction, aiding plugins like datasette-comments.
  • New actor= parameter for datasette.client methods enhances automated testing capabilities (Issue #2688).
  • Database(is_temp_disk=True) option introduced to mitigate intermittent database locked errors (Issues #2683, #2684).
  • ///-/upsert API now rejects rows with null primary key values (Issue #1936).
  • Updated API explorer example for the /-/upsert endpoint for better clarity (Issue #1936).
  • /.json endpoint now includes an "ok": true key for consistency across JSON API responses.
  • call_with_supported_arguments() is now documented as a public API (Issue #2678).
  • Analysis

    The updates in Datasette 1.0a27 are significant for developers utilizing SQLite databases, particularly those who rely on plugins for enhanced functionality. The introduction of modern security practices and improved API responses demonstrates a commitment to developer experience and operational efficiency.

    Conclusion

    IT professionals should consider upgrading to Datasette 1.0a27 to leverage its new features, particularly for improved testing and plugin compatibility. Staying updated will enhance application security and performance.