vapor / postgres-nio

🐘 Non-blocking, event-driven Swift client for PostgreSQL.
https://api.vapor.codes/postgresnio/documentation/postgresnio/
MIT License
321 stars 75 forks source link

Draft: Removals for v2 #445

Open fabianfett opened 9 months ago

fabianfett commented 9 months ago

This is a quick and dirty draft of the removals that we want to do for v2. Happy to split this into smaller prs (see commits).

codecov-commenter commented 9 months ago

Codecov Report

Attention: Patch coverage is 59.43396% with 43 lines in your changes missing coverage. Please review.

Project coverage is 63.47%. Comparing base (7b621c1) to head (0d938bf).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #445 +/- ## ========================================== + Coverage 54.98% 63.47% +8.49% ========================================== Files 127 77 -50 Lines 10155 8614 -1541 ========================================== - Hits 5584 5468 -116 + Misses 4571 3146 -1425 ``` | [Files](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Ξ” | | |---|---|---| | [.../Connection/PostgresConnection+Configuration.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FConnection%2FPostgresConnection%2BConfiguration.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9Db25uZWN0aW9uL1Bvc3RncmVzQ29ubmVjdGlvbitDb25maWd1cmF0aW9uLnN3aWZ0) | `52.17% <ΓΈ> (ΓΈ)` | | | [Sources/PostgresNIO/Data/PostgresDataType.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FData%2FPostgresDataType.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9EYXRhL1Bvc3RncmVzRGF0YVR5cGUuc3dpZnQ=) | `54.92% <ΓΈ> (-0.26%)` | :arrow_down: | | [Sources/PostgresNIO/Data/PostgresNumeric.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FData%2FPostgresNumeric.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9EYXRhL1Bvc3RncmVzTnVtZXJpYy5zd2lmdA==) | `75.90% <ΓΈ> (ΓΈ)` | | | [Sources/PostgresNIO/Data/PostgresRow.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FData%2FPostgresRow.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9EYXRhL1Bvc3RncmVzUm93LnN3aWZ0) | `71.42% <ΓΈ> (+22.72%)` | :arrow_up: | | [...tion State Machine/ExtendedQueryStateMachine.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FNew%2FConnection+State+Machine%2FExtendedQueryStateMachine.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvQ29ubmVjdGlvbiBTdGF0ZSBNYWNoaW5lL0V4dGVuZGVkUXVlcnlTdGF0ZU1hY2hpbmUuc3dpZnQ=) | `77.20% <100.00%> (ΓΈ)` | | | [... State Machine/PreparedStatementStateMachine.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FNew%2FConnection+State+Machine%2FPreparedStatementStateMachine.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvQ29ubmVjdGlvbiBTdGF0ZSBNYWNoaW5lL1ByZXBhcmVkU3RhdGVtZW50U3RhdGVNYWNoaW5lLnN3aWZ0) | `91.83% <100.00%> (ΓΈ)` | | | [Sources/PostgresNIO/New/PSQLEventsHandler.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FNew%2FPSQLEventsHandler.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUFNRTEV2ZW50c0hhbmRsZXIuc3dpZnQ=) | `73.58% <ΓΈ> (ΓΈ)` | | | [Sources/PostgresNIO/New/PSQLTask.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FNew%2FPSQLTask.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUFNRTFRhc2suc3dpZnQ=) | `77.14% <100.00%> (ΓΈ)` | | | [Sources/PostgresNIO/New/PostgresQuery.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FNew%2FPostgresQuery.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUG9zdGdyZXNRdWVyeS5zd2lmdA==) | `81.96% <ΓΈ> (+1.19%)` | :arrow_up: | | [Sources/PostgresNIO/Utilities/NIOUtils.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree&filepath=Sources%2FPostgresNIO%2FUtilities%2FNIOUtils.swift&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9VdGlsaXRpZXMvTklPVXRpbHMuc3dpZnQ=) | `0.00% <ΓΈ> (ΓΈ)` | | | ... and [11 more](https://app.codecov.io/gh/vapor/postgres-nio/pull/445?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/vapor/postgres-nio/pull/445/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor)