Changelog

What's new

Latest updates and improvements to Astapa.

v0.5.02026-10-08

Production hardening

  • addedPgBouncer compatibility via SET astapa.session
  • addedQuery cache with LRU eviction (16KB default buffer)
  • addedPrometheus metrics endpoint (/metrics)
  • addedCOPY protocol support for bulk operations
  • addedGraceful shutdown with connection draining
  • improvedParallel infrastructure creation for faster session start
  • fixedSequence handling to prevent ID collisions on approval
  • fixedForeign key validation at approval time
v0.4.02026-09-15

SQL completeness

  • addedJOIN rewriting across session/production boundaries
  • addedSubqueries and CTE support (recursive, lateral, window)
  • addedRETURNING clause capture from writes
  • addedON CONFLICT (upsert) semantics in shadow tables
  • addedExtended query protocol (prepared statements)
  • addedTransaction support (BEGIN/COMMIT/ROLLBACK)
  • improvedsqlparser 0.41 handles all tested Postgres syntax
v0.3.02026-08-20

Conflict detection & approval

  • addedConflict detection via row hash comparison
  • addedApproval API: POST /sessions/:id/approve
  • addedReject API: POST /sessions/:id/reject
  • addedMutation log for review UI
  • addedDiff generation (human-readable before/after)
  • improvedAtomic apply with rollback on failure
v0.2.02026-07-25

Copy-on-write foundation

  • addedShadow tables auto-created on first write
  • addedDeleted tracking via _deleted_{table}
  • addedUnion views for merged session + production reads
  • addedWrite interception (INSERT/UPDATE/DELETE → shadow)
  • addedHash tracking for conflict detection
v0.1.02026-07-01

Initial release

  • addedPostgres wire protocol proxy
  • addedSession creation via HTTP API
  • addedSchema-based isolation (SET search_path)
  • addedBasic query interception