-
-
Notifications
You must be signed in to change notification settings - Fork 21
Support for reporting SQLite version numbers to clients #34
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
Conversation
… SQLite available to higher layers without having to use SQLite APIs directly.
0ac5d5e to
369674e
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #34 +/- ##
=======================================
Coverage ? 45.68%
=======================================
Files ? 7
Lines ? 510
Branches ? 0
=======================================
Hits ? 233
Misses ? 277
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. |
0xTim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good overall. Main comment is that there no test to ensure the new API can at least be called. And will be this superseded by #35 if we can just control the version we embed
I thought about adding a test, but the most it could possibly verify is |
0xTim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool ship it!
|
These changes are now available in 1.2.0 |
* Drop support for Swift <5.5 * Bring CI up to date * Modernize NIO usage and add log level override support for unit tests * Add static methods on SQLiteConnection to make the runtime version of SQLite available to higher layers without having to use SQLite APIs directly.
The
sqlite3_libversion()andsqlite3_libversion_number()APIs are now wrapped by public static Swift methods onSQLConnection, making it simpler for clients to find out what version is in use. Provides necessary support for a corresponding update to enable version-specific feature support in vapor/sqlite-kit.Additional changes:
LOG_LEVELenv var.