The Type Safety Renaissance: PostgreSDK, Synapse CRM, and Infrastructure Evolution

Week 46

A massive week of shipping: PostgreSDK hit v0.13 with pagination and enum support, Synapse CRM gained audit logging and Google Sheets seeding, and the Adpharm component registry leveled up its type safety.

#PostgreSDK

PostgreSDK saw three releases this week (v0.11.0 → v0.13.1), bringing major capabilities:

  • List operations now return total counts and cursor info alongside results via pagination metadata.
  • PostgreSQL enums are now fully supported in both schema introspection and SDK generation.
  • Sorting by multiple columns with mixed directions.
  • New onRequest middleware hook for request-level logic in generated Hono routers.
  • Generated SDKs received comprehensive JSDoc comments and improved examples.

#Synapse CRM

The CRM shipped production-ready features and major UX improvements:

  • Automated PostgreSQL triggers now track all contact changes with a dedicated audit log viewer.
  • A CLI tool imports contacts directly from Google Sheets with automation support.
  • Contacts can now be sorted by multiple fields simultaneously and filtered by medical specialty with a new enum-backed schema.
  • SWR-pattern action caching reduces server load.
  • New persistent navigation sidebar and refined button sizing for denser, more efficient layouts.
  • Full production infrastructure deployed alongside staging.

#Adpharm Shad Registry

The component registry leveled up its type safety and developer experience:

  • Phantom types now provide end-to-end type safety for React Router v7 actions.
  • The use-action hook was streamlined to a fetcher-only implementation.
  • A new tf-init command automates environment setup with Route53 integration.
  • All components consolidated into a single cohesive package.
  • Comprehensive RR7 stack docs with a clearer tier structure shipped.