Skip to content

API Collection

Deprecations

PostgresNIO follows SemVer 2.0.0. Learn which APIs are considered deprecated and how to migrate to their replacements.

Overview

PostgresNIO reached 1.0 in April 2020. Since then the maintainers have been hard at work to guarantee API stability. However as the Swift and Swift on server ecosystem have matured approaches have changed. The introduction of structured concurrency changed what developers expect from a modern Swift library. Because of this PostgresNIO added various APIs that embrace the new Swift patterns. This means however, that PostgresNIO still offers APIs that have fallen out of favor. Those are documented here. All those APIs will be removed once the maintainers release the next major version. The maintainers recommend all adopters to move of those APIs sooner rather than later.

Topics

Migrate of deprecated APIs

Deprecated APIs