Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply updates for improved interop with SQLKit #259

Merged
merged 6 commits into from
Mar 25, 2024
Merged

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Mar 24, 2024

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.

@gwynne gwynne added enhancement New feature or request semver-minor Contains new APIs labels Mar 24, 2024
@gwynne gwynne requested review from 0xTim, MahdiBM and ptoffy March 24, 2024 17:25
Copy link

codecov bot commented Mar 24, 2024

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
@@            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 Coverage Δ
Sources/PostgresKit/PostgresConnectionSource.swift 100.00% <ø> (ø)
Sources/PostgresKit/ConnectionPool+Postgres.swift 37.50% <50.00%> (+1.78%) ⬆️
Sources/PostgresKit/PostgresDialect.swift 79.71% <79.54%> (+0.64%) ⬆️
Sources/PostgresKit/PostgresDatabase+SQL.swift 50.00% <17.64%> (-35.30%) ⬇️
Sources/PostgresKit/PostgresDataTranslation.swift 63.13% <53.75%> (-4.15%) ⬇️

@gwynne gwynne force-pushed the update-alongside-sqlkit branch 2 times, most recently from 25f9c35 to 77ebe4d Compare March 24, 2024 17:41
Copy link
Contributor

@MahdiBM MahdiBM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Possibly add Dependabot too? (Already added in the last PR 👍)

README.md Outdated Show resolved Hide resolved
Package.swift Show resolved Hide resolved
Copy link
Member

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you and @ptoffy been using the same for matter? 😆

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually have strict concurrency warnings without this manifest? I'm confused as to why we don't need this anymore, or was it because the flags weren't recognised in 5.7 but are in 5.8?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct - the upcoming/experimental feature flag support was first available in SwiftPM as of 5.8; as of that version being the minimum, we don't need a separate manifest anymore unless we're using 5.9-only manifest features like macros.

@gwynne gwynne merged commit f6c1bff into main Mar 25, 2024
16 of 19 checks passed
@gwynne gwynne deleted the update-alongside-sqlkit branch March 25, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-minor Contains new APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants