vapor / postgres-kit

🐘 Non-blocking, event-driven Swift client for PostgreSQL.
MIT License
186 stars 70 forks source link

Apply updates for improved interop with SQLKit #259

Closed gwynne closed 5 months ago

gwynne commented 5 months ago

These changes are now available in 2.13.0

These changes bump the minimum Swift version to 5.8 and prepare PostgresKit for SQLKit's overhaul PR. The SQLKit changes are NOT required by this update.

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 53.08642% with 76 lines in your changes are missing coverage. Please review.

Project coverage is 38.84%. Comparing base (475bf6f) to head (2078ddf).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #259 +/- ## ========================================== + Coverage 37.86% 38.84% +0.97% ========================================== Files 13 13 Lines 750 865 +115 ========================================== + Hits 284 336 +52 - Misses 466 529 +63 ``` | [Files](https://app.codecov.io/gh/vapor/postgres-kit/pull/259?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/PostgresKit/PostgresConnectionSource.swift](https://app.codecov.io/gh/vapor/postgres-kit/pull/259?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc0tpdC9Qb3N0Z3Jlc0Nvbm5lY3Rpb25Tb3VyY2Uuc3dpZnQ=) | `100.00% <ø> (ø)` | | | [Sources/PostgresKit/ConnectionPool+Postgres.swift](https://app.codecov.io/gh/vapor/postgres-kit/pull/259?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc0tpdC9Db25uZWN0aW9uUG9vbCtQb3N0Z3Jlcy5zd2lmdA==) | `37.50% <50.00%> (+1.78%)` | :arrow_up: | | [Sources/PostgresKit/PostgresDialect.swift](https://app.codecov.io/gh/vapor/postgres-kit/pull/259?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc0tpdC9Qb3N0Z3Jlc0RpYWxlY3Quc3dpZnQ=) | `79.71% <79.54%> (+0.64%)` | :arrow_up: | | [Sources/PostgresKit/PostgresDatabase+SQL.swift](https://app.codecov.io/gh/vapor/postgres-kit/pull/259?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc0tpdC9Qb3N0Z3Jlc0RhdGFiYXNlK1NRTC5zd2lmdA==) | `50.00% <17.64%> (-35.30%)` | :arrow_down: | | [Sources/PostgresKit/PostgresDataTranslation.swift](https://app.codecov.io/gh/vapor/postgres-kit/pull/259?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc0tpdC9Qb3N0Z3Jlc0RhdGFUcmFuc2xhdGlvbi5zd2lmdA==) | `63.13% <53.75%> (-4.15%)` | :arrow_down: |