Skip to content

v1.3.2 - Security, DB hygiene, and dependency refresh

Choose a tag to compare

@yib7 yib7 released this 16 Jul 22:04

Security

  • /chat now re-moderates the model's own generated script through the run-guard before approving it, closing a gap where the primary code-generation path could reach execution without a code-level safety check. /wrangle and the edited-/run guard already did this; /chat now upholds the same "every executed generated script is moderated" invariant. A blocked script is not approved or run, and its credit (when billing is on) is refunded.

Fixed

  • Running the test suite no longer poisons the instance database. Testing with no DATABASE_URL resolves to in-memory SQLite, so python -m pytest followed by an APP_ENV=development boot no longer crashes with a duplicate-column error from a half-migrated instance/statlee.db.

Changed

  • Dependency refresh: google-genai 1.56 to 2.12, redis 5.2 to 8.0, anthropic 0.111 to 0.117, openai 2.43 to 2.45, matplotlib 3.10 to 3.11, filelock 3.25 to 3.30. The google-genai 2.x major bump changes only its Interactions API (unused here); the generate_content surface the app relies on is unchanged, confirmed by an API-surface check and a live Gemini round-trip on the upgraded SDK.

Docs

  • Re-recorded the README demo GIF and workspace screenshot against the current v1.3.x interface, from a real analysis run on the bundled sample dataset.

334 tests passing; ruff, byte-compile, and pip-audit clean. No breaking changes.