Compatibility and supported environments
SQL and SDK versions are independent. A connection's compatibility check establishes whether the SDK understands the installed schema major; it does not prove that every additive function or option used by an application exists on every accepted older schema.
Choose versions from released artifacts, then verify the application's actual operations and deployment procedure.
Current documentation baseline
| Component | Version used by these guides and references | Runtime requirement |
|---|---|---|
| SQL | 0.1.1 | PostgreSQL 15 or later. |
| Go SDK and CLI | 0.4.0 | Go 1.25 or later. |
| Rust SDK | 0.4.0 | Rust 1.94 or later; Tokio runtime. |
| TypeScript SDK | 0.4.0 | Node.js 22 or later. |
These are component requirements, not a claim of certification on every managed service, pooler, or version combination. The extended guide review compiled or type-checked SDK excerpts against released SDKs 0.4.0 and executed SQL examples against PostgreSQL 15.19. Earlier runtime checks of the initial guides are recorded separately. Exact toolchain and test coverage are recorded with the example review metadata; minimum compiler/runtime versions were not separately exercised in that run.
Identify what is installed
Use the selected CLI to inspect database migration state:
postgremq status --dsn "$DATABASE_URL"
Current version describes the database. Latest version describes that binary's embedded migrations, not an online latest-release lookup. Inspect dirty state as well as version.
Applications discover SQL state through postgremq.info(). Its schema_version encodes major × 100000000 + minor × 10000 + patch; SQL 0.1.1 is 10001. Use human-readable SQL releases in documentation and deployment records rather than calling 10001 a separate product release.
Find the SDK version in the application's lockfile or resolved module dependencies. A CLI upgrade does not upgrade application libraries, and a library upgrade does not automatically migrate the database.
Schema-major checks
SDKs 0.4.0 accept SQL major 0 and derive that major from schema_version. They reject missing or malformed discovery data and unsupported majors before normal operation.
Older SDKs through 0.3.0 use the legacy protocol_major field instead. SQL 0.1.1 reports that field as schema major plus one for those clients. This compatibility field is not the SQL release label.
Discovery reads the schema version, not the migration dirty flag. A successful SDK connection is therefore not a clean-migration or readiness check; inspect CLI status separately.
A passed major check is the starting point for rollout, not a full feature matrix. Check release notes for the minimum SQL version required by an API, changed semantics, and whether old and new clients can overlap. Use the exact combination exercised by the application when introducing a feature or changing schema state.
Migrations and deployment
Each CLI or SDK carries a specific set of SQL migrations. A migrator advances through those embedded files; it has no arbitrary target or down-migration support. A tool older than the installed SQL leaves newer state unchanged.
Choose a migration tool deliberately and record its embedded SQL target. Rehearse the target schema with both the retiring and replacement clients when deployment requires overlap. Compatibility alone does not establish acceptable migration lock duration or zero downtime.
Upgrading explains the rollout procedure. Releases provides component-specific artifacts and historical release notes. Candidate or checkout-only APIs belong outside released reference selection.