Use this page when choosing a PostgreSQL source or resolving Replicant's runtime dependencies. The table distinguishes supported ranges from the minimum versions admitted by the library.
| Dependency | Range | Floor | Reason |
|---|---|---|---|
| Elixir | ~> 1.20.3 | 1.20.3 | Mix project runtime requirement. |
| Erlang/OTP | Supported by the chosen Elixir release | See Elixir's OTP compatibility table | Elixir determines OTP compatibility. See Contributing for the qualification toolchain. |
| PostgreSQL | 15 through 19 | 15 | Logical replication with wal_level = logical. See ADR-0010 for the support policy. |
| pgoutput origin filtering | 16 through 19 | 16 | origin: :none requires the pgoutput origin parameter. pgoutput :any and both pglogical modes work across the PostgreSQL range. |
| PostgreSQL failover slots | 17 through 19 | 17 | failover: true requires server support for the FAILOVER slot option. |
| pglogical (optional) | 2.x with protocol 1 | 2.4.8 is the qualified build | The optional decoder negotiates protocol 1. Qualification compares the pinned plugin with pgoutput on each supported server major. |
| Postgrex | ~> 0.23 | 0.23.0 | Clears password and SSL options after connect and handles async replication startup messages. This floor also includes the fixes for CVE-2026-32687, CVE-2026-58225, and CVE-2026-66838. |
| DBConnection | >= 2.10.3 and < 3.0.0-0 | 2.10.3 | Refuses vulnerable versions admitted by Postgrex's range. See GHSA-gmmq-fw75-wq46. |
| Decimal | ~> 3.1 | 3.1.0 | Casts PostgreSQL numeric and supported money values. |
| Jason | ~> 1.4 | 1.4.0 | Decodes JSON and JSONB. |
| Telemetry | ~> 1.0 | 1.0.0 | Emits structure-only events and spans. |
Use Replicant.supported_server_version?/1 with an integer
server_version_num when admitting a source. Replicant applies the same check
at startup and halts with {:config, :server_version_unsupported} before
creating a slot on an unsupported server. Below a feature's floor, the
corresponding halt is {:config, :origin_unsupported} for pgoutput origin
filtering or {:config, :failover_unsupported} for failover slots.
Replicant consults wal_status for slot invalidation across the supported range,
adds conflicting from PostgreSQL 16, and reads invalidation_reason and
synced from PostgreSQL 17.