Skip to content

Releases: vapor/postgres-kit

Fix not-regexp operator, add case insensitive regexp operators

31 Mar 16:40
489537a
Compare
Choose a tag to compare

Fixes the notRegexp operator and adds the two case-insensitive variants (#139, #90).

See the pgsql docs for reference.

Fix assertion while decoding JSON (non-JSONB)

30 Mar 17:45
367c120
Compare
Choose a tag to compare

Fixes JSON / JSONB decoding for text and binary serializations (#177).

Add EventLoopGroupConnectionPool database convenience

06 Mar 02:54
8f6d4fa
Compare
Choose a tag to compare
This patch was authored and released by @tanner0101.

Adds a method for creating a PostgresDatabase from an EventLoopGroupConnectionPool.

let db = pool.database(logger: .init(label: "test"))

Release Candidate 1

28 Feb 21:20
ab30b90
Compare
Choose a tag to compare
Release Candidate 1 Pre-release
Pre-release

Updates to Swift 5.2 and macOS 10.15.

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.

Alter table syntax

21 Feb 00:08
3dbd918
Compare
Choose a tag to compare
Alter table syntax Pre-release
Pre-release

Implement Postgres alter table syntax in SQLDialect.

Support encoding non-JSON arrays

20 Feb 06:21
902eb00
Compare
Choose a tag to compare
Pre-release

Adds support for encoding arrays that contain values besides nested structs (JSON and JSONB).

Added create/drop trigger dialect conditions

13 Feb 21:13
222dcf7
Compare
Choose a tag to compare

Updates the package to specify syntax that PostgreSQL supports for triggers.

Add support for configuring connections via UNIX domain socket

12 Feb 23:33
1990fbf
Compare
Choose a tag to compare

Add support for configuring connections via UNIX domain socket (#170).

PostgresConfiguration(
    unixDomainSocketPath: "/tmp/.s.PGSQL.5432",
    username: "postgres",
    password: "postgres",
    database: "postgres"
)

Support JSON or JSONB for decoding structs

22 Jan 22:01
d70f50b
Compare
Choose a tag to compare

Adds support for both JSON and JSONB data types when decoding nested structs. Error messages in PostgresDataDecoder have also been improved.

Enum Support

22 Jan 03:00
2f47c2f
Compare
Choose a tag to compare
Enum Support Pre-release
Pre-release