Skip to content

Releases: vapor/sqlite-nio

Support for reporting SQLite version numbers to clients

12 Nov 11:59
f68a2bc
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

The sqlite3_libversion() and sqlite3_libversion_number() APIs are now wrapped by public static Swift methods on SQLConnection, 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:

  • Dropped support for Swift versions up to and including 5.4; 5.5 is now the minimum.
  • CI has been heavily updated (current Swift versions, code coverage and API breakage, etc.)
  • Modernized use of NIO by unit tests.
  • Allow overriding logging level in tests with LOG_LEVEL env var.

Improve SQLite Boolean decoding

24 Sep 19:36
6481dd0
Compare
Choose a tag to compare
This patch was authored by @wibed and released by @tanner0101.

Allows for a boolean field to be stored as string.

.field("is_true", .string, .required)

Additionally it is now its separate type, together with the other types, instead of referring to an anonymous int
for a return, which makes It cleaner.

Before:
If the field type of a presumed boolean is set to string. it results in below error msg

typeMismatch(Swift.Bool, Swift.DecodingError.Context(codingPath: [], debugDescription: "Could not initialize Bool from \"0\".", underlyingError: nil))

SQLiteNIO 1.0.0

16 Jul 20:44
2e9ae8a
Compare
Choose a tag to compare

Add support for duplicate column names

16 Jul 20:40
2b7b24c
Compare
Choose a tag to compare
Pre-release
This patch was authored and released by @tanner0101.

Adds support for duplicate column names to SQLiteRow (#21, fixes #12).

SQLiteRow.columns is now an array of columns instead of a dictionary. SQLiteRow.column uses a lookup table to keep O(1) performance.

Date decode from integer values

19 May 17:13
af884d7
Compare
Choose a tag to compare
Pre-release
This patch was authored by @Frizlab and released by @tanner0101.

Adds support for decoding Swift.Date from SQLite integer values (#16).

Release Candidate 1

28 Feb 20:32
96f69e5
Compare
Choose a tag to compare
Release Candidate 1 Pre-release
Pre-release

Updates to Swift 5.2, macOS 10.15, and iOS 13.

Release candidates represent the final shift toward focusing on bug fixes and documentation. Breaking changes will only be accepted for critical issues. We expect a final release of this package shortly after Swift 5.2's release date.

Fix Reference Date

22 Jan 17:00
7d32873
Compare
Choose a tag to compare
Fix Reference Date Pre-release
Pre-release

Date was inadvertently storing secondsSinceReferenceDate values in the database. This should use secondsSince1970 to match Vapor 3's behavior and use a more sensible value.

SQLiteNIO 1.0.0 Beta 2.1

13 Dec 21:59
1bf9748
Compare
Choose a tag to compare
Pre-release

Publicized useful SQLiteRow properties (#11)

SQLiteNIO 1.0.0 Beta 2

09 Dec 19:47
d2d202e
Compare
Choose a tag to compare
Pre-release
  • Add support for passing custom Logger

  • Enabled test discovery on Linux (#8)

  • Fixed package manifest provider name

Now supported on iOS

11 Oct 21:44
e3a36bc
Compare
Choose a tag to compare
Now supported on iOS Pre-release
Pre-release

This release enables usage on iOS devices.